card-mod-pdfjs 0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +10 -0
- data/public/LICENSE +177 -0
- data/public/build/pdf.js +11515 -0
- data/public/build/pdf.worker.js +43506 -0
- data/public/cmaps/78-EUC-H.bcmap +0 -0
- data/public/cmaps/78-EUC-V.bcmap +0 -0
- data/public/cmaps/78-H.bcmap +0 -0
- data/public/cmaps/78-RKSJ-H.bcmap +0 -0
- data/public/cmaps/78-RKSJ-V.bcmap +0 -0
- data/public/cmaps/78-V.bcmap +0 -0
- data/public/cmaps/78ms-RKSJ-H.bcmap +0 -0
- data/public/cmaps/78ms-RKSJ-V.bcmap +0 -0
- data/public/cmaps/83pv-RKSJ-H.bcmap +0 -0
- data/public/cmaps/90ms-RKSJ-H.bcmap +0 -0
- data/public/cmaps/90ms-RKSJ-V.bcmap +0 -0
- data/public/cmaps/90msp-RKSJ-H.bcmap +0 -0
- data/public/cmaps/90msp-RKSJ-V.bcmap +0 -0
- data/public/cmaps/90pv-RKSJ-H.bcmap +0 -0
- data/public/cmaps/90pv-RKSJ-V.bcmap +0 -0
- data/public/cmaps/Add-H.bcmap +0 -0
- data/public/cmaps/Add-RKSJ-H.bcmap +0 -0
- data/public/cmaps/Add-RKSJ-V.bcmap +0 -0
- data/public/cmaps/Add-V.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-0.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-1.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-2.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-3.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-4.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-5.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-6.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-0.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-1.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-2.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-3.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-4.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-5.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-0.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-1.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-2.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-3.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-4.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-5.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-6.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- data/public/cmaps/Adobe-Korea1-0.bcmap +0 -0
- data/public/cmaps/Adobe-Korea1-1.bcmap +0 -0
- data/public/cmaps/Adobe-Korea1-2.bcmap +0 -0
- data/public/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- data/public/cmaps/B5-H.bcmap +0 -0
- data/public/cmaps/B5-V.bcmap +0 -0
- data/public/cmaps/B5pc-H.bcmap +0 -0
- data/public/cmaps/B5pc-V.bcmap +0 -0
- data/public/cmaps/CNS-EUC-H.bcmap +0 -0
- data/public/cmaps/CNS-EUC-V.bcmap +0 -0
- data/public/cmaps/CNS1-H.bcmap +0 -0
- data/public/cmaps/CNS1-V.bcmap +0 -0
- data/public/cmaps/CNS2-H.bcmap +0 -0
- data/public/cmaps/CNS2-V.bcmap +3 -0
- data/public/cmaps/ETHK-B5-H.bcmap +0 -0
- data/public/cmaps/ETHK-B5-V.bcmap +0 -0
- data/public/cmaps/ETen-B5-H.bcmap +0 -0
- data/public/cmaps/ETen-B5-V.bcmap +0 -0
- data/public/cmaps/ETenms-B5-H.bcmap +3 -0
- data/public/cmaps/ETenms-B5-V.bcmap +0 -0
- data/public/cmaps/EUC-H.bcmap +0 -0
- data/public/cmaps/EUC-V.bcmap +0 -0
- data/public/cmaps/Ext-H.bcmap +0 -0
- data/public/cmaps/Ext-RKSJ-H.bcmap +0 -0
- data/public/cmaps/Ext-RKSJ-V.bcmap +0 -0
- data/public/cmaps/Ext-V.bcmap +0 -0
- data/public/cmaps/GB-EUC-H.bcmap +0 -0
- data/public/cmaps/GB-EUC-V.bcmap +0 -0
- data/public/cmaps/GB-H.bcmap +4 -0
- data/public/cmaps/GB-V.bcmap +0 -0
- data/public/cmaps/GBK-EUC-H.bcmap +0 -0
- data/public/cmaps/GBK-EUC-V.bcmap +0 -0
- data/public/cmaps/GBK2K-H.bcmap +0 -0
- data/public/cmaps/GBK2K-V.bcmap +0 -0
- data/public/cmaps/GBKp-EUC-H.bcmap +0 -0
- data/public/cmaps/GBKp-EUC-V.bcmap +0 -0
- data/public/cmaps/GBT-EUC-H.bcmap +0 -0
- data/public/cmaps/GBT-EUC-V.bcmap +0 -0
- data/public/cmaps/GBT-H.bcmap +0 -0
- data/public/cmaps/GBT-V.bcmap +0 -0
- data/public/cmaps/GBTpc-EUC-H.bcmap +0 -0
- data/public/cmaps/GBTpc-EUC-V.bcmap +0 -0
- data/public/cmaps/GBpc-EUC-H.bcmap +0 -0
- data/public/cmaps/GBpc-EUC-V.bcmap +0 -0
- data/public/cmaps/H.bcmap +0 -0
- data/public/cmaps/HKdla-B5-H.bcmap +0 -0
- data/public/cmaps/HKdla-B5-V.bcmap +0 -0
- data/public/cmaps/HKdlb-B5-H.bcmap +0 -0
- data/public/cmaps/HKdlb-B5-V.bcmap +0 -0
- data/public/cmaps/HKgccs-B5-H.bcmap +0 -0
- data/public/cmaps/HKgccs-B5-V.bcmap +0 -0
- data/public/cmaps/HKm314-B5-H.bcmap +0 -0
- data/public/cmaps/HKm314-B5-V.bcmap +0 -0
- data/public/cmaps/HKm471-B5-H.bcmap +0 -0
- data/public/cmaps/HKm471-B5-V.bcmap +0 -0
- data/public/cmaps/HKscs-B5-H.bcmap +0 -0
- data/public/cmaps/HKscs-B5-V.bcmap +0 -0
- data/public/cmaps/Hankaku.bcmap +0 -0
- data/public/cmaps/Hiragana.bcmap +0 -0
- data/public/cmaps/KSC-EUC-H.bcmap +0 -0
- data/public/cmaps/KSC-EUC-V.bcmap +0 -0
- data/public/cmaps/KSC-H.bcmap +0 -0
- data/public/cmaps/KSC-Johab-H.bcmap +0 -0
- data/public/cmaps/KSC-Johab-V.bcmap +0 -0
- data/public/cmaps/KSC-V.bcmap +0 -0
- data/public/cmaps/KSCms-UHC-H.bcmap +0 -0
- data/public/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- data/public/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- data/public/cmaps/KSCms-UHC-V.bcmap +0 -0
- data/public/cmaps/KSCpc-EUC-H.bcmap +0 -0
- data/public/cmaps/KSCpc-EUC-V.bcmap +0 -0
- data/public/cmaps/Katakana.bcmap +0 -0
- data/public/cmaps/LICENSE +36 -0
- data/public/cmaps/NWP-H.bcmap +0 -0
- data/public/cmaps/NWP-V.bcmap +0 -0
- data/public/cmaps/RKSJ-H.bcmap +0 -0
- data/public/cmaps/RKSJ-V.bcmap +0 -0
- data/public/cmaps/Roman.bcmap +0 -0
- data/public/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- data/public/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniGB-UCS2-H.bcmap +0 -0
- data/public/cmaps/UniGB-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniGB-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniGB-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniGB-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniGB-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniGB-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniGB-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- data/public/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniKS-UCS2-H.bcmap +0 -0
- data/public/cmaps/UniKS-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniKS-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniKS-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniKS-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniKS-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniKS-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniKS-UTF8-V.bcmap +0 -0
- data/public/cmaps/V.bcmap +0 -0
- data/public/cmaps/WP-Symbol.bcmap +0 -0
- data/public/compatibility.js +616 -0
- data/public/compressed.tracemonkey-pldi-09.pdf +0 -0
- data/public/debugger.js +616 -0
- data/public/images/annotation-check.svg +11 -0
- data/public/images/annotation-comment.svg +16 -0
- data/public/images/annotation-help.svg +26 -0
- data/public/images/annotation-insert.svg +10 -0
- data/public/images/annotation-key.svg +11 -0
- data/public/images/annotation-newparagraph.svg +11 -0
- data/public/images/annotation-noicon.svg +7 -0
- data/public/images/annotation-note.svg +42 -0
- data/public/images/annotation-paragraph.svg +16 -0
- data/public/images/findbarButton-next-rtl.png +0 -0
- data/public/images/findbarButton-next-rtl@2x.png +0 -0
- data/public/images/findbarButton-next.png +0 -0
- data/public/images/findbarButton-next@2x.png +0 -0
- data/public/images/findbarButton-previous-rtl.png +0 -0
- data/public/images/findbarButton-previous-rtl@2x.png +0 -0
- data/public/images/findbarButton-previous.png +0 -0
- data/public/images/findbarButton-previous@2x.png +0 -0
- data/public/images/grab.cur +0 -0
- data/public/images/grabbing.cur +0 -0
- data/public/images/loading-icon.gif +0 -0
- data/public/images/loading-small.png +0 -0
- data/public/images/loading-small@2x.png +0 -0
- data/public/images/secondaryToolbarButton-documentProperties.png +0 -0
- data/public/images/secondaryToolbarButton-documentProperties@2x.png +0 -0
- data/public/images/secondaryToolbarButton-firstPage.png +0 -0
- data/public/images/secondaryToolbarButton-firstPage@2x.png +0 -0
- data/public/images/secondaryToolbarButton-handTool.png +0 -0
- data/public/images/secondaryToolbarButton-handTool@2x.png +0 -0
- data/public/images/secondaryToolbarButton-lastPage.png +0 -0
- data/public/images/secondaryToolbarButton-lastPage@2x.png +0 -0
- data/public/images/secondaryToolbarButton-rotateCcw.png +0 -0
- data/public/images/secondaryToolbarButton-rotateCcw@2x.png +0 -0
- data/public/images/secondaryToolbarButton-rotateCw.png +0 -0
- data/public/images/secondaryToolbarButton-rotateCw@2x.png +0 -0
- data/public/images/shadow.png +0 -0
- data/public/images/texture.png +0 -0
- data/public/images/toolbarButton-bookmark.png +0 -0
- data/public/images/toolbarButton-bookmark@2x.png +0 -0
- data/public/images/toolbarButton-download.png +0 -0
- data/public/images/toolbarButton-download@2x.png +0 -0
- data/public/images/toolbarButton-menuArrows.png +0 -0
- data/public/images/toolbarButton-menuArrows@2x.png +0 -0
- data/public/images/toolbarButton-openFile.png +0 -0
- data/public/images/toolbarButton-openFile@2x.png +0 -0
- data/public/images/toolbarButton-pageDown-rtl.png +0 -0
- data/public/images/toolbarButton-pageDown-rtl@2x.png +0 -0
- data/public/images/toolbarButton-pageDown.png +0 -0
- data/public/images/toolbarButton-pageDown@2x.png +0 -0
- data/public/images/toolbarButton-pageUp-rtl.png +0 -0
- data/public/images/toolbarButton-pageUp-rtl@2x.png +0 -0
- data/public/images/toolbarButton-pageUp.png +0 -0
- data/public/images/toolbarButton-pageUp@2x.png +0 -0
- data/public/images/toolbarButton-presentationMode.png +0 -0
- data/public/images/toolbarButton-presentationMode@2x.png +0 -0
- data/public/images/toolbarButton-print.png +0 -0
- data/public/images/toolbarButton-print@2x.png +0 -0
- data/public/images/toolbarButton-search.png +0 -0
- data/public/images/toolbarButton-search@2x.png +0 -0
- data/public/images/toolbarButton-secondaryToolbarToggle-rtl.png +0 -0
- data/public/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png +0 -0
- data/public/images/toolbarButton-secondaryToolbarToggle.png +0 -0
- data/public/images/toolbarButton-secondaryToolbarToggle@2x.png +0 -0
- data/public/images/toolbarButton-sidebarToggle-rtl.png +0 -0
- data/public/images/toolbarButton-sidebarToggle-rtl@2x.png +0 -0
- data/public/images/toolbarButton-sidebarToggle.png +0 -0
- data/public/images/toolbarButton-sidebarToggle@2x.png +0 -0
- data/public/images/toolbarButton-viewAttachments.png +0 -0
- data/public/images/toolbarButton-viewAttachments@2x.png +0 -0
- data/public/images/toolbarButton-viewOutline-rtl.png +0 -0
- data/public/images/toolbarButton-viewOutline-rtl@2x.png +0 -0
- data/public/images/toolbarButton-viewOutline.png +0 -0
- data/public/images/toolbarButton-viewOutline@2x.png +0 -0
- data/public/images/toolbarButton-viewThumbnail.png +0 -0
- data/public/images/toolbarButton-viewThumbnail@2x.png +0 -0
- data/public/images/toolbarButton-zoomIn.png +0 -0
- data/public/images/toolbarButton-zoomIn@2x.png +0 -0
- data/public/images/toolbarButton-zoomOut.png +0 -0
- data/public/images/toolbarButton-zoomOut@2x.png +0 -0
- data/public/images/treeitem-collapsed-rtl.png +0 -0
- data/public/images/treeitem-collapsed-rtl@2x.png +0 -0
- data/public/images/treeitem-collapsed.png +0 -0
- data/public/images/treeitem-collapsed@2x.png +0 -0
- data/public/images/treeitem-expanded.png +0 -0
- data/public/images/treeitem-expanded@2x.png +0 -0
- data/public/l10n.js +1047 -0
- data/public/locale/ach/viewer.properties +173 -0
- data/public/locale/af/viewer.properties +173 -0
- data/public/locale/ak/viewer.properties +131 -0
- data/public/locale/an/viewer.properties +173 -0
- data/public/locale/ar/viewer.properties +173 -0
- data/public/locale/as/viewer.properties +172 -0
- data/public/locale/ast/viewer.properties +173 -0
- data/public/locale/az/viewer.properties +173 -0
- data/public/locale/be/viewer.properties +105 -0
- data/public/locale/bg/viewer.properties +173 -0
- data/public/locale/bn-BD/viewer.properties +173 -0
- data/public/locale/bn-IN/viewer.properties +173 -0
- data/public/locale/br/viewer.properties +173 -0
- data/public/locale/bs/viewer.properties +173 -0
- data/public/locale/ca/viewer.properties +173 -0
- data/public/locale/cs/viewer.properties +173 -0
- data/public/locale/csb/viewer.properties +134 -0
- data/public/locale/cy/viewer.properties +173 -0
- data/public/locale/da/viewer.properties +167 -0
- data/public/locale/de/viewer.properties +167 -0
- data/public/locale/el/viewer.properties +173 -0
- data/public/locale/en-GB/viewer.properties +173 -0
- data/public/locale/en-US/viewer.properties +173 -0
- data/public/locale/en-ZA/viewer.properties +173 -0
- data/public/locale/eo/viewer.properties +173 -0
- data/public/locale/es-AR/viewer.properties +167 -0
- data/public/locale/es-CL/viewer.properties +173 -0
- data/public/locale/es-ES/viewer.properties +111 -0
- data/public/locale/es-MX/viewer.properties +173 -0
- data/public/locale/et/viewer.properties +173 -0
- data/public/locale/eu/viewer.properties +173 -0
- data/public/locale/fa/viewer.properties +173 -0
- data/public/locale/ff/viewer.properties +173 -0
- data/public/locale/fi/viewer.properties +167 -0
- data/public/locale/fr/viewer.properties +167 -0
- data/public/locale/fy-NL/viewer.properties +180 -0
- data/public/locale/ga-IE/viewer.properties +173 -0
- data/public/locale/gd/viewer.properties +173 -0
- data/public/locale/gl/viewer.properties +173 -0
- data/public/locale/gu-IN/viewer.properties +167 -0
- data/public/locale/he/viewer.properties +173 -0
- data/public/locale/hi-IN/viewer.properties +173 -0
- data/public/locale/hr/viewer.properties +173 -0
- data/public/locale/hu/viewer.properties +173 -0
- data/public/locale/hy-AM/viewer.properties +173 -0
- data/public/locale/id/viewer.properties +173 -0
- data/public/locale/is/viewer.properties +173 -0
- data/public/locale/it/viewer.properties +111 -0
- data/public/locale/ja/viewer.properties +167 -0
- data/public/locale/ka/viewer.properties +173 -0
- data/public/locale/kk/viewer.properties +173 -0
- data/public/locale/km/viewer.properties +173 -0
- data/public/locale/kn/viewer.properties +173 -0
- data/public/locale/ko/viewer.properties +173 -0
- data/public/locale/ku/viewer.properties +147 -0
- data/public/locale/lg/viewer.properties +111 -0
- data/public/locale/lij/viewer.properties +124 -0
- data/public/locale/locale.properties +312 -0
- data/public/locale/lt/viewer.properties +173 -0
- data/public/locale/lv/viewer.properties +173 -0
- data/public/locale/mai/viewer.properties +173 -0
- data/public/locale/mk/viewer.properties +133 -0
- data/public/locale/ml/viewer.properties +173 -0
- data/public/locale/mn/viewer.properties +79 -0
- data/public/locale/mr/viewer.properties +173 -0
- data/public/locale/ms/viewer.properties +173 -0
- data/public/locale/my/viewer.properties +173 -0
- data/public/locale/nb-NO/viewer.properties +173 -0
- data/public/locale/nl/viewer.properties +173 -0
- data/public/locale/nn-NO/viewer.properties +173 -0
- data/public/locale/nso/viewer.properties +131 -0
- data/public/locale/oc/viewer.properties +171 -0
- data/public/locale/or/viewer.properties +172 -0
- data/public/locale/pa-IN/viewer.properties +173 -0
- data/public/locale/pl/viewer.properties +124 -0
- data/public/locale/pt-BR/viewer.properties +173 -0
- data/public/locale/pt-PT/viewer.properties +173 -0
- data/public/locale/rm/viewer.properties +173 -0
- data/public/locale/ro/viewer.properties +173 -0
- data/public/locale/ru/viewer.properties +111 -0
- data/public/locale/rw/viewer.properties +79 -0
- data/public/locale/sah/viewer.properties +171 -0
- data/public/locale/si/viewer.properties +172 -0
- data/public/locale/sk/viewer.properties +173 -0
- data/public/locale/sl/viewer.properties +173 -0
- data/public/locale/son/viewer.properties +173 -0
- data/public/locale/sq/viewer.properties +166 -0
- data/public/locale/sr/viewer.properties +173 -0
- data/public/locale/sv-SE/viewer.properties +173 -0
- data/public/locale/sw/viewer.properties +129 -0
- data/public/locale/ta/viewer.properties +173 -0
- data/public/locale/ta-LK/viewer.properties +72 -0
- data/public/locale/te/viewer.properties +173 -0
- data/public/locale/th/viewer.properties +173 -0
- data/public/locale/tl/viewer.properties +94 -0
- data/public/locale/tn/viewer.properties +83 -0
- data/public/locale/tr/viewer.properties +173 -0
- data/public/locale/uk/viewer.properties +173 -0
- data/public/locale/ur/viewer.properties +173 -0
- data/public/locale/vi/viewer.properties +173 -0
- data/public/locale/wo/viewer.properties +124 -0
- data/public/locale/xh/viewer.properties +173 -0
- data/public/locale/zh-CN/viewer.properties +173 -0
- data/public/locale/zh-TW/viewer.properties +174 -0
- data/public/locale/zu/viewer.properties +132 -0
- data/public/pdf.js +11515 -0
- data/public/pdf.worker.js +44463 -0
- data/public/viewer.css +2190 -0
- data/public/viewer.html +423 -0
- data/public/viewer.js +9742 -0
- data/public/web/cmaps/78-EUC-H.bcmap +0 -0
- data/public/web/cmaps/78-EUC-V.bcmap +0 -0
- data/public/web/cmaps/78-H.bcmap +0 -0
- data/public/web/cmaps/78-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/78-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/78-V.bcmap +0 -0
- data/public/web/cmaps/78ms-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/78ms-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/83pv-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/90ms-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/90ms-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/90msp-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/90msp-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/90pv-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/90pv-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/Add-H.bcmap +0 -0
- data/public/web/cmaps/Add-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/Add-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/Add-V.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-0.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-1.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-2.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-3.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-4.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-5.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-6.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-0.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-1.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-2.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-3.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-4.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-5.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-0.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-1.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-2.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-3.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-4.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-5.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-6.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- data/public/web/cmaps/Adobe-Korea1-0.bcmap +0 -0
- data/public/web/cmaps/Adobe-Korea1-1.bcmap +0 -0
- data/public/web/cmaps/Adobe-Korea1-2.bcmap +0 -0
- data/public/web/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- data/public/web/cmaps/B5-H.bcmap +0 -0
- data/public/web/cmaps/B5-V.bcmap +0 -0
- data/public/web/cmaps/B5pc-H.bcmap +0 -0
- data/public/web/cmaps/B5pc-V.bcmap +0 -0
- data/public/web/cmaps/CNS-EUC-H.bcmap +0 -0
- data/public/web/cmaps/CNS-EUC-V.bcmap +0 -0
- data/public/web/cmaps/CNS1-H.bcmap +0 -0
- data/public/web/cmaps/CNS1-V.bcmap +0 -0
- data/public/web/cmaps/CNS2-H.bcmap +0 -0
- data/public/web/cmaps/CNS2-V.bcmap +3 -0
- data/public/web/cmaps/ETHK-B5-H.bcmap +0 -0
- data/public/web/cmaps/ETHK-B5-V.bcmap +0 -0
- data/public/web/cmaps/ETen-B5-H.bcmap +0 -0
- data/public/web/cmaps/ETen-B5-V.bcmap +0 -0
- data/public/web/cmaps/ETenms-B5-H.bcmap +3 -0
- data/public/web/cmaps/ETenms-B5-V.bcmap +0 -0
- data/public/web/cmaps/EUC-H.bcmap +0 -0
- data/public/web/cmaps/EUC-V.bcmap +0 -0
- data/public/web/cmaps/Ext-H.bcmap +0 -0
- data/public/web/cmaps/Ext-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/Ext-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/Ext-V.bcmap +0 -0
- data/public/web/cmaps/GB-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GB-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GB-H.bcmap +4 -0
- data/public/web/cmaps/GB-V.bcmap +0 -0
- data/public/web/cmaps/GBK-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBK-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GBK2K-H.bcmap +0 -0
- data/public/web/cmaps/GBK2K-V.bcmap +0 -0
- data/public/web/cmaps/GBKp-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBKp-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GBT-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBT-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GBT-H.bcmap +0 -0
- data/public/web/cmaps/GBT-V.bcmap +0 -0
- data/public/web/cmaps/GBTpc-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBTpc-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GBpc-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBpc-EUC-V.bcmap +0 -0
- data/public/web/cmaps/H.bcmap +0 -0
- data/public/web/cmaps/HKdla-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKdla-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKdlb-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKdlb-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKgccs-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKgccs-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKm314-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKm314-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKm471-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKm471-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKscs-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKscs-B5-V.bcmap +0 -0
- data/public/web/cmaps/Hankaku.bcmap +0 -0
- data/public/web/cmaps/Hiragana.bcmap +0 -0
- data/public/web/cmaps/KSC-EUC-H.bcmap +0 -0
- data/public/web/cmaps/KSC-EUC-V.bcmap +0 -0
- data/public/web/cmaps/KSC-H.bcmap +0 -0
- data/public/web/cmaps/KSC-Johab-H.bcmap +0 -0
- data/public/web/cmaps/KSC-Johab-V.bcmap +0 -0
- data/public/web/cmaps/KSC-V.bcmap +0 -0
- data/public/web/cmaps/KSCms-UHC-H.bcmap +0 -0
- data/public/web/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- data/public/web/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- data/public/web/cmaps/KSCms-UHC-V.bcmap +0 -0
- data/public/web/cmaps/KSCpc-EUC-H.bcmap +0 -0
- data/public/web/cmaps/KSCpc-EUC-V.bcmap +0 -0
- data/public/web/cmaps/Katakana.bcmap +0 -0
- data/public/web/cmaps/LICENSE +36 -0
- data/public/web/cmaps/NWP-H.bcmap +0 -0
- data/public/web/cmaps/NWP-V.bcmap +0 -0
- data/public/web/cmaps/RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/Roman.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniGB-UCS2-H.bcmap +0 -0
- data/public/web/cmaps/UniGB-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- data/public/web/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniKS-UCS2-H.bcmap +0 -0
- data/public/web/cmaps/UniKS-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/V.bcmap +0 -0
- data/public/web/cmaps/WP-Symbol.bcmap +0 -0
- data/public/web/compatibility.js +596 -0
- data/public/web/compressed.tracemonkey-pldi-09.pdf +0 -0
- data/public/web/debugger.js +616 -0
- data/public/web/images/annotation-check.svg +11 -0
- data/public/web/images/annotation-comment.svg +16 -0
- data/public/web/images/annotation-help.svg +26 -0
- data/public/web/images/annotation-insert.svg +10 -0
- data/public/web/images/annotation-key.svg +11 -0
- data/public/web/images/annotation-newparagraph.svg +11 -0
- data/public/web/images/annotation-noicon.svg +7 -0
- data/public/web/images/annotation-note.svg +42 -0
- data/public/web/images/annotation-paragraph.svg +16 -0
- data/public/web/images/findbarButton-next-rtl.png +0 -0
- data/public/web/images/findbarButton-next-rtl@2x.png +0 -0
- data/public/web/images/findbarButton-next.png +0 -0
- data/public/web/images/findbarButton-next@2x.png +0 -0
- data/public/web/images/findbarButton-previous-rtl.png +0 -0
- data/public/web/images/findbarButton-previous-rtl@2x.png +0 -0
- data/public/web/images/findbarButton-previous.png +0 -0
- data/public/web/images/findbarButton-previous@2x.png +0 -0
- data/public/web/images/grab.cur +0 -0
- data/public/web/images/grabbing.cur +0 -0
- data/public/web/images/loading-icon.gif +0 -0
- data/public/web/images/loading-small.png +0 -0
- data/public/web/images/loading-small@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-documentProperties.png +0 -0
- data/public/web/images/secondaryToolbarButton-documentProperties@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-firstPage.png +0 -0
- data/public/web/images/secondaryToolbarButton-firstPage@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-handTool.png +0 -0
- data/public/web/images/secondaryToolbarButton-handTool@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-lastPage.png +0 -0
- data/public/web/images/secondaryToolbarButton-lastPage@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-rotateCcw.png +0 -0
- data/public/web/images/secondaryToolbarButton-rotateCcw@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-rotateCw.png +0 -0
- data/public/web/images/secondaryToolbarButton-rotateCw@2x.png +0 -0
- data/public/web/images/shadow.png +0 -0
- data/public/web/images/texture.png +0 -0
- data/public/web/images/toolbarButton-bookmark.png +0 -0
- data/public/web/images/toolbarButton-bookmark@2x.png +0 -0
- data/public/web/images/toolbarButton-download.png +0 -0
- data/public/web/images/toolbarButton-download@2x.png +0 -0
- data/public/web/images/toolbarButton-menuArrows.png +0 -0
- data/public/web/images/toolbarButton-menuArrows@2x.png +0 -0
- data/public/web/images/toolbarButton-openFile.png +0 -0
- data/public/web/images/toolbarButton-openFile@2x.png +0 -0
- data/public/web/images/toolbarButton-pageDown-rtl.png +0 -0
- data/public/web/images/toolbarButton-pageDown-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-pageDown.png +0 -0
- data/public/web/images/toolbarButton-pageDown@2x.png +0 -0
- data/public/web/images/toolbarButton-pageUp-rtl.png +0 -0
- data/public/web/images/toolbarButton-pageUp-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-pageUp.png +0 -0
- data/public/web/images/toolbarButton-pageUp@2x.png +0 -0
- data/public/web/images/toolbarButton-presentationMode.png +0 -0
- data/public/web/images/toolbarButton-presentationMode@2x.png +0 -0
- data/public/web/images/toolbarButton-print.png +0 -0
- data/public/web/images/toolbarButton-print@2x.png +0 -0
- data/public/web/images/toolbarButton-search.png +0 -0
- data/public/web/images/toolbarButton-search@2x.png +0 -0
- data/public/web/images/toolbarButton-secondaryToolbarToggle-rtl.png +0 -0
- data/public/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-secondaryToolbarToggle.png +0 -0
- data/public/web/images/toolbarButton-secondaryToolbarToggle@2x.png +0 -0
- data/public/web/images/toolbarButton-sidebarToggle-rtl.png +0 -0
- data/public/web/images/toolbarButton-sidebarToggle-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-sidebarToggle.png +0 -0
- data/public/web/images/toolbarButton-sidebarToggle@2x.png +0 -0
- data/public/web/images/toolbarButton-viewAttachments.png +0 -0
- data/public/web/images/toolbarButton-viewAttachments@2x.png +0 -0
- data/public/web/images/toolbarButton-viewOutline-rtl.png +0 -0
- data/public/web/images/toolbarButton-viewOutline-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-viewOutline.png +0 -0
- data/public/web/images/toolbarButton-viewOutline@2x.png +0 -0
- data/public/web/images/toolbarButton-viewThumbnail.png +0 -0
- data/public/web/images/toolbarButton-viewThumbnail@2x.png +0 -0
- data/public/web/images/toolbarButton-zoomIn.png +0 -0
- data/public/web/images/toolbarButton-zoomIn@2x.png +0 -0
- data/public/web/images/toolbarButton-zoomOut.png +0 -0
- data/public/web/images/toolbarButton-zoomOut@2x.png +0 -0
- data/public/web/images/treeitem-collapsed-rtl.png +0 -0
- data/public/web/images/treeitem-collapsed-rtl@2x.png +0 -0
- data/public/web/images/treeitem-collapsed.png +0 -0
- data/public/web/images/treeitem-collapsed@2x.png +0 -0
- data/public/web/images/treeitem-expanded.png +0 -0
- data/public/web/images/treeitem-expanded@2x.png +0 -0
- data/public/web/l10n.js +1033 -0
- data/public/web/locale/ach/viewer.properties +173 -0
- data/public/web/locale/af/viewer.properties +173 -0
- data/public/web/locale/ak/viewer.properties +131 -0
- data/public/web/locale/an/viewer.properties +173 -0
- data/public/web/locale/ar/viewer.properties +173 -0
- data/public/web/locale/as/viewer.properties +172 -0
- data/public/web/locale/ast/viewer.properties +173 -0
- data/public/web/locale/az/viewer.properties +173 -0
- data/public/web/locale/be/viewer.properties +105 -0
- data/public/web/locale/bg/viewer.properties +173 -0
- data/public/web/locale/bn-BD/viewer.properties +173 -0
- data/public/web/locale/bn-IN/viewer.properties +173 -0
- data/public/web/locale/br/viewer.properties +173 -0
- data/public/web/locale/bs/viewer.properties +173 -0
- data/public/web/locale/ca/viewer.properties +173 -0
- data/public/web/locale/cs/viewer.properties +173 -0
- data/public/web/locale/csb/viewer.properties +134 -0
- data/public/web/locale/cy/viewer.properties +173 -0
- data/public/web/locale/da/viewer.properties +167 -0
- data/public/web/locale/de/viewer.properties +167 -0
- data/public/web/locale/el/viewer.properties +173 -0
- data/public/web/locale/en-GB/viewer.properties +173 -0
- data/public/web/locale/en-US/viewer.properties +173 -0
- data/public/web/locale/en-ZA/viewer.properties +173 -0
- data/public/web/locale/eo/viewer.properties +173 -0
- data/public/web/locale/es-AR/viewer.properties +167 -0
- data/public/web/locale/es-CL/viewer.properties +173 -0
- data/public/web/locale/es-ES/viewer.properties +111 -0
- data/public/web/locale/es-MX/viewer.properties +173 -0
- data/public/web/locale/et/viewer.properties +173 -0
- data/public/web/locale/eu/viewer.properties +173 -0
- data/public/web/locale/fa/viewer.properties +173 -0
- data/public/web/locale/ff/viewer.properties +173 -0
- data/public/web/locale/fi/viewer.properties +167 -0
- data/public/web/locale/fr/viewer.properties +167 -0
- data/public/web/locale/fy-NL/viewer.properties +180 -0
- data/public/web/locale/ga-IE/viewer.properties +173 -0
- data/public/web/locale/gd/viewer.properties +173 -0
- data/public/web/locale/gl/viewer.properties +173 -0
- data/public/web/locale/gu-IN/viewer.properties +167 -0
- data/public/web/locale/he/viewer.properties +173 -0
- data/public/web/locale/hi-IN/viewer.properties +173 -0
- data/public/web/locale/hr/viewer.properties +173 -0
- data/public/web/locale/hu/viewer.properties +173 -0
- data/public/web/locale/hy-AM/viewer.properties +173 -0
- data/public/web/locale/id/viewer.properties +173 -0
- data/public/web/locale/is/viewer.properties +173 -0
- data/public/web/locale/it/viewer.properties +111 -0
- data/public/web/locale/ja/viewer.properties +167 -0
- data/public/web/locale/ka/viewer.properties +173 -0
- data/public/web/locale/kk/viewer.properties +173 -0
- data/public/web/locale/km/viewer.properties +173 -0
- data/public/web/locale/kn/viewer.properties +173 -0
- data/public/web/locale/ko/viewer.properties +173 -0
- data/public/web/locale/ku/viewer.properties +147 -0
- data/public/web/locale/lg/viewer.properties +111 -0
- data/public/web/locale/lij/viewer.properties +124 -0
- data/public/web/locale/locale.properties +312 -0
- data/public/web/locale/lt/viewer.properties +173 -0
- data/public/web/locale/lv/viewer.properties +173 -0
- data/public/web/locale/mai/viewer.properties +173 -0
- data/public/web/locale/mk/viewer.properties +133 -0
- data/public/web/locale/ml/viewer.properties +173 -0
- data/public/web/locale/mn/viewer.properties +79 -0
- data/public/web/locale/mr/viewer.properties +173 -0
- data/public/web/locale/ms/viewer.properties +173 -0
- data/public/web/locale/my/viewer.properties +173 -0
- data/public/web/locale/nb-NO/viewer.properties +173 -0
- data/public/web/locale/nl/viewer.properties +173 -0
- data/public/web/locale/nn-NO/viewer.properties +173 -0
- data/public/web/locale/nso/viewer.properties +131 -0
- data/public/web/locale/oc/viewer.properties +171 -0
- data/public/web/locale/or/viewer.properties +172 -0
- data/public/web/locale/pa-IN/viewer.properties +173 -0
- data/public/web/locale/pl/viewer.properties +124 -0
- data/public/web/locale/pt-BR/viewer.properties +173 -0
- data/public/web/locale/pt-PT/viewer.properties +173 -0
- data/public/web/locale/rm/viewer.properties +173 -0
- data/public/web/locale/ro/viewer.properties +173 -0
- data/public/web/locale/ru/viewer.properties +111 -0
- data/public/web/locale/rw/viewer.properties +79 -0
- data/public/web/locale/sah/viewer.properties +171 -0
- data/public/web/locale/si/viewer.properties +172 -0
- data/public/web/locale/sk/viewer.properties +173 -0
- data/public/web/locale/sl/viewer.properties +173 -0
- data/public/web/locale/son/viewer.properties +173 -0
- data/public/web/locale/sq/viewer.properties +166 -0
- data/public/web/locale/sr/viewer.properties +173 -0
- data/public/web/locale/sv-SE/viewer.properties +173 -0
- data/public/web/locale/sw/viewer.properties +129 -0
- data/public/web/locale/ta/viewer.properties +173 -0
- data/public/web/locale/ta-LK/viewer.properties +72 -0
- data/public/web/locale/te/viewer.properties +173 -0
- data/public/web/locale/th/viewer.properties +173 -0
- data/public/web/locale/tl/viewer.properties +94 -0
- data/public/web/locale/tn/viewer.properties +83 -0
- data/public/web/locale/tr/viewer.properties +173 -0
- data/public/web/locale/uk/viewer.properties +173 -0
- data/public/web/locale/ur/viewer.properties +173 -0
- data/public/web/locale/vi/viewer.properties +173 -0
- data/public/web/locale/wo/viewer.properties +124 -0
- data/public/web/locale/xh/viewer.properties +173 -0
- data/public/web/locale/zh-CN/viewer.properties +173 -0
- data/public/web/locale/zh-TW/viewer.properties +174 -0
- data/public/web/locale/zu/viewer.properties +132 -0
- data/public/web/viewer.css +2191 -0
- data/public/web/viewer.html +425 -0
- data/public/web/viewer.js +9780 -0
- data/set/abstract/pdfjs.rb +36 -0
- metadata +796 -0
@@ -0,0 +1,596 @@
|
|
1
|
+
/* Copyright 2012 Mozilla Foundation
|
2
|
+
*
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
* you may not use this file except in compliance with the License.
|
5
|
+
* You may obtain a copy of the License at
|
6
|
+
*
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
*
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
* See the License for the specific language governing permissions and
|
13
|
+
* limitations under the License.
|
14
|
+
*/
|
15
|
+
/* globals VBArray, PDFJS */
|
16
|
+
|
17
|
+
(function compatibilityWrapper() {
|
18
|
+
'use strict';
|
19
|
+
|
20
|
+
// Initializing PDFJS global object here, it case if we need to change/disable
|
21
|
+
// some PDF.js features, e.g. range requests
|
22
|
+
if (typeof PDFJS === 'undefined') {
|
23
|
+
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
24
|
+
}
|
25
|
+
|
26
|
+
// Checking if the typed arrays are supported
|
27
|
+
// Support: iOS<6.0 (subarray), IE<10, Android<4.0
|
28
|
+
(function checkTypedArrayCompatibility() {
|
29
|
+
if (typeof Uint8Array !== 'undefined') {
|
30
|
+
// Support: iOS<6.0
|
31
|
+
if (typeof Uint8Array.prototype.subarray === 'undefined') {
|
32
|
+
Uint8Array.prototype.subarray = function subarray(start, end) {
|
33
|
+
return new Uint8Array(this.slice(start, end));
|
34
|
+
};
|
35
|
+
Float32Array.prototype.subarray = function subarray(start, end) {
|
36
|
+
return new Float32Array(this.slice(start, end));
|
37
|
+
};
|
38
|
+
}
|
39
|
+
|
40
|
+
// Support: Android<4.1
|
41
|
+
if (typeof Float64Array === 'undefined') {
|
42
|
+
window.Float64Array = Float32Array;
|
43
|
+
}
|
44
|
+
return;
|
45
|
+
}
|
46
|
+
|
47
|
+
function subarray(start, end) {
|
48
|
+
return new TypedArray(this.slice(start, end));
|
49
|
+
}
|
50
|
+
|
51
|
+
function setArrayOffset(array, offset) {
|
52
|
+
if (arguments.length < 2) {
|
53
|
+
offset = 0;
|
54
|
+
}
|
55
|
+
for (var i = 0, n = array.length; i < n; ++i, ++offset) {
|
56
|
+
this[offset] = array[i] & 0xFF;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
function TypedArray(arg1) {
|
61
|
+
var result, i, n;
|
62
|
+
if (typeof arg1 === 'number') {
|
63
|
+
result = [];
|
64
|
+
for (i = 0; i < arg1; ++i) {
|
65
|
+
result[i] = 0;
|
66
|
+
}
|
67
|
+
} else if ('slice' in arg1) {
|
68
|
+
result = arg1.slice(0);
|
69
|
+
} else {
|
70
|
+
result = [];
|
71
|
+
for (i = 0, n = arg1.length; i < n; ++i) {
|
72
|
+
result[i] = arg1[i];
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
result.subarray = subarray;
|
77
|
+
result.buffer = result;
|
78
|
+
result.byteLength = result.length;
|
79
|
+
result.set = setArrayOffset;
|
80
|
+
|
81
|
+
if (typeof arg1 === 'object' && arg1.buffer) {
|
82
|
+
result.buffer = arg1.buffer;
|
83
|
+
}
|
84
|
+
return result;
|
85
|
+
}
|
86
|
+
|
87
|
+
window.Uint8Array = TypedArray;
|
88
|
+
window.Int8Array = TypedArray;
|
89
|
+
|
90
|
+
// we don't need support for set, byteLength for 32-bit array
|
91
|
+
// so we can use the TypedArray as well
|
92
|
+
window.Uint32Array = TypedArray;
|
93
|
+
window.Int32Array = TypedArray;
|
94
|
+
window.Uint16Array = TypedArray;
|
95
|
+
window.Float32Array = TypedArray;
|
96
|
+
window.Float64Array = TypedArray;
|
97
|
+
})();
|
98
|
+
|
99
|
+
// URL = URL || webkitURL
|
100
|
+
// Support: Safari<7, Android 4.2+
|
101
|
+
(function normalizeURLObject() {
|
102
|
+
if (!window.URL) {
|
103
|
+
window.URL = window.webkitURL;
|
104
|
+
}
|
105
|
+
})();
|
106
|
+
|
107
|
+
// Object.defineProperty()?
|
108
|
+
// Support: Android<4.0, Safari<5.1
|
109
|
+
(function checkObjectDefinePropertyCompatibility() {
|
110
|
+
if (typeof Object.defineProperty !== 'undefined') {
|
111
|
+
var definePropertyPossible = true;
|
112
|
+
try {
|
113
|
+
// some browsers (e.g. safari) cannot use defineProperty() on DOM objects
|
114
|
+
// and thus the native version is not sufficient
|
115
|
+
Object.defineProperty(new Image(), 'id', { value: 'test' });
|
116
|
+
// ... another test for android gb browser for non-DOM objects
|
117
|
+
var Test = function Test() {};
|
118
|
+
Test.prototype = { get id() { } };
|
119
|
+
Object.defineProperty(new Test(), 'id',
|
120
|
+
{ value: '', configurable: true, enumerable: true, writable: false });
|
121
|
+
} catch (e) {
|
122
|
+
definePropertyPossible = false;
|
123
|
+
}
|
124
|
+
if (definePropertyPossible) {
|
125
|
+
return;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
Object.defineProperty = function objectDefineProperty(obj, name, def) {
|
130
|
+
delete obj[name];
|
131
|
+
if ('get' in def) {
|
132
|
+
obj.__defineGetter__(name, def['get']);
|
133
|
+
}
|
134
|
+
if ('set' in def) {
|
135
|
+
obj.__defineSetter__(name, def['set']);
|
136
|
+
}
|
137
|
+
if ('value' in def) {
|
138
|
+
obj.__defineSetter__(name, function objectDefinePropertySetter(value) {
|
139
|
+
this.__defineGetter__(name, function objectDefinePropertyGetter() {
|
140
|
+
return value;
|
141
|
+
});
|
142
|
+
return value;
|
143
|
+
});
|
144
|
+
obj[name] = def.value;
|
145
|
+
}
|
146
|
+
};
|
147
|
+
})();
|
148
|
+
|
149
|
+
|
150
|
+
// No XMLHttpRequest#response?
|
151
|
+
// Support: IE<11, Android <4.0
|
152
|
+
(function checkXMLHttpRequestResponseCompatibility() {
|
153
|
+
var xhrPrototype = XMLHttpRequest.prototype;
|
154
|
+
var xhr = new XMLHttpRequest();
|
155
|
+
if (!('overrideMimeType' in xhr)) {
|
156
|
+
// IE10 might have response, but not overrideMimeType
|
157
|
+
// Support: IE10
|
158
|
+
Object.defineProperty(xhrPrototype, 'overrideMimeType', {
|
159
|
+
value: function xmlHttpRequestOverrideMimeType(mimeType) {}
|
160
|
+
});
|
161
|
+
}
|
162
|
+
if ('responseType' in xhr) {
|
163
|
+
return;
|
164
|
+
}
|
165
|
+
|
166
|
+
// The worker will be using XHR, so we can save time and disable worker.
|
167
|
+
PDFJS.disableWorker = true;
|
168
|
+
|
169
|
+
Object.defineProperty(xhrPrototype, 'responseType', {
|
170
|
+
get: function xmlHttpRequestGetResponseType() {
|
171
|
+
return this._responseType || 'text';
|
172
|
+
},
|
173
|
+
set: function xmlHttpRequestSetResponseType(value) {
|
174
|
+
if (value === 'text' || value === 'arraybuffer') {
|
175
|
+
this._responseType = value;
|
176
|
+
if (value === 'arraybuffer' &&
|
177
|
+
typeof this.overrideMimeType === 'function') {
|
178
|
+
this.overrideMimeType('text/plain; charset=x-user-defined');
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
});
|
183
|
+
|
184
|
+
// Support: IE9
|
185
|
+
if (typeof VBArray !== 'undefined') {
|
186
|
+
Object.defineProperty(xhrPrototype, 'response', {
|
187
|
+
get: function xmlHttpRequestResponseGet() {
|
188
|
+
if (this.responseType === 'arraybuffer') {
|
189
|
+
return new Uint8Array(new VBArray(this.responseBody).toArray());
|
190
|
+
} else {
|
191
|
+
return this.responseText;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
});
|
195
|
+
return;
|
196
|
+
}
|
197
|
+
|
198
|
+
Object.defineProperty(xhrPrototype, 'response', {
|
199
|
+
get: function xmlHttpRequestResponseGet() {
|
200
|
+
if (this.responseType !== 'arraybuffer') {
|
201
|
+
return this.responseText;
|
202
|
+
}
|
203
|
+
var text = this.responseText;
|
204
|
+
var i, n = text.length;
|
205
|
+
var result = new Uint8Array(n);
|
206
|
+
for (i = 0; i < n; ++i) {
|
207
|
+
result[i] = text.charCodeAt(i) & 0xFF;
|
208
|
+
}
|
209
|
+
return result.buffer;
|
210
|
+
}
|
211
|
+
});
|
212
|
+
})();
|
213
|
+
|
214
|
+
// window.btoa (base64 encode function) ?
|
215
|
+
// Support: IE<10
|
216
|
+
(function checkWindowBtoaCompatibility() {
|
217
|
+
if ('btoa' in window) {
|
218
|
+
return;
|
219
|
+
}
|
220
|
+
|
221
|
+
var digits =
|
222
|
+
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
223
|
+
|
224
|
+
window.btoa = function windowBtoa(chars) {
|
225
|
+
var buffer = '';
|
226
|
+
var i, n;
|
227
|
+
for (i = 0, n = chars.length; i < n; i += 3) {
|
228
|
+
var b1 = chars.charCodeAt(i) & 0xFF;
|
229
|
+
var b2 = chars.charCodeAt(i + 1) & 0xFF;
|
230
|
+
var b3 = chars.charCodeAt(i + 2) & 0xFF;
|
231
|
+
var d1 = b1 >> 2, d2 = ((b1 & 3) << 4) | (b2 >> 4);
|
232
|
+
var d3 = i + 1 < n ? ((b2 & 0xF) << 2) | (b3 >> 6) : 64;
|
233
|
+
var d4 = i + 2 < n ? (b3 & 0x3F) : 64;
|
234
|
+
buffer += (digits.charAt(d1) + digits.charAt(d2) +
|
235
|
+
digits.charAt(d3) + digits.charAt(d4));
|
236
|
+
}
|
237
|
+
return buffer;
|
238
|
+
};
|
239
|
+
})();
|
240
|
+
|
241
|
+
// window.atob (base64 encode function)?
|
242
|
+
// Support: IE<10
|
243
|
+
(function checkWindowAtobCompatibility() {
|
244
|
+
if ('atob' in window) {
|
245
|
+
return;
|
246
|
+
}
|
247
|
+
|
248
|
+
// https://github.com/davidchambers/Base64.js
|
249
|
+
var digits =
|
250
|
+
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
251
|
+
window.atob = function (input) {
|
252
|
+
input = input.replace(/=+$/, '');
|
253
|
+
if (input.length % 4 === 1) {
|
254
|
+
throw new Error('bad atob input');
|
255
|
+
}
|
256
|
+
for (
|
257
|
+
// initialize result and counters
|
258
|
+
var bc = 0, bs, buffer, idx = 0, output = '';
|
259
|
+
// get next character
|
260
|
+
buffer = input.charAt(idx++);
|
261
|
+
// character found in table?
|
262
|
+
// initialize bit storage and add its ascii value
|
263
|
+
~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,
|
264
|
+
// and if not first of each 4 characters,
|
265
|
+
// convert the first 8 bits to one ascii character
|
266
|
+
bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0
|
267
|
+
) {
|
268
|
+
// try to find character in table (0-63, not found => -1)
|
269
|
+
buffer = digits.indexOf(buffer);
|
270
|
+
}
|
271
|
+
return output;
|
272
|
+
};
|
273
|
+
})();
|
274
|
+
|
275
|
+
// Function.prototype.bind?
|
276
|
+
// Support: Android<4.0, iOS<6.0
|
277
|
+
(function checkFunctionPrototypeBindCompatibility() {
|
278
|
+
if (typeof Function.prototype.bind !== 'undefined') {
|
279
|
+
return;
|
280
|
+
}
|
281
|
+
|
282
|
+
Function.prototype.bind = function functionPrototypeBind(obj) {
|
283
|
+
var fn = this, headArgs = Array.prototype.slice.call(arguments, 1);
|
284
|
+
var bound = function functionPrototypeBindBound() {
|
285
|
+
var args = headArgs.concat(Array.prototype.slice.call(arguments));
|
286
|
+
return fn.apply(obj, args);
|
287
|
+
};
|
288
|
+
return bound;
|
289
|
+
};
|
290
|
+
})();
|
291
|
+
|
292
|
+
// HTMLElement dataset property
|
293
|
+
// Support: IE<11, Safari<5.1, Android<4.0
|
294
|
+
(function checkDatasetProperty() {
|
295
|
+
var div = document.createElement('div');
|
296
|
+
if ('dataset' in div) {
|
297
|
+
return; // dataset property exists
|
298
|
+
}
|
299
|
+
|
300
|
+
Object.defineProperty(HTMLElement.prototype, 'dataset', {
|
301
|
+
get: function() {
|
302
|
+
if (this._dataset) {
|
303
|
+
return this._dataset;
|
304
|
+
}
|
305
|
+
|
306
|
+
var dataset = {};
|
307
|
+
for (var j = 0, jj = this.attributes.length; j < jj; j++) {
|
308
|
+
var attribute = this.attributes[j];
|
309
|
+
if (attribute.name.substring(0, 5) !== 'data-') {
|
310
|
+
continue;
|
311
|
+
}
|
312
|
+
var key = attribute.name.substring(5).replace(/\-([a-z])/g,
|
313
|
+
function(all, ch) {
|
314
|
+
return ch.toUpperCase();
|
315
|
+
});
|
316
|
+
dataset[key] = attribute.value;
|
317
|
+
}
|
318
|
+
|
319
|
+
Object.defineProperty(this, '_dataset', {
|
320
|
+
value: dataset,
|
321
|
+
writable: false,
|
322
|
+
enumerable: false
|
323
|
+
});
|
324
|
+
return dataset;
|
325
|
+
},
|
326
|
+
enumerable: true
|
327
|
+
});
|
328
|
+
})();
|
329
|
+
|
330
|
+
// HTMLElement classList property
|
331
|
+
// Support: IE<10, Android<4.0, iOS<5.0
|
332
|
+
(function checkClassListProperty() {
|
333
|
+
var div = document.createElement('div');
|
334
|
+
if ('classList' in div) {
|
335
|
+
return; // classList property exists
|
336
|
+
}
|
337
|
+
|
338
|
+
function changeList(element, itemName, add, remove) {
|
339
|
+
var s = element.className || '';
|
340
|
+
var list = s.split(/\s+/g);
|
341
|
+
if (list[0] === '') {
|
342
|
+
list.shift();
|
343
|
+
}
|
344
|
+
var index = list.indexOf(itemName);
|
345
|
+
if (index < 0 && add) {
|
346
|
+
list.push(itemName);
|
347
|
+
}
|
348
|
+
if (index >= 0 && remove) {
|
349
|
+
list.splice(index, 1);
|
350
|
+
}
|
351
|
+
element.className = list.join(' ');
|
352
|
+
return (index >= 0);
|
353
|
+
}
|
354
|
+
|
355
|
+
var classListPrototype = {
|
356
|
+
add: function(name) {
|
357
|
+
changeList(this.element, name, true, false);
|
358
|
+
},
|
359
|
+
contains: function(name) {
|
360
|
+
return changeList(this.element, name, false, false);
|
361
|
+
},
|
362
|
+
remove: function(name) {
|
363
|
+
changeList(this.element, name, false, true);
|
364
|
+
},
|
365
|
+
toggle: function(name) {
|
366
|
+
changeList(this.element, name, true, true);
|
367
|
+
}
|
368
|
+
};
|
369
|
+
|
370
|
+
Object.defineProperty(HTMLElement.prototype, 'classList', {
|
371
|
+
get: function() {
|
372
|
+
if (this._classList) {
|
373
|
+
return this._classList;
|
374
|
+
}
|
375
|
+
|
376
|
+
var classList = Object.create(classListPrototype, {
|
377
|
+
element: {
|
378
|
+
value: this,
|
379
|
+
writable: false,
|
380
|
+
enumerable: true
|
381
|
+
}
|
382
|
+
});
|
383
|
+
Object.defineProperty(this, '_classList', {
|
384
|
+
value: classList,
|
385
|
+
writable: false,
|
386
|
+
enumerable: false
|
387
|
+
});
|
388
|
+
return classList;
|
389
|
+
},
|
390
|
+
enumerable: true
|
391
|
+
});
|
392
|
+
})();
|
393
|
+
|
394
|
+
// Check console compatibility
|
395
|
+
// In older IE versions the console object is not available
|
396
|
+
// unless console is open.
|
397
|
+
// Support: IE<10
|
398
|
+
(function checkConsoleCompatibility() {
|
399
|
+
if (!('console' in window)) {
|
400
|
+
window.console = {
|
401
|
+
log: function() {},
|
402
|
+
error: function() {},
|
403
|
+
warn: function() {}
|
404
|
+
};
|
405
|
+
} else if (!('bind' in console.log)) {
|
406
|
+
// native functions in IE9 might not have bind
|
407
|
+
console.log = (function(fn) {
|
408
|
+
return function(msg) { return fn(msg); };
|
409
|
+
})(console.log);
|
410
|
+
console.error = (function(fn) {
|
411
|
+
return function(msg) { return fn(msg); };
|
412
|
+
})(console.error);
|
413
|
+
console.warn = (function(fn) {
|
414
|
+
return function(msg) { return fn(msg); };
|
415
|
+
})(console.warn);
|
416
|
+
}
|
417
|
+
})();
|
418
|
+
|
419
|
+
// Check onclick compatibility in Opera
|
420
|
+
// Support: Opera<15
|
421
|
+
(function checkOnClickCompatibility() {
|
422
|
+
// workaround for reported Opera bug DSK-354448:
|
423
|
+
// onclick fires on disabled buttons with opaque content
|
424
|
+
function ignoreIfTargetDisabled(event) {
|
425
|
+
if (isDisabled(event.target)) {
|
426
|
+
event.stopPropagation();
|
427
|
+
}
|
428
|
+
}
|
429
|
+
function isDisabled(node) {
|
430
|
+
return node.disabled || (node.parentNode && isDisabled(node.parentNode));
|
431
|
+
}
|
432
|
+
if (navigator.userAgent.indexOf('Opera') !== -1) {
|
433
|
+
// use browser detection since we cannot feature-check this bug
|
434
|
+
document.addEventListener('click', ignoreIfTargetDisabled, true);
|
435
|
+
}
|
436
|
+
})();
|
437
|
+
|
438
|
+
// Checks if possible to use URL.createObjectURL()
|
439
|
+
// Support: IE
|
440
|
+
(function checkOnBlobSupport() {
|
441
|
+
// sometimes IE loosing the data created with createObjectURL(), see #3977
|
442
|
+
if (navigator.userAgent.indexOf('Trident') >= 0) {
|
443
|
+
PDFJS.disableCreateObjectURL = true;
|
444
|
+
}
|
445
|
+
})();
|
446
|
+
|
447
|
+
// Checks if navigator.language is supported
|
448
|
+
(function checkNavigatorLanguage() {
|
449
|
+
if ('language' in navigator) {
|
450
|
+
return;
|
451
|
+
}
|
452
|
+
PDFJS.locale = navigator.userLanguage || 'en-US';
|
453
|
+
})();
|
454
|
+
|
455
|
+
(function checkRangeRequests() {
|
456
|
+
// Safari has issues with cached range requests see:
|
457
|
+
// https://github.com/mozilla/pdf.js/issues/3260
|
458
|
+
// Last tested with version 6.0.4.
|
459
|
+
// Support: Safari 6.0+
|
460
|
+
var isSafari = Object.prototype.toString.call(
|
461
|
+
window.HTMLElement).indexOf('Constructor') > 0;
|
462
|
+
|
463
|
+
// Older versions of Android (pre 3.0) has issues with range requests, see:
|
464
|
+
// https://github.com/mozilla/pdf.js/issues/3381.
|
465
|
+
// Make sure that we only match webkit-based Android browsers,
|
466
|
+
// since Firefox/Fennec works as expected.
|
467
|
+
// Support: Android<3.0
|
468
|
+
var regex = /Android\s[0-2][^\d]/;
|
469
|
+
var isOldAndroid = regex.test(navigator.userAgent);
|
470
|
+
|
471
|
+
// Range requests are broken in Chrome 39 and 40, https://crbug.com/442318
|
472
|
+
var isChromeWithRangeBug = /Chrome\/(39|40)\./.test(navigator.userAgent);
|
473
|
+
|
474
|
+
if (isSafari || isOldAndroid || isChromeWithRangeBug) {
|
475
|
+
PDFJS.disableRange = true;
|
476
|
+
PDFJS.disableStream = true;
|
477
|
+
}
|
478
|
+
})();
|
479
|
+
|
480
|
+
// Check if the browser supports manipulation of the history.
|
481
|
+
// Support: IE<10, Android<4.2
|
482
|
+
(function checkHistoryManipulation() {
|
483
|
+
// Android 2.x has so buggy pushState support that it was removed in
|
484
|
+
// Android 3.0 and restored as late as in Android 4.2.
|
485
|
+
// Support: Android 2.x
|
486
|
+
if (!history.pushState || navigator.userAgent.indexOf('Android 2.') >= 0) {
|
487
|
+
PDFJS.disableHistory = true;
|
488
|
+
}
|
489
|
+
})();
|
490
|
+
|
491
|
+
// Support: IE<11, Chrome<21, Android<4.4, Safari<6
|
492
|
+
(function checkSetPresenceInImageData() {
|
493
|
+
// IE < 11 will use window.CanvasPixelArray which lacks set function.
|
494
|
+
if (window.CanvasPixelArray) {
|
495
|
+
if (typeof window.CanvasPixelArray.prototype.set !== 'function') {
|
496
|
+
window.CanvasPixelArray.prototype.set = function(arr) {
|
497
|
+
for (var i = 0, ii = this.length; i < ii; i++) {
|
498
|
+
this[i] = arr[i];
|
499
|
+
}
|
500
|
+
};
|
501
|
+
}
|
502
|
+
} else {
|
503
|
+
// Old Chrome and Android use an inaccessible CanvasPixelArray prototype.
|
504
|
+
// Because we cannot feature detect it, we rely on user agent parsing.
|
505
|
+
var polyfill = false, versionMatch;
|
506
|
+
if (navigator.userAgent.indexOf('Chrom') >= 0) {
|
507
|
+
versionMatch = navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);
|
508
|
+
// Chrome < 21 lacks the set function.
|
509
|
+
polyfill = versionMatch && parseInt(versionMatch[2]) < 21;
|
510
|
+
} else if (navigator.userAgent.indexOf('Android') >= 0) {
|
511
|
+
// Android < 4.4 lacks the set function.
|
512
|
+
// Android >= 4.4 will contain Chrome in the user agent,
|
513
|
+
// thus pass the Chrome check above and not reach this block.
|
514
|
+
polyfill = /Android\s[0-4][^\d]/g.test(navigator.userAgent);
|
515
|
+
} else if (navigator.userAgent.indexOf('Safari') >= 0) {
|
516
|
+
versionMatch = navigator.userAgent.
|
517
|
+
match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//);
|
518
|
+
// Safari < 6 lacks the set function.
|
519
|
+
polyfill = versionMatch && parseInt(versionMatch[1]) < 6;
|
520
|
+
}
|
521
|
+
|
522
|
+
if (polyfill) {
|
523
|
+
var contextPrototype = window.CanvasRenderingContext2D.prototype;
|
524
|
+
var createImageData = contextPrototype.createImageData;
|
525
|
+
contextPrototype.createImageData = function(w, h) {
|
526
|
+
var imageData = createImageData.call(this, w, h);
|
527
|
+
imageData.data.set = function(arr) {
|
528
|
+
for (var i = 0, ii = this.length; i < ii; i++) {
|
529
|
+
this[i] = arr[i];
|
530
|
+
}
|
531
|
+
};
|
532
|
+
return imageData;
|
533
|
+
};
|
534
|
+
// this closure will be kept referenced, so clear its vars
|
535
|
+
contextPrototype = null;
|
536
|
+
}
|
537
|
+
}
|
538
|
+
})();
|
539
|
+
|
540
|
+
// Support: IE<10, Android<4.0, iOS
|
541
|
+
(function checkRequestAnimationFrame() {
|
542
|
+
function fakeRequestAnimationFrame(callback) {
|
543
|
+
window.setTimeout(callback, 20);
|
544
|
+
}
|
545
|
+
|
546
|
+
var isIOS = /(iPad|iPhone|iPod)/g.test(navigator.userAgent);
|
547
|
+
if (isIOS) {
|
548
|
+
// requestAnimationFrame on iOS is broken, replacing with fake one.
|
549
|
+
window.requestAnimationFrame = fakeRequestAnimationFrame;
|
550
|
+
return;
|
551
|
+
}
|
552
|
+
if ('requestAnimationFrame' in window) {
|
553
|
+
return;
|
554
|
+
}
|
555
|
+
window.requestAnimationFrame =
|
556
|
+
window.mozRequestAnimationFrame ||
|
557
|
+
window.webkitRequestAnimationFrame ||
|
558
|
+
fakeRequestAnimationFrame;
|
559
|
+
})();
|
560
|
+
|
561
|
+
(function checkCanvasSizeLimitation() {
|
562
|
+
var isIOS = /(iPad|iPhone|iPod)/g.test(navigator.userAgent);
|
563
|
+
var isAndroid = /Android/g.test(navigator.userAgent);
|
564
|
+
if (isIOS || isAndroid) {
|
565
|
+
// 5MP
|
566
|
+
PDFJS.maxCanvasPixels = 5242880;
|
567
|
+
}
|
568
|
+
})();
|
569
|
+
|
570
|
+
// Disable fullscreen support for certain problematic configurations.
|
571
|
+
// Support: IE11+ (when embedded).
|
572
|
+
(function checkFullscreenSupport() {
|
573
|
+
var isEmbeddedIE = (navigator.userAgent.indexOf('Trident') >= 0 &&
|
574
|
+
window.parent !== window);
|
575
|
+
if (isEmbeddedIE) {
|
576
|
+
PDFJS.disableFullscreen = true;
|
577
|
+
}
|
578
|
+
})();
|
579
|
+
|
580
|
+
// Provides document.currentScript support
|
581
|
+
// Support: IE, Chrome<29.
|
582
|
+
(function checkCurrentScript() {
|
583
|
+
if ('currentScript' in document) {
|
584
|
+
return;
|
585
|
+
}
|
586
|
+
Object.defineProperty(document, 'currentScript', {
|
587
|
+
get: function () {
|
588
|
+
var scripts = document.getElementsByTagName('script');
|
589
|
+
return scripts[scripts.length - 1];
|
590
|
+
},
|
591
|
+
enumerable: true,
|
592
|
+
configurable: true
|
593
|
+
});
|
594
|
+
})();
|
595
|
+
|
596
|
+
}).call((typeof window === 'undefined') ? this : window);
|
Binary file
|