@pdftron/pdfjs-express 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PDF.js Express Evaluation License.pdf +0 -0
- package/PDFJS-LICENSE +177 -0
- package/README.md +43 -0
- package/package.json +8 -0
- package/public/core/21.chunk.js +8 -0
- package/public/core/AndroidContentPartRetriever.chunk.js +3 -0
- package/public/core/ArrayBufferPdfPartRetriever.chunk.js +2 -0
- package/public/core/AzurePartRetriever.chunk.js +3 -0
- package/public/core/ExternalAnnotationMerger.chunk.js +14 -0
- package/public/core/ExternalPdfPartRetriever.chunk.js +7 -0
- package/public/core/HttpPartRetriever.chunk.js +14 -0
- package/public/core/IOSPartRetriever.chunk.js +3 -0
- package/public/core/LocalPartRetriever.chunk.js +5 -0
- package/public/core/LocalPdfPartRetriever.chunk.js +4 -0
- package/public/core/PDFInfoVersion1.chunk.js +17 -0
- package/public/core/SelectionInfoOld.chunk.js +15 -0
- package/public/core/StreamingPartRetriever.chunk.js +10 -0
- package/public/core/WebDBPartRetriever.chunk.js +3 -0
- package/public/core/WebViewerServerPartRetriever.chunk.js +30 -0
- package/public/core/WinRTPartRetriever.chunk.js +3 -0
- package/public/core/assets/1px.png +0 -0
- package/public/core/assets/dragginghand.cur +0 -0
- package/public/core/assets/dragginghand.png +0 -0
- package/public/core/assets/hand.cur +0 -0
- package/public/core/assets/hand.png +0 -0
- package/public/core/assets/mime-types/test.mem +0 -0
- package/public/core/assets/mime-types/test.res +0 -0
- package/public/core/assets/mime-types/test.wasm +0 -0
- package/public/core/assets/mime-types/test.xod +0 -0
- package/public/core/assets/zoom-in.cur +0 -0
- package/public/core/assets/zoom-out.cur +0 -0
- package/public/core/external/Promise.js +337 -0
- package/public/core/external/decode.min.js +66 -0
- package/public/core/external/model-viewer-1.3.0.min.js +907 -0
- package/public/core/external/model-viewer-legacy-1.3.0.min.js +4119 -0
- package/public/core/external/pako_inflate.min.js +2 -0
- package/public/core/external/pikaday.css +1 -0
- package/public/core/external/quill.css +1 -0
- package/public/core/legacyOffice/LegacyOfficeWorker.js +1 -0
- package/public/core/pdfjs/PDFJSDocumentType.js +2517 -0
- package/public/core/pdfjs/UIConfig.js +1 -0
- package/public/core/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/78-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/78-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Add-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Add-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/public/core/pdfjs/cmaps/B5-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/B5pc-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/B5pc-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/CNS1-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/CNS1-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/CNS2-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/CNS2-V.bcmap +3 -0
- package/public/core/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
- package/public/core/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Ext-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Ext-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GB-H.bcmap +4 -0
- package/public/core/pdfjs/cmaps/GB-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBT-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBT-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Hankaku.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Hiragana.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Katakana.bcmap +0 -0
- package/public/core/pdfjs/cmaps/LICENSE +36 -0
- package/public/core/pdfjs/cmaps/NWP-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/NWP-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/Roman.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/public/core/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/V.bcmap +0 -0
- package/public/core/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
- package/public/core/pdfjs/pdf.worker.js +2351 -0
- package/public/core/pdfjs/pdfjsexpress.asm.js +1 -0
- package/public/core/pdfjs/pdfjsexpress.wasm +0 -0
- package/public/core/pikaday.chunk.js +39 -0
- package/public/core/vendors.ascii85.chunk.js +7 -0
- package/public/core/vendors.ascii85.quill.chunk.js +35 -0
- package/public/core/vendors.pako.chunk.js +81 -0
- package/public/core/vendors.quill.chunk.js +422 -0
- package/public/core/webviewer-core.min.js +2481 -0
- package/public/ui/assets/fonts/GreatVibes-Regular.woff +0 -0
- package/public/ui/assets/fonts/GreatVibes-Regular.woff2 +0 -0
- package/public/ui/assets/fonts/Lato-Bold.woff +0 -0
- package/public/ui/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/public/ui/assets/fonts/Lato-Italic.woff +0 -0
- package/public/ui/assets/fonts/Lato-Regular.woff +0 -0
- package/public/ui/assets/pdftron.ico +0 -0
- package/public/ui/chunks/10.chunk.js +1 -0
- package/public/ui/chunks/100.chunk.js +1 -0
- package/public/ui/chunks/101.chunk.js +1 -0
- package/public/ui/chunks/102.chunk.js +1 -0
- package/public/ui/chunks/103.chunk.js +1 -0
- package/public/ui/chunks/104.chunk.js +1 -0
- package/public/ui/chunks/105.chunk.js +1 -0
- package/public/ui/chunks/106.chunk.js +1 -0
- package/public/ui/chunks/107.chunk.js +1 -0
- package/public/ui/chunks/108.chunk.js +1 -0
- package/public/ui/chunks/109.chunk.js +1 -0
- package/public/ui/chunks/11.chunk.js +1 -0
- package/public/ui/chunks/110.chunk.js +1 -0
- package/public/ui/chunks/111.chunk.js +1 -0
- package/public/ui/chunks/112.chunk.js +1 -0
- package/public/ui/chunks/113.chunk.js +1 -0
- package/public/ui/chunks/114.chunk.js +1 -0
- package/public/ui/chunks/115.chunk.js +1 -0
- package/public/ui/chunks/116.chunk.js +1 -0
- package/public/ui/chunks/117.chunk.js +1 -0
- package/public/ui/chunks/118.chunk.js +1 -0
- package/public/ui/chunks/119.chunk.js +1 -0
- package/public/ui/chunks/12.chunk.js +1 -0
- package/public/ui/chunks/120.chunk.js +1 -0
- package/public/ui/chunks/121.chunk.js +1 -0
- package/public/ui/chunks/122.chunk.js +1 -0
- package/public/ui/chunks/123.chunk.js +1 -0
- package/public/ui/chunks/124.chunk.js +1 -0
- package/public/ui/chunks/125.chunk.js +1 -0
- package/public/ui/chunks/126.chunk.js +1 -0
- package/public/ui/chunks/127.chunk.js +1 -0
- package/public/ui/chunks/128.chunk.js +1 -0
- package/public/ui/chunks/129.chunk.js +1 -0
- package/public/ui/chunks/13.chunk.js +1 -0
- package/public/ui/chunks/130.chunk.js +1 -0
- package/public/ui/chunks/131.chunk.js +1 -0
- package/public/ui/chunks/132.chunk.js +1 -0
- package/public/ui/chunks/133.chunk.js +1 -0
- package/public/ui/chunks/134.chunk.js +1 -0
- package/public/ui/chunks/135.chunk.js +1 -0
- package/public/ui/chunks/136.chunk.js +1 -0
- package/public/ui/chunks/137.chunk.js +1 -0
- package/public/ui/chunks/138.chunk.js +1 -0
- package/public/ui/chunks/139.chunk.js +1 -0
- package/public/ui/chunks/14.chunk.js +1 -0
- package/public/ui/chunks/140.chunk.js +1 -0
- package/public/ui/chunks/141.chunk.js +1 -0
- package/public/ui/chunks/142.chunk.js +1 -0
- package/public/ui/chunks/143.chunk.js +1 -0
- package/public/ui/chunks/144.chunk.js +1 -0
- package/public/ui/chunks/145.chunk.js +1 -0
- package/public/ui/chunks/15.chunk.js +1 -0
- package/public/ui/chunks/16.chunk.js +1 -0
- package/public/ui/chunks/17.chunk.js +1 -0
- package/public/ui/chunks/18.chunk.js +1 -0
- package/public/ui/chunks/19.chunk.js +1 -0
- package/public/ui/chunks/20.chunk.js +1 -0
- package/public/ui/chunks/21.chunk.js +1 -0
- package/public/ui/chunks/22.chunk.js +1 -0
- package/public/ui/chunks/23.chunk.js +1 -0
- package/public/ui/chunks/24.chunk.js +1 -0
- package/public/ui/chunks/25.chunk.js +1 -0
- package/public/ui/chunks/26.chunk.js +1 -0
- package/public/ui/chunks/27.chunk.js +1 -0
- package/public/ui/chunks/28.chunk.js +1 -0
- package/public/ui/chunks/29.chunk.js +1 -0
- package/public/ui/chunks/30.chunk.js +1 -0
- package/public/ui/chunks/31.chunk.js +1 -0
- package/public/ui/chunks/32.chunk.js +1 -0
- package/public/ui/chunks/33.chunk.js +1 -0
- package/public/ui/chunks/34.chunk.js +1 -0
- package/public/ui/chunks/35.chunk.js +1 -0
- package/public/ui/chunks/36.chunk.js +1 -0
- package/public/ui/chunks/37.chunk.js +1 -0
- package/public/ui/chunks/38.chunk.js +1 -0
- package/public/ui/chunks/39.chunk.js +1 -0
- package/public/ui/chunks/4.chunk.js +1 -0
- package/public/ui/chunks/40.chunk.js +1 -0
- package/public/ui/chunks/41.chunk.js +1 -0
- package/public/ui/chunks/42.chunk.js +1 -0
- package/public/ui/chunks/43.chunk.js +1 -0
- package/public/ui/chunks/44.chunk.js +1 -0
- package/public/ui/chunks/45.chunk.js +1 -0
- package/public/ui/chunks/46.chunk.js +1 -0
- package/public/ui/chunks/47.chunk.js +1 -0
- package/public/ui/chunks/48.chunk.js +1 -0
- package/public/ui/chunks/49.chunk.js +1 -0
- package/public/ui/chunks/5.chunk.js +1 -0
- package/public/ui/chunks/50.chunk.js +1 -0
- package/public/ui/chunks/51.chunk.js +1 -0
- package/public/ui/chunks/52.chunk.js +1 -0
- package/public/ui/chunks/53.chunk.js +1 -0
- package/public/ui/chunks/54.chunk.js +1 -0
- package/public/ui/chunks/55.chunk.js +1 -0
- package/public/ui/chunks/56.chunk.js +1 -0
- package/public/ui/chunks/57.chunk.js +1 -0
- package/public/ui/chunks/58.chunk.js +1 -0
- package/public/ui/chunks/59.chunk.js +1 -0
- package/public/ui/chunks/6.chunk.js +1 -0
- package/public/ui/chunks/60.chunk.js +1 -0
- package/public/ui/chunks/61.chunk.js +1 -0
- package/public/ui/chunks/62.chunk.js +1 -0
- package/public/ui/chunks/63.chunk.js +1 -0
- package/public/ui/chunks/64.chunk.js +1 -0
- package/public/ui/chunks/65.chunk.js +1 -0
- package/public/ui/chunks/66.chunk.js +1 -0
- package/public/ui/chunks/67.chunk.js +1 -0
- package/public/ui/chunks/68.chunk.js +1 -0
- package/public/ui/chunks/69.chunk.js +1 -0
- package/public/ui/chunks/7.chunk.js +1 -0
- package/public/ui/chunks/70.chunk.js +1 -0
- package/public/ui/chunks/71.chunk.js +1 -0
- package/public/ui/chunks/72.chunk.js +1 -0
- package/public/ui/chunks/73.chunk.js +1 -0
- package/public/ui/chunks/74.chunk.js +1 -0
- package/public/ui/chunks/75.chunk.js +1 -0
- package/public/ui/chunks/76.chunk.js +1 -0
- package/public/ui/chunks/77.chunk.js +1 -0
- package/public/ui/chunks/78.chunk.js +1 -0
- package/public/ui/chunks/79.chunk.js +1 -0
- package/public/ui/chunks/8.chunk.js +1 -0
- package/public/ui/chunks/80.chunk.js +1 -0
- package/public/ui/chunks/81.chunk.js +1 -0
- package/public/ui/chunks/82.chunk.js +1 -0
- package/public/ui/chunks/83.chunk.js +1 -0
- package/public/ui/chunks/84.chunk.js +1 -0
- package/public/ui/chunks/85.chunk.js +1 -0
- package/public/ui/chunks/86.chunk.js +1 -0
- package/public/ui/chunks/87.chunk.js +1 -0
- package/public/ui/chunks/88.chunk.js +1 -0
- package/public/ui/chunks/89.chunk.js +1 -0
- package/public/ui/chunks/9.chunk.js +1 -0
- package/public/ui/chunks/90.chunk.js +1 -0
- package/public/ui/chunks/91.chunk.js +1 -0
- package/public/ui/chunks/92.chunk.js +1 -0
- package/public/ui/chunks/93.chunk.js +1 -0
- package/public/ui/chunks/94.chunk.js +1 -0
- package/public/ui/chunks/95.chunk.js +1 -0
- package/public/ui/chunks/96.chunk.js +1 -0
- package/public/ui/chunks/97.chunk.js +1 -0
- package/public/ui/chunks/98.chunk.js +1 -0
- package/public/ui/chunks/99.chunk.js +1 -0
- package/public/ui/chunks/mention.chunk.css +1 -0
- package/public/ui/chunks/mention.chunk.js +1 -0
- package/public/ui/chunks/vendors.html2canvas.chunk.js +1 -0
- package/public/ui/chunks/vendors.mention.chunk.js +1 -0
- package/public/ui/configorigin.txt +2 -0
- package/public/ui/i18n/translation-de.json +666 -0
- package/public/ui/i18n/translation-en.json +666 -0
- package/public/ui/i18n/translation-es.json +666 -0
- package/public/ui/i18n/translation-fr.json +666 -0
- package/public/ui/i18n/translation-it.json +666 -0
- package/public/ui/i18n/translation-ja.json +666 -0
- package/public/ui/i18n/translation-ko.json +666 -0
- package/public/ui/i18n/translation-nl.json +666 -0
- package/public/ui/i18n/translation-pt_br.json +666 -0
- package/public/ui/i18n/translation-ru.json +666 -0
- package/public/ui/i18n/translation-zh_cn.json +666 -0
- package/public/ui/i18n/translation-zh_tw.json +666 -0
- package/public/ui/index.html +23 -0
- package/public/ui/style.css +111 -0
- package/public/ui/webviewer-ui.min.js +239 -0
- package/webviewer.min.js +1 -0
|
Binary file
|
package/PDFJS-LICENSE
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# WebViewer
|
|
2
|
+
|
|
3
|
+
[PDFJS Express](https://pdfjs.express) is a powerful JavaScript-based PDF Library that wraps [PDF.js](https://mozilla.github.io/pdf.js/). It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulate PDFs that can be embedded into any web project.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
**1) Install PDFJS Express**
|
|
10
|
+
```
|
|
11
|
+
npm i @pdftron/pdfjs-express --save
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
This will also download all the assets that need to be included for PDFJS Express to work.
|
|
15
|
+
|
|
16
|
+
**2) Copy assets and resources to your public/static folder**
|
|
17
|
+
|
|
18
|
+
These assets need to be served with your application. For example, if your project is built into a `dist` folder, you could copy these assets into `dist/public`.
|
|
19
|
+
|
|
20
|
+
The folder you need to copy is `node_modules/@pdftron/pdfjs-express/public`.
|
|
21
|
+
```
|
|
22
|
+
cp -R ./node_modules/@pdftron/pdfjs-express/public ./dist
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
We recommend using a module bundler like [Webpack](https://webpack.js.org/) to automatically do this for you. There is a nice plugin called [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) that does just this.
|
|
26
|
+
|
|
27
|
+
**3) Import and instantiate WebViewer**
|
|
28
|
+
|
|
29
|
+
```js
|
|
30
|
+
import WebViewer from '@pdftron/pdfjs-express'
|
|
31
|
+
|
|
32
|
+
const element = document.getElementById('viewer');
|
|
33
|
+
|
|
34
|
+
WebViewer({
|
|
35
|
+
path: '/public', // point to where the files you copied are served from
|
|
36
|
+
initialDoc: 'https://pdftron.s3.amazonaws.com/downloads/pl/PDFTRON_about.pdf' // path to your document
|
|
37
|
+
}, element).then((instance) => {
|
|
38
|
+
// Call APIs here
|
|
39
|
+
})
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Documentation
|
|
43
|
+
Full documentation for PDFJS Express can be found [here](https://pdfjs.express/documentation).
|
package/package.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[21],{381:function(Da,xa,z){z.r(xa);var na=z(2),ia=z(13),ka=z(1);Da=z(46);var ea=z(31),da=z(10);z=function(){function x(){this.init()}x.prototype.init=function(){this.K_=!1;this.Sf=this.gk=this.connection=null;this.hq={};this.na=this.XB=null};x.prototype.uda=function(r){for(var n=this,a=0;a<r.length;++a){var b=r[a];switch(b.at){case "create":this.hq[b.author]||(this.hq[b.author]=b.aName);this.h6(b);break;case "modify":this.na.wm(b.xfdf).then(function(f){n.na.yb(f[0])});
|
|
3
|
+
break;case "delete":this.na.wm("<delete><id>"+b.aId+"</id></delete>")}}};x.prototype.h6=function(r){var n=this;this.na.wm(r.xfdf).then(function(a){a=a[0];a.authorId=r.author;n.na.yb(a);n.na.trigger(ia.a.UPDATE_ANNOTATION_PERMISSION,[a])})};x.prototype.K5=function(r,n,a){this.gk&&this.gk(r,n,a)};x.prototype.preloadAnnotations=function(r){this.addEventListener("webViewerServerAnnotationsEnabled",this.K5.bind(this,r,"add",{imported:!1}),{once:!0})};x.prototype.initiateCollaboration=function(r,n,a){var b=
|
|
4
|
+
this;if(r){b.Sf=n;b.na=a.ua();a.addEventListener(ia.c.DOCUMENT_UNLOADED,function(){b.disableCollaboration()});b.Sda(r);var f=new XMLHttpRequest;f.addEventListener("load",function(){if(200===f.status&&0<f.responseText.length)try{var h=JSON.parse(f.responseText);b.connection=exports.kb.rea(Object(ea.i)(b.Sf,"blackbox/"),"annot");b.XB=h.id;b.hq[h.id]=h.user_name;b.na.tI(h.id);b.connection.WI(function(y){y.t&&y.t.startsWith("a_")&&y.data&&b.uda(y.data)},function(){b.connection.send({t:"a_retrieve",dId:r});
|
|
5
|
+
b.trigger(x.Events.WEBVIEWER_SERVER_ANNOTATIONS_ENABLED,[b.hq[h.id],b.XB])},function(){b.disableCollaboration()})}catch(y){Object(ka.f)(y.message)}});f.open("GET",Object(ea.i)(this.Sf,"demo/SessionInfo.jsp"));f.withCredentials=!0;f.send();b.K_=!0;b.na.kT(function(h){return b.hq[h.Author]||h.Author})}else Object(ka.f)("Document ID required for collaboration")};x.prototype.disableCollaboration=function(){this.gk&&(this.na.removeEventListener(da.a.Events.ANNOTATION_CHANGED,this.gk),this.gk=null);this.connection&&
|
|
6
|
+
this.connection.TE();this.na&&this.na.tI("Guest");this.init();this.trigger(x.Events.WEBVIEWER_SERVER_ANNOTATIONS_DISABLED)};x.prototype.Sda=function(r){var n=this;this.gk&&this.na.removeEventListener(da.a.Events.ANNOTATION_CHANGED,this.gk);this.gk=function(a,b,f){return Object(na.b)(this,void 0,void 0,function(){var h,y,e,w,aa,fa,ja,ba,ha;return Object(na.d)(this,function(ca){switch(ca.label){case 0:if(f.imported)return[2];h={t:"a_"+b,dId:r,annots:[]};return[4,n.na.gO()];case 1:y=ca.ga();"delete"!==
|
|
7
|
+
b&&(e=(new DOMParser).parseFromString(y,"text/xml"),w=new XMLSerializer);for(aa=0;aa<a.length;aa++)fa=a[aa],ba=ja=void 0,"add"===b?(ja=e.querySelector('[name="'+fa.Id+'"]'),ba=w.serializeToString(ja),ha=null,fa.InReplyTo&&(ha=n.na.lg(fa.InReplyTo).authorId||"default"),h.annots.push({at:"create",aId:fa.Id,author:n.XB,aName:n.hq[n.XB],parent:ha,xfdf:"<add>"+ba+"</add>"})):"modify"===b?(ja=e.querySelector('[name="'+fa.Id+'"]'),ba=w.serializeToString(ja),h.annots.push({at:"modify",aId:fa.Id,xfdf:"<modify>"+
|
|
8
|
+
ba+"</modify>"})):"delete"===b&&h.annots.push({at:"delete",aId:fa.Id});0<h.annots.length&&n.connection.send(h);return[2]}})})}.bind(n);this.na.addEventListener(da.a.Events.ANNOTATION_CHANGED,this.gk)};x.Events={WEBVIEWER_SERVER_ANNOTATIONS_ENABLED:"webViewerServerAnnotationsEnabled",WEBVIEWER_SERVER_ANNOTATIONS_DISABLED:"webViewerServerAnnotationsDisabled"};return x}();Object(Da.a)(z);xa["default"]=z}}]);}).call(this || window)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[3],{367:function(Da,xa,z){z.r(xa);var na=z(2),ia=z(204);Da=z(364);z=z(319);var ka=window,ea=function(da){function x(r,n){var a=da.call(this,r,n)||this;a.url=r;a.range=n;a.request=new XMLHttpRequest;a.request.open("GET",a.url,!0);ka.Uint8Array&&(a.request.responseType="arraybuffer");a.request.setRequestHeader("X-Requested-With","XMLHttpRequest");a.status=ia.a.NOT_STARTED;return a}Object(na.c)(x,da);return x}(Da.ByteRangeRequest);
|
|
3
|
+
Da=function(da){function x(r,n,a,b){r=da.call(this,r,n,a,b)||this;r.Bv=ea;return r}Object(na.c)(x,da);x.prototype.It=function(r,n){return r+"/bytes="+n.start+","+(n.stop?n.stop:"")};return x}(Da["default"]);Object(z.a)(Da);Object(z.b)(Da);xa["default"]=Da}}]);}).call(this || window)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[4],{368:function(Da,xa,z){z.r(xa);Da=z(46);z=z(319);var na=function(){function ia(ka){this.buffer=ka;this.fileSize=null===ka||void 0===ka?void 0:ka.byteLength}ia.prototype.getFileData=function(ka){ka(new Uint8Array(this.buffer))};ia.prototype.getFile=function(){return Promise.resolve(null)};return ia}();Object(Da.a)(na);Object(z.a)(na);Object(z.b)(na);xa["default"]=na}}]);}).call(this || window)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[5],{369:function(Da,xa,z){z.r(xa);var na=z(2),ia=z(124);Da=z(364);z=z(319);Da=function(ka){function ea(da,x,r,n){return ka.call(this,da,x,r,n)||this}Object(na.c)(ea,ka);ea.prototype.SO=function(){return{start:this.kO-ia.a,stop:this.kO}};ea.prototype.qr=function(da){var x=this;this.Fm(this.url,{start:0,stop:1},function(r,n,a){if(r)return da(r);r=a.request.getResponseHeader("Content-Range");x.kO=r.split("/")[1];ka.prototype.qr.call(x,
|
|
3
|
+
da)})};return ea}(Da["default"]);Object(z.a)(Da);Object(z.b)(Da);xa["default"]=Da}}]);}).call(this || window)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[6],{379:function(Da,xa,z){z.r(xa);var na=z(2),ia=z(404),ka=z(405),ea;(function(da){da[da.EXTERNAL_XFDF_NOT_REQUESTED=0]="EXTERNAL_XFDF_NOT_REQUESTED";da[da.EXTERNAL_XFDF_NOT_AVAILABLE=1]="EXTERNAL_XFDF_NOT_AVAILABLE";da[da.EXTERNAL_XFDF_AVAILABLE=2]="EXTERNAL_XFDF_AVAILABLE"})(ea||(ea={}));Da=function(){function da(x){this.V=x;this.state=ea.EXTERNAL_XFDF_NOT_REQUESTED}da.prototype.E5=function(){var x=this;return function(r,n,a){return Object(na.b)(x,
|
|
3
|
+
void 0,void 0,function(){var b,f,h,y,e,w,aa,fa=this,ja;return Object(na.d)(this,function(ba){switch(ba.label){case 0:if(this.state!==ea.EXTERNAL_XFDF_NOT_REQUESTED)return[3,2];b=this.V.getDocument().Iq();return[4,this.k4(b)];case 1:f=ba.ga(),h=this.f0(f),this.YE=null!==(ja=null===h||void 0===h?void 0:h.parse())&&void 0!==ja?ja:null,this.state=null===this.YE?ea.EXTERNAL_XFDF_NOT_AVAILABLE:ea.EXTERNAL_XFDF_AVAILABLE,ba.label=2;case 2:if(this.state===ea.EXTERNAL_XFDF_NOT_AVAILABLE)return a(r),[2];y=
|
|
4
|
+
new DOMParser;e=y.parseFromString(r,"text/xml");n.forEach(function(ha){fa.merge(e,fa.YE,ha-1)});w=new XMLSerializer;aa=w.serializeToString(e);a(aa);return[2]}})})}};da.prototype.uI=function(x){this.k4=x};da.prototype.Xd=function(){this.YE=void 0;this.state=ea.EXTERNAL_XFDF_NOT_REQUESTED};da.prototype.f0=function(x){return x?Array.isArray(x)?new ia.a(x):"string"!==typeof x?null:(new DOMParser).parseFromString(x,"text/xml").querySelector("xfdf > add")?new ia.a(x):new ka.a(x):null};da.prototype.merge=
|
|
5
|
+
function(x,r,n){var a=this;0===n&&(this.K7(x,r.Nn),this.M7(x,r.IE));var b=r.ca[n];b&&(this.N7(x,b.Ol),this.P7(x,b.$U,r.$t),this.O7(x,b.page,n),this.L7(x,b.KN));b=this.V.Lc();if(n===b-1){var f=r.$t;Object.keys(f).forEach(function(h){f[h].eG||a.UQ(x,h,f[h])})}};da.prototype.K7=function(x,r){null!==r&&(x=this.rt(x),this.fp(x,"calculation-order",r))};da.prototype.M7=function(x,r){null!==r&&(x=this.rt(x),this.fp(x,"document-actions",r))};da.prototype.N7=function(x,r){var n=this,a=this.qt(x.querySelector("xfdf"),
|
|
6
|
+
"annots");Object.keys(r).forEach(function(b){n.fp(a,'[name="'+b+'"]',r[b])})};da.prototype.P7=function(x,r,n){var a=this;if(0!==r.length){var b=this.rt(x);r.forEach(function(f){var h=f.getAttribute("field"),y=n[h];y&&(a.UQ(x,h,y),a.fp(b,"null",f))})}};da.prototype.UQ=function(x,r,n){var a=this.rt(x);null!==n.$y&&this.fp(a,'ffield [name="'+r+'"]',n.$y);x=this.qt(x.querySelector("xfdf"),"fields");r=r.split(".");this.MH(x,r,0,n.value);n.eG=!0};da.prototype.O7=function(x,r,n){null!==r&&(x=this.rt(x),
|
|
7
|
+
x=this.qt(x,"pages"),this.fp(x,'[number="'+(n+1)+'"]',r))};da.prototype.L7=function(x,r){Object.keys(r).forEach(function(n){(n=x.querySelector('annots [name="'+n+'"]'))&&n.parentElement.removeChild(n)})};da.prototype.MH=function(x,r,n,a){if(n===r.length)r=document.createElementNS("","value"),r.textContent=a,this.fp(x,"value",r);else{var b=r[n];this.qt(x,'[name="'+b+'"]',"field").setAttribute("name",b);x=x.querySelectorAll('[name="'+b+'"]');1===x.length?this.MH(x[0],r,n+1,a):(b=this.j3(x),this.MH(n===
|
|
8
|
+
r.length-1?b:this.$ca(x,b),r,n+1,a))}};da.prototype.j3=function(x){for(var r=null,n=0;n<x.length;n++){var a=x[n];if(0===a.childElementCount||1===a.childElementCount&&"value"===a.children[0].tagName){r=a;break}}return r};da.prototype.$ca=function(x,r){for(var n=0;n<x.length;n++)if(x[n]!==r)return x[n];return null};da.prototype.fp=function(x,r,n){r=x.querySelector(r);null!==r&&x.removeChild(r);x.appendChild(n)};da.prototype.rt=function(x){var r=x.querySelector("pdf-info");if(null!==r)return r;r=this.qt(x.querySelector("xfdf"),
|
|
9
|
+
"pdf-info");r.setAttribute("xmlns","http://www.pdftron.com/pdfinfo");r.setAttribute("version","2");r.setAttribute("import-version","3");return r};da.prototype.qt=function(x,r,n){var a=x.querySelector(r);if(null!==a)return a;a=document.createElementNS("",n||r);x.appendChild(a);return a};return da}();xa["default"]=Da},390:function(Da,xa){Da=function(){function z(){}z.prototype.Kx=function(na){var ia={Nn:null,IE:null,$t:{},ca:{}};na=(new DOMParser).parseFromString(na,"text/xml");ia.Nn=na.querySelector("pdf-info calculation-order");
|
|
10
|
+
ia.IE=na.querySelector("pdf-info document-actions");ia.$t=this.J8(na);ia.ca=this.W8(na);return ia};z.prototype.J8=function(na){var ia=na.querySelector("fields");na=na.querySelectorAll("pdf-info > ffield");if(null===ia&&null===na)return{};var ka={};this.iZ(ka,ia);this.gZ(ka,na);return ka};z.prototype.iZ=function(na,ia){if(null!==ia&&ia.children){for(var ka=[],ea=0;ea<ia.children.length;ea++){var da=ia.children[ea];ka.push({name:da.getAttribute("name"),element:da})}for(;0!==ka.length;)for(ia=ka.shift(),
|
|
11
|
+
ea=0;ea<ia.element.children.length;ea++)da=ia.element.children[ea],"value"===da.tagName?na[ia.name]={value:da.textContent,$y:null,eG:!1}:da.children&&ka.push({name:ia.name+"."+da.getAttribute("name"),element:da})}};z.prototype.gZ=function(na,ia){ia.forEach(function(ka){var ea=ka.getAttribute("name");na[ea]?na[ea].$y=ka:na[ea]={value:null,$y:ka,eG:!1}})};z.prototype.W8=function(na){var ia=this,ka={};na.querySelectorAll("pdf-info widget").forEach(function(ea){var da=parseInt(ea.getAttribute("page"),
|
|
12
|
+
10)-1;ia.$z(ka,da);ka[da].$U.push(ea)});na.querySelectorAll("pdf-info page").forEach(function(ea){var da=parseInt(ea.getAttribute("number"),10)-1;ia.$z(ka,da);ka[da].page=ea});this.aP(na).forEach(function(ea){var da=parseInt(ea.getAttribute("page"),10),x=ea.getAttribute("name");ia.$z(ka,da);ka[da].Ol[x]=ea});this.OO(na).forEach(function(ea){var da=parseInt(ea.getAttribute("page"),10);ea=ea.textContent;ia.$z(ka,da);ka[da].KN[ea]=!0});return ka};z.prototype.$z=function(na,ia){na[ia]||(na[ia]={Ol:{},
|
|
13
|
+
KN:{},$U:[],page:null})};return z}();xa.a=Da},404:function(Da,xa,z){var na=z(2),ia=z(0);z.n(ia);Da=function(ka){function ea(da){var x=ka.call(this)||this;x.Y2=Array.isArray(da)?da:[da];return x}Object(na.c)(ea,ka);ea.prototype.parse=function(){var da=this,x={Nn:null,IE:null,$t:{},ca:{}};this.Y2.forEach(function(r){x=Object(ia.merge)(x,da.Kx(r))});return x};ea.prototype.aP=function(da){var x=[];da.querySelectorAll("add > *").forEach(function(r){x.push(r)});da.querySelectorAll("modify > *").forEach(function(r){x.push(r)});
|
|
14
|
+
return x};ea.prototype.OO=function(da){return da.querySelectorAll("delete > *")};return ea}(z(390).a);xa.a=Da},405:function(Da,xa,z){var na=z(2);Da=function(ia){function ka(ea){var da=ia.call(this)||this;da.Z2=ea;return da}Object(na.c)(ka,ia);ka.prototype.parse=function(){return this.Kx(this.Z2)};ka.prototype.aP=function(ea){return ea.querySelectorAll("annots > *")};ka.prototype.OO=function(){return[]};return ka}(z(390).a);xa.a=Da}}]);}).call(this || window)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[7],{370:function(Da,xa,z){z.r(xa);var na=z(2);Da=z(46);var ia=z(140),ka=z(319),ea=z(191),da=window;z=function(){function x(r,n){this.mQ=function(a){a=a.split(".");return a[a.length-1].match(/(jpg|jpeg|png|gif)$/i)};n=n||{};this.url=r;this.filename=n.filename||r;this.gf=n.customHeaders;this.Ida=!!n.useDownloader;this.withCredentials=!!n.withCredentials}x.prototype.wB=function(r){this.gf=r};x.prototype.getFileData=function(r){var n=
|
|
3
|
+
this,a=this,b=new XMLHttpRequest,f=0===this.url.indexOf("blob:")?"blob":"arraybuffer";b.open("GET",this.url,!0);b.withCredentials=this.withCredentials;b.responseType=f;this.gf&&Object.keys(this.gf).forEach(function(y){b.setRequestHeader(y,n.gf[y])});var h=/^https?:/i.test(this.url);b.addEventListener("load",function(y){return Object(na.b)(this,void 0,void 0,function(){var e,w,aa,fa,ja,ba;return Object(na.d)(this,function(ha){switch(ha.label){case 0:if(200!==this.status&&(h||0!==this.status))return[3,
|
|
4
|
+
10];a.trigger(x.Events.DOCUMENT_LOADING_PROGRESS,[y.loaded,y.loaded]);if("blob"!==this.responseType)return[3,4];e=this.response;return a.mQ(a.filename)?[4,Object(ea.b)(e)]:[3,2];case 1:return w=ha.ga(),a.fileSize=w.byteLength,r(new Uint8Array(w)),[3,3];case 2:aa=new FileReader,aa.onload=function(ca){ca=new Uint8Array(ca.target.result);a.fileSize=ca.length;r(ca)},aa.readAsArrayBuffer(e),ha.label=3;case 3:return[3,9];case 4:ha.nl.push([4,8,,9]);fa=new Uint8Array(this.response);if(!a.mQ(a.filename))return[3,
|
|
5
|
+
6];e=new Blob([fa.buffer]);return[4,Object(ea.b)(e)];case 5:return w=ha.ga(),a.fileSize=w.byteLength,r(new Uint8Array(w)),[3,7];case 6:a.fileSize=fa.length,r(fa),ha.label=7;case 7:return[3,9];case 8:return ha.ga(),a.trigger(x.Events.ERROR,["pdfLoad","Out of memory"]),[3,9];case 9:return[3,11];case 10:ja=y.currentTarget,ba=Object(ia.b)(ja),a.trigger(x.Events.ERROR,["pdfLoad",this.status+" "+ja.statusText,ba]),ha.label=11;case 11:return a.vw=null,[2]}})})},!1);b.onprogress=function(y){a.trigger(x.Events.DOCUMENT_LOADING_PROGRESS,
|
|
6
|
+
[y.loaded,0<y.total?y.total:0])};b.addEventListener("error",function(){a.trigger(x.Events.ERROR,["pdfLoad","Network failure"]);a.vw=null},!1);b.send();this.vw=b};x.prototype.getFile=function(){var r=this;return new Promise(function(n){da.utils.isJSWorker&&n(r.url);if(r.Ida){var a=Object(na.a)({url:r.url},r.gf?{customHeaders:r.gf}:{});n(a)}n(null)})};x.prototype.abort=function(){this.vw&&(this.vw.abort(),this.vw=null)};x.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress",ERROR:"error"};return x}();
|
|
7
|
+
Object(Da.a)(z);Object(ka.a)(z);Object(ka.b)(z);xa["default"]=z}}]);}).call(this || window)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[0],{364:function(Da,xa,z){z.r(xa);z.d(xa,"ByteRangeRequest",function(){return w});var na=z(2),ia=z(0);z.n(ia);var ka=z(1),ea=z(124);Da=z(78);var da=z(205),x=z(60),r=z(56),n=z(204),a=z(140);z=z(319);var b=[],f=[],h=window,y=function(){return function(){this.al=1}}(),e;(function(fa){fa[fa.UNSENT=0]="UNSENT";fa[fa.DONE=4]="DONE"})(e||(e={}));var w=function(){function fa(ja,ba,ha,ca){var la=this;this.url=ja;this.range=ba;this.gf=ha;
|
|
3
|
+
this.withCredentials=ca;this.qX=e;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);h.Uint8Array&&(this.request.responseType="arraybuffer");ca&&(this.request.withCredentials=ca);aa.DISABLE_RANGE_HEADER||(Object(ia.isUndefined)(ba.stop)?this.request.setRequestHeader("Range","bytes="+ba.start):this.request.setRequestHeader("Range",["bytes=",ba.start,"-",ba.stop-1].join("")));this.request.setRequestHeader("X-Requested-With","XMLHttpRequest");ha&&Object.keys(ha).forEach(function(ua){la.request.setRequestHeader(ua,
|
|
4
|
+
ha[ua])});this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=n.a.NOT_STARTED}fa.prototype.start=function(ja){var ba=this,ha=this.request;ha.onreadystatechange=function(){if(ba.aborted)return ba.status=n.a.ABORTED,ja({code:n.a.ABORTED});if(this.readyState===ba.qX.DONE){ba.Cz();var ca=0===window.document.URL.indexOf("file:///");200===ha.status||206===ha.status||ca&&0===ha.status?
|
|
5
|
+
(ca=h.kP(this),ba.$I(ca,ja)):(ba.status=n.a.ERROR,ja({code:ba.status,status:ba.status}))}};this.request.send(null);this.status=n.a.STARTED};fa.prototype.$I=function(ja,ba){this.status=n.a.SUCCESS;if(ba)return ba(!1,ja)};fa.prototype.abort=function(){this.Cz();this.aborted=!0;this.request.abort()};fa.prototype.Cz=function(){var ja=Object(a.c)(this.url,this.range,f);-1!==ja&&f.splice(ja,1);if(0<b.length){ja=b.shift();var ba=new fa(ja.url,ja.range,this.gf,this.withCredentials);ja.request=ba;f.push(ja);
|
|
6
|
+
ba.start(Object(a.d)(ja))}};fa.prototype.extend=function(ja){var ba=Object.assign({},this,ja.prototype);ba.constructor=ja;return ba};return fa}(),aa=function(fa){function ja(ba,ha,ca,la,ua){ca=fa.call(this,ba,ca,la)||this;ca.cl={};ca.fy=ha;ca.url=ba;ca.DISABLE_RANGE_HEADER=!1;ca.Bv=w;ca.NJ=3;ca.gf=ua||{};return ca}Object(na.c)(ja,fa);ja.prototype.It=function(ba,ha,ca){var la=-1===ba.indexOf("?")?"?":"&";switch(ca){case !1:case r.a.NEVER_CACHE:ba=ba+la+"_="+Object(ia.uniqueId)();break;case !0:case r.a.CACHE:ba=
|
|
7
|
+
ba+la+"_="+ha.start+","+(Object(ia.isUndefined)(ha.stop)?"":ha.stop)}return ba};ja.prototype.AN=function(ba,ha,ca,la){void 0===ca&&(ca={});return new this.Bv(ba,ha,ca,la)};ja.prototype.Q2=function(ba,ha,ca,la,ua){for(var ma=0;ma<b.length;ma++)if(Object(ia.isEqual)(b[ma].range,ha)&&Object(ia.isEqual)(b[ma].url,ba))return b[ma].hg.push(la),b[ma].CA++,null;for(ma=0;ma<f.length;ma++)if(Object(ia.isEqual)(f[ma].range,ha)&&Object(ia.isEqual)(f[ma].url,ba))return f[ma].hg.push(la),f[ma].CA++,null;ca={url:ba,
|
|
8
|
+
range:ha,fy:ca,hg:[la],CA:1};if(0===b.length&&f.length<this.NJ)return f.push(ca),ca.request=this.AN(ba,ha,ua,this.withCredentials),ca;b.push(ca);return null};ja.prototype.Fm=function(ba,ha,ca){var la=this.It(ba,ha,this.fy);(ba=this.Q2(la,ha,this.fy,ca,this.gf))&&ba.request.start(Object(a.d)(ba));return function(){var ua=Object(a.c)(la,ha,f);if(-1!==ua){var ma=--f[ua].CA;0===ma&&f[ua].request&&f[ua].request.abort()}else ua=Object(a.c)(la,ha,b),-1!==ua&&(ma=--b[ua].CA,0===ma&&b.splice(ua,1))}};ja.prototype.SO=
|
|
9
|
+
function(){return{start:-ea.a}};ja.prototype.N5=function(){var ba=-(ea.a+ea.e);return{start:ba-ea.d,end:ba}};ja.prototype.qr=function(ba){var ha=this;this.ky=!0;var ca=ea.a;this.Fm(this.url,this.SO(),function(la,ua,ma){function sa(){var oa=ha.Gd.PO();ha.Fm(ha.url,oa,function(ra,ta){if(ra)return Object(ka.i)("Error loading central directory: "+ra),ba(ra);ta=Object(x.a)(ta);if(ta.length!==oa.stop-oa.start)return ba("Invalid XOD file: Zip central directory data is wrong size! Should be "+(oa.stop-oa.start)+
|
|
10
|
+
" but is "+ta.length);ha.Gd.cS(ta);ha.jE=!0;ha.ky=!1;return ba(!1)})}if(la)return Object(ka.i)("Error loading end header: "+la),ba(la,ua,ma);ua=Object(x.a)(ua);if(ua.length!==ca)return ba("Invalid XOD file: Zip end header data is wrong size!");try{ha.Gd=new da.a(ua)}catch(oa){return ba(oa)}ha.Gd.g7?ha.Fm(ha.url,ha.N5(),function(oa,ra){if(oa)return Object(ka.i)("Error loading zip64 header: "+oa),ba(oa);ra=Object(x.a)(ra);ha.Gd.y7(ra);sa()}):sa()})};ja.prototype.hP=function(ba){ba(Object.keys(this.Gd.em))};
|
|
11
|
+
ja.prototype.PH=function(ba,ha){var ca=this;if(this.Gd.sN(ba)){var la=this.Gd.sz(ba);if(la in this.cl){var ua=this.kh[ba];ua.nq=this.cl[la];ua.nq.al++;ua.cancel=ua.nq.cancel}else{var ma=this.Gd.m4(ba),sa=this.Fm(this.url,ma,function(ra,ta){ra?(Object(ka.i)('Error loading part "'+ba+'": '+ra),ca.Fm(ca.url,ma,function(qa,wa){if(qa)return ha(qa,ba);ca.gS(wa,ma,la,ba,ha)})):ca.gS(ta,ma,la,ba,ha)}),oa=this.kh[ba];oa&&(oa.mU=!0,oa.cancel=function(){oa.nq.al--;0===oa.nq.al&&(sa(),delete ca.cl[la])},this.cl[la]=
|
|
12
|
+
new y(la),oa.nq=this.cl[la],oa.nq.cancel=oa.cancel)}}else delete this.kh[ba],ha(Error('File not found: "'+ba+'"'),ba)};ja.prototype.gS=function(ba,ha,ca,la,ua){if(ba.length!==ha.stop-ha.start)ua(Error("Part data is wrong size!"),la);else{do{if(!this.cl[ca])return;la=this.cl[ca].al;for(var ma=ha.gp.length,sa=0;sa<ma;++sa){var oa=ha.gp[sa];ua(!1,oa.bp,ba["string"===typeof ba?"substring":"subarray"](oa.start,oa.stop),this.Gd.eQ(oa.bp));oa.bp in this.kh&&delete this.kh[oa.bp]}}while(la!==this.cl[ca].al);
|
|
13
|
+
delete this.cl[ca]}};ja.DISABLE_RANGE_HEADER=!1;ja.NJ=3;return ja}(Da.a);(function(fa){function ja(ba,ha,ca){var la=fa.call(this)||this,ua;for(ua in ba)la[ua]=ba[ua];la.Rga=ba;la.startOffset=ha;la.endOffset=ca;la.AN=function(ma,sa,oa,ra){Object(ia.isUndefined)(sa.stop)?(sa.start+=la.endOffset,sa.stop=la.endOffset):(sa.start+=la.startOffset,sa.stop+=la.startOffset);ma=la.It(la.url,sa,la.fy);return new ba.Bv(ma,sa,oa,ra)};return la}Object(na.c)(ja,fa);return ja})(aa);Object(z.a)(aa);Object(z.b)(aa);
|
|
14
|
+
xa["default"]=aa}}]);}).call(this || window)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[8],{371:function(Da,xa,z){z.r(xa);var na=z(2),ia=z(204);Da=z(364);z(31);z=z(319);var ka=function(ea){function da(x,r){var n=ea.call(this,x,r)||this;n.url=x;n.range=r;n.status=ia.a.NOT_STARTED;return n}Object(na.c)(da,ea);da.prototype.start=function(){var x=document.createElement("IFRAME");x.setAttribute("src",this.url);document.documentElement.appendChild(x);x.parentNode.removeChild(x);this.status=ia.a.STARTED;this.Cz()};return da}(Da.ByteRangeRequest);
|
|
3
|
+
Da=function(ea){function da(x,r,n,a){x=ea.call(this,x,r,n,a)||this;x.Bv=ka;return x}Object(na.c)(da,ea);da.prototype.It=function(x,r){return x+"#"+r.start+"&"+(r.stop?r.stop:"")};return da}(Da["default"]);Object(z.a)(Da);Object(z.b)(Da);xa["default"]=Da}}]);}).call(this || window)
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[9],{365:function(Da,xa,z){z.r(xa);var na=z(2),ia=z(1),ka=z(124);Da=z(78);var ea=z(205);z=z(319);var da=window;Da=function(x){function r(n,a,b){a=x.call(this,n,a,b)||this;if(n.name&&"xod"!==n.name.toLowerCase().split(".").pop())throw Error("Not an XOD file");if(!da.FileReader||!da.File||!da.Blob)throw Error("File API is not supported in this browser");a.file=n;a.oy=[];a.wE=0;return a}Object(na.c)(r,x);r.prototype.YG=function(n,a,
|
|
3
|
+
b){var f=this,h=new FileReader;h.onloadend=function(y){if(0<f.oy.length){var e=f.oy.shift();e.f$.readAsBinaryString(e.file)}else f.wE--;if(h.error){y=h.error;if(y.code===y.ABORT_ERR){Object(ia.i)("Request for chunk "+a.start+"-"+a.stop+" was aborted");return}return b(y)}if(y=h.content||y.target.result)return b(!1,y);Object(ia.i)("No data was returned from FileReader.")};a&&(n=(n.slice||n.webkitSlice||n.mozSlice||n.Tfa).call(n,a.start,a.stop));0===f.oy.length&&50>f.wE?(h.readAsBinaryString(n),f.wE++):
|
|
4
|
+
f.oy.push({f$:h,file:n});return function(){h.abort()}};r.prototype.qr=function(n){var a=this;a.ky=!0;var b=ka.a;a.YG(a.file,{start:-b,stop:a.file.size},function(f,h){if(f)return Object(ia.i)("Error loading end header: %s "+f),n(f);if(h.length!==b)throw Error("Zip end header data is wrong size!");a.Gd=new ea.a(h);var y=a.Gd.PO();a.YG(a.file,y,function(e,w){if(e)return Object(ia.i)("Error loading central directory: %s "+e),n(e);if(w.length!==y.stop-y.start)throw Error("Zip central directory data is wrong size!");
|
|
5
|
+
a.Gd.cS(w);a.jE=!0;a.ky=!1;return n(!1)})})};r.prototype.PH=function(n,a){var b=this,f=b.kh[n];if(b.Gd.sN(n)){var h=b.Gd.ju(n),y=b.YG(b.file,h,function(e,w){delete b.kh[n];if(e)return Object(ia.i)('Error loading part "%s": %s, '+n+", "+e),a(e);if(w.length!==h.stop-h.start)throw Error("Part data is wrong size!");a(!1,n,w,b.Gd.eQ(n))});f.mU=!0;f.cancel=y}else a(Error('File not found: "'+n+'"'),n)};return r}(Da.a);Object(z.a)(Da);Object(z.b)(Da);xa["default"]=Da}}]);}).call(this || window)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[10],{366:function(Da,xa,z){z.r(xa);var na=z(2);Da=z(46);var ia=z(319),ka=z(191),ea=window;z=function(){function da(x){var r=this;this.J6=function(n){return n&&("image"===n.type.split("/")[0].toLowerCase()||n.name&&!!n.name.match(/.(jpg|jpeg|png|gif)$/i))};this.file=x;this.V6=new Promise(function(n){return Object(na.b)(r,void 0,void 0,function(){var a;return Object(na.d)(this,function(b){switch(b.label){case 0:return this.J6(this.file)?
|
|
3
|
+
[4,Object(ka.b)(x)]:[3,2];case 1:a=b.ga(),this.file=new File([a],null===x||void 0===x?void 0:x.name,{type:x.type}),b.label=2;case 2:return n(!0),[2]}})})})}da.prototype.getFileData=function(x){var r=this,n=new FileReader;n.onload=function(a){r.trigger(da.Events.DOCUMENT_LOADING_PROGRESS,[a.loaded,a.loaded]);x(new Uint8Array(a.target.result))};n.onprogress=function(a){a.lengthComputable&&r.trigger(da.Events.DOCUMENT_LOADING_PROGRESS,[a.loaded,0<a.total?a.total:0])};n.readAsArrayBuffer(this.file)};
|
|
4
|
+
da.prototype.getFile=function(){return Object(na.b)(this,void 0,Promise,function(){return Object(na.d)(this,function(x){switch(x.label){case 0:return[4,this.V6];case 1:return x.ga(),ea.utils.isJSWorker?[2,this.file.path]:[2,this.file]}})})};da.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress"};return da}();Object(Da.a)(z);Object(ia.a)(z);Object(ia.b)(z);xa["default"]=z}}]);}).call(this || window)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[11],{378:function(Da,xa,z){function na(ha){ha.Ja();ha.advance();var ca=ha.current.textContent;ha.Za();return ca}function ia(ha){var ca=[];for(ha.Ja();ha.advance();){var la=ha.Na();"field"===la?ca.push(String(ha.da("name"))):Object(h.i)("unrecognised field list element: "+la)}ha.Za();return ca}function ka(ha,ca){return ca?"false"!==ha:"true"===ha}function ea(ha,ca){var la=ha.Na();switch(la){case "javascript":return{name:"JavaScript",
|
|
3
|
+
javascript:ha.current.textContent};case "uri":return{name:"URI",uri:ha.da("uri")};case "goto":la=null;ha.Ja();if(ha.advance()){var ua=ha.da("fit");la={page:ha.da("page"),fit:ua};if("0"===la.page)Object(h.i)("null page encountered in dest");else switch(ca=ca(Number(la.page)),ua){case "Fit":case "FitB":break;case "FitH":case "FitBH":la.top=ca.pa({x:0,y:ha.da("top")||0}).y;break;case "FitV":case "FitBV":la.left=ca.pa({x:ha.da("left")||0,y:0}).x;break;case "FitR":ua=ca.pa({x:ha.da("left")||0,y:ha.da("top")||
|
|
4
|
+
0});ca=ca.pa({x:ha.da("right")||0,y:ha.da("bottom")||0});ca=new w.d(ua.x,ua.y,ca.x,ca.y);la.top=ca.ha;la.left=ca.ka;la.bottom=ca.ia;la.right=ca.la;break;case "XYZ":ua=ca.pa({x:ha.da("left")||0,y:ha.da("top")||0});la.top=ua.y;la.left=ua.x;la.zoom=ha.da("zoom")||0;break;default:Object(h.i)("unknown dest fit: "+ua)}la={name:"GoTo",dest:la}}else Object(h.i)("missing dest in GoTo action");ha.Za();return la;case "submit-form":la={name:"SubmitForm",url:ha.da("url"),format:ha.da("format"),method:ha.da("method")||
|
|
5
|
+
"POST",exclude:ka(ha.da("exclude"),!1)};ca=ha.da("flags");la.flags=ca?ca.split(" "):[];for(ha.Ja();ha.advance();)switch(ca=ha.Na(),ca){case "fields":la.fields=ia(ha);break;default:Object(h.i)("unrecognised submit-form child: "+ca)}ha.Za();return la;case "reset-form":la={name:"ResetForm",exclude:ka(ha.da("exclude"),!1)};for(ha.Ja();ha.advance();)switch(ca=ha.Na(),ca){case "fields":la.fields=ia(ha);break;default:Object(h.i)("unrecognised reset-form child: "+ca)}ha.Za();return la;case "hide":la={name:"Hide",
|
|
6
|
+
hide:ka(ha.da("hide"),!0)};for(ha.Ja();ha.advance();)switch(ca=ha.Na(),ca){case "fields":la.fields=ia(ha);break;default:Object(h.i)("unrecognised hide child: "+ca)}ha.Za();return la;case "named":return{name:"Named",action:ha.da("name")};default:Object(h.i)("Encountered unexpected action type: "+la)}return null}function da(ha,ca,la){var ua={};for(ha.Ja();ha.advance();){var ma=ha.Na();switch(ma){case "action":ma=ha.da("trigger");if(ca?-1!==ca.indexOf(ma):1){ua[ma]=[];for(ha.Ja();ha.advance();){var sa=
|
|
7
|
+
ea(ha,la);Object(y.isNull)(sa)||ua[ma].push(sa)}ha.Za()}else Object(h.i)("encountered unexpected trigger on field: "+ma);break;default:Object(h.i)("encountered unknown action child: "+ma)}}ha.Za();return ua}function x(ha){return new aa.a(ha.da("r")||0,ha.da("g")||0,ha.da("b")||0,ha.da("a")||1)}function r(ha,ca){var la=ha.da("name"),ua=ha.da("type")||"Type1",ma=ha.da("size"),sa=ca.pa({x:0,y:0});ma=ca.pa({x:Number(ma),y:0});ca=sa.x-ma.x;sa=sa.y-ma.y;la={name:la,type:ua,size:Math.sqrt(ca*ca+sa*sa)||
|
|
8
|
+
0,strokeColor:[0,0,0],fillColor:[0,0,0]};for(ha.Ja();ha.advance();)switch(ua=ha.Na(),ua){case "stroke-color":la.strokeColor=x(ha);break;case "fill-color":la.fillColor=x(ha);break;default:Object(h.i)("unrecognised font child: "+ua)}ha.Za();return la}function n(ha){var ca=[];for(ha.Ja();ha.advance();){var la=ha.Na();switch(la){case "option":la=ca;var ua=la.push;var ma=ha;ma={value:ma.da("value"),displayValue:ma.da("display-value")||void 0};ua.call(la,ma);break;default:Object(h.i)("unrecognised options child: "+
|
|
9
|
+
la)}}ha.Za();return ca}function a(ha,ca){var la=ha.da("name"),ua={type:ha.da("type"),quadding:ha.da("quadding")||"Left-justified",maxLen:ha.da("max-len")||-1},ma=ha.da("flags");Object(y.isString)(ma)&&(ua.flags=ma.split(" "));for(ha.Ja();ha.advance();)switch(ma=ha.Na(),ma){case "actions":ua.actions=da(ha,["C","F","K","V"],function(){return ca});break;case "default-value":ua.defaultValue=na(ha);break;case "font":ua.font=r(ha,ca);break;case "options":ua.options=n(ha);break;default:Object(h.i)("unknown field child: "+
|
|
10
|
+
ma)}ha.Za();return new window.Annotations.ea.sa(la,ua)}function b(ha,ca){switch(ha.type){case "Tx":try{if(Object(ja.c)(ha.actions))return new e.a.DatePickerWidgetAnnotation(ha,ca)}catch(la){Object(h.i)(la)}return new e.a.TextWidgetAnnotation(ha,ca);case "Ch":return ha.flags.get(ba.WidgetFlags.COMBO)?new e.a.ChoiceWidgetAnnotation(ha,ca):new e.a.ListWidgetAnnotation(ha,ca);case "Btn":return ha.flags.get(ba.WidgetFlags.PUSH_BUTTON)?new e.a.PushButtonWidgetAnnotation(ha,ca):ha.flags.get(ba.WidgetFlags.RADIO)?
|
|
11
|
+
new e.a.RadioButtonWidgetAnnotation(ha,ca):new e.a.CheckButtonWidgetAnnotation(ha,ca);case "Sig":return new e.a.SignatureWidgetAnnotation(ha,ca);default:Object(h.i)("Unrecognised field type: "+ha.type)}return null}function f(ha,ca,la,ua){var ma=[],sa={};ha.Ja();var oa=[],ra={},ta=[];Object(fa.a)(function(){if(ha.advance()){var qa=ha.Na();switch(qa){case "calculation-order":oa="calculation-order"===ha.Na()?ia(ha):[];break;case "document-actions":ra=da(ha,["Init","Open"],ca);break;case "pages":qa=[];
|
|
12
|
+
for(ha.Ja();ha.advance();){var wa=ha.Na();switch(wa){case "page":wa=qa;var Aa=wa.push,Ga=ha,Na=ca,Ha={number:Ga.da("number")};for(Ga.Ja();Ga.advance();){var Qa=Ga.Na();switch(Qa){case "actions":Ha.actions=da(Ga,["O","C"],Na);break;default:Object(h.i)("unrecognised page child: "+Qa)}}Ga.Za();Aa.call(wa,Ha);break;default:Object(h.i)("unrecognised page child: "+wa)}}ha.Za();ta=qa;break;case "field":wa=a(ha,ca(1));sa[wa.name]=wa;break;case "widget":qa={border:{style:"Solid",width:1},backgroundColor:[],
|
|
13
|
+
fieldName:ha.da("field"),page:ha.da("page"),index:ha.da("index")||0,rotation:ha.da("rotation")||0,flags:[],isImporting:!0};(wa=ha.da("appearance"))&&(qa.appearance=wa);(wa=ha.da("flags"))&&(qa.flags=wa.split(" "));for(ha.Ja();ha.advance();)switch(wa=ha.Na(),wa){case "rect":Aa=ha;Ga=ca(Number(qa.page));wa=Ga.pa({x:Aa.da("x1")||0,y:Aa.da("y1")||0});Aa=Ga.pa({x:Aa.da("x2")||0,y:Aa.da("y2")||0});wa=new w.d(wa.x,wa.y,Aa.x,Aa.y);wa.normalize();qa.rect={x1:wa.x1,y1:wa.y1,x2:wa.x2,y2:wa.y2};break;case "border":wa=
|
|
14
|
+
ha;Aa={style:wa.da("style")||"Solid",width:wa.da("width")||1,color:[0,0,0]};for(wa.Ja();wa.advance();)switch(Ga=wa.Na(),Ga){case "color":Aa.color=x(wa);break;default:Object(h.i)("unrecognised border child: "+Ga)}wa.Za();qa.border=Aa;break;case "background-color":qa.backgroundColor=x(ha);break;case "actions":qa.actions=da(ha,"E X D U Fo Bl PO PC PV PI".split(" "),ca);break;case "appearances":wa=ha;Aa=Object(ja.b)(qa,"appearances");for(wa.Ja();wa.advance();)if(Ga=wa.Na(),"appearance"===Ga){Ga=wa.da("name");
|
|
15
|
+
Na=Object(ja.b)(Aa,Ga);Ga=wa;for(Ga.Ja();Ga.advance();)switch(Ha=Ga.Na(),Ha){case "Normal":Object(ja.b)(Na,"Normal").data=Ga.current.textContent;break;default:Object(h.i)("unexpected appearance state: ",Ha)}Ga.Za()}else Object(h.i)("unexpected appearances child: "+Ga);wa.Za();break;case "extra":wa=ha;Aa=ca;Ga={};for(wa.Ja();wa.advance();)switch(Na=wa.Na(),Na){case "font":Ga.font=r(wa,Aa(1));break;default:Object(h.i)("unrecognised extra child: "+Na)}wa.Za();wa=Ga;wa.font&&(qa.font=wa.font);break;case "captions":Aa=
|
|
16
|
+
ha;wa={};(Ga=Aa.da("Normal"))&&(wa.Normal=Ga);(Ga=Aa.da("Rollover"))&&(wa.Rollover=Ga);(Aa=Aa.da("Down"))&&(wa.Down=Aa);qa.captions=wa;break;default:Object(h.i)("unrecognised widget child: "+wa)}ha.Za();(wa=sa[qa.fieldName])?(qa=b(wa,qa),ma.push(qa)):Object(h.i)("ignoring widget with no corresponding field data: "+qa.fieldName);break;default:Object(h.i)("Unknown element encountered in PDFInfo: "+qa)}return!0}return!1},function(){ha.Za();la({calculationOrder:oa,widgets:ma,fields:sa,documentActions:ra,
|
|
17
|
+
pages:ta,custom:[]})},ua)}z.r(xa);z.d(xa,"parse",function(){return f});var h=z(1),y=z(0);z.n(y);var e=z(99),w=z(3),aa=z(7),fa=z(25),ja=z(85),ba=z(20)}}]);}).call(this || window)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{380:function(Da,xa,z){z.r(xa);var na=z(391),ia=z(98),ka=z(34),ea=z(62);Da=function(){function da(){this.pb=this.be=this.Eb=this.Sb=null;this.re=!1}da.prototype.clear=function(){Object(ka.b)(this.Sb);this.Eb="";Object(ka.b)(this.be);Object(ka.b)(this.pb);this.re=!1};da.prototype.Yc=function(){this.Sb=[];this.be=[];this.pb=[];this.re=!1};da.prototype.ox=function(x){for(var r="",n=0,a,b,f;n<x.length;)a=x.charCodeAt(n),9==a?(r+=
|
|
3
|
+
String.fromCharCode(10),n++):128>a?(r+=String.fromCharCode(a),n++):191<a&&224>a?(b=x.charCodeAt(n+1),r+=String.fromCharCode((a&31)<<6|b&63),n+=2):(b=x.charCodeAt(n+1),f=x.charCodeAt(n+2),r+=String.fromCharCode((a&15)<<12|(b&63)<<6|f&63),n+=3);return r};da.prototype.initData=function(x){this.Sb=[];this.be=[];this.pb=[];this.re=!1;try{var r=new ea.a(x);this.Eb="";r.Ja();if(!r.advance())return;var n=r.current.textContent;this.Eb=n=this.ox(n);Object(ka.b)(this.be);r.advance();n=r.current.textContent;
|
|
4
|
+
for(var a=n.split(","),b=Object(ia.a)(a);b.Sk();){var f=b.current;try{var h=parseInt(f.trim());this.be.push(h)}catch(ba){}}Object(ka.b)(this.Sb);r.advance();n=r.current.textContent;a=n.split(",");for(var y=Object(ia.a)(a);y.Sk();){f=y.current;try{h=parseFloat(f.trim()),this.Sb.push(h)}catch(ba){}}Object(ka.b)(this.pb);r.advance();n=r.current.textContent;a=n.split(",");x=[];r=[];n=0;for(var e=Object(ia.a)(a);e.Sk();){f=e.current;switch(f){case "Q":n=1;break;case "R":n=2;break;case "S":n=3;break;default:n=
|
|
5
|
+
0}if(n)x.push(0),r.push(n);else try{h=parseFloat(f.trim()),x.push(h),r.push(n)}catch(ba){return}}n=0;var w=x.length;b=e=f=a=void 0;for(var aa=y=0,fa=0;fa<w;){var ja=r[fa];if(0<ja)n=ja,++fa,3===n&&(y=x[fa],aa=x[fa+1],fa+=2);else if(1===n)for(h=0;8>h;++h)this.pb.push(x[fa++]);else 2===n?(a=x[fa++],f=x[fa++],e=x[fa++],b=x[fa++],this.pb.push(a),this.pb.push(f),this.pb.push(e),this.pb.push(f),this.pb.push(e),this.pb.push(b),this.pb.push(a),this.pb.push(b)):3===n&&(a=x[fa++],f=y,e=x[fa++],b=aa,this.pb.push(a),
|
|
6
|
+
this.pb.push(f),this.pb.push(e),this.pb.push(f),this.pb.push(e),this.pb.push(b),this.pb.push(a),this.pb.push(b))}}catch(ba){return}this.Eb.length&&this.Eb.length===this.be.length&&8*this.Eb.length===this.pb.length&&(this.re=!0)};da.prototype.ready=function(){return this.re};da.prototype.ku=function(){var x=new na.a;if(!this.Sb.length)return x.tg(this.Sb,-1,this.Eb,this.pb,0),x;x.tg(this.Sb,1,this.Eb,this.pb,1);return x};da.prototype.Oe=function(){return this.pb};da.prototype.getData=function(){return{m_Struct:this.Sb,
|
|
7
|
+
m_Str:this.Eb,m_Offsets:this.be,m_Quads:this.pb,m_Ready:this.re}};return da}();xa["default"]=Da},391:function(Da,xa,z){var na=z(59),ia=z(206),ka=z(406);Da=function(){function ea(){this.Jd=0;this.ob=this.Ea=this.De=null;this.yc=0;this.Hd=null}ea.prototype.Yc=function(){this.Jd=-1;this.yc=0;this.Hd=[]};ea.prototype.tg=function(da,x,r,n,a){this.Jd=x;this.yc=a;this.Hd=[];this.De=da;this.Ea=r;this.ob=n};ea.prototype.jc=function(da){return this.Jd===da.Jd};ea.prototype.Zi=function(){return Math.abs(this.De[this.Jd])};
|
|
8
|
+
ea.prototype.Ok=function(){return 0<this.De[this.Jd]};ea.prototype.ng=function(){var da=this.Ok()?6:10,x=new ka.a;x.tg(this.De,this.Jd+da,this.Jd,this.Ea,this.ob,1);return x};ea.prototype.yP=function(da){if(0>da||da>=this.Zi())return da=new ka.a,da.tg(this.De,-1,-1,this.Ea,this.ob,0),da;var x=this.Ok()?6:10,r=this.Ok()?5:11,n=new ka.a;n.tg(this.De,this.Jd+x+r*da,this.Jd,this.Ea,this.ob,1+da);return n};ea.prototype.nm=function(){var da=this.Jd+parseInt(this.De[this.Jd+1]);if(da>=this.De.length)return da=
|
|
9
|
+
new ea,da.tg(this.De,-1,this.Ea,this.ob,0),da;var x=new ea;x.tg(this.De,da,this.Ea,this.ob,this.yc+1);return x};ea.prototype.me=function(da){if(this.Ok())da.ka=this.De[this.Jd+2+0],da.ha=this.De[this.Jd+2+1],da.la=this.De[this.Jd+2+2],da.ia=this.De[this.Jd+2+3];else{for(var x=1.79769E308,r=na.a.MIN,n=1.79769E308,a=na.a.MIN,b=0;4>b;++b){var f=this.De[this.Jd+2+2*b],h=this.De[this.Jd+2+2*b+1];x=Math.min(x,f);r=Math.max(r,f);n=Math.min(n,h);a=Math.max(a,h)}da.ka=x;da.ha=n;da.la=r;da.ia=a}};ea.prototype.qz=
|
|
10
|
+
function(){if(this.Hd.length)return this.Hd[0];var da=new ia.a,x=new ia.a,r=new ka.a;r.Yc();var n=this.ng(),a=new ka.a;a.Yc();for(var b=this.ng();!b.jc(r);b=b.og())a=b;r=Array(8);b=Array(8);n.oe(0,r);da.x=(r[0]+r[2]+r[4]+r[6])/4;da.y=(r[1]+r[3]+r[5]+r[7])/4;a.oe(a.Yi()-1,b);x.x=(b[0]+b[2]+b[4]+b[6])/4;x.y=(b[1]+b[3]+b[5]+b[7])/4;.01>Math.abs(da.x-x.x)&&.01>Math.abs(da.y-x.y)&&this.Hd.push(0);da=Math.atan2(x.y-da.y,x.x-da.x);da*=180/3.1415926;0>da&&(da+=360);this.Hd.push(da);return 0};return ea}();
|
|
11
|
+
xa.a=Da},406:function(Da,xa,z){var na=z(391),ia=z(113),ka=z(59);Da=function(){function ea(){this.Wj=this.rd=0;this.ob=this.Ea=this.Sb=null;this.yc=0}ea.prototype.Yc=function(){this.Wj=this.rd=-1;this.yc=0};ea.prototype.tg=function(da,x,r,n,a,b){this.rd=x;this.Wj=r;this.Sb=da;this.Ea=n;this.ob=a;this.yc=b};ea.prototype.jc=function(da){return this.rd===da.rd};ea.prototype.Yi=function(){return parseInt(this.Sb[this.rd])};ea.prototype.Ph=function(){return parseInt(this.Sb[this.rd+2])};ea.prototype.rg=
|
|
12
|
+
function(){return parseInt(this.Sb[this.rd+1])};ea.prototype.Ok=function(){return 0<this.Sb[this.Wj]};ea.prototype.Y4=function(){return Math.abs(this.Sb[this.Wj])};ea.prototype.og=function(){var da=this.Ok(),x=da?5:11;if(this.rd>=this.Wj+(da?6:10)+(this.Y4()-1)*x)return x=new ea,x.tg(this.Sb,-1,-1,this.Ea,this.ob,0),x;da=new ea;da.tg(this.Sb,this.rd+x,this.Wj,this.Ea,this.ob,this.yc+1);return da};ea.prototype.t4=function(da){var x=this.Yi();return 0>da||da>=x?-1:parseInt(this.Sb[this.rd+1])+da};ea.prototype.oe=
|
|
13
|
+
function(da,x){da=this.t4(da);if(!(0>da)){var r=new na.a;r.tg(this.Sb,this.Wj,this.Ea,this.ob,0);if(r.Ok()){var n=new ia.a;r.me(n);r=n.ha<n.ia?n.ha:n.ia;n=n.ha>n.ia?n.ha:n.ia;da*=8;x[0]=this.ob[da];x[1]=r;x[2]=this.ob[da+2];x[3]=x[1];x[4]=this.ob[da+4];x[5]=n;x[6]=this.ob[da+6];x[7]=x[5]}else for(da*=8,r=0;8>r;++r)x[r]=this.ob[da+r]}};ea.prototype.Ld=function(da){var x=new na.a;x.tg(this.Sb,this.Wj,this.Ea,this.ob,0);if(x.Ok()){var r=this.Sb[this.rd+3],n=this.Sb[this.rd+4];if(r>n){var a=r;r=n;n=a}a=
|
|
14
|
+
new ia.a;x.me(a);x=a.ha<a.ia?a.ha:a.ia;a=a.ha>a.ia?a.ha:a.ia;da[0]=r;da[1]=x;da[2]=n;da[3]=x;da[4]=n;da[5]=a;da[6]=r;da[7]=a}else for(r=this.rd+3,n=0;8>n;++n)da[n]=this.Sb[r+n]};ea.prototype.me=function(da){var x=new na.a;x.tg(this.Sb,this.Wj,this.Ea,this.ob,0);if(x.Ok()){var r=this.Sb[this.rd+3],n=this.Sb[this.rd+4];if(r>n){var a=r;r=n;n=a}a=new ia.a;x.me(a);x=a.ha<a.ia?a.ha:a.ia;a=a.ha>a.ia?a.ha:a.ia;da[0]=r;da[1]=x;da[2]=n;da[3]=a}else{r=1.79769E308;n=ka.a.MIN;x=1.79769E308;a=ka.a.MIN;for(var b=
|
|
15
|
+
this.rd+3,f=0;4>f;++f){var h=this.Sb[b+2*f],y=this.Sb[b+2*f+1];r=Math.min(r,h);n=Math.max(n,h);x=Math.min(x,y);a=Math.max(a,y)}da[0]=r;da[1]=x;da[2]=n;da[3]=a}};return ea}();xa.a=Da}}]);}).call(this || window)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[13],{372:function(Da,xa,z){z.r(xa);var na=z(2),ia=z(0);z.n(ia);var ka=z(1),ea=z(124);Da=z(46);var da=z(78),x=z(205),r=z(56),n=z(204);z=z(319);var a=window,b=function(){function y(e,w,aa){var fa=-1===e.indexOf("?")?"?":"&";switch(w){case r.a.NEVER_CACHE:this.url=e+fa+"_="+Object(ia.uniqueId)();break;default:this.url=e}this.gf=aa;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);this.request.setRequestHeader("X-Requested-With",
|
|
3
|
+
"XMLHttpRequest");this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=n.a.NOT_STARTED}y.prototype.start=function(e,w){var aa=this,fa=this,ja=this.request,ba;fa.Tu=0;e&&Object.keys(e).forEach(function(ha){aa.request.setRequestHeader(ha,e[ha])});w&&(this.request.withCredentials=w);this.ZA=setInterval(function(){var ha=0===window.document.URL.indexOf("file:///");ha=200===ja.status||
|
|
4
|
+
ha&&0===ja.status;if(ja.readyState!==n.b.DONE||ha){try{ja.responseText}catch(ca){return}fa.Tu<ja.responseText.length&&(ba=fa.M9())&&fa.trigger(y.Events.DATA,[ba]);0===ja.readyState&&(clearInterval(fa.ZA),fa.trigger(y.Events.DONE))}else clearInterval(fa.ZA),fa.trigger(y.Events.DONE,["Error received return status "+ja.status])},1E3);this.request.send(null);this.status=n.a.STARTED};y.prototype.M9=function(){var e=this.request,w=e.responseText;if(0!==w.length)if(this.Tu===w.length)clearInterval(this.ZA),
|
|
5
|
+
this.trigger(y.Events.DONE);else return w=Math.min(this.Tu+3E6,w.length),e=a.kP(e,this.Tu,!0,w),this.Tu=w,e};y.prototype.abort=function(){clearInterval(this.ZA);var e=this;this.request.onreadystatechange=function(){Object(ka.i)("StreamingRequest aborted");e.status=n.a.ABORTED;return e.trigger(y.Events.ABORTED)};this.request.abort()};y.prototype.finish=function(){var e=this;this.request.onreadystatechange=function(){e.status=n.a.SUCCESS;return e.trigger(y.Events.DONE)};this.request.abort()};y.Events=
|
|
6
|
+
{DONE:"done",DATA:"data",ABORTED:"aborted"};return y}();Object(Da.a)(b);var f;(function(y){y[y.LOCAL_HEADER=0]="LOCAL_HEADER";y[y.FILE=1]="FILE";y[y.CENTRAL_DIR=2]="CENTRAL_DIR"})(f||(f={}));var h=function(y){function e(){var w=y.call(this)||this;w.buffer="";w.state=f.LOCAL_HEADER;w.TI=4;w.Qk=null;w.ur=ea.c;w.em={};return w}Object(na.c)(e,y);e.prototype.G9=function(w){var aa;for(w=this.buffer+w;w.length>=this.ur;)switch(this.state){case f.LOCAL_HEADER:this.Qk=aa=this.Q9(w.slice(0,this.ur));if(aa.Xr!==
|
|
7
|
+
ea.g)throw Error("Wrong signature in local header: "+aa.Xr);w=w.slice(this.ur);this.state=f.FILE;this.ur=aa.aE+aa.To+aa.Zt+this.TI;this.trigger(e.Events.HEADER,[aa]);break;case f.FILE:this.Qk.name=w.slice(0,this.Qk.To);this.em[this.Qk.name]=this.Qk;aa=this.ur-this.TI;var fa=w.slice(this.Qk.To+this.Qk.Zt,aa);this.trigger(e.Events.FILE,[this.Qk.name,fa,this.Qk.qE]);w=w.slice(aa);if(w.slice(0,this.TI)===ea.h)this.state=f.LOCAL_HEADER,this.ur=ea.c;else return this.state=f.CENTRAL_DIR,!0}this.buffer=w;
|
|
8
|
+
return!1};e.Events={HEADER:"header",FILE:"file"};return e}(x.a);Object(Da.a)(h);Da=function(y){function e(w,aa,fa,ja,ba){fa=y.call(this,w,fa,ja)||this;fa.url=w;fa.stream=new b(w,aa);fa.Gd=new h;fa.QR=window.createPromiseCapability();fa.mS={};fa.gf=ba;return fa}Object(na.c)(e,y);e.prototype.Hv=function(w){var aa=this;this.request([this.zi,this.Lj,this.xi]);this.stream.addEventListener(b.Events.DATA,function(fa){try{if(aa.Gd.G9(fa))return aa.stream.finish()}catch(ja){throw aa.stream.abort(),aa.Wt(ja),
|
|
9
|
+
w(ja),ja;}});this.stream.addEventListener(b.Events.DONE,function(fa){aa.o9=!0;aa.QR.resolve();fa&&(aa.Wt(fa),w(fa))});this.Gd.addEventListener(h.Events.HEADER,Object(ia.bind)(this.lS,this));this.Gd.addEventListener(h.Events.FILE,Object(ia.bind)(this.g$,this));return this.stream.start(this.gf,this.withCredentials)};e.prototype.hP=function(w){var aa=this;this.QR.promise.then(function(){w(Object.keys(aa.Gd.em))})};e.prototype.Mm=function(){return!0};e.prototype.request=function(w){var aa=this;this.o9&&
|
|
10
|
+
w.forEach(function(fa){aa.mS[fa]||aa.kda(fa)})};e.prototype.lS=function(){};e.prototype.abort=function(){this.stream&&this.stream.abort()};e.prototype.kda=function(w){this.trigger(da.a.Events.PART_READY,[{$a:w,error:"Requested part not found",Hh:!1,Ff:!1}])};e.prototype.g$=function(w,aa,fa){this.mS[w]=!0;this.trigger(da.a.Events.PART_READY,[{$a:w,data:aa,Hh:!1,Ff:!1,error:null,Sc:fa}])};return e}(da.a);Object(z.a)(Da);Object(z.b)(Da);xa["default"]=Da}}]);}).call(this || window)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[14],{375:function(Da,xa,z){z.r(xa);var na=z(2),ia=z(0);z.n(ia);Da=z(78);z=z(319);Da=function(ka){function ea(da,x,r){x=ka.call(this,da,x,r)||this;x.db=da;return x}Object(na.c)(ea,ka);ea.prototype.request=function(da){var x=this;Object(ia.each)(da,function(r){x.db.get(r,function(n,a,b){return n?x.trigger("partReady",{$a:r,error:n}):x.trigger("partReady",{$a:r,data:a,Hh:!1,Ff:!1,error:null,Sc:b})})})};ea.prototype.qr=function(da){da()};
|
|
3
|
+
return ea}(Da.a);Object(z.a)(Da);Object(z.b)(Da);xa["default"]=Da}}]);}).call(this || window)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[15],{374:function(Da,xa,z){function na(w,aa,fa){aa.endsWith("/")||(aa+="/");fa=fa||{};var ja=fa.disableWebsockets||!1;this.eU=fa.singleServerMode||!1;null!=fa.customQueryParameters&&Object(h.b)("wvsQueryParameters",fa.customQueryParameters);aa.endsWith("blackbox/")||(aa+="blackbox/");this.an=fa.uploadData||null;this.nw=fa.uriData||null;this.$M=fa.cacheKey||null;this.hR=fa.officeLocale||null;this.rE=Object(n.a)(aa,null,ja);this.Sf=
|
|
3
|
+
aa;this.HE=w;this.qf=null;this.wj=ia();this.Xl=ia();this.vy=!1;this.dg=this.Pd=this.je=this.Ve=null;this.wf=[];this.ez=[];this.cache={};this.timeStamp=0;this.Nf=[];this.dh=[];this.cF=null;this.zE=!1;this.pI=this.id=null;this.XG=this.KP=ka;this.pB=0;this.cG=!1;this.a8=1;this.uA={};this.Vr(!0)}function ia(){var w={promise:null,resolve:null,reject:null,state:0,result:null,request:null,kr:function(){return 1===(w.state&1)},W6:function(){return 2===(w.state&2)},Uh:function(){return!w.W6()&&!w.kr()},C6:function(){return 4===
|
|
4
|
+
(w.state&4)},qT:function(){w.state|=4}};w.promise=new Promise(function(aa,fa){w.resolve=function(){if(0===w.state||4===w.state)w.state=1,w.result=arguments[0],aa.apply(null,arguments)};w.reject=function(){if(0===w.state||4===w.state)w.state=2,fa.apply(null,arguments)}});return w}function ka(){return!1}function ea(w,aa,fa){if(!(aa in e))return!0;aa=e[aa];for(var ja=0;ja<aa.length;ja++){var ba=w;var ha=aa[ja];var ca=fa;if(ha.name in ba){var la="",ua=!1;ba=ba[ha.name];switch(ha.type){case "s":la="String";
|
|
5
|
+
ua=Object(da.isString)(ba);break;case "a":la="Array";ua=Object(da.isArray)(ba);break;case "n":la="Number";ua=Object(da.isNumber)(ba)&&Object(da.isFinite)(ba);break;case "o":la="Object",ua=Object(da.isObject)(ba)&&!Object(da.isArray)(ba)}ua||ca.reject('Expected response field "'+ha.name+'" to have type '+la);ha=ua}else ca.reject('Response missing field "'+ha.name+'"'),ha=!1;if(!ha)return!1}return!0}z.r(xa);var da=z(0);z.n(da);var x=z(1);Da=z(46);var r=z(31),n=z(392),a=z(78),b=z(319),f=z(97),h=z(39),
|
|
6
|
+
y=z(140),e={pages:[{name:"pages",type:"a"}],pdf:[{name:"url",type:"s"}],docmod:[{name:"url",type:"s"},{name:"rID",type:"s"}],health:[],tiles:[{name:"z",type:"n"},{name:"rID",type:"n"},{name:"tiles",type:"a"},{name:"size",type:"n"}],annots:[{name:"url",type:"s"},{name:"name",type:"s"}],image:[{name:"url",type:"s"},{name:"name",type:"s"},{name:"p",type:"n"}],text:[{name:"url",type:"s"},{name:"name",type:"s"},{name:"p",type:"n"}]};na.prototype=Object(da.extend)(na.prototype,{K0:function(){var w=this;
|
|
7
|
+
return new Promise(function(aa,fa){var ja=new XMLHttpRequest;ja.open("GET",w.Sf+"ck");ja.withCredentials=w.Co();ja.onreadystatechange=function(){ja.readyState===XMLHttpRequest.DONE&&(200===ja.status?aa():fa())};ja.send()})},wba:function(w,aa){this.KP=w||ka;this.XG=aa||ka},oN:function(){var w=this;this.Xl=ia();this.wj=ia();return this.rE.TE().then(function(){w.vy=!1;w.id=null;w.zE=!1;return w.K0()})},dI:function(){this.KP();this.qG();this.Ve&&(this.Ve.Uh()?this.rf(this.Ve.request):this.Ve.kr()&&this.XG(this.Ve.result.url,
|
|
8
|
+
"pdf")&&(this.Ve=null,this.QS()));this.dg&&this.dg.Uh()&&this.rf(this.dg.request);this.je&&this.je.Uh()?this.rf(this.je.request):this.Pd&&this.Pd.Uh()&&this.zP(this.Pd.request);var w;for(w=0;w<this.Nf.length;w++)this.Nf[w]&&this.Nf[w]&&(this.Nf[w].Uh()?this.rf(this.Nf[w].request):this.Nf[w].kr()&&this.XG(this.Nf[w].result.url,"image")&&(this.Nf[w]=null,this.mB(w)));for(w=0;w<this.dh.length;w++)this.dh[w]&&this.dh[w]&&this.dh[w].Uh()&&!this.dh[w].C6()&&this.rf(this.dh[w].request);for(w=0;w<this.wf.length;w++)this.wf[w]&&
|
|
9
|
+
this.wf[w].Uh()&&this.rf(this.wf[w].request)},qG:function(w){var aa=this;this.vy||(this.timeStamp=Date.now(),this.rE.WI(function(fa){aa.p8(fa)},function(){return null},function(){return null},!0).then(function(){clearInterval(aa.dB);aa.dB=null},function(fa){aa.vy=!1;if(!aa.dB){var ja=0;aa.zE=!0;aa.pI=0;aa.dB=setInterval(function(){2>ja++?aa.dI():(clearInterval(aa.dB),w&&w.reject(f.a),Object(x.f)("WebViewerServer connection failed:"+fa))},5E3)}}),this.vy=!0)},Fda:function(){var w=this,aa=createPromiseCapability();
|
|
10
|
+
if(this.an){var fa=new FormData;fa.append("file",this.an.fileHandle,this.an.fileHandle.name);var ja=this.an.loadCallback;var ba="upload";var ha=this.an.extension}else if(this.nw){fa={uri:this.nw.uri,lha:this.nw.shareId};fa=Object.keys(fa).map(function(ma){return ma+"="+(fa[ma]?encodeURIComponent(fa[ma]):"")}).join("&");var ca="application/x-www-form-urlencoded; charset=UTF-8";ja=this.nw.loadCallback;ba="url";ha=this.nw.extension}else return Promise.resolve();var la=new XMLHttpRequest,ua=Object(r.i)(w.Sf,
|
|
11
|
+
"AuxUpload");ua=Object(y.a)(ua)+"&type="+ba+"&ext="+ha;la.open("POST",ua);la.withCredentials=this.Co();ca&&la.setRequestHeader("Content-Type",ca);la.addEventListener("load",function(){if(la.readyState===la.DONE&&200===la.status){var ma=JSON.parse(la.response);w.HE=ma.uri;ja(ma);aa.resolve(ma)}});la.addEventListener("error",function(){aa.reject(la.statusText+" "+JSON.stringify(la))});this.an&&null!=this.an.onProgress&&(la.upload.onprogress=function(ma){w.an.onProgress(ma)});la.send(fa);return aa.promise},
|
|
12
|
+
eaa:function(w){this.password=w||null;this.wj.kr()||(this.wj=ia(),this.rf({t:"pages"}));return this.wj.promise},Hv:function(w){this.cF=w||null;this.wj.kr()||(this.qG(this.wj),this.rf({t:"pages"}));return this.wj.promise},qN:function(w){w=Object.assign(w,{uri:encodeURIComponent(this.HE)});this.cF&&(w.ext=this.cF);this.qf&&(w.c=this.qf);this.password&&(w.pswd=this.password);this.$M&&(w.cacheKey=this.$M);this.hR&&(w.locale=this.hR);return w},rf:function(w){w=this.qN(w);this.rE.send(w)},mk:function(w){return w},
|
|
13
|
+
p8:function(w){var aa=this,fa=w.data,ja=w.err,ba=w.t;switch(ba){case "upload":ja?aa.Gda.reject(ja):aa.Gda.resolve("Success");break;case "pages":ja?aa.wj.reject(ja):ea(fa,ba,aa.wj)&&aa.wj.resolve(fa);break;case "config":ja?aa.Xl.reject(ja):ea(fa,ba,aa.Xl)&&(fa.id&&(aa.id=fa.id),fa.auth&&(w=Object(h.a)("wvsQueryParameters"),w.auth=fa.auth,Object(h.b)("wvsQueryParameters",w)),fa.serverVersion&&(aa.Zda=fa.serverVersion,Object(x.g)("[WebViewer Server] server version: "+aa.Zda)),fa.serverID?(aa.pB=fa.serverID===
|
|
14
|
+
aa.pI&&aa.cG?aa.pB+1:0,aa.pI=fa.serverID):aa.pB=0,aa.cG=!1,aa.Xl.resolve(fa));break;case "health":ja?aa.Xl.reject(ja):ea(fa,ba,aa.Xl)&&(fa=fa.unhealthy,aa.eU&&fa?Object(x.i)("Server failed health check. Single server mode ignoring check."):!aa.Jfa&&fa&&1>=aa.pB&&(aa.cG=!0,aa.oN().then(function(){aa.dI()},function(){aa.dI()})));break;case "pdf":fa.url=Object(y.a)(aa.Sf+"../"+encodeURI(fa.url));ja?aa.Ve.reject(ja):ea(fa,ba,aa.Ve)&&aa.Ve.resolve(fa);break;case "docmod":fa.url=Object(y.a)(aa.Sf+"../"+
|
|
15
|
+
encodeURI(fa.url));ja?aa.uA[fa.rID].reject(ja):ea(fa,ba,aa.Ve)&&aa.uA[fa.rID].resolve(fa);break;case "xod":if(ja)this.je&&this.je.Uh()&&this.je.reject(ja),this.Pd&&this.Pd.Uh()&&this.Pd.reject(ja);else if(fa.notFound)fa.noCreate||this.je&&this.je.Uh()&&this.je.resolve(fa),this.Pd&&this.Pd.Uh()&&this.Pd.resolve(fa);else{fa.url&&(fa.url=Object(y.a)(aa.Sf+"../"+encodeURI(fa.url)));if(!this.Pd||this.Pd.kr())this.Pd=ia(),this.Pd.request={t:"xod",noCreate:!0};this.je||(this.je=ia(),this.je.request={t:"xod"});
|
|
16
|
+
this.Pd.resolve(fa);this.je.resolve(fa)}break;case "annots":if(ja)aa.dg.reject(ja);else if(ea(fa,ba,aa.dg)){aa.dg.qT();var ha=new XMLHttpRequest;w=aa.Sf+"../"+encodeURI(fa.url);var ca=fa.hasAppearance?Object(y.a)(w+".xodapp"):null;ha.open("GET",Object(y.a)(w));ha.responseType="text";ha.withCredentials=this.Co();ha.addEventListener("load",function(){ha.readyState===ha.DONE&&200===ha.status&&aa.dg.resolve({sJ:ha.response,LM:ca})});ha.addEventListener("error",function(){aa.dg.reject(ha.statusText+" "+
|
|
17
|
+
JSON.stringify(ha))});ha.send()}break;case "image":var la=this.Nf[fa.p];ja?la.promise.reject(ja):ea(fa,ba,la)&&(la.result=fa,la.result.url=Object(y.a)(aa.Sf+"../"+encodeURI(la.result.url)),la.resolve(la.result));break;case "tiles":la=fa.rID;w=this.wf[la];this.wf[la]=null;this.ez.push(la);if(ja)w.reject(ja);else if(ea(fa,ba,w)){for(ja=0;ja<fa.tiles.length;ja++)fa.tiles[ja]=Object(y.a)(aa.Sf+"../"+encodeURI(fa.tiles[ja]));w.resolve(fa)}break;case "text":la=this.dh[fa.p];if(ja)la.reject(ja);else if(ea(fa,
|
|
18
|
+
ba,la)){la.qT();var ua=new XMLHttpRequest;fa=Object(y.a)(aa.Sf+"../"+encodeURI(fa.url));ua.open("GET",fa);ua.withCredentials=this.Co();ua.addEventListener("load",function(){ua.readyState===ua.DONE&&200===ua.status&&(la.result=JSON.parse(ua.response),la.resolve(la.result))});ua.addEventListener("error",function(ma){la.reject(ua.statusText+" "+JSON.stringify(ma))});ua.send()}break;case "progress":"loading"===fa.t&&aa.trigger(a.a.Events.DOCUMENT_LOADING_PROGRESS,[fa.bytes,fa.total])}},LO:function(){this.qG(this.Xl);
|
|
19
|
+
return this.Xl.promise},N3:function(){this.dg||(this.dg=ia(),this.dg.request={t:"annots"},this.rf(this.dg.request));return this.dg.promise},mB:function(w){this.Nf[w]||(this.Nf[w]=ia(),this.Nf[w].request={t:"image",p:w},this.rf(this.Nf[w].request));return this.Nf[w].promise},faa:function(w){this.dh[w]||(this.dh[w]=ia(),this.dh[w].request={t:"text",p:w},this.rf(this.dh[w].request));return this.dh[w].promise},gaa:function(w,aa,fa,ja){var ba=this.wf.length;this.ez.length&&(ba=this.ez.pop());this.wf[ba]=
|
|
20
|
+
ia();this.wf[ba].request={t:"tiles",p:w,z:aa,r:fa,size:ja,rID:ba};this.rf(this.wf[ba].request);return this.wf[ba].promise},QS:function(){this.Ve||(this.Ve=ia(),this.Ve.request={t:"pdf"},this.zE?this.Ve.resolve({url:this.HE}):this.rf(this.Ve.request));return this.Ve.promise},bP:function(w){var aa=this,fa=new XMLHttpRequest,ja=Object(y.a)(this.Sf+"aul")+"&id="+this.id,ba=new FormData,ha={};w.annots&&(ha.annots="xfdf");w.watermark&&(ha.watermark="png");w.redactions&&(ha.redactions="redact");ha={t:"docmod",
|
|
21
|
+
reqID:this.a8++,parts:ha};w.print&&(ha.print=!0);var ca=this.qN(ha);ba.append("msg",JSON.stringify(ca));return Promise.all([w.annots,w.watermark,w.redactions].map(function(la){return Promise.resolve(la)})).then(function(la){var ua=la[0],ma=la[1],sa=la[2];ua&&ba.append("annots",ua);ma&&ba.append("watermark",la.watermark);sa&&ba.append("redactions",sa);aa.uA[ca.reqID]=ia();fa.open("POST",ja);fa.withCredentials=aa.Co;la=new Promise(function(oa,ra){fa.onreadystatechange=function(){4===fa.readyState&&
|
|
22
|
+
(200===fa.status?oa():ra("An error occurred while sending down annotation data to the server"))}});fa.send(ba);return la.then(function(){return aa.uA[ca.reqID].promise})})},zP:function(){this.Pd||(this.Pd=ia(),this.Pd.request={t:"xod",noCreate:!0},this.rf(this.Pd.request));return this.Pd.promise},haa:function(){this.je||(this.je=ia(),this.je.request={t:"xod"},this.rf(this.je.request));return this.je.promise},Mm:function(){return!0},request:function(){},lS:function(){},abort:function(){for(var w=0;w<
|
|
23
|
+
this.wf.length;w++)this.wf[w]&&(this.wf[w].resolve(null),this.wf[w]=null,this.ez.push(w));this.close()},wB:function(w){this.qf=this.qf||{};this.qf.headers=w},aga:function(){return this.qf?Object(da.omit)(this.qf.headers,["Cookie","cookie"]):null},Vr:function(w){this.qf=this.qf||{};this.qf.internal=this.qf.internal||{};this.qf.internal.withCredentials=w},Co:function(){return this.qf&&this.qf.internal?this.qf.internal.withCredentials:null},getFileData:function(){return Promise.reject()}});Object(Da.a)(na);
|
|
24
|
+
Object(b.a)(na);Object(b.b)(na);xa["default"]=na},392:function(Da,xa,z){function na(x,r,n){function a(f,h){function y(sa){w().then(function(oa){ca&&!la?setTimeout(function(){y(sa)},1):oa.send(JSON.stringify(sa))})}function e(sa,oa,ra,ta){var qa=window.createPromiseCapability(),wa=!1,Aa=qa;ja=sa;ba=oa;ha=ra;fa=null;ta&&(sa=Object(ea.a)("wvsQueryParameters"),sa.bcid=Object(ka.j)(8),Object(ea.b)("wvsQueryParameters",sa));try{sa=ua?ma+"/"+ua:ma+"/ws";sa=Object(da.a)(sa);var Ga=new WebSocket(sa);Ga.onopen=
|
|
25
|
+
function(){qa.resolve();wa=!0;qa=null;ca=!1;aa.resolve(Ga);ba&&ba()};Ga.onerror=function(Na){ca=la=!0;qa&&qa.reject(Na);fa&&fa.reject()};Ga.onclose=function(){aa=window.createPromiseCapability();ca=!0;fa||(fa=window.createPromiseCapability());fa.resolve();ha&&ha();ja&&wa&&ja({t:"health",data:{unhealthy:!0,isDead:!0}})};Ga.onmessage=function(Na){Na&&Na.data&&(Na=JSON.parse(Na.data),Na.hb?y({hb:!0}):Na.end?close():ja(Na))}}catch(Na){qa.reject(Na),qa=null}return Aa.promise}function w(){ca&&ja&&e(ja);
|
|
26
|
+
return aa.promise}var aa=window.createPromiseCapability(),fa=null,ja,ba,ha=null,ca=!1,la=!1,ua=h,ma=function(sa){var oa=sa.indexOf("://"),ra="ws://";0>oa?oa=0:(5===oa&&(ra="wss://"),oa+=3);var ta=sa.lastIndexOf("/");0>ta&&(ta=sa.length);return ra+sa.slice(oa,ta)}(f);return{send:y,WI:e,TE:function(){return fa?fa.promise:w().then(function(sa){fa=window.createPromiseCapability();ja=null;sa.close();return fa.promise})}}}function b(f){var h=f.lastIndexOf("/");0>h&&(h=f.length);return f.slice(0,h)}return window.WebSocket&&
|
|
27
|
+
!n?a(x,r):function(f,h){function y(sa){(ha?ha.promise:Promise.resolve(ba)).then(function(oa){var ra=new XMLHttpRequest,ta=ja?fa+"/"+ja+"pf":fa+"/pf";ta=Object(da.a)(ta)+"&id="+oa;oa=new FormData;oa.append("data",JSON.stringify(sa));ra.open("POST",ta);ra.withCredentials=!0;ra.send(oa)})}function e(){ba=0;ha||(ha=window.createPromiseCapability())}function w(){aa=new XMLHttpRequest;var sa=fa+"/pf";sa+=0!==ba?"?id="+ba+"&uc="+ma:"?uc="+ma;ma++;aa.open("GET",sa,!0);aa.withCredentials=!0;aa.setRequestHeader("Cache-Control",
|
|
28
|
+
"no-cache");aa.setRequestHeader("X-Requested-With","XMLHttpRequest");var oa=aa,ra=!1;aa.onreadystatechange=function(){a:if(3<=oa.readyState&&!ra){try{var ta=oa.responseText.length}catch(Aa){Object(ia.g)("caught exception");break a}if(0<ta)try{var qa=oa.responseText.split("\n");for(qa[qa.length-1]&&qa.pop();0<qa.length&&3>qa[qa.length-1].length;)"]"===qa.pop()&&e();0<qa.length&&3>qa[0].length&&qa.shift();for(ta=0;ta<qa.length;++ta)qa[ta].endsWith(",")&&(qa[ta]=qa[ta].substr(0,qa[ta].length-1));0===
|
|
29
|
+
ba&&0<qa.length&&(ba=JSON.parse(qa.shift()).id,ta=ha,ha=null,ta.resolve(ba));var wa;for(ta=0;ta<qa.length;++ta)(wa=JSON.parse(qa[ta]))&&wa.end?close():wa&&wa.hb&&wa.id===ba?y({hb:!0}):ua(wa)}catch(Aa){}ca||(ra=!0,w())}};aa.send()}var aa,fa=b(f),ja=h,ba=0,ha=window.createPromiseCapability(),ca=!1,la=null,ua=null,ma=0;return{send:y,WI:function(sa,oa,ra){ua=sa;la=ra;ca=!1;e();w();oa&&oa();return Promise.resolve()},TE:function(){e();ua=null;ca=!0;la&&la();aa.abort();return Promise.resolve()}}}(x,r)}z.d(xa,
|
|
30
|
+
"a",function(){return na});var ia=z(1),ka=z(31),ea=z(39),da=z(140)}}]);}).call(this || window)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[16],{373:function(Da,xa,z){z.r(xa);var na=z(2),ia=z(204);Da=z(364);var ka=z(78);z=z(319);var ea={},da=function(x){function r(n,a){var b=x.call(this,n,a)||this;b.url=n;b.range=a;b.status=ia.a.NOT_STARTED;return b}Object(na.c)(r,x);r.prototype.start=function(n){var a=this;"undefined"===typeof ea[this.range.start]&&(ea[this.range.start]={$I:function(b){var f=atob(b),h,y=f.length;b=new Uint8Array(y);for(h=0;h<y;++h)b[h]=f.charCodeAt(h);
|
|
3
|
+
f=b.length;h="";for(var e=0;e<f;)y=b.subarray(e,e+1024),e+=1024,h+=String.fromCharCode.apply(null,y);a.$I(h,n)},Sfa:function(){a.status=ia.a.ERROR;n({code:a.status})}},window.external.notify(this.url),this.status=ia.a.STARTED);a.Cz()};return r}(Da.ByteRangeRequest);Da=function(x){function r(n,a,b,f){n=x.call(this,n,b,f)||this;n.Bv=da;return n}Object(na.c)(r,x);r.prototype.It=function(n,a){return n+"?"+a.start+"&"+(a.stop?a.stop:"")};return r}(ka.a);Object(z.a)(Da);Object(z.b)(Da);xa["default"]=Da}}]);}).call(this || window)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
Binary file
|
|
Binary file
|