@paodingai/mesh-dsh-plugin 0.0.0-stage → 0.2.4-rc.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/README.md +50 -2
- package/cordis.patch.yml +12 -0
- package/docs/DETAIL.zh.md +1 -0
- package/docs/preview.zh.svg +34 -0
- package/icon.svg +9 -0
- package/lib/assets/lattice-preview-sdk/style.css +1 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/78-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/78-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/78-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/78-RKSJ-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/78-RKSJ-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/78-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Add-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Add-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/B5-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/B5pc-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/B5pc-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/CNS-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/CNS-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/CNS1-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/CNS1-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/CNS2-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/CNS2-V.bcmap +3 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/ETHK-B5-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/ETHK-B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/ETen-B5-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/ETen-B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/ETenms-B5-H.bcmap +3 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/ETenms-B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Ext-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Ext-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GB-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GB-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GB-H.bcmap +4 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GB-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBK-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBK-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBK2K-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBK2K-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBT-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBT-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBT-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBT-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKdla-B5-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKdla-B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKm314-B5-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKm314-B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKm471-B5-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKm471-B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKscs-B5-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/HKscs-B5-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Hankaku.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Hiragana.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSC-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSC-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSC-Johab-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSC-Johab-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Katakana.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/LICENSE +36 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/NWP-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/NWP-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/RKSJ-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/RKSJ-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/Roman.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/V.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/cmaps/WP-Symbol.bcmap +0 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ach/viewer.ftl +212 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/af/viewer.ftl +191 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/an/viewer.ftl +244 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ar/viewer.ftl +627 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ast/viewer.ftl +191 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/az/viewer.ftl +244 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/be/viewer.ftl +656 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/bg/viewer.ftl +414 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/bn/viewer.ftl +234 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/bo/viewer.ftl +234 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/br/viewer.ftl +345 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/brx/viewer.ftl +205 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/bs/viewer.ftl +640 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ca/viewer.ftl +289 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/cak/viewer.ftl +287 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ckb/viewer.ftl +229 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/cs/viewer.ftl +659 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/cy/viewer.ftl +665 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/da/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/de/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/dsb/viewer.ftl +659 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/el/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/en-CA/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/en-GB/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/en-US/viewer.ftl +692 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/eo/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/es-AR/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/es-CL/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/es-ES/viewer.ftl +615 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/es-MX/viewer.ftl +574 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/et/viewer.ftl +262 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/eu/viewer.ftl +619 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/fa/viewer.ftl +341 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ff/viewer.ftl +234 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/fi/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/fr/viewer.ftl +649 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/fur/viewer.ftl +615 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/fy-NL/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ga-IE/viewer.ftl +192 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/gd/viewer.ftl +289 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/gl/viewer.ftl +623 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/gn/viewer.ftl +652 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/gu-IN/viewer.ftl +234 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/he/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/hi-IN/viewer.ftl +237 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/hr/viewer.ftl +618 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/hsb/viewer.ftl +659 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/hu/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/hy-AM/viewer.ftl +265 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/hye/viewer.ftl +258 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ia/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/id/viewer.ftl +603 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/is/viewer.ftl +597 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/it/viewer.ftl +654 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ja/viewer.ftl +611 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ka/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/kab/viewer.ftl +600 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/kk/viewer.ftl +611 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/km/viewer.ftl +210 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/kn/viewer.ftl +192 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ko/viewer.ftl +641 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/lij/viewer.ftl +234 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/lo/viewer.ftl +289 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/locale.json +1 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/lt/viewer.ftl +258 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ltg/viewer.ftl +233 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/lv/viewer.ftl +234 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/meh/viewer.ftl +62 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/mk/viewer.ftl +202 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ml/viewer.ftl +521 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/mr/viewer.ftl +226 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ms/viewer.ftl +234 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/my/viewer.ftl +185 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/nb-NO/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ne-NP/viewer.ftl +213 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/nl/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/nn-NO/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/oc/viewer.ftl +405 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/pa-IN/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/pl/viewer.ftl +656 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/pt-BR/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/pt-PT/viewer.ftl +615 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/rm/viewer.ftl +615 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ro/viewer.ftl +656 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ru/viewer.ftl +656 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/sat/viewer.ftl +301 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/sc/viewer.ftl +356 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/scn/viewer.ftl +32 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/sco/viewer.ftl +254 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/si/viewer.ftl +250 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/sk/viewer.ftl +659 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/skr/viewer.ftl +497 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/sl/viewer.ftl +629 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/son/viewer.ftl +185 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/sq/viewer.ftl +606 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/sr/viewer.ftl +418 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/sv-SE/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/szl/viewer.ftl +244 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ta/viewer.ftl +210 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/te/viewer.ftl +229 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/tg/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/th/viewer.ftl +603 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/tl/viewer.ftl +244 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/tr/viewer.ftl +653 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/trs/viewer.ftl +175 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/uk/viewer.ftl +618 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/ur/viewer.ftl +238 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/uz/viewer.ftl +166 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/vi/viewer.ftl +641 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/wo/viewer.ftl +100 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/xh/viewer.ftl +191 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/zh-CN/viewer.ftl +641 -0
- package/lib/assets/pdf-document-viewer/assets/pdf.js/locale/zh-TW/viewer.ftl +641 -0
- package/lib/assets/pdf-document-viewer/assets/pdflux.wasm +0 -0
- package/lib/assets/pdf-document-viewer/assets/words.txt +135798 -0
- package/lib/assets/pdf-document-viewer/extensions/Chronicle.js +1075 -0
- package/lib/assets/pdf-document-viewer/extensions/CollabService.js +19623 -0
- package/lib/assets/pdf-document-viewer/extensions/FocusAnnotationExtension.js +89 -0
- package/lib/assets/pdf-document-viewer/extensions/NERExtension.css +1 -0
- package/lib/assets/pdf-document-viewer/extensions/NERExtension.js +136 -0
- package/lib/assets/pdf-document-viewer/extensions/PopupListExtension.js +893 -0
- package/lib/assets/pdf-document-viewer/extensions/SelectOcrTextService.js +580 -0
- package/lib/assets/pdf-document-viewer/extensions/SelectTextService.js +345 -0
- package/lib/assets/pdf-document-viewer/extensions/ShowStyleInfo.js +239 -0
- package/lib/assets/pdf-document-viewer/extensions/TextDiff.css +1 -0
- package/lib/assets/pdf-document-viewer/extensions/TextDiff.js +15396 -0
- package/lib/assets/pdf-document-viewer/image-viewer.es.js +65682 -0
- package/lib/assets/pdf-document-viewer/image-viewer.umd.js +2708 -0
- package/lib/assets/pdf-document-viewer/plugin/copy.js +38 -0
- package/lib/assets/pdf-document-viewer/plugin/index.js +9 -0
- package/lib/assets/pdf-document-viewer/plugin/vite.copy.js +21 -0
- package/lib/assets/pdf-document-viewer/plugin/webpack.copy.js +16 -0
- package/lib/assets/pdf-document-viewer/style.css +1 -0
- package/lib/assets/pdf-document-viewer/types/Search.d.ts +66 -0
- package/lib/assets/pdf-document-viewer/types/cache-database.d.ts +8 -0
- package/lib/assets/pdf-document-viewer/types/cache-service.d.ts +25 -0
- package/lib/assets/pdf-document-viewer/types/extensions/CollabService.d.ts +45 -0
- package/lib/assets/pdf-document-viewer/types/extensions/FocusAnnotationExtension.d.ts +15 -0
- package/lib/assets/pdf-document-viewer/types/extensions/PopupListExtension.d.ts +31 -0
- package/lib/assets/pdf-document-viewer/types/extensions/SelectOcrTextService.d.ts +98 -0
- package/lib/assets/pdf-document-viewer/types/extensions/SelectTextService.d.ts +81 -0
- package/lib/assets/pdf-document-viewer/types/extensions/TextDiff/EditedTextListRender.d.ts +28 -0
- package/lib/assets/pdf-document-viewer/types/extensions/TextDiff/TextDiffAnnotElementHelper.d.ts +74 -0
- package/lib/assets/pdf-document-viewer/types/extensions/TextDiff/TextDiffAnnotationRender.d.ts +76 -0
- package/lib/assets/pdf-document-viewer/types/extensions/TextDiff/TextDiffUIService.d.ts +37 -0
- package/lib/assets/pdf-document-viewer/types/extensions/TextDiff/index.d.ts +30 -0
- package/lib/assets/pdf-document-viewer/types/i18n/index.d.ts +26 -0
- package/lib/assets/pdf-document-viewer/types/main.d.ts +10 -0
- package/lib/assets/pdf-document-viewer/types/module/display/AnnotationElementFactory.d.ts +4 -0
- package/lib/assets/pdf-document-viewer/types/module/display/AnnotationManager.d.ts +67 -0
- package/lib/assets/pdf-document-viewer/types/module/display/PDFiumDocumentProxy.d.ts +12 -0
- package/lib/assets/pdf-document-viewer/types/module/display/PDFiumPageProxy.d.ts +82 -0
- package/lib/assets/pdf-document-viewer/types/module/display/Prefetch.d.ts +26 -0
- package/lib/assets/pdf-document-viewer/types/module/display/WorkerTransport.d.ts +67 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/BaseData.d.ts +30 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/DataFactory.d.ts +21 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/HighlightData.d.ts +17 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/InkData.d.ts +16 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/LineData.d.ts +15 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/PolygonData.d.ts +15 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/PolylineData.d.ts +15 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/PopupData.d.ts +10 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/StrikeOutData.d.ts +18 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/TextData.d.ts +12 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/TextDiffData.d.ts +7 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-data-factory/UnderlineData.d.ts +18 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/AnnotationElement.d.ts +266 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/HighlightAnnotationElement.d.ts +16 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/InkAnnotationElement.d.ts +12 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/LineAnnotationElement.d.ts +17 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/LinkAnnotationElement.d.ts +13 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/PolygonAnnotationElement.d.ts +14 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/PolylineAnnotationElement.d.ts +15 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/PopupAnnotationElement.d.ts +45 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/ResizeAbility.d.ts +35 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/SelectTextAnnotationElement.d.ts +60 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/SquareAnnotationElement.d.ts +20 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/StampAnnotationElement.d.ts +9 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/StrikeOutAnnotationElement.d.ts +18 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/TableAnnotationElement.d.ts +86 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/TextAnnotationElement.d.ts +18 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/TextDiffAnnotationElement.d.ts +23 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/UnderlineAnnotationElement.d.ts +18 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/ctrl-components/AnnotationControlHandler.d.ts +3 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/ctrl-components/ControlBar.d.ts +42 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/ctrl-components/ControlItem.d.ts +19 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/table-components/Line.d.ts +59 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/table-components/LineContainer.d.ts +46 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-elements/table-components/TableCell.d.ts +70 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-related-item/AnnotRelatedItem.d.ts +181 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-related-item/PopupAnnotRelatedItem.d.ts +22 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation-related-item/TextDiffAnnotRelatedItem.d.ts +139 -0
- package/lib/assets/pdf-document-viewer/types/module/display/annotation_layer.d.ts +7 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/annotation_editor_layer.d.ts +138 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/editor-utils.d.ts +4 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/editor.d.ts +307 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/highlight.d.ts +102 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/ink.d.ts +46 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/line.d.ts +45 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/link.d.ts +20 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/polygon.d.ts +27 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/polyline.d.ts +64 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/popup.d.ts +30 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/resizeService.d.ts +26 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/square.d.ts +49 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/strikeout.d.ts +29 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/table.d.ts +171 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/text.d.ts +44 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/textdiff.d.ts +26 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/tools.d.ts +133 -0
- package/lib/assets/pdf-document-viewer/types/module/display/editor/underline.d.ts +30 -0
- package/lib/assets/pdf-document-viewer/types/module/display/selection.d.ts +59 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/HighlightWidget.d.ts +33 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/InkWidget.d.ts +45 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/LineWidget.d.ts +34 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/LinkWidget.d.ts +7 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/NoteWidget.d.ts +14 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/PolygonWidget.d.ts +21 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/PolylineWidget.d.ts +39 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/SelectTextWidget.d.ts +66 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/SquareWidget.d.ts +32 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/StampWidget.d.ts +6 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/StrikeOutWidget.d.ts +22 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/TableWidget.d.ts +82 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/UnderlineWidget.d.ts +22 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/Widget.d.ts +110 -0
- package/lib/assets/pdf-document-viewer/types/module/display/widgets/index.d.ts +13 -0
- package/lib/assets/pdf-document-viewer/types/module/view/AnnotationHandlers/BaseAnnotationHandler.d.ts +99 -0
- package/lib/assets/pdf-document-viewer/types/module/view/AnnotationHandlers/PolylineAndPolygonHandler.d.ts +10 -0
- package/lib/assets/pdf-document-viewer/types/module/view/AnnotationHandlers/SelectTextHandler.d.ts +60 -0
- package/lib/assets/pdf-document-viewer/types/module/view/AnnotationHandlers/TextDiffHandler.d.ts +16 -0
- package/lib/assets/pdf-document-viewer/types/module/view/DocumentViewer.d.ts +518 -0
- package/lib/assets/pdf-document-viewer/types/module/view/PDFViewer.d.ts +21 -0
- package/lib/assets/pdf-document-viewer/types/module/view/PageImageCache.d.ts +9 -0
- package/lib/assets/pdf-document-viewer/types/module/view/ToolbarControl.d.ts +44 -0
- package/lib/assets/pdf-document-viewer/types/module/view/UIManager.d.ts +66 -0
- package/lib/assets/pdf-document-viewer/types/module/view/annotation_editor_layer_builder.d.ts +19 -0
- package/lib/assets/pdf-document-viewer/types/module/view/annotation_layer_builder.d.ts +6 -0
- package/lib/assets/pdf-document-viewer/types/module/view/custom-scroll.d.ts +21 -0
- package/lib/assets/pdf-document-viewer/types/module/view/features.d.ts +2 -0
- package/lib/assets/pdf-document-viewer/types/module/view/sidebar-manager/index.d.ts +27 -0
- package/lib/assets/pdf-document-viewer/types/module/view/widget-manager/index.d.ts +14 -0
- package/lib/assets/pdf-document-viewer/types/module/view/widget-manager/widgets/TextEditBoxWidget.d.ts +32 -0
- package/lib/assets/pdf-document-viewer/types/module/widgets/WidgetMenu.d.ts +23 -0
- package/lib/assets/pdf-document-viewer/types/sdk/documents-manager/DataStore.d.ts +15 -0
- package/lib/assets/pdf-document-viewer/types/sdk/documents-manager/components/PdfViewerContainer.d.ts +83 -0
- package/lib/assets/pdf-document-viewer/types/sdk/documents-manager/util.d.ts +5 -0
- package/lib/assets/pdf-document-viewer/types/sdk/relation-line/Point.d.ts +7 -0
- package/lib/assets/pdf-document-viewer/types/sdk/relation-line/RelationLine.d.ts +36 -0
- package/lib/assets/pdf-document-viewer/types/shared/EventBus.d.ts +39 -0
- package/lib/assets/pdf-document-viewer/types/shared/MarkerFactory.d.ts +3 -0
- package/lib/assets/pdf-document-viewer/types/shared/TaskQueue.d.ts +6 -0
- package/lib/assets/pdf-document-viewer/types/shared/annot-utils.d.ts +116 -0
- package/lib/assets/pdf-document-viewer/types/shared/block-utils.d.ts +7 -0
- package/lib/assets/pdf-document-viewer/types/shared/capability.d.ts +10 -0
- package/lib/assets/pdf-document-viewer/types/shared/constant.d.ts +139 -0
- package/lib/assets/pdf-document-viewer/types/shared/controls-config.d.ts +7 -0
- package/lib/assets/pdf-document-viewer/types/shared/diff-utils.d.ts +22 -0
- package/lib/assets/pdf-document-viewer/types/shared/editor-util.d.ts +2 -0
- package/lib/assets/pdf-document-viewer/types/shared/env-config.d.ts +2 -0
- package/lib/assets/pdf-document-viewer/types/shared/global-override.d.ts +0 -0
- package/lib/assets/pdf-document-viewer/types/shared/id-generator.d.ts +2 -0
- package/lib/assets/pdf-document-viewer/types/shared/password-util.d.ts +8 -0
- package/lib/assets/pdf-document-viewer/types/shared/pdfjs-utils.d.ts +4 -0
- package/lib/assets/pdf-document-viewer/types/shared/rect-utils.d.ts +2 -0
- package/lib/assets/pdf-document-viewer/types/shared/search-utils.d.ts +2 -0
- package/lib/assets/pdf-document-viewer/types/shared/selection-utils.d.ts +13 -0
- package/lib/assets/pdf-document-viewer/types/shared/svg-data.d.ts +1 -0
- package/lib/assets/pdf-document-viewer/types/shared/svg-utils.d.ts +6 -0
- package/lib/assets/pdf-document-viewer/types/shared/ui-utils.d.ts +95 -0
- package/lib/assets/pdf-document-viewer/types/shared/util.d.ts +42 -0
- package/lib/assets/pdf-document-viewer/types/types/annotation.d.ts +281 -0
- package/lib/assets/pdf-document-viewer/types/types/char.d.ts +18 -0
- package/lib/assets/pdf-document-viewer/types/types/extension.d.ts +10 -0
- package/lib/assets/pdf-document-viewer/types/types/pdf.d.ts +88 -0
- package/lib/assets/pdf-document-viewer/types/types/widget.d.ts +90 -0
- package/lib/assets/pdf-document-viewer/types/viewer.d.ts +49 -0
- package/lib/assets/pdf-document-viewer/worker/pdf.sandbox.mjs +21 -0
- package/lib/assets/pdf-document-viewer/worker/pdf.worker.mjs +58352 -0
- package/lib/assets/pdf-document-viewer/worker/pdflux.worker.js +74 -0
- package/lib/client.js +72089 -0
- package/lib/index.js +1592 -0
- package/lib/pure.js +396 -0
- package/lib/types/client/index.d.ts +3 -0
- package/lib/types/config.d.ts +36 -0
- package/lib/types/errors.d.ts +14 -0
- package/lib/types/index.d.ts +11 -0
- package/lib/types/master-markdown.d.ts +21 -0
- package/lib/types/registry.d.ts +34 -0
- package/lib/types/rs-client.d.ts +68 -0
- package/lib/types/skill.d.ts +4 -0
- package/lib/types/sources.d.ts +50 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +110 -4
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
(function(){"use strict";function h1(t){if(Array.isArray(t))return t}function M3(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var i=[],r=!0,s=!1,o,a;try{for(n=n.call(t);!(r=(o=n.next()).done)&&(i.push(o.value),!(e&&i.length===e));r=!0);}catch(c){s=!0,a=c}finally{try{!r&&n.return!=null&&n.return()}finally{if(s)throw a}}return i}}function jl(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Dl(t,e){if(t){if(typeof t=="string")return jl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jl(t,e)}}function u1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vo(t,e){return h1(t)||M3(t,e)||Dl(t,e)||u1()}function b1(t,e,n,i,r,s,o){try{var a=t[s](o),c=a.value}catch(f){n(f);return}a.done?e(c):Promise.resolve(c).then(i,r)}function Xi(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var s=t.apply(e,n);function o(c){b1(s,i,r,o,a,"next",c)}function a(c){b1(s,i,r,o,a,"throw",c)}o(void 0)})}}var Il={},U3={get exports(){return Il},set exports(t){Il=t}},Sl={},T3={get exports(){return Sl},set exports(t){Sl=t}};(function(t){function e(n){return t.exports=e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(T3),function(t){var e=Sl.default;function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=n=function(){return i},t.exports.__esModule=!0,t.exports.default=t.exports;var i={},r=Object.prototype,s=r.hasOwnProperty,o=Object.defineProperty||function(Y,Z,B){Y[Z]=B.value},a=typeof Symbol=="function"?Symbol:{},c=a.iterator||"@@iterator",f=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function d(Y,Z,B){return Object.defineProperty(Y,Z,{value:B,enumerable:!0,configurable:!0,writable:!0}),Y[Z]}try{d({},"")}catch{d=function(B,z,ee){return B[z]=ee}}function h(Y,Z,B,z){var ee=Z&&Z.prototype instanceof p?Z:p,X=Object.create(ee.prototype),te=new H(z||[]);return o(X,"_invoke",{value:S(Y,B,te)}),X}function u(Y,Z,B){try{return{type:"normal",arg:Y.call(Z,B)}}catch(z){return{type:"throw",arg:z}}}i.wrap=h;var g={};function p(){}function x(){}function m(){}var w={};d(w,c,function(){return this});var O=Object.getPrototypeOf,k=O&&O(O($([])));k&&k!==r&&s.call(k,c)&&(w=k);var E=m.prototype=p.prototype=Object.create(w);function D(Y){["next","throw","return"].forEach(function(Z){d(Y,Z,function(B){return this._invoke(Z,B)})})}function v(Y,Z){function B(ee,X,te,Ee){var Pe=u(Y[ee],Y,X);if(Pe.type!=="throw"){var V=Pe.arg,Q=V.value;return Q&&e(Q)=="object"&&s.call(Q,"__await")?Z.resolve(Q.__await).then(function(N){B("next",N,te,Ee)},function(N){B("throw",N,te,Ee)}):Z.resolve(Q).then(function(N){V.value=N,te(V)},function(N){return B("throw",N,te,Ee)})}Ee(Pe.arg)}var z;o(this,"_invoke",{value:function(X,te){function Ee(){return new Z(function(Pe,V){B(X,te,Pe,V)})}return z=z?z.then(Ee,Ee):Ee()}})}function S(Y,Z,B){var z="suspendedStart";return function(ee,X){if(z==="executing")throw new Error("Generator is already running");if(z==="completed"){if(ee==="throw")throw X;return W()}for(B.method=ee,B.arg=X;;){var te=B.delegate;if(te){var Ee=C(te,B);if(Ee){if(Ee===g)continue;return Ee}}if(B.method==="next")B.sent=B._sent=B.arg;else if(B.method==="throw"){if(z==="suspendedStart")throw z="completed",B.arg;B.dispatchException(B.arg)}else B.method==="return"&&B.abrupt("return",B.arg);z="executing";var Pe=u(Y,Z,B);if(Pe.type==="normal"){if(z=B.done?"completed":"suspendedYield",Pe.arg===g)continue;return{value:Pe.arg,done:B.done}}Pe.type==="throw"&&(z="completed",B.method="throw",B.arg=Pe.arg)}}}function C(Y,Z){var B=Y.iterator[Z.method];if(B===void 0){if(Z.delegate=null,Z.method==="throw"){if(Y.iterator.return&&(Z.method="return",Z.arg=void 0,C(Y,Z),Z.method==="throw"))return g;Z.method="throw",Z.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var z=u(B,Y.iterator,Z.arg);if(z.type==="throw")return Z.method="throw",Z.arg=z.arg,Z.delegate=null,g;var ee=z.arg;return ee?ee.done?(Z[Y.resultName]=ee.value,Z.next=Y.nextLoc,Z.method!=="return"&&(Z.method="next",Z.arg=void 0),Z.delegate=null,g):ee:(Z.method="throw",Z.arg=new TypeError("iterator result is not an object"),Z.delegate=null,g)}function R(Y){var Z={tryLoc:Y[0]};1 in Y&&(Z.catchLoc=Y[1]),2 in Y&&(Z.finallyLoc=Y[2],Z.afterLoc=Y[3]),this.tryEntries.push(Z)}function T(Y){var Z=Y.completion||{};Z.type="normal",delete Z.arg,Y.completion=Z}function H(Y){this.tryEntries=[{tryLoc:"root"}],Y.forEach(R,this),this.reset(!0)}function $(Y){if(Y){var Z=Y[c];if(Z)return Z.call(Y);if(typeof Y.next=="function")return Y;if(!isNaN(Y.length)){var B=-1,z=function ee(){for(;++B<Y.length;)if(s.call(Y,B))return ee.value=Y[B],ee.done=!1,ee;return ee.value=void 0,ee.done=!0,ee};return z.next=z}}return{next:W}}function W(){return{value:void 0,done:!0}}return x.prototype=m,o(E,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:x,configurable:!0}),x.displayName=d(m,l,"GeneratorFunction"),i.isGeneratorFunction=function(Y){var Z=typeof Y=="function"&&Y.constructor;return!!Z&&(Z===x||(Z.displayName||Z.name)==="GeneratorFunction")},i.mark=function(Y){return Object.setPrototypeOf?Object.setPrototypeOf(Y,m):(Y.__proto__=m,d(Y,l,"GeneratorFunction")),Y.prototype=Object.create(E),Y},i.awrap=function(Y){return{__await:Y}},D(v.prototype),d(v.prototype,f,function(){return this}),i.AsyncIterator=v,i.async=function(Y,Z,B,z,ee){ee===void 0&&(ee=Promise);var X=new v(h(Y,Z,B,z),ee);return i.isGeneratorFunction(Z)?X:X.next().then(function(te){return te.done?te.value:X.next()})},D(E),d(E,l,"Generator"),d(E,c,function(){return this}),d(E,"toString",function(){return"[object Generator]"}),i.keys=function(Y){var Z=Object(Y),B=[];for(var z in Z)B.push(z);return B.reverse(),function ee(){for(;B.length;){var X=B.pop();if(X in Z)return ee.value=X,ee.done=!1,ee}return ee.done=!0,ee}},i.values=$,H.prototype={constructor:H,reset:function(Z){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!Z)for(var B in this)B.charAt(0)==="t"&&s.call(this,B)&&!isNaN(+B.slice(1))&&(this[B]=void 0)},stop:function(){this.done=!0;var Z=this.tryEntries[0].completion;if(Z.type==="throw")throw Z.arg;return this.rval},dispatchException:function(Z){if(this.done)throw Z;var B=this;function z(V,Q){return te.type="throw",te.arg=Z,B.next=V,Q&&(B.method="next",B.arg=void 0),!!Q}for(var ee=this.tryEntries.length-1;ee>=0;--ee){var X=this.tryEntries[ee],te=X.completion;if(X.tryLoc==="root")return z("end");if(X.tryLoc<=this.prev){var Ee=s.call(X,"catchLoc"),Pe=s.call(X,"finallyLoc");if(Ee&&Pe){if(this.prev<X.catchLoc)return z(X.catchLoc,!0);if(this.prev<X.finallyLoc)return z(X.finallyLoc)}else if(Ee){if(this.prev<X.catchLoc)return z(X.catchLoc,!0)}else{if(!Pe)throw new Error("try statement without catch or finally");if(this.prev<X.finallyLoc)return z(X.finallyLoc)}}}},abrupt:function(Z,B){for(var z=this.tryEntries.length-1;z>=0;--z){var ee=this.tryEntries[z];if(ee.tryLoc<=this.prev&&s.call(ee,"finallyLoc")&&this.prev<ee.finallyLoc){var X=ee;break}}X&&(Z==="break"||Z==="continue")&&X.tryLoc<=B&&B<=X.finallyLoc&&(X=null);var te=X?X.completion:{};return te.type=Z,te.arg=B,X?(this.method="next",this.next=X.finallyLoc,g):this.complete(te)},complete:function(Z,B){if(Z.type==="throw")throw Z.arg;return Z.type==="break"||Z.type==="continue"?this.next=Z.arg:Z.type==="return"?(this.rval=this.arg=Z.arg,this.method="return",this.next="end"):Z.type==="normal"&&B&&(this.next=B),g},finish:function(Z){for(var B=this.tryEntries.length-1;B>=0;--B){var z=this.tryEntries[B];if(z.finallyLoc===Z)return this.complete(z.completion,z.afterLoc),T(z),g}},catch:function(Z){for(var B=this.tryEntries.length-1;B>=0;--B){var z=this.tryEntries[B];if(z.tryLoc===Z){var ee=z.completion;if(ee.type==="throw"){var X=ee.arg;T(z)}return X}}throw new Error("illegal catch attempt")},delegateYield:function(Z,B,z){return this.delegate={iterator:$(Z),resultName:B,nextLoc:z},this.method==="next"&&(this.arg=void 0),g}},i}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}(U3);var m0=Il(),Yn=m0;try{regeneratorRuntime=m0}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=m0:Function("r","regeneratorRuntime = r")(m0)}function L3(t){if(Array.isArray(t))return jl(t)}function g1(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function F3(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x0(t){return L3(t)||g1(t)||Dl(t)||F3()}function Xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p1(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Vi(t,e,n){return e&&p1(t.prototype,e),n&&p1(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function qa(t){return qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qa(t)}const Cl={};function N3(t){return h1(t)||g1(t)||Dl(t)||u1()}/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const B3=4,m1=0,x1=1,Y3=2;function Ps(t){let e=t.length;for(;--e>=0;)t[e]=0}const H3=0,y1=1,Z3=2,z3=3,q3=258,Rl=29,Ao=256,Eo=Ao+1+Rl,vs=30,Ml=19,w1=2*Eo+1,Dr=15,Ul=16,$3=7,Tl=256,_1=16,O1=17,k1=18,Ll=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),y0=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),G3=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),P1=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),X3=512,Oi=new Array((Eo+2)*2);Ps(Oi);const jo=new Array(vs*2);Ps(jo);const Do=new Array(X3);Ps(Do);const Io=new Array(q3-z3+1);Ps(Io);const Fl=new Array(Rl);Ps(Fl);const w0=new Array(vs);Ps(w0);function Nl(t,e,n,i,r){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=t&&t.length}let v1,A1,E1;function Bl(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}const j1=t=>t<256?Do[t]:Do[256+(t>>>7)],So=(t,e)=>{t.pending_buf[t.pending++]=e&255,t.pending_buf[t.pending++]=e>>>8&255},fa=(t,e,n)=>{t.bi_valid>Ul-n?(t.bi_buf|=e<<t.bi_valid&65535,So(t,t.bi_buf),t.bi_buf=e>>Ul-t.bi_valid,t.bi_valid+=n-Ul):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)},ii=(t,e,n)=>{fa(t,n[e*2],n[e*2+1])},D1=(t,e)=>{let n=0;do n|=t&1,t>>>=1,n<<=1;while(--e>0);return n>>>1},W3=t=>{t.bi_valid===16?(So(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=t.bi_buf&255,t.bi_buf>>=8,t.bi_valid-=8)},V3=(t,e)=>{const n=e.dyn_tree,i=e.max_code,r=e.stat_desc.static_tree,s=e.stat_desc.has_stree,o=e.stat_desc.extra_bits,a=e.stat_desc.extra_base,c=e.stat_desc.max_length;let f,l,d,h,u,g,p=0;for(h=0;h<=Dr;h++)t.bl_count[h]=0;for(n[t.heap[t.heap_max]*2+1]=0,f=t.heap_max+1;f<w1;f++)l=t.heap[f],h=n[n[l*2+1]*2+1]+1,h>c&&(h=c,p++),n[l*2+1]=h,!(l>i)&&(t.bl_count[h]++,u=0,l>=a&&(u=o[l-a]),g=n[l*2],t.opt_len+=g*(h+u),s&&(t.static_len+=g*(r[l*2+1]+u)));if(p!==0){do{for(h=c-1;t.bl_count[h]===0;)h--;t.bl_count[h]--,t.bl_count[h+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(h=c;h!==0;h--)for(l=t.bl_count[h];l!==0;)d=t.heap[--f],!(d>i)&&(n[d*2+1]!==h&&(t.opt_len+=(h-n[d*2+1])*n[d*2],n[d*2+1]=h),l--)}},I1=(t,e,n)=>{const i=new Array(Dr+1);let r=0,s,o;for(s=1;s<=Dr;s++)r=r+n[s-1]<<1,i[s]=r;for(o=0;o<=e;o++){let a=t[o*2+1];a!==0&&(t[o*2]=D1(i[a]++,a))}},K3=()=>{let t,e,n,i,r;const s=new Array(Dr+1);for(n=0,i=0;i<Rl-1;i++)for(Fl[i]=n,t=0;t<1<<Ll[i];t++)Io[n++]=i;for(Io[n-1]=i,r=0,i=0;i<16;i++)for(w0[i]=r,t=0;t<1<<y0[i];t++)Do[r++]=i;for(r>>=7;i<vs;i++)for(w0[i]=r<<7,t=0;t<1<<y0[i]-7;t++)Do[256+r++]=i;for(e=0;e<=Dr;e++)s[e]=0;for(t=0;t<=143;)Oi[t*2+1]=8,t++,s[8]++;for(;t<=255;)Oi[t*2+1]=9,t++,s[9]++;for(;t<=279;)Oi[t*2+1]=7,t++,s[7]++;for(;t<=287;)Oi[t*2+1]=8,t++,s[8]++;for(I1(Oi,Eo+1,s),t=0;t<vs;t++)jo[t*2+1]=5,jo[t*2]=D1(t,5);v1=new Nl(Oi,Ll,Ao+1,Eo,Dr),A1=new Nl(jo,y0,0,vs,Dr),E1=new Nl(new Array(0),G3,0,Ml,$3)},S1=t=>{let e;for(e=0;e<Eo;e++)t.dyn_ltree[e*2]=0;for(e=0;e<vs;e++)t.dyn_dtree[e*2]=0;for(e=0;e<Ml;e++)t.bl_tree[e*2]=0;t.dyn_ltree[Tl*2]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},C1=t=>{t.bi_valid>8?So(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},R1=(t,e,n,i)=>{const r=e*2,s=n*2;return t[r]<t[s]||t[r]===t[s]&&i[e]<=i[n]},Yl=(t,e,n)=>{const i=t.heap[n];let r=n<<1;for(;r<=t.heap_len&&(r<t.heap_len&&R1(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!R1(e,i,t.heap[r],t.depth));)t.heap[n]=t.heap[r],n=r,r<<=1;t.heap[n]=i},M1=(t,e,n)=>{let i,r,s=0,o,a;if(t.sym_next!==0)do i=t.pending_buf[t.sym_buf+s++]&255,i+=(t.pending_buf[t.sym_buf+s++]&255)<<8,r=t.pending_buf[t.sym_buf+s++],i===0?ii(t,r,e):(o=Io[r],ii(t,o+Ao+1,e),a=Ll[o],a!==0&&(r-=Fl[o],fa(t,r,a)),i--,o=j1(i),ii(t,o,n),a=y0[o],a!==0&&(i-=w0[o],fa(t,i,a)));while(s<t.sym_next);ii(t,Tl,e)},Hl=(t,e)=>{const n=e.dyn_tree,i=e.stat_desc.static_tree,r=e.stat_desc.has_stree,s=e.stat_desc.elems;let o,a,c=-1,f;for(t.heap_len=0,t.heap_max=w1,o=0;o<s;o++)n[o*2]!==0?(t.heap[++t.heap_len]=c=o,t.depth[o]=0):n[o*2+1]=0;for(;t.heap_len<2;)f=t.heap[++t.heap_len]=c<2?++c:0,n[f*2]=1,t.depth[f]=0,t.opt_len--,r&&(t.static_len-=i[f*2+1]);for(e.max_code=c,o=t.heap_len>>1;o>=1;o--)Yl(t,n,o);f=s;do o=t.heap[1],t.heap[1]=t.heap[t.heap_len--],Yl(t,n,1),a=t.heap[1],t.heap[--t.heap_max]=o,t.heap[--t.heap_max]=a,n[f*2]=n[o*2]+n[a*2],t.depth[f]=(t.depth[o]>=t.depth[a]?t.depth[o]:t.depth[a])+1,n[o*2+1]=n[a*2+1]=f,t.heap[1]=f++,Yl(t,n,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],V3(t,e),I1(n,c,t.bl_count)},U1=(t,e,n)=>{let i,r=-1,s,o=e[0*2+1],a=0,c=7,f=4;for(o===0&&(c=138,f=3),e[(n+1)*2+1]=65535,i=0;i<=n;i++)s=o,o=e[(i+1)*2+1],!(++a<c&&s===o)&&(a<f?t.bl_tree[s*2]+=a:s!==0?(s!==r&&t.bl_tree[s*2]++,t.bl_tree[_1*2]++):a<=10?t.bl_tree[O1*2]++:t.bl_tree[k1*2]++,a=0,r=s,o===0?(c=138,f=3):s===o?(c=6,f=3):(c=7,f=4))},T1=(t,e,n)=>{let i,r=-1,s,o=e[0*2+1],a=0,c=7,f=4;for(o===0&&(c=138,f=3),i=0;i<=n;i++)if(s=o,o=e[(i+1)*2+1],!(++a<c&&s===o)){if(a<f)do ii(t,s,t.bl_tree);while(--a!==0);else s!==0?(s!==r&&(ii(t,s,t.bl_tree),a--),ii(t,_1,t.bl_tree),fa(t,a-3,2)):a<=10?(ii(t,O1,t.bl_tree),fa(t,a-3,3)):(ii(t,k1,t.bl_tree),fa(t,a-11,7));a=0,r=s,o===0?(c=138,f=3):s===o?(c=6,f=3):(c=7,f=4)}},Q3=t=>{let e;for(U1(t,t.dyn_ltree,t.l_desc.max_code),U1(t,t.dyn_dtree,t.d_desc.max_code),Hl(t,t.bl_desc),e=Ml-1;e>=3&&t.bl_tree[P1[e]*2+1]===0;e--);return t.opt_len+=3*(e+1)+5+5+4,e},J3=(t,e,n,i)=>{let r;for(fa(t,e-257,5),fa(t,n-1,5),fa(t,i-4,4),r=0;r<i;r++)fa(t,t.bl_tree[P1[r]*2+1],3);T1(t,t.dyn_ltree,e-1),T1(t,t.dyn_dtree,n-1)},e8=t=>{let e=4093624447,n;for(n=0;n<=31;n++,e>>>=1)if(e&1&&t.dyn_ltree[n*2]!==0)return m1;if(t.dyn_ltree[9*2]!==0||t.dyn_ltree[10*2]!==0||t.dyn_ltree[13*2]!==0)return x1;for(n=32;n<Ao;n++)if(t.dyn_ltree[n*2]!==0)return x1;return m1};let L1=!1;const t8=t=>{L1||(K3(),L1=!0),t.l_desc=new Bl(t.dyn_ltree,v1),t.d_desc=new Bl(t.dyn_dtree,A1),t.bl_desc=new Bl(t.bl_tree,E1),t.bi_buf=0,t.bi_valid=0,S1(t)},F1=(t,e,n,i)=>{fa(t,(H3<<1)+(i?1:0),3),C1(t),So(t,n),So(t,~n),n&&t.pending_buf.set(t.window.subarray(e,e+n),t.pending),t.pending+=n},n8=t=>{fa(t,y1<<1,3),ii(t,Tl,Oi),W3(t)},a8=(t,e,n,i)=>{let r,s,o=0;t.level>0?(t.strm.data_type===Y3&&(t.strm.data_type=e8(t)),Hl(t,t.l_desc),Hl(t,t.d_desc),o=Q3(t),r=t.opt_len+3+7>>>3,s=t.static_len+3+7>>>3,s<=r&&(r=s)):r=s=n+5,n+4<=r&&e!==-1?F1(t,e,n,i):t.strategy===B3||s===r?(fa(t,(y1<<1)+(i?1:0),3),M1(t,Oi,jo)):(fa(t,(Z3<<1)+(i?1:0),3),J3(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),M1(t,t.dyn_ltree,t.dyn_dtree)),S1(t),i&&C1(t)},i8=(t,e,n)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=n,e===0?t.dyn_ltree[n*2]++:(t.matches++,e--,t.dyn_ltree[(Io[n]+Ao+1)*2]++,t.dyn_dtree[j1(e)*2]++),t.sym_next===t.sym_end);var r8=t8,s8=F1,o8=a8,c8=i8,f8=n8,l8={_tr_init:r8,_tr_stored_block:s8,_tr_flush_block:o8,_tr_tally:c8,_tr_align:f8},Co=(t,e,n,i)=>{let r=t&65535|0,s=t>>>16&65535|0,o=0;for(;n!==0;){o=n>2e3?2e3:n,n-=o;do r=r+e[i++]|0,s=s+r|0;while(--o);r%=65521,s%=65521}return r|s<<16|0};const d8=()=>{let t,e=[];for(var n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=t&1?3988292384^t>>>1:t>>>1;e[n]=t}return e},h8=new Uint32Array(d8());var wn=(t,e,n,i)=>{const r=h8,s=i+n;t^=-1;for(let o=i;o<s;o++)t=t>>>8^r[(t^e[o])&255];return t^-1},Ir={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Sr={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:u8,_tr_stored_block:Zl,_tr_flush_block:b8,_tr_tally:Ki,_tr_align:g8}=l8,{Z_NO_FLUSH:Qi,Z_PARTIAL_FLUSH:p8,Z_FULL_FLUSH:m8,Z_FINISH:Sa,Z_BLOCK:N1,Z_OK:Dn,Z_STREAM_END:B1,Z_STREAM_ERROR:ri,Z_DATA_ERROR:x8,Z_BUF_ERROR:zl,Z_DEFAULT_COMPRESSION:y8,Z_FILTERED:w8,Z_HUFFMAN_ONLY:_0,Z_RLE:_8,Z_FIXED:O8,Z_DEFAULT_STRATEGY:k8,Z_UNKNOWN:P8,Z_DEFLATED:O0}=Sr,v8=9,A8=15,E8=8,j8=29,ql=256+1+j8,D8=30,I8=19,S8=2*ql+1,C8=15,kt=3,Ji=258,si=Ji+kt+1,R8=32,As=42,$l=57,Gl=69,Xl=73,Wl=91,Vl=103,Cr=113,Ro=666,Wn=1,Es=2,Rr=3,js=4,M8=3,Mr=(t,e)=>(t.msg=Ir[e],e),Y1=t=>t*2-(t>4?9:0),er=t=>{let e=t.length;for(;--e>=0;)t[e]=0},U8=t=>{let e,n,i,r=t.w_size;e=t.hash_size,i=e;do n=t.head[--i],t.head[i]=n>=r?n-r:0;while(--e);e=r,i=e;do n=t.prev[--i],t.prev[i]=n>=r?n-r:0;while(--e)};let tr=(t,e,n)=>(e<<t.hash_shift^n)&t.hash_mask;const xa=t=>{const e=t.state;let n=e.pending;n>t.avail_out&&(n=t.avail_out),n!==0&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+n),t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,e.pending===0&&(e.pending_out=0))},ya=(t,e)=>{b8(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,xa(t.strm)},Ct=(t,e)=>{t.pending_buf[t.pending++]=e},Mo=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=e&255},Kl=(t,e,n,i)=>{let r=t.avail_in;return r>i&&(r=i),r===0?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),n),t.state.wrap===1?t.adler=Co(t.adler,e,r,n):t.state.wrap===2&&(t.adler=wn(t.adler,e,r,n)),t.next_in+=r,t.total_in+=r,r)},H1=(t,e)=>{let n=t.max_chain_length,i=t.strstart,r,s,o=t.prev_length,a=t.nice_match;const c=t.strstart>t.w_size-si?t.strstart-(t.w_size-si):0,f=t.window,l=t.w_mask,d=t.prev,h=t.strstart+Ji;let u=f[i+o-1],g=f[i+o];t.prev_length>=t.good_match&&(n>>=2),a>t.lookahead&&(a=t.lookahead);do if(r=e,!(f[r+o]!==g||f[r+o-1]!==u||f[r]!==f[i]||f[++r]!==f[i+1])){i+=2,r++;do;while(f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&i<h);if(s=Ji-(h-i),i=h-Ji,s>o){if(t.match_start=e,o=s,s>=a)break;u=f[i+o-1],g=f[i+o]}}while((e=d[e&l])>c&&--n!==0);return o<=t.lookahead?o:t.lookahead},Ds=t=>{const e=t.w_size;let n,i,r;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-si)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),U8(t),i+=e),t.strm.avail_in===0)break;if(n=Kl(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=n,t.lookahead+t.insert>=kt)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=tr(t,t.ins_h,t.window[r+1]);t.insert&&(t.ins_h=tr(t,t.ins_h,t.window[r+kt-1]),t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,t.insert--,!(t.lookahead+t.insert<kt)););}while(t.lookahead<si&&t.strm.avail_in!==0)},Z1=(t,e)=>{let n=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,i,r,s,o=0,a=t.strm.avail_in;do{if(i=65535,s=t.bi_valid+42>>3,t.strm.avail_out<s||(s=t.strm.avail_out-s,r=t.strstart-t.block_start,i>r+t.strm.avail_in&&(i=r+t.strm.avail_in),i>s&&(i=s),i<n&&(i===0&&e!==Sa||e===Qi||i!==r+t.strm.avail_in)))break;o=e===Sa&&i===r+t.strm.avail_in?1:0,Zl(t,0,0,o),t.pending_buf[t.pending-4]=i,t.pending_buf[t.pending-3]=i>>8,t.pending_buf[t.pending-2]=~i,t.pending_buf[t.pending-1]=~i>>8,xa(t.strm),r&&(r>i&&(r=i),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+r),t.strm.next_out),t.strm.next_out+=r,t.strm.avail_out-=r,t.strm.total_out+=r,t.block_start+=r,i-=r),i&&(Kl(t.strm,t.strm.output,t.strm.next_out,i),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i)}while(o===0);return a-=t.strm.avail_in,a&&(a>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=a&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-a,t.strm.next_in),t.strstart),t.strstart+=a,t.insert+=a>t.w_size-t.insert?t.w_size-t.insert:a),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),o?js:e!==Qi&&e!==Sa&&t.strm.avail_in===0&&t.strstart===t.block_start?Es:(s=t.window_size-t.strstart,t.strm.avail_in>s&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,s+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),s>t.strm.avail_in&&(s=t.strm.avail_in),s&&(Kl(t.strm,t.window,t.strstart,s),t.strstart+=s,t.insert+=s>t.w_size-t.insert?t.w_size-t.insert:s),t.high_water<t.strstart&&(t.high_water=t.strstart),s=t.bi_valid+42>>3,s=t.pending_buf_size-s>65535?65535:t.pending_buf_size-s,n=s>t.w_size?t.w_size:s,r=t.strstart-t.block_start,(r>=n||(r||e===Sa)&&e!==Qi&&t.strm.avail_in===0&&r<=s)&&(i=r>s?s:r,o=e===Sa&&t.strm.avail_in===0&&i===r?1:0,Zl(t,t.block_start,i,o),t.block_start+=i,xa(t.strm)),o?Rr:Wn)},Ql=(t,e)=>{let n,i;for(;;){if(t.lookahead<si){if(Ds(t),t.lookahead<si&&e===Qi)return Wn;if(t.lookahead===0)break}if(n=0,t.lookahead>=kt&&(t.ins_h=tr(t,t.ins_h,t.window[t.strstart+kt-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),n!==0&&t.strstart-n<=t.w_size-si&&(t.match_length=H1(t,n)),t.match_length>=kt)if(i=Ki(t,t.strstart-t.match_start,t.match_length-kt),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=kt){t.match_length--;do t.strstart++,t.ins_h=tr(t,t.ins_h,t.window[t.strstart+kt-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(--t.match_length!==0);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=tr(t,t.ins_h,t.window[t.strstart+1]);else i=Ki(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ya(t,!1),t.strm.avail_out===0))return Wn}return t.insert=t.strstart<kt-1?t.strstart:kt-1,e===Sa?(ya(t,!0),t.strm.avail_out===0?Rr:js):t.sym_next&&(ya(t,!1),t.strm.avail_out===0)?Wn:Es},Is=(t,e)=>{let n,i,r;for(;;){if(t.lookahead<si){if(Ds(t),t.lookahead<si&&e===Qi)return Wn;if(t.lookahead===0)break}if(n=0,t.lookahead>=kt&&(t.ins_h=tr(t,t.ins_h,t.window[t.strstart+kt-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=kt-1,n!==0&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-si&&(t.match_length=H1(t,n),t.match_length<=5&&(t.strategy===w8||t.match_length===kt&&t.strstart-t.match_start>4096)&&(t.match_length=kt-1)),t.prev_length>=kt&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-kt,i=Ki(t,t.strstart-1-t.prev_match,t.prev_length-kt),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=r&&(t.ins_h=tr(t,t.ins_h,t.window[t.strstart+kt-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(--t.prev_length!==0);if(t.match_available=0,t.match_length=kt-1,t.strstart++,i&&(ya(t,!1),t.strm.avail_out===0))return Wn}else if(t.match_available){if(i=Ki(t,0,t.window[t.strstart-1]),i&&ya(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return Wn}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=Ki(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<kt-1?t.strstart:kt-1,e===Sa?(ya(t,!0),t.strm.avail_out===0?Rr:js):t.sym_next&&(ya(t,!1),t.strm.avail_out===0)?Wn:Es},T8=(t,e)=>{let n,i,r,s;const o=t.window;for(;;){if(t.lookahead<=Ji){if(Ds(t),t.lookahead<=Ji&&e===Qi)return Wn;if(t.lookahead===0)break}if(t.match_length=0,t.lookahead>=kt&&t.strstart>0&&(r=t.strstart-1,i=o[r],i===o[++r]&&i===o[++r]&&i===o[++r])){s=t.strstart+Ji;do;while(i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&r<s);t.match_length=Ji-(s-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=kt?(n=Ki(t,1,t.match_length-kt),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=Ki(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(ya(t,!1),t.strm.avail_out===0))return Wn}return t.insert=0,e===Sa?(ya(t,!0),t.strm.avail_out===0?Rr:js):t.sym_next&&(ya(t,!1),t.strm.avail_out===0)?Wn:Es},L8=(t,e)=>{let n;for(;;){if(t.lookahead===0&&(Ds(t),t.lookahead===0)){if(e===Qi)return Wn;break}if(t.match_length=0,n=Ki(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(ya(t,!1),t.strm.avail_out===0))return Wn}return t.insert=0,e===Sa?(ya(t,!0),t.strm.avail_out===0?Rr:js):t.sym_next&&(ya(t,!1),t.strm.avail_out===0)?Wn:Es};function oi(t,e,n,i,r){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=i,this.func=r}const Uo=[new oi(0,0,0,0,Z1),new oi(4,4,8,4,Ql),new oi(4,5,16,8,Ql),new oi(4,6,32,32,Ql),new oi(4,4,16,16,Is),new oi(8,16,32,32,Is),new oi(8,16,128,128,Is),new oi(8,32,128,256,Is),new oi(32,128,258,1024,Is),new oi(32,258,258,4096,Is)],F8=t=>{t.window_size=2*t.w_size,er(t.head),t.max_lazy_match=Uo[t.level].max_lazy,t.good_match=Uo[t.level].good_length,t.nice_match=Uo[t.level].nice_length,t.max_chain_length=Uo[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=kt-1,t.match_available=0,t.ins_h=0};function N8(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=O0,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(S8*2),this.dyn_dtree=new Uint16Array((2*D8+1)*2),this.bl_tree=new Uint16Array((2*I8+1)*2),er(this.dyn_ltree),er(this.dyn_dtree),er(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(C8+1),this.heap=new Uint16Array(2*ql+1),er(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*ql+1),er(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const To=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.status!==As&&e.status!==$l&&e.status!==Gl&&e.status!==Xl&&e.status!==Wl&&e.status!==Vl&&e.status!==Cr&&e.status!==Ro?1:0},z1=t=>{if(To(t))return Mr(t,ri);t.total_in=t.total_out=0,t.data_type=P8;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap===2?$l:e.wrap?As:Cr,t.adler=e.wrap===2?0:1,e.last_flush=-2,u8(e),Dn},q1=t=>{const e=z1(t);return e===Dn&&F8(t.state),e},B8=(t,e)=>To(t)||t.state.wrap!==2?ri:(t.state.gzhead=e,Dn),$1=(t,e,n,i,r,s)=>{if(!t)return ri;let o=1;if(e===y8&&(e=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),r<1||r>v8||n!==O0||i<8||i>15||e<0||e>9||s<0||s>O8||i===8&&o!==1)return Mr(t,ri);i===8&&(i=9);const a=new N8;return t.state=a,a.strm=t,a.status=As,a.wrap=o,a.gzhead=null,a.w_bits=i,a.w_size=1<<a.w_bits,a.w_mask=a.w_size-1,a.hash_bits=r+7,a.hash_size=1<<a.hash_bits,a.hash_mask=a.hash_size-1,a.hash_shift=~~((a.hash_bits+kt-1)/kt),a.window=new Uint8Array(a.w_size*2),a.head=new Uint16Array(a.hash_size),a.prev=new Uint16Array(a.w_size),a.lit_bufsize=1<<r+6,a.pending_buf_size=a.lit_bufsize*4,a.pending_buf=new Uint8Array(a.pending_buf_size),a.sym_buf=a.lit_bufsize,a.sym_end=(a.lit_bufsize-1)*3,a.level=e,a.strategy=s,a.method=n,q1(t)},Y8=(t,e)=>$1(t,e,O0,A8,E8,k8),H8=(t,e)=>{if(To(t)||e>N1||e<0)return t?Mr(t,ri):ri;const n=t.state;if(!t.output||t.avail_in!==0&&!t.input||n.status===Ro&&e!==Sa)return Mr(t,t.avail_out===0?zl:ri);const i=n.last_flush;if(n.last_flush=e,n.pending!==0){if(xa(t),t.avail_out===0)return n.last_flush=-1,Dn}else if(t.avail_in===0&&Y1(e)<=Y1(i)&&e!==Sa)return Mr(t,zl);if(n.status===Ro&&t.avail_in!==0)return Mr(t,zl);if(n.status===As&&n.wrap===0&&(n.status=Cr),n.status===As){let r=O0+(n.w_bits-8<<4)<<8,s=-1;if(n.strategy>=_0||n.level<2?s=0:n.level<6?s=1:n.level===6?s=2:s=3,r|=s<<6,n.strstart!==0&&(r|=R8),r+=31-r%31,Mo(n,r),n.strstart!==0&&(Mo(n,t.adler>>>16),Mo(n,t.adler&65535)),t.adler=1,n.status=Cr,xa(t),n.pending!==0)return n.last_flush=-1,Dn}if(n.status===$l){if(t.adler=0,Ct(n,31),Ct(n,139),Ct(n,8),n.gzhead)Ct(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Ct(n,n.gzhead.time&255),Ct(n,n.gzhead.time>>8&255),Ct(n,n.gzhead.time>>16&255),Ct(n,n.gzhead.time>>24&255),Ct(n,n.level===9?2:n.strategy>=_0||n.level<2?4:0),Ct(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(Ct(n,n.gzhead.extra.length&255),Ct(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=wn(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=Gl;else if(Ct(n,0),Ct(n,0),Ct(n,0),Ct(n,0),Ct(n,0),Ct(n,n.level===9?2:n.strategy>=_0||n.level<2?4:0),Ct(n,M8),n.status=Cr,xa(t),n.pending!==0)return n.last_flush=-1,Dn}if(n.status===Gl){if(n.gzhead.extra){let r=n.pending,s=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+s>n.pending_buf_size;){let a=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>r&&(t.adler=wn(t.adler,n.pending_buf,n.pending-r,r)),n.gzindex+=a,xa(t),n.pending!==0)return n.last_flush=-1,Dn;r=0,s-=a}let o=new Uint8Array(n.gzhead.extra);n.pending_buf.set(o.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending+=s,n.gzhead.hcrc&&n.pending>r&&(t.adler=wn(t.adler,n.pending_buf,n.pending-r,r)),n.gzindex=0}n.status=Xl}if(n.status===Xl){if(n.gzhead.name){let r=n.pending,s;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(t.adler=wn(t.adler,n.pending_buf,n.pending-r,r)),xa(t),n.pending!==0)return n.last_flush=-1,Dn;r=0}n.gzindex<n.gzhead.name.length?s=n.gzhead.name.charCodeAt(n.gzindex++)&255:s=0,Ct(n,s)}while(s!==0);n.gzhead.hcrc&&n.pending>r&&(t.adler=wn(t.adler,n.pending_buf,n.pending-r,r)),n.gzindex=0}n.status=Wl}if(n.status===Wl){if(n.gzhead.comment){let r=n.pending,s;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(t.adler=wn(t.adler,n.pending_buf,n.pending-r,r)),xa(t),n.pending!==0)return n.last_flush=-1,Dn;r=0}n.gzindex<n.gzhead.comment.length?s=n.gzhead.comment.charCodeAt(n.gzindex++)&255:s=0,Ct(n,s)}while(s!==0);n.gzhead.hcrc&&n.pending>r&&(t.adler=wn(t.adler,n.pending_buf,n.pending-r,r))}n.status=Vl}if(n.status===Vl){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(xa(t),n.pending!==0))return n.last_flush=-1,Dn;Ct(n,t.adler&255),Ct(n,t.adler>>8&255),t.adler=0}if(n.status=Cr,xa(t),n.pending!==0)return n.last_flush=-1,Dn}if(t.avail_in!==0||n.lookahead!==0||e!==Qi&&n.status!==Ro){let r=n.level===0?Z1(n,e):n.strategy===_0?L8(n,e):n.strategy===_8?T8(n,e):Uo[n.level].func(n,e);if((r===Rr||r===js)&&(n.status=Ro),r===Wn||r===Rr)return t.avail_out===0&&(n.last_flush=-1),Dn;if(r===Es&&(e===p8?g8(n):e!==N1&&(Zl(n,0,0,!1),e===m8&&(er(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),xa(t),t.avail_out===0))return n.last_flush=-1,Dn}return e!==Sa?Dn:n.wrap<=0?B1:(n.wrap===2?(Ct(n,t.adler&255),Ct(n,t.adler>>8&255),Ct(n,t.adler>>16&255),Ct(n,t.adler>>24&255),Ct(n,t.total_in&255),Ct(n,t.total_in>>8&255),Ct(n,t.total_in>>16&255),Ct(n,t.total_in>>24&255)):(Mo(n,t.adler>>>16),Mo(n,t.adler&65535)),xa(t),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?Dn:B1)},Z8=t=>{if(To(t))return ri;const e=t.state.status;return t.state=null,e===Cr?Mr(t,x8):Dn},z8=(t,e)=>{let n=e.length;if(To(t))return ri;const i=t.state,r=i.wrap;if(r===2||r===1&&i.status!==As||i.lookahead)return ri;if(r===1&&(t.adler=Co(t.adler,e,n,0)),i.wrap=0,n>=i.w_size){r===0&&(er(i.head),i.strstart=0,i.block_start=0,i.insert=0);let c=new Uint8Array(i.w_size);c.set(e.subarray(n-i.w_size,n),0),e=c,n=i.w_size}const s=t.avail_in,o=t.next_in,a=t.input;for(t.avail_in=n,t.next_in=0,t.input=e,Ds(i);i.lookahead>=kt;){let c=i.strstart,f=i.lookahead-(kt-1);do i.ins_h=tr(i,i.ins_h,i.window[c+kt-1]),i.prev[c&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=c,c++;while(--f);i.strstart=c,i.lookahead=kt-1,Ds(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=kt-1,i.match_available=0,t.next_in=o,t.input=a,t.avail_in=s,i.wrap=r,Dn};var q8=Y8,$8=$1,G8=q1,X8=z1,W8=B8,V8=H8,K8=Z8,Q8=z8,J8="pako deflate (from Nodeca project)",Lo={deflateInit:q8,deflateInit2:$8,deflateReset:G8,deflateResetKeep:X8,deflateSetHeader:W8,deflate:V8,deflateEnd:K8,deflateSetDictionary:Q8,deflateInfo:J8};const e7=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var t7=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const n=e.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const i in n)e7(n,i)&&(t[i]=n[i])}}return t},n7=t=>{let e=0;for(let i=0,r=t.length;i<r;i++)e+=t[i].length;const n=new Uint8Array(e);for(let i=0,r=0,s=t.length;i<s;i++){let o=t[i];n.set(o,r),r+=o.length}return n},k0={assign:t7,flattenChunks:n7};let G1=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{G1=!1}const Fo=new Uint8Array(256);for(let t=0;t<256;t++)Fo[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Fo[254]=Fo[254]=1;var a7=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let e,n,i,r,s,o=t.length,a=0;for(r=0;r<o;r++)n=t.charCodeAt(r),(n&64512)===55296&&r+1<o&&(i=t.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),a+=n<128?1:n<2048?2:n<65536?3:4;for(e=new Uint8Array(a),s=0,r=0;s<a;r++)n=t.charCodeAt(r),(n&64512)===55296&&r+1<o&&(i=t.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?e[s++]=n:n<2048?(e[s++]=192|n>>>6,e[s++]=128|n&63):n<65536?(e[s++]=224|n>>>12,e[s++]=128|n>>>6&63,e[s++]=128|n&63):(e[s++]=240|n>>>18,e[s++]=128|n>>>12&63,e[s++]=128|n>>>6&63,e[s++]=128|n&63);return e};const i7=(t,e)=>{if(e<65534&&t.subarray&&G1)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let n="";for(let i=0;i<e;i++)n+=String.fromCharCode(t[i]);return n};var r7=(t,e)=>{const n=e||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,e));let i,r;const s=new Array(n*2);for(r=0,i=0;i<n;){let o=t[i++];if(o<128){s[r++]=o;continue}let a=Fo[o];if(a>4){s[r++]=65533,i+=a-1;continue}for(o&=a===2?31:a===3?15:7;a>1&&i<n;)o=o<<6|t[i++]&63,a--;if(a>1){s[r++]=65533;continue}o<65536?s[r++]=o:(o-=65536,s[r++]=55296|o>>10&1023,s[r++]=56320|o&1023)}return i7(s,r)},s7=(t,e)=>{e=e||t.length,e>t.length&&(e=t.length);let n=e-1;for(;n>=0&&(t[n]&192)===128;)n--;return n<0||n===0?e:n+Fo[t[n]]>e?n:e},No={string2buf:a7,buf2string:r7,utf8border:s7};function o7(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var X1=o7;const W1=Object.prototype.toString,{Z_NO_FLUSH:c7,Z_SYNC_FLUSH:f7,Z_FULL_FLUSH:l7,Z_FINISH:d7,Z_OK:P0,Z_STREAM_END:h7,Z_DEFAULT_COMPRESSION:u7,Z_DEFAULT_STRATEGY:b7,Z_DEFLATED:g7}=Sr;function Bo(t){this.options=k0.assign({level:u7,method:g7,chunkSize:16384,windowBits:15,memLevel:8,strategy:b7},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new X1,this.strm.avail_out=0;let n=Lo.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==P0)throw new Error(Ir[n]);if(e.header&&Lo.deflateSetHeader(this.strm,e.header),e.dictionary){let i;if(typeof e.dictionary=="string"?i=No.string2buf(e.dictionary):W1.call(e.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(e.dictionary):i=e.dictionary,n=Lo.deflateSetDictionary(this.strm,i),n!==P0)throw new Error(Ir[n]);this._dict_set=!0}}Bo.prototype.push=function(t,e){const n=this.strm,i=this.options.chunkSize;let r,s;if(this.ended)return!1;for(e===~~e?s=e:s=e===!0?d7:c7,typeof t=="string"?n.input=No.string2buf(t):W1.call(t)==="[object ArrayBuffer]"?n.input=new Uint8Array(t):n.input=t,n.next_in=0,n.avail_in=n.input.length;;){if(n.avail_out===0&&(n.output=new Uint8Array(i),n.next_out=0,n.avail_out=i),(s===f7||s===l7)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(r=Lo.deflate(n,s),r===h7)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),r=Lo.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===P0;if(n.avail_out===0){this.onData(n.output);continue}if(s>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)break}return!0},Bo.prototype.onData=function(t){this.chunks.push(t)},Bo.prototype.onEnd=function(t){t===P0&&(this.result=k0.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function Jl(t,e){const n=new Bo(e);if(n.push(t,!0),n.err)throw n.msg||Ir[n.err];return n.result}function p7(t,e){return e=e||{},e.raw=!0,Jl(t,e)}function m7(t,e){return e=e||{},e.gzip=!0,Jl(t,e)}var x7=Bo,y7=Jl,w7=p7,_7=m7,O7=Sr,k7={Deflate:x7,deflate:y7,deflateRaw:w7,gzip:_7,constants:O7};const v0=16209,P7=16191;var v7=function(e,n){let i,r,s,o,a,c,f,l,d,h,u,g,p,x,m,w,O,k,E,D,v,S,C,R;const T=e.state;i=e.next_in,C=e.input,r=i+(e.avail_in-5),s=e.next_out,R=e.output,o=s-(n-e.avail_out),a=s+(e.avail_out-257),c=T.dmax,f=T.wsize,l=T.whave,d=T.wnext,h=T.window,u=T.hold,g=T.bits,p=T.lencode,x=T.distcode,m=(1<<T.lenbits)-1,w=(1<<T.distbits)-1;e:do{g<15&&(u+=C[i++]<<g,g+=8,u+=C[i++]<<g,g+=8),O=p[u&m];t:for(;;){if(k=O>>>24,u>>>=k,g-=k,k=O>>>16&255,k===0)R[s++]=O&65535;else if(k&16){E=O&65535,k&=15,k&&(g<k&&(u+=C[i++]<<g,g+=8),E+=u&(1<<k)-1,u>>>=k,g-=k),g<15&&(u+=C[i++]<<g,g+=8,u+=C[i++]<<g,g+=8),O=x[u&w];n:for(;;){if(k=O>>>24,u>>>=k,g-=k,k=O>>>16&255,k&16){if(D=O&65535,k&=15,g<k&&(u+=C[i++]<<g,g+=8,g<k&&(u+=C[i++]<<g,g+=8)),D+=u&(1<<k)-1,D>c){e.msg="invalid distance too far back",T.mode=v0;break e}if(u>>>=k,g-=k,k=s-o,D>k){if(k=D-k,k>l&&T.sane){e.msg="invalid distance too far back",T.mode=v0;break e}if(v=0,S=h,d===0){if(v+=f-k,k<E){E-=k;do R[s++]=h[v++];while(--k);v=s-D,S=R}}else if(d<k){if(v+=f+d-k,k-=d,k<E){E-=k;do R[s++]=h[v++];while(--k);if(v=0,d<E){k=d,E-=k;do R[s++]=h[v++];while(--k);v=s-D,S=R}}}else if(v+=d-k,k<E){E-=k;do R[s++]=h[v++];while(--k);v=s-D,S=R}for(;E>2;)R[s++]=S[v++],R[s++]=S[v++],R[s++]=S[v++],E-=3;E&&(R[s++]=S[v++],E>1&&(R[s++]=S[v++]))}else{v=s-D;do R[s++]=R[v++],R[s++]=R[v++],R[s++]=R[v++],E-=3;while(E>2);E&&(R[s++]=R[v++],E>1&&(R[s++]=R[v++]))}}else if(k&64){e.msg="invalid distance code",T.mode=v0;break e}else{O=x[(O&65535)+(u&(1<<k)-1)];continue n}break}}else if(k&64)if(k&32){T.mode=P7;break e}else{e.msg="invalid literal/length code",T.mode=v0;break e}else{O=p[(O&65535)+(u&(1<<k)-1)];continue t}break}}while(i<r&&s<a);E=g>>3,i-=E,g-=E<<3,u&=(1<<g)-1,e.next_in=i,e.next_out=s,e.avail_in=i<r?5+(r-i):5-(i-r),e.avail_out=s<a?257+(a-s):257-(s-a),T.hold=u,T.bits=g};const Ss=15,V1=852,K1=592,Q1=0,ed=1,J1=2,A7=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),E7=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),j7=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),D7=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var Yo=(t,e,n,i,r,s,o,a)=>{const c=a.bits;let f=0,l=0,d=0,h=0,u=0,g=0,p=0,x=0,m=0,w=0,O,k,E,D,v,S=null,C;const R=new Uint16Array(Ss+1),T=new Uint16Array(Ss+1);let H=null,$,W,Y;for(f=0;f<=Ss;f++)R[f]=0;for(l=0;l<i;l++)R[e[n+l]]++;for(u=c,h=Ss;h>=1&&R[h]===0;h--);if(u>h&&(u=h),h===0)return r[s++]=1<<24|64<<16|0,r[s++]=1<<24|64<<16|0,a.bits=1,0;for(d=1;d<h&&R[d]===0;d++);for(u<d&&(u=d),x=1,f=1;f<=Ss;f++)if(x<<=1,x-=R[f],x<0)return-1;if(x>0&&(t===Q1||h!==1))return-1;for(T[1]=0,f=1;f<Ss;f++)T[f+1]=T[f]+R[f];for(l=0;l<i;l++)e[n+l]!==0&&(o[T[e[n+l]]++]=l);if(t===Q1?(S=H=o,C=20):t===ed?(S=A7,H=E7,C=257):(S=j7,H=D7,C=0),w=0,l=0,f=d,v=s,g=u,p=0,E=-1,m=1<<u,D=m-1,t===ed&&m>V1||t===J1&&m>K1)return 1;for(;;){$=f-p,o[l]+1<C?(W=0,Y=o[l]):o[l]>=C?(W=H[o[l]-C],Y=S[o[l]-C]):(W=32+64,Y=0),O=1<<f-p,k=1<<g,d=k;do k-=O,r[v+(w>>p)+k]=$<<24|W<<16|Y|0;while(k!==0);for(O=1<<f-1;w&O;)O>>=1;if(O!==0?(w&=O-1,w+=O):w=0,l++,--R[f]===0){if(f===h)break;f=e[n+o[l]]}if(f>u&&(w&D)!==E){for(p===0&&(p=u),v+=d,g=f-p,x=1<<g;g+p<h&&(x-=R[g+p],!(x<=0));)g++,x<<=1;if(m+=1<<g,t===ed&&m>V1||t===J1&&m>K1)return 1;E=w&D,r[E]=u<<24|g<<16|v-s|0}}return w!==0&&(r[v+w]=f-p<<24|64<<16|0),a.bits=u,0};const I7=0,eb=1,tb=2,{Z_FINISH:nb,Z_BLOCK:S7,Z_TREES:A0,Z_OK:Ur,Z_STREAM_END:C7,Z_NEED_DICT:R7,Z_STREAM_ERROR:Ca,Z_DATA_ERROR:ab,Z_MEM_ERROR:ib,Z_BUF_ERROR:M7,Z_DEFLATED:rb}=Sr,E0=16180,sb=16181,ob=16182,cb=16183,fb=16184,lb=16185,db=16186,hb=16187,ub=16188,bb=16189,j0=16190,ki=16191,td=16192,gb=16193,nd=16194,pb=16195,mb=16196,xb=16197,yb=16198,D0=16199,I0=16200,wb=16201,_b=16202,Ob=16203,kb=16204,Pb=16205,ad=16206,vb=16207,Ab=16208,Zt=16209,Eb=16210,jb=16211,U7=852,T7=592,L7=15,Db=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function F7(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Tr=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<E0||e.mode>jb?1:0},Ib=t=>{if(Tr(t))return Ca;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=e.wrap&1),e.mode=E0,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(U7),e.distcode=e.distdyn=new Int32Array(T7),e.sane=1,e.back=-1,Ur},Sb=t=>{if(Tr(t))return Ca;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,Ib(t)},Cb=(t,e)=>{let n;if(Tr(t))return Ca;const i=t.state;return e<0?(n=0,e=-e):(n=(e>>4)+5,e<48&&(e&=15)),e&&(e<8||e>15)?Ca:(i.window!==null&&i.wbits!==e&&(i.window=null),i.wrap=n,i.wbits=e,Sb(t))},Rb=(t,e)=>{if(!t)return Ca;const n=new F7;t.state=n,n.strm=t,n.window=null,n.mode=E0;const i=Cb(t,e);return i!==Ur&&(t.state=null),i},N7=t=>Rb(t,L7);let Mb=!0,id,rd;const B7=t=>{if(Mb){id=new Int32Array(512),rd=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(Yo(eb,t.lens,0,288,id,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;Yo(tb,t.lens,0,32,rd,0,t.work,{bits:5}),Mb=!1}t.lencode=id,t.lenbits=9,t.distcode=rd,t.distbits=5},Ub=(t,e,n,i)=>{let r;const s=t.state;return s.window===null&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(n-s.wsize,n),0),s.wnext=0,s.whave=s.wsize):(r=s.wsize-s.wnext,r>i&&(r=i),s.window.set(e.subarray(n-i,n-i+r),s.wnext),i-=r,i?(s.window.set(e.subarray(n-i,n),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=r,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=r))),0},Y7=(t,e)=>{let n,i,r,s,o,a,c,f,l,d,h,u,g,p,x=0,m,w,O,k,E,D,v,S;const C=new Uint8Array(4);let R,T;const H=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Tr(t)||!t.output||!t.input&&t.avail_in!==0)return Ca;n=t.state,n.mode===ki&&(n.mode=td),o=t.next_out,r=t.output,c=t.avail_out,s=t.next_in,i=t.input,a=t.avail_in,f=n.hold,l=n.bits,d=a,h=c,S=Ur;e:for(;;)switch(n.mode){case E0:if(n.wrap===0){n.mode=td;break}for(;l<16;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if(n.wrap&2&&f===35615){n.wbits===0&&(n.wbits=15),n.check=0,C[0]=f&255,C[1]=f>>>8&255,n.check=wn(n.check,C,2,0),f=0,l=0,n.mode=sb;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((f&255)<<8)+(f>>8))%31){t.msg="incorrect header check",n.mode=Zt;break}if((f&15)!==rb){t.msg="unknown compression method",n.mode=Zt;break}if(f>>>=4,l-=4,v=(f&15)+8,n.wbits===0&&(n.wbits=v),v>15||v>n.wbits){t.msg="invalid window size",n.mode=Zt;break}n.dmax=1<<n.wbits,n.flags=0,t.adler=n.check=1,n.mode=f&512?bb:ki,f=0,l=0;break;case sb:for(;l<16;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if(n.flags=f,(n.flags&255)!==rb){t.msg="unknown compression method",n.mode=Zt;break}if(n.flags&57344){t.msg="unknown header flags set",n.mode=Zt;break}n.head&&(n.head.text=f>>8&1),n.flags&512&&n.wrap&4&&(C[0]=f&255,C[1]=f>>>8&255,n.check=wn(n.check,C,2,0)),f=0,l=0,n.mode=ob;case ob:for(;l<32;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}n.head&&(n.head.time=f),n.flags&512&&n.wrap&4&&(C[0]=f&255,C[1]=f>>>8&255,C[2]=f>>>16&255,C[3]=f>>>24&255,n.check=wn(n.check,C,4,0)),f=0,l=0,n.mode=cb;case cb:for(;l<16;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}n.head&&(n.head.xflags=f&255,n.head.os=f>>8),n.flags&512&&n.wrap&4&&(C[0]=f&255,C[1]=f>>>8&255,n.check=wn(n.check,C,2,0)),f=0,l=0,n.mode=fb;case fb:if(n.flags&1024){for(;l<16;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}n.length=f,n.head&&(n.head.extra_len=f),n.flags&512&&n.wrap&4&&(C[0]=f&255,C[1]=f>>>8&255,n.check=wn(n.check,C,2,0)),f=0,l=0}else n.head&&(n.head.extra=null);n.mode=lb;case lb:if(n.flags&1024&&(u=n.length,u>a&&(u=a),u&&(n.head&&(v=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(i.subarray(s,s+u),v)),n.flags&512&&n.wrap&4&&(n.check=wn(n.check,i,u,s)),a-=u,s+=u,n.length-=u),n.length))break e;n.length=0,n.mode=db;case db:if(n.flags&2048){if(a===0)break e;u=0;do v=i[s+u++],n.head&&v&&n.length<65536&&(n.head.name+=String.fromCharCode(v));while(v&&u<a);if(n.flags&512&&n.wrap&4&&(n.check=wn(n.check,i,u,s)),a-=u,s+=u,v)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=hb;case hb:if(n.flags&4096){if(a===0)break e;u=0;do v=i[s+u++],n.head&&v&&n.length<65536&&(n.head.comment+=String.fromCharCode(v));while(v&&u<a);if(n.flags&512&&n.wrap&4&&(n.check=wn(n.check,i,u,s)),a-=u,s+=u,v)break e}else n.head&&(n.head.comment=null);n.mode=ub;case ub:if(n.flags&512){for(;l<16;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if(n.wrap&4&&f!==(n.check&65535)){t.msg="header crc mismatch",n.mode=Zt;break}f=0,l=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=ki;break;case bb:for(;l<32;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}t.adler=n.check=Db(f),f=0,l=0,n.mode=j0;case j0:if(n.havedict===0)return t.next_out=o,t.avail_out=c,t.next_in=s,t.avail_in=a,n.hold=f,n.bits=l,R7;t.adler=n.check=1,n.mode=ki;case ki:if(e===S7||e===A0)break e;case td:if(n.last){f>>>=l&7,l-=l&7,n.mode=ad;break}for(;l<3;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}switch(n.last=f&1,f>>>=1,l-=1,f&3){case 0:n.mode=gb;break;case 1:if(B7(n),n.mode=D0,e===A0){f>>>=2,l-=2;break e}break;case 2:n.mode=mb;break;case 3:t.msg="invalid block type",n.mode=Zt}f>>>=2,l-=2;break;case gb:for(f>>>=l&7,l-=l&7;l<32;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if((f&65535)!==(f>>>16^65535)){t.msg="invalid stored block lengths",n.mode=Zt;break}if(n.length=f&65535,f=0,l=0,n.mode=nd,e===A0)break e;case nd:n.mode=pb;case pb:if(u=n.length,u){if(u>a&&(u=a),u>c&&(u=c),u===0)break e;r.set(i.subarray(s,s+u),o),a-=u,s+=u,c-=u,o+=u,n.length-=u;break}n.mode=ki;break;case mb:for(;l<14;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if(n.nlen=(f&31)+257,f>>>=5,l-=5,n.ndist=(f&31)+1,f>>>=5,l-=5,n.ncode=(f&15)+4,f>>>=4,l-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=Zt;break}n.have=0,n.mode=xb;case xb:for(;n.have<n.ncode;){for(;l<3;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}n.lens[H[n.have++]]=f&7,f>>>=3,l-=3}for(;n.have<19;)n.lens[H[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,R={bits:n.lenbits},S=Yo(I7,n.lens,0,19,n.lencode,0,n.work,R),n.lenbits=R.bits,S){t.msg="invalid code lengths set",n.mode=Zt;break}n.have=0,n.mode=yb;case yb:for(;n.have<n.nlen+n.ndist;){for(;x=n.lencode[f&(1<<n.lenbits)-1],m=x>>>24,w=x>>>16&255,O=x&65535,!(m<=l);){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if(O<16)f>>>=m,l-=m,n.lens[n.have++]=O;else{if(O===16){for(T=m+2;l<T;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if(f>>>=m,l-=m,n.have===0){t.msg="invalid bit length repeat",n.mode=Zt;break}v=n.lens[n.have-1],u=3+(f&3),f>>>=2,l-=2}else if(O===17){for(T=m+3;l<T;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}f>>>=m,l-=m,v=0,u=3+(f&7),f>>>=3,l-=3}else{for(T=m+7;l<T;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}f>>>=m,l-=m,v=0,u=11+(f&127),f>>>=7,l-=7}if(n.have+u>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=Zt;break}for(;u--;)n.lens[n.have++]=v}}if(n.mode===Zt)break;if(n.lens[256]===0){t.msg="invalid code -- missing end-of-block",n.mode=Zt;break}if(n.lenbits=9,R={bits:n.lenbits},S=Yo(eb,n.lens,0,n.nlen,n.lencode,0,n.work,R),n.lenbits=R.bits,S){t.msg="invalid literal/lengths set",n.mode=Zt;break}if(n.distbits=6,n.distcode=n.distdyn,R={bits:n.distbits},S=Yo(tb,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,R),n.distbits=R.bits,S){t.msg="invalid distances set",n.mode=Zt;break}if(n.mode=D0,e===A0)break e;case D0:n.mode=I0;case I0:if(a>=6&&c>=258){t.next_out=o,t.avail_out=c,t.next_in=s,t.avail_in=a,n.hold=f,n.bits=l,v7(t,h),o=t.next_out,r=t.output,c=t.avail_out,s=t.next_in,i=t.input,a=t.avail_in,f=n.hold,l=n.bits,n.mode===ki&&(n.back=-1);break}for(n.back=0;x=n.lencode[f&(1<<n.lenbits)-1],m=x>>>24,w=x>>>16&255,O=x&65535,!(m<=l);){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if(w&&!(w&240)){for(k=m,E=w,D=O;x=n.lencode[D+((f&(1<<k+E)-1)>>k)],m=x>>>24,w=x>>>16&255,O=x&65535,!(k+m<=l);){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}f>>>=k,l-=k,n.back+=k}if(f>>>=m,l-=m,n.back+=m,n.length=O,w===0){n.mode=Pb;break}if(w&32){n.back=-1,n.mode=ki;break}if(w&64){t.msg="invalid literal/length code",n.mode=Zt;break}n.extra=w&15,n.mode=wb;case wb:if(n.extra){for(T=n.extra;l<T;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}n.length+=f&(1<<n.extra)-1,f>>>=n.extra,l-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=_b;case _b:for(;x=n.distcode[f&(1<<n.distbits)-1],m=x>>>24,w=x>>>16&255,O=x&65535,!(m<=l);){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if(!(w&240)){for(k=m,E=w,D=O;x=n.distcode[D+((f&(1<<k+E)-1)>>k)],m=x>>>24,w=x>>>16&255,O=x&65535,!(k+m<=l);){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}f>>>=k,l-=k,n.back+=k}if(f>>>=m,l-=m,n.back+=m,w&64){t.msg="invalid distance code",n.mode=Zt;break}n.offset=O,n.extra=w&15,n.mode=Ob;case Ob:if(n.extra){for(T=n.extra;l<T;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}n.offset+=f&(1<<n.extra)-1,f>>>=n.extra,l-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=Zt;break}n.mode=kb;case kb:if(c===0)break e;if(u=h-c,n.offset>u){if(u=n.offset-u,u>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=Zt;break}u>n.wnext?(u-=n.wnext,g=n.wsize-u):g=n.wnext-u,u>n.length&&(u=n.length),p=n.window}else p=r,g=o-n.offset,u=n.length;u>c&&(u=c),c-=u,n.length-=u;do r[o++]=p[g++];while(--u);n.length===0&&(n.mode=I0);break;case Pb:if(c===0)break e;r[o++]=n.length,c--,n.mode=I0;break;case ad:if(n.wrap){for(;l<32;){if(a===0)break e;a--,f|=i[s++]<<l,l+=8}if(h-=c,t.total_out+=h,n.total+=h,n.wrap&4&&h&&(t.adler=n.check=n.flags?wn(n.check,r,h,o-h):Co(n.check,r,h,o-h)),h=c,n.wrap&4&&(n.flags?f:Db(f))!==n.check){t.msg="incorrect data check",n.mode=Zt;break}f=0,l=0}n.mode=vb;case vb:if(n.wrap&&n.flags){for(;l<32;){if(a===0)break e;a--,f+=i[s++]<<l,l+=8}if(n.wrap&4&&f!==(n.total&4294967295)){t.msg="incorrect length check",n.mode=Zt;break}f=0,l=0}n.mode=Ab;case Ab:S=C7;break e;case Zt:S=ab;break e;case Eb:return ib;case jb:default:return Ca}return t.next_out=o,t.avail_out=c,t.next_in=s,t.avail_in=a,n.hold=f,n.bits=l,(n.wsize||h!==t.avail_out&&n.mode<Zt&&(n.mode<ad||e!==nb))&&Ub(t,t.output,t.next_out,h-t.avail_out),d-=t.avail_in,h-=t.avail_out,t.total_in+=d,t.total_out+=h,n.total+=h,n.wrap&4&&h&&(t.adler=n.check=n.flags?wn(n.check,r,h,t.next_out-h):Co(n.check,r,h,t.next_out-h)),t.data_type=n.bits+(n.last?64:0)+(n.mode===ki?128:0)+(n.mode===D0||n.mode===nd?256:0),(d===0&&h===0||e===nb)&&S===Ur&&(S=M7),S},H7=t=>{if(Tr(t))return Ca;let e=t.state;return e.window&&(e.window=null),t.state=null,Ur},Z7=(t,e)=>{if(Tr(t))return Ca;const n=t.state;return n.wrap&2?(n.head=e,e.done=!1,Ur):Ca},z7=(t,e)=>{const n=e.length;let i,r,s;return Tr(t)||(i=t.state,i.wrap!==0&&i.mode!==j0)?Ca:i.mode===j0&&(r=1,r=Co(r,e,n,0),r!==i.check)?ab:(s=Ub(t,e,n,n),s?(i.mode=Eb,ib):(i.havedict=1,Ur))};var q7=Sb,$7=Cb,G7=Ib,X7=N7,W7=Rb,V7=Y7,K7=H7,Q7=Z7,J7=z7,e5="pako inflate (from Nodeca project)",Pi={inflateReset:q7,inflateReset2:$7,inflateResetKeep:G7,inflateInit:X7,inflateInit2:W7,inflate:V7,inflateEnd:K7,inflateGetHeader:Q7,inflateSetDictionary:J7,inflateInfo:e5};function t5(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var n5=t5;const Tb=Object.prototype.toString,{Z_NO_FLUSH:a5,Z_FINISH:i5,Z_OK:Ho,Z_STREAM_END:sd,Z_NEED_DICT:od,Z_STREAM_ERROR:r5,Z_DATA_ERROR:Lb,Z_MEM_ERROR:s5}=Sr;function Zo(t){this.options=k0.assign({chunkSize:1024*64,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,e.windowBits===0&&(e.windowBits=-15)),e.windowBits>=0&&e.windowBits<16&&!(t&&t.windowBits)&&(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(e.windowBits&15||(e.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new X1,this.strm.avail_out=0;let n=Pi.inflateInit2(this.strm,e.windowBits);if(n!==Ho)throw new Error(Ir[n]);if(this.header=new n5,Pi.inflateGetHeader(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=No.string2buf(e.dictionary):Tb.call(e.dictionary)==="[object ArrayBuffer]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(n=Pi.inflateSetDictionary(this.strm,e.dictionary),n!==Ho)))throw new Error(Ir[n])}Zo.prototype.push=function(t,e){const n=this.strm,i=this.options.chunkSize,r=this.options.dictionary;let s,o,a;if(this.ended)return!1;for(e===~~e?o=e:o=e===!0?i5:a5,Tb.call(t)==="[object ArrayBuffer]"?n.input=new Uint8Array(t):n.input=t,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(i),n.next_out=0,n.avail_out=i),s=Pi.inflate(n,o),s===od&&r&&(s=Pi.inflateSetDictionary(n,r),s===Ho?s=Pi.inflate(n,o):s===Lb&&(s=od));n.avail_in>0&&s===sd&&n.state.wrap>0&&t[n.next_in]!==0;)Pi.inflateReset(n),s=Pi.inflate(n,o);switch(s){case r5:case Lb:case od:case s5:return this.onEnd(s),this.ended=!0,!1}if(a=n.avail_out,n.next_out&&(n.avail_out===0||s===sd))if(this.options.to==="string"){let c=No.utf8border(n.output,n.next_out),f=n.next_out-c,l=No.buf2string(n.output,c);n.next_out=f,n.avail_out=i-f,f&&n.output.set(n.output.subarray(c,c+f),0),this.onData(l)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(s===Ho&&a===0)){if(s===sd)return s=Pi.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(n.avail_in===0)break}}return!0},Zo.prototype.onData=function(t){this.chunks.push(t)},Zo.prototype.onEnd=function(t){t===Ho&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=k0.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function cd(t,e){const n=new Zo(e);if(n.push(t),n.err)throw n.msg||Ir[n.err];return n.result}function o5(t,e){return e=e||{},e.raw=!0,cd(t,e)}var c5=Zo,f5=cd,l5=o5,d5=cd,h5=Sr,u5={Inflate:c5,inflate:f5,inflateRaw:l5,ungzip:d5,constants:h5};const{Deflate:b5,deflate:g5,deflateRaw:p5,gzip:m5}=k7,{Inflate:x5,inflate:y5,inflateRaw:w5,ungzip:_5}=u5;var O5=b5,k5=g5,P5=p5,v5=m5,A5=x5,E5=y5,j5=w5,D5=_5,I5=Sr,S5={Deflate:O5,deflate:k5,deflateRaw:P5,gzip:v5,Inflate:A5,inflate:E5,inflateRaw:j5,ungzip:D5,constants:I5},Fb={exports:{}};(function(t,e){var n,i=(n=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0,typeof __filename<"u"&&(n=n||__filename),function(r){var s,o,a=(r=r||{})!==void 0?r:{};a.ready=new Promise(function(y,_){s=y,o=_}),Object.getOwnPropertyDescriptor(a.ready,"_f7626c5b4af744395ac313582bafdbdbd")||(Object.defineProperty(a.ready,"_f7626c5b4af744395ac313582bafdbdbd",{configurable:!0,get:function(){b("You are getting _f7626c5b4af744395ac313582bafdbdbd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7626c5b4af744395ac313582bafdbdbd",{configurable:!0,set:function(){b("You are setting _f7626c5b4af744395ac313582bafdbdbd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9ef41b6d4134476cae968eb6b13638eb")||(Object.defineProperty(a.ready,"_f9ef41b6d4134476cae968eb6b13638eb",{configurable:!0,get:function(){b("You are getting _f9ef41b6d4134476cae968eb6b13638eb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9ef41b6d4134476cae968eb6b13638eb",{configurable:!0,set:function(){b("You are setting _f9ef41b6d4134476cae968eb6b13638eb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f49860b4b1f7c44e1bf0f331c3f342b89")||(Object.defineProperty(a.ready,"_f49860b4b1f7c44e1bf0f331c3f342b89",{configurable:!0,get:function(){b("You are getting _f49860b4b1f7c44e1bf0f331c3f342b89 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f49860b4b1f7c44e1bf0f331c3f342b89",{configurable:!0,set:function(){b("You are setting _f49860b4b1f7c44e1bf0f331c3f342b89 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f718c723407bc4e1ea237d5fc0229a4ab")||(Object.defineProperty(a.ready,"_f718c723407bc4e1ea237d5fc0229a4ab",{configurable:!0,get:function(){b("You are getting _f718c723407bc4e1ea237d5fc0229a4ab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f718c723407bc4e1ea237d5fc0229a4ab",{configurable:!0,set:function(){b("You are setting _f718c723407bc4e1ea237d5fc0229a4ab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f691df6ba4afc478aa0ec2b5af309bece")||(Object.defineProperty(a.ready,"_f691df6ba4afc478aa0ec2b5af309bece",{configurable:!0,get:function(){b("You are getting _f691df6ba4afc478aa0ec2b5af309bece on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f691df6ba4afc478aa0ec2b5af309bece",{configurable:!0,set:function(){b("You are setting _f691df6ba4afc478aa0ec2b5af309bece on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3927f467e16141b1bc8f1076c266fded")||(Object.defineProperty(a.ready,"_f3927f467e16141b1bc8f1076c266fded",{configurable:!0,get:function(){b("You are getting _f3927f467e16141b1bc8f1076c266fded on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3927f467e16141b1bc8f1076c266fded",{configurable:!0,set:function(){b("You are setting _f3927f467e16141b1bc8f1076c266fded on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdd3a91c144e94078b4d9ef219295f38f")||(Object.defineProperty(a.ready,"_fdd3a91c144e94078b4d9ef219295f38f",{configurable:!0,get:function(){b("You are getting _fdd3a91c144e94078b4d9ef219295f38f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdd3a91c144e94078b4d9ef219295f38f",{configurable:!0,set:function(){b("You are setting _fdd3a91c144e94078b4d9ef219295f38f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f88e7daedc8cd4228957caada4bff6006")||(Object.defineProperty(a.ready,"_f88e7daedc8cd4228957caada4bff6006",{configurable:!0,get:function(){b("You are getting _f88e7daedc8cd4228957caada4bff6006 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f88e7daedc8cd4228957caada4bff6006",{configurable:!0,set:function(){b("You are setting _f88e7daedc8cd4228957caada4bff6006 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_facbead657bcc4ff6ba67d0ed1651136a")||(Object.defineProperty(a.ready,"_facbead657bcc4ff6ba67d0ed1651136a",{configurable:!0,get:function(){b("You are getting _facbead657bcc4ff6ba67d0ed1651136a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_facbead657bcc4ff6ba67d0ed1651136a",{configurable:!0,set:function(){b("You are setting _facbead657bcc4ff6ba67d0ed1651136a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb1caaee749f640348d9f252d3ce02d58")||(Object.defineProperty(a.ready,"_fb1caaee749f640348d9f252d3ce02d58",{configurable:!0,get:function(){b("You are getting _fb1caaee749f640348d9f252d3ce02d58 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb1caaee749f640348d9f252d3ce02d58",{configurable:!0,set:function(){b("You are setting _fb1caaee749f640348d9f252d3ce02d58 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f12226d785b9e4780a2e004d60b3033b2")||(Object.defineProperty(a.ready,"_f12226d785b9e4780a2e004d60b3033b2",{configurable:!0,get:function(){b("You are getting _f12226d785b9e4780a2e004d60b3033b2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f12226d785b9e4780a2e004d60b3033b2",{configurable:!0,set:function(){b("You are setting _f12226d785b9e4780a2e004d60b3033b2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f305441af2e9c46baa495897998d456c6")||(Object.defineProperty(a.ready,"_f305441af2e9c46baa495897998d456c6",{configurable:!0,get:function(){b("You are getting _f305441af2e9c46baa495897998d456c6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f305441af2e9c46baa495897998d456c6",{configurable:!0,set:function(){b("You are setting _f305441af2e9c46baa495897998d456c6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f956408e3d20c46b997dc96be6cdf9fe5")||(Object.defineProperty(a.ready,"_f956408e3d20c46b997dc96be6cdf9fe5",{configurable:!0,get:function(){b("You are getting _f956408e3d20c46b997dc96be6cdf9fe5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f956408e3d20c46b997dc96be6cdf9fe5",{configurable:!0,set:function(){b("You are setting _f956408e3d20c46b997dc96be6cdf9fe5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f867195b2bc654ef0b5c69e2454db009d")||(Object.defineProperty(a.ready,"_f867195b2bc654ef0b5c69e2454db009d",{configurable:!0,get:function(){b("You are getting _f867195b2bc654ef0b5c69e2454db009d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f867195b2bc654ef0b5c69e2454db009d",{configurable:!0,set:function(){b("You are setting _f867195b2bc654ef0b5c69e2454db009d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4a4d60f40eec4ddc88c535f6acdcd77c")||(Object.defineProperty(a.ready,"_f4a4d60f40eec4ddc88c535f6acdcd77c",{configurable:!0,get:function(){b("You are getting _f4a4d60f40eec4ddc88c535f6acdcd77c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4a4d60f40eec4ddc88c535f6acdcd77c",{configurable:!0,set:function(){b("You are setting _f4a4d60f40eec4ddc88c535f6acdcd77c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f75daace202db4ff9b9d08ab1ebc684fe")||(Object.defineProperty(a.ready,"_f75daace202db4ff9b9d08ab1ebc684fe",{configurable:!0,get:function(){b("You are getting _f75daace202db4ff9b9d08ab1ebc684fe on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f75daace202db4ff9b9d08ab1ebc684fe",{configurable:!0,set:function(){b("You are setting _f75daace202db4ff9b9d08ab1ebc684fe on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f93a9d10d7ceb4b20a74223620419f2aa")||(Object.defineProperty(a.ready,"_f93a9d10d7ceb4b20a74223620419f2aa",{configurable:!0,get:function(){b("You are getting _f93a9d10d7ceb4b20a74223620419f2aa on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f93a9d10d7ceb4b20a74223620419f2aa",{configurable:!0,set:function(){b("You are setting _f93a9d10d7ceb4b20a74223620419f2aa on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8f93618ddf3a4ccea021953c6fa1a339")||(Object.defineProperty(a.ready,"_f8f93618ddf3a4ccea021953c6fa1a339",{configurable:!0,get:function(){b("You are getting _f8f93618ddf3a4ccea021953c6fa1a339 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8f93618ddf3a4ccea021953c6fa1a339",{configurable:!0,set:function(){b("You are setting _f8f93618ddf3a4ccea021953c6fa1a339 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fbde19f71085f4c6ba3a5c0112d1b161f")||(Object.defineProperty(a.ready,"_fbde19f71085f4c6ba3a5c0112d1b161f",{configurable:!0,get:function(){b("You are getting _fbde19f71085f4c6ba3a5c0112d1b161f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fbde19f71085f4c6ba3a5c0112d1b161f",{configurable:!0,set:function(){b("You are setting _fbde19f71085f4c6ba3a5c0112d1b161f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f79104ce1d2b240e686b9e638bb6650f5")||(Object.defineProperty(a.ready,"_f79104ce1d2b240e686b9e638bb6650f5",{configurable:!0,get:function(){b("You are getting _f79104ce1d2b240e686b9e638bb6650f5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f79104ce1d2b240e686b9e638bb6650f5",{configurable:!0,set:function(){b("You are setting _f79104ce1d2b240e686b9e638bb6650f5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_feb3c1bd20eac41f7a583f118048ccf29")||(Object.defineProperty(a.ready,"_feb3c1bd20eac41f7a583f118048ccf29",{configurable:!0,get:function(){b("You are getting _feb3c1bd20eac41f7a583f118048ccf29 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_feb3c1bd20eac41f7a583f118048ccf29",{configurable:!0,set:function(){b("You are setting _feb3c1bd20eac41f7a583f118048ccf29 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1df5ad4082ec429a8189993f538d90bb")||(Object.defineProperty(a.ready,"_f1df5ad4082ec429a8189993f538d90bb",{configurable:!0,get:function(){b("You are getting _f1df5ad4082ec429a8189993f538d90bb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1df5ad4082ec429a8189993f538d90bb",{configurable:!0,set:function(){b("You are setting _f1df5ad4082ec429a8189993f538d90bb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f917cd82fb26e4d3c8a88321e1d442158")||(Object.defineProperty(a.ready,"_f917cd82fb26e4d3c8a88321e1d442158",{configurable:!0,get:function(){b("You are getting _f917cd82fb26e4d3c8a88321e1d442158 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f917cd82fb26e4d3c8a88321e1d442158",{configurable:!0,set:function(){b("You are setting _f917cd82fb26e4d3c8a88321e1d442158 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe166a099696f4c818d0def53d1222556")||(Object.defineProperty(a.ready,"_fe166a099696f4c818d0def53d1222556",{configurable:!0,get:function(){b("You are getting _fe166a099696f4c818d0def53d1222556 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe166a099696f4c818d0def53d1222556",{configurable:!0,set:function(){b("You are setting _fe166a099696f4c818d0def53d1222556 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7869f21b79cb49ab9f5a8546e1055da5")||(Object.defineProperty(a.ready,"_f7869f21b79cb49ab9f5a8546e1055da5",{configurable:!0,get:function(){b("You are getting _f7869f21b79cb49ab9f5a8546e1055da5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7869f21b79cb49ab9f5a8546e1055da5",{configurable:!0,set:function(){b("You are setting _f7869f21b79cb49ab9f5a8546e1055da5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f06bc5e9c71554b9e996359cadd711342")||(Object.defineProperty(a.ready,"_f06bc5e9c71554b9e996359cadd711342",{configurable:!0,get:function(){b("You are getting _f06bc5e9c71554b9e996359cadd711342 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f06bc5e9c71554b9e996359cadd711342",{configurable:!0,set:function(){b("You are setting _f06bc5e9c71554b9e996359cadd711342 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9046bb1dd53e428dba058ff994f216b1")||(Object.defineProperty(a.ready,"_f9046bb1dd53e428dba058ff994f216b1",{configurable:!0,get:function(){b("You are getting _f9046bb1dd53e428dba058ff994f216b1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9046bb1dd53e428dba058ff994f216b1",{configurable:!0,set:function(){b("You are setting _f9046bb1dd53e428dba058ff994f216b1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f47eabbfcc2754432ba7c8315caf9f0c9")||(Object.defineProperty(a.ready,"_f47eabbfcc2754432ba7c8315caf9f0c9",{configurable:!0,get:function(){b("You are getting _f47eabbfcc2754432ba7c8315caf9f0c9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f47eabbfcc2754432ba7c8315caf9f0c9",{configurable:!0,set:function(){b("You are setting _f47eabbfcc2754432ba7c8315caf9f0c9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0f665a31a9ac44ada3724725e0c5cec3")||(Object.defineProperty(a.ready,"_f0f665a31a9ac44ada3724725e0c5cec3",{configurable:!0,get:function(){b("You are getting _f0f665a31a9ac44ada3724725e0c5cec3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0f665a31a9ac44ada3724725e0c5cec3",{configurable:!0,set:function(){b("You are setting _f0f665a31a9ac44ada3724725e0c5cec3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9e659b572c114dcc8acd1c454f07c2c2")||(Object.defineProperty(a.ready,"_f9e659b572c114dcc8acd1c454f07c2c2",{configurable:!0,get:function(){b("You are getting _f9e659b572c114dcc8acd1c454f07c2c2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9e659b572c114dcc8acd1c454f07c2c2",{configurable:!0,set:function(){b("You are setting _f9e659b572c114dcc8acd1c454f07c2c2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa1140734b0234e16a8b6c12ca4adc6e3")||(Object.defineProperty(a.ready,"_fa1140734b0234e16a8b6c12ca4adc6e3",{configurable:!0,get:function(){b("You are getting _fa1140734b0234e16a8b6c12ca4adc6e3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa1140734b0234e16a8b6c12ca4adc6e3",{configurable:!0,set:function(){b("You are setting _fa1140734b0234e16a8b6c12ca4adc6e3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa7ed2c85f36a4d2eaf76c1c7b3cb9687")||(Object.defineProperty(a.ready,"_fa7ed2c85f36a4d2eaf76c1c7b3cb9687",{configurable:!0,get:function(){b("You are getting _fa7ed2c85f36a4d2eaf76c1c7b3cb9687 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa7ed2c85f36a4d2eaf76c1c7b3cb9687",{configurable:!0,set:function(){b("You are setting _fa7ed2c85f36a4d2eaf76c1c7b3cb9687 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f04fe414320834530bba30472d7935b82")||(Object.defineProperty(a.ready,"_f04fe414320834530bba30472d7935b82",{configurable:!0,get:function(){b("You are getting _f04fe414320834530bba30472d7935b82 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f04fe414320834530bba30472d7935b82",{configurable:!0,set:function(){b("You are setting _f04fe414320834530bba30472d7935b82 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcad7405f7ac147318cb071d45c600cff")||(Object.defineProperty(a.ready,"_fcad7405f7ac147318cb071d45c600cff",{configurable:!0,get:function(){b("You are getting _fcad7405f7ac147318cb071d45c600cff on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcad7405f7ac147318cb071d45c600cff",{configurable:!0,set:function(){b("You are setting _fcad7405f7ac147318cb071d45c600cff on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f23bfcbf271964cdbab506ed8ae82917f")||(Object.defineProperty(a.ready,"_f23bfcbf271964cdbab506ed8ae82917f",{configurable:!0,get:function(){b("You are getting _f23bfcbf271964cdbab506ed8ae82917f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f23bfcbf271964cdbab506ed8ae82917f",{configurable:!0,set:function(){b("You are setting _f23bfcbf271964cdbab506ed8ae82917f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcea4e1f19a2f4d31b88b995b85e6de57")||(Object.defineProperty(a.ready,"_fcea4e1f19a2f4d31b88b995b85e6de57",{configurable:!0,get:function(){b("You are getting _fcea4e1f19a2f4d31b88b995b85e6de57 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcea4e1f19a2f4d31b88b995b85e6de57",{configurable:!0,set:function(){b("You are setting _fcea4e1f19a2f4d31b88b995b85e6de57 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcfdee44ba42d4c8b85ec245000531dda")||(Object.defineProperty(a.ready,"_fcfdee44ba42d4c8b85ec245000531dda",{configurable:!0,get:function(){b("You are getting _fcfdee44ba42d4c8b85ec245000531dda on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcfdee44ba42d4c8b85ec245000531dda",{configurable:!0,set:function(){b("You are setting _fcfdee44ba42d4c8b85ec245000531dda on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f374eaee8375244cd8a840b2aca05017c")||(Object.defineProperty(a.ready,"_f374eaee8375244cd8a840b2aca05017c",{configurable:!0,get:function(){b("You are getting _f374eaee8375244cd8a840b2aca05017c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f374eaee8375244cd8a840b2aca05017c",{configurable:!0,set:function(){b("You are setting _f374eaee8375244cd8a840b2aca05017c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f651ce5c104984c1eac865b66020d04c9")||(Object.defineProperty(a.ready,"_f651ce5c104984c1eac865b66020d04c9",{configurable:!0,get:function(){b("You are getting _f651ce5c104984c1eac865b66020d04c9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f651ce5c104984c1eac865b66020d04c9",{configurable:!0,set:function(){b("You are setting _f651ce5c104984c1eac865b66020d04c9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcc3d611e8a184c248b3b1a15764fbc44")||(Object.defineProperty(a.ready,"_fcc3d611e8a184c248b3b1a15764fbc44",{configurable:!0,get:function(){b("You are getting _fcc3d611e8a184c248b3b1a15764fbc44 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcc3d611e8a184c248b3b1a15764fbc44",{configurable:!0,set:function(){b("You are setting _fcc3d611e8a184c248b3b1a15764fbc44 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f58dca08dc7534e3aa52c317c526ede3f")||(Object.defineProperty(a.ready,"_f58dca08dc7534e3aa52c317c526ede3f",{configurable:!0,get:function(){b("You are getting _f58dca08dc7534e3aa52c317c526ede3f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f58dca08dc7534e3aa52c317c526ede3f",{configurable:!0,set:function(){b("You are setting _f58dca08dc7534e3aa52c317c526ede3f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f28eaab7168964183888d434d8debc53f")||(Object.defineProperty(a.ready,"_f28eaab7168964183888d434d8debc53f",{configurable:!0,get:function(){b("You are getting _f28eaab7168964183888d434d8debc53f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f28eaab7168964183888d434d8debc53f",{configurable:!0,set:function(){b("You are setting _f28eaab7168964183888d434d8debc53f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_febe7f6eddf5544f3be285a2d707777bc")||(Object.defineProperty(a.ready,"_febe7f6eddf5544f3be285a2d707777bc",{configurable:!0,get:function(){b("You are getting _febe7f6eddf5544f3be285a2d707777bc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_febe7f6eddf5544f3be285a2d707777bc",{configurable:!0,set:function(){b("You are setting _febe7f6eddf5544f3be285a2d707777bc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f736ab61833914eb490bf8d44537c6a38")||(Object.defineProperty(a.ready,"_f736ab61833914eb490bf8d44537c6a38",{configurable:!0,get:function(){b("You are getting _f736ab61833914eb490bf8d44537c6a38 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f736ab61833914eb490bf8d44537c6a38",{configurable:!0,set:function(){b("You are setting _f736ab61833914eb490bf8d44537c6a38 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f78804eb9299842938ffdbbeb2f626a3a")||(Object.defineProperty(a.ready,"_f78804eb9299842938ffdbbeb2f626a3a",{configurable:!0,get:function(){b("You are getting _f78804eb9299842938ffdbbeb2f626a3a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f78804eb9299842938ffdbbeb2f626a3a",{configurable:!0,set:function(){b("You are setting _f78804eb9299842938ffdbbeb2f626a3a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fde2b2889a07b4a26b2c289569d1e3a00")||(Object.defineProperty(a.ready,"_fde2b2889a07b4a26b2c289569d1e3a00",{configurable:!0,get:function(){b("You are getting _fde2b2889a07b4a26b2c289569d1e3a00 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fde2b2889a07b4a26b2c289569d1e3a00",{configurable:!0,set:function(){b("You are setting _fde2b2889a07b4a26b2c289569d1e3a00 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe270ac97c0b940199c0600724d52d6f1")||(Object.defineProperty(a.ready,"_fe270ac97c0b940199c0600724d52d6f1",{configurable:!0,get:function(){b("You are getting _fe270ac97c0b940199c0600724d52d6f1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe270ac97c0b940199c0600724d52d6f1",{configurable:!0,set:function(){b("You are setting _fe270ac97c0b940199c0600724d52d6f1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f404beae7d43b43b18fc7ec6007e28968")||(Object.defineProperty(a.ready,"_f404beae7d43b43b18fc7ec6007e28968",{configurable:!0,get:function(){b("You are getting _f404beae7d43b43b18fc7ec6007e28968 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f404beae7d43b43b18fc7ec6007e28968",{configurable:!0,set:function(){b("You are setting _f404beae7d43b43b18fc7ec6007e28968 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f348113a0965a475eaae5313b14b76dea")||(Object.defineProperty(a.ready,"_f348113a0965a475eaae5313b14b76dea",{configurable:!0,get:function(){b("You are getting _f348113a0965a475eaae5313b14b76dea on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f348113a0965a475eaae5313b14b76dea",{configurable:!0,set:function(){b("You are setting _f348113a0965a475eaae5313b14b76dea on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7982b8869b834313a24c6f353556bfab")||(Object.defineProperty(a.ready,"_f7982b8869b834313a24c6f353556bfab",{configurable:!0,get:function(){b("You are getting _f7982b8869b834313a24c6f353556bfab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7982b8869b834313a24c6f353556bfab",{configurable:!0,set:function(){b("You are setting _f7982b8869b834313a24c6f353556bfab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fbd918f47b40845ec9ad2edda8de82501")||(Object.defineProperty(a.ready,"_fbd918f47b40845ec9ad2edda8de82501",{configurable:!0,get:function(){b("You are getting _fbd918f47b40845ec9ad2edda8de82501 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fbd918f47b40845ec9ad2edda8de82501",{configurable:!0,set:function(){b("You are setting _fbd918f47b40845ec9ad2edda8de82501 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcb762d062bd44f29b5fc7178b0a098cd")||(Object.defineProperty(a.ready,"_fcb762d062bd44f29b5fc7178b0a098cd",{configurable:!0,get:function(){b("You are getting _fcb762d062bd44f29b5fc7178b0a098cd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcb762d062bd44f29b5fc7178b0a098cd",{configurable:!0,set:function(){b("You are setting _fcb762d062bd44f29b5fc7178b0a098cd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f81f8ecde9e81490089cf849a6a6200df")||(Object.defineProperty(a.ready,"_f81f8ecde9e81490089cf849a6a6200df",{configurable:!0,get:function(){b("You are getting _f81f8ecde9e81490089cf849a6a6200df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f81f8ecde9e81490089cf849a6a6200df",{configurable:!0,set:function(){b("You are setting _f81f8ecde9e81490089cf849a6a6200df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f754f430e82324d3d997fcdde80e586d0")||(Object.defineProperty(a.ready,"_f754f430e82324d3d997fcdde80e586d0",{configurable:!0,get:function(){b("You are getting _f754f430e82324d3d997fcdde80e586d0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f754f430e82324d3d997fcdde80e586d0",{configurable:!0,set:function(){b("You are setting _f754f430e82324d3d997fcdde80e586d0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6213f1f1b14f4752bf7fe408342ca6ab")||(Object.defineProperty(a.ready,"_f6213f1f1b14f4752bf7fe408342ca6ab",{configurable:!0,get:function(){b("You are getting _f6213f1f1b14f4752bf7fe408342ca6ab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6213f1f1b14f4752bf7fe408342ca6ab",{configurable:!0,set:function(){b("You are setting _f6213f1f1b14f4752bf7fe408342ca6ab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f53cbb4442c664b49ad8c12af326ff83a")||(Object.defineProperty(a.ready,"_f53cbb4442c664b49ad8c12af326ff83a",{configurable:!0,get:function(){b("You are getting _f53cbb4442c664b49ad8c12af326ff83a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f53cbb4442c664b49ad8c12af326ff83a",{configurable:!0,set:function(){b("You are setting _f53cbb4442c664b49ad8c12af326ff83a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f97f4b77bb387401c90782730ecf25e5f")||(Object.defineProperty(a.ready,"_f97f4b77bb387401c90782730ecf25e5f",{configurable:!0,get:function(){b("You are getting _f97f4b77bb387401c90782730ecf25e5f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f97f4b77bb387401c90782730ecf25e5f",{configurable:!0,set:function(){b("You are setting _f97f4b77bb387401c90782730ecf25e5f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ffeb8d44be4504b1cacfa470bff28555b")||(Object.defineProperty(a.ready,"_ffeb8d44be4504b1cacfa470bff28555b",{configurable:!0,get:function(){b("You are getting _ffeb8d44be4504b1cacfa470bff28555b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ffeb8d44be4504b1cacfa470bff28555b",{configurable:!0,set:function(){b("You are setting _ffeb8d44be4504b1cacfa470bff28555b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0669bddc67764676a3a99850d3c9d26e")||(Object.defineProperty(a.ready,"_f0669bddc67764676a3a99850d3c9d26e",{configurable:!0,get:function(){b("You are getting _f0669bddc67764676a3a99850d3c9d26e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0669bddc67764676a3a99850d3c9d26e",{configurable:!0,set:function(){b("You are setting _f0669bddc67764676a3a99850d3c9d26e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fece9291979fd4ae184be0fee2f72d11f")||(Object.defineProperty(a.ready,"_fece9291979fd4ae184be0fee2f72d11f",{configurable:!0,get:function(){b("You are getting _fece9291979fd4ae184be0fee2f72d11f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fece9291979fd4ae184be0fee2f72d11f",{configurable:!0,set:function(){b("You are setting _fece9291979fd4ae184be0fee2f72d11f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fedf53cbe9da44d1d981ef57b0f686071")||(Object.defineProperty(a.ready,"_fedf53cbe9da44d1d981ef57b0f686071",{configurable:!0,get:function(){b("You are getting _fedf53cbe9da44d1d981ef57b0f686071 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fedf53cbe9da44d1d981ef57b0f686071",{configurable:!0,set:function(){b("You are setting _fedf53cbe9da44d1d981ef57b0f686071 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8d8759d234ed48e2adaafca0076700ac")||(Object.defineProperty(a.ready,"_f8d8759d234ed48e2adaafca0076700ac",{configurable:!0,get:function(){b("You are getting _f8d8759d234ed48e2adaafca0076700ac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8d8759d234ed48e2adaafca0076700ac",{configurable:!0,set:function(){b("You are setting _f8d8759d234ed48e2adaafca0076700ac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f819060807d9b45cbb621c4f80b1d3edd")||(Object.defineProperty(a.ready,"_f819060807d9b45cbb621c4f80b1d3edd",{configurable:!0,get:function(){b("You are getting _f819060807d9b45cbb621c4f80b1d3edd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f819060807d9b45cbb621c4f80b1d3edd",{configurable:!0,set:function(){b("You are setting _f819060807d9b45cbb621c4f80b1d3edd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4aa8766f3b4d49c5992d3c9c8218e731")||(Object.defineProperty(a.ready,"_f4aa8766f3b4d49c5992d3c9c8218e731",{configurable:!0,get:function(){b("You are getting _f4aa8766f3b4d49c5992d3c9c8218e731 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4aa8766f3b4d49c5992d3c9c8218e731",{configurable:!0,set:function(){b("You are setting _f4aa8766f3b4d49c5992d3c9c8218e731 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f99cc7c7732b1448895620cc9f0532d08")||(Object.defineProperty(a.ready,"_f99cc7c7732b1448895620cc9f0532d08",{configurable:!0,get:function(){b("You are getting _f99cc7c7732b1448895620cc9f0532d08 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f99cc7c7732b1448895620cc9f0532d08",{configurable:!0,set:function(){b("You are setting _f99cc7c7732b1448895620cc9f0532d08 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f567d29a05bc54a588c5d2647617f777e")||(Object.defineProperty(a.ready,"_f567d29a05bc54a588c5d2647617f777e",{configurable:!0,get:function(){b("You are getting _f567d29a05bc54a588c5d2647617f777e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f567d29a05bc54a588c5d2647617f777e",{configurable:!0,set:function(){b("You are setting _f567d29a05bc54a588c5d2647617f777e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f22db997656bc42c28ba657fc0fd61a6f")||(Object.defineProperty(a.ready,"_f22db997656bc42c28ba657fc0fd61a6f",{configurable:!0,get:function(){b("You are getting _f22db997656bc42c28ba657fc0fd61a6f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f22db997656bc42c28ba657fc0fd61a6f",{configurable:!0,set:function(){b("You are setting _f22db997656bc42c28ba657fc0fd61a6f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_feb345dc2b8fb448ca2a721fa85843801")||(Object.defineProperty(a.ready,"_feb345dc2b8fb448ca2a721fa85843801",{configurable:!0,get:function(){b("You are getting _feb345dc2b8fb448ca2a721fa85843801 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_feb345dc2b8fb448ca2a721fa85843801",{configurable:!0,set:function(){b("You are setting _feb345dc2b8fb448ca2a721fa85843801 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5edd3bb793ce4ed19beddac8b72e6999")||(Object.defineProperty(a.ready,"_f5edd3bb793ce4ed19beddac8b72e6999",{configurable:!0,get:function(){b("You are getting _f5edd3bb793ce4ed19beddac8b72e6999 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5edd3bb793ce4ed19beddac8b72e6999",{configurable:!0,set:function(){b("You are setting _f5edd3bb793ce4ed19beddac8b72e6999 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5f869ac99e5e47d9b2626a9a28ca50ec")||(Object.defineProperty(a.ready,"_f5f869ac99e5e47d9b2626a9a28ca50ec",{configurable:!0,get:function(){b("You are getting _f5f869ac99e5e47d9b2626a9a28ca50ec on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5f869ac99e5e47d9b2626a9a28ca50ec",{configurable:!0,set:function(){b("You are setting _f5f869ac99e5e47d9b2626a9a28ca50ec on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa148e21bdb13417e9a2fe0da5b5963b5")||(Object.defineProperty(a.ready,"_fa148e21bdb13417e9a2fe0da5b5963b5",{configurable:!0,get:function(){b("You are getting _fa148e21bdb13417e9a2fe0da5b5963b5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa148e21bdb13417e9a2fe0da5b5963b5",{configurable:!0,set:function(){b("You are setting _fa148e21bdb13417e9a2fe0da5b5963b5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_feb31a22f0268434b94e85b953f3b7969")||(Object.defineProperty(a.ready,"_feb31a22f0268434b94e85b953f3b7969",{configurable:!0,get:function(){b("You are getting _feb31a22f0268434b94e85b953f3b7969 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_feb31a22f0268434b94e85b953f3b7969",{configurable:!0,set:function(){b("You are setting _feb31a22f0268434b94e85b953f3b7969 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f14efcbc772cd46e5959f156260c13218")||(Object.defineProperty(a.ready,"_f14efcbc772cd46e5959f156260c13218",{configurable:!0,get:function(){b("You are getting _f14efcbc772cd46e5959f156260c13218 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f14efcbc772cd46e5959f156260c13218",{configurable:!0,set:function(){b("You are setting _f14efcbc772cd46e5959f156260c13218 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff14f6c259bf44de9a6834969e26b7ba6")||(Object.defineProperty(a.ready,"_ff14f6c259bf44de9a6834969e26b7ba6",{configurable:!0,get:function(){b("You are getting _ff14f6c259bf44de9a6834969e26b7ba6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff14f6c259bf44de9a6834969e26b7ba6",{configurable:!0,set:function(){b("You are setting _ff14f6c259bf44de9a6834969e26b7ba6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdea468ac6a9047b68edec72b5b684ecc")||(Object.defineProperty(a.ready,"_fdea468ac6a9047b68edec72b5b684ecc",{configurable:!0,get:function(){b("You are getting _fdea468ac6a9047b68edec72b5b684ecc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdea468ac6a9047b68edec72b5b684ecc",{configurable:!0,set:function(){b("You are setting _fdea468ac6a9047b68edec72b5b684ecc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f511be6fbba724fbe9d47f41e087c69ec")||(Object.defineProperty(a.ready,"_f511be6fbba724fbe9d47f41e087c69ec",{configurable:!0,get:function(){b("You are getting _f511be6fbba724fbe9d47f41e087c69ec on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f511be6fbba724fbe9d47f41e087c69ec",{configurable:!0,set:function(){b("You are setting _f511be6fbba724fbe9d47f41e087c69ec on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f241c9e8ec6e24bdaaa3b53c586addf01")||(Object.defineProperty(a.ready,"_f241c9e8ec6e24bdaaa3b53c586addf01",{configurable:!0,get:function(){b("You are getting _f241c9e8ec6e24bdaaa3b53c586addf01 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f241c9e8ec6e24bdaaa3b53c586addf01",{configurable:!0,set:function(){b("You are setting _f241c9e8ec6e24bdaaa3b53c586addf01 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2874f25ae8dc47459ea5b442af2773c3")||(Object.defineProperty(a.ready,"_f2874f25ae8dc47459ea5b442af2773c3",{configurable:!0,get:function(){b("You are getting _f2874f25ae8dc47459ea5b442af2773c3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2874f25ae8dc47459ea5b442af2773c3",{configurable:!0,set:function(){b("You are setting _f2874f25ae8dc47459ea5b442af2773c3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3414aa1785434814b77a5fc7c8a4da92")||(Object.defineProperty(a.ready,"_f3414aa1785434814b77a5fc7c8a4da92",{configurable:!0,get:function(){b("You are getting _f3414aa1785434814b77a5fc7c8a4da92 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3414aa1785434814b77a5fc7c8a4da92",{configurable:!0,set:function(){b("You are setting _f3414aa1785434814b77a5fc7c8a4da92 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f008c2745c15948aba783f841ff6c2c35")||(Object.defineProperty(a.ready,"_f008c2745c15948aba783f841ff6c2c35",{configurable:!0,get:function(){b("You are getting _f008c2745c15948aba783f841ff6c2c35 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f008c2745c15948aba783f841ff6c2c35",{configurable:!0,set:function(){b("You are setting _f008c2745c15948aba783f841ff6c2c35 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f50c640a83c8d4127ba777126c5a119d0")||(Object.defineProperty(a.ready,"_f50c640a83c8d4127ba777126c5a119d0",{configurable:!0,get:function(){b("You are getting _f50c640a83c8d4127ba777126c5a119d0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f50c640a83c8d4127ba777126c5a119d0",{configurable:!0,set:function(){b("You are setting _f50c640a83c8d4127ba777126c5a119d0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe4083b5fbff247f58b1baf193960a054")||(Object.defineProperty(a.ready,"_fe4083b5fbff247f58b1baf193960a054",{configurable:!0,get:function(){b("You are getting _fe4083b5fbff247f58b1baf193960a054 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe4083b5fbff247f58b1baf193960a054",{configurable:!0,set:function(){b("You are setting _fe4083b5fbff247f58b1baf193960a054 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f274e697379b344639d3f8055d2b560bb")||(Object.defineProperty(a.ready,"_f274e697379b344639d3f8055d2b560bb",{configurable:!0,get:function(){b("You are getting _f274e697379b344639d3f8055d2b560bb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f274e697379b344639d3f8055d2b560bb",{configurable:!0,set:function(){b("You are setting _f274e697379b344639d3f8055d2b560bb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f355bfd30dbec49798a491d216ccc82a5")||(Object.defineProperty(a.ready,"_f355bfd30dbec49798a491d216ccc82a5",{configurable:!0,get:function(){b("You are getting _f355bfd30dbec49798a491d216ccc82a5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f355bfd30dbec49798a491d216ccc82a5",{configurable:!0,set:function(){b("You are setting _f355bfd30dbec49798a491d216ccc82a5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f91e36eb89ed34af2a648dc8bfd64b585")||(Object.defineProperty(a.ready,"_f91e36eb89ed34af2a648dc8bfd64b585",{configurable:!0,get:function(){b("You are getting _f91e36eb89ed34af2a648dc8bfd64b585 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f91e36eb89ed34af2a648dc8bfd64b585",{configurable:!0,set:function(){b("You are setting _f91e36eb89ed34af2a648dc8bfd64b585 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9bcfb75ed1b8435581e72726e6e82e54")||(Object.defineProperty(a.ready,"_f9bcfb75ed1b8435581e72726e6e82e54",{configurable:!0,get:function(){b("You are getting _f9bcfb75ed1b8435581e72726e6e82e54 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9bcfb75ed1b8435581e72726e6e82e54",{configurable:!0,set:function(){b("You are setting _f9bcfb75ed1b8435581e72726e6e82e54 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f078df7df63da40d4b9899931da7f32bb")||(Object.defineProperty(a.ready,"_f078df7df63da40d4b9899931da7f32bb",{configurable:!0,get:function(){b("You are getting _f078df7df63da40d4b9899931da7f32bb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f078df7df63da40d4b9899931da7f32bb",{configurable:!0,set:function(){b("You are setting _f078df7df63da40d4b9899931da7f32bb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa03c6c0d093b4d1287022bea5419dc5d")||(Object.defineProperty(a.ready,"_fa03c6c0d093b4d1287022bea5419dc5d",{configurable:!0,get:function(){b("You are getting _fa03c6c0d093b4d1287022bea5419dc5d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa03c6c0d093b4d1287022bea5419dc5d",{configurable:!0,set:function(){b("You are setting _fa03c6c0d093b4d1287022bea5419dc5d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8f7d730df69a408089b798d2ac5f8508")||(Object.defineProperty(a.ready,"_f8f7d730df69a408089b798d2ac5f8508",{configurable:!0,get:function(){b("You are getting _f8f7d730df69a408089b798d2ac5f8508 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8f7d730df69a408089b798d2ac5f8508",{configurable:!0,set:function(){b("You are setting _f8f7d730df69a408089b798d2ac5f8508 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f16b0ec0e8db2455fa54e374ae2bdf2e6")||(Object.defineProperty(a.ready,"_f16b0ec0e8db2455fa54e374ae2bdf2e6",{configurable:!0,get:function(){b("You are getting _f16b0ec0e8db2455fa54e374ae2bdf2e6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f16b0ec0e8db2455fa54e374ae2bdf2e6",{configurable:!0,set:function(){b("You are setting _f16b0ec0e8db2455fa54e374ae2bdf2e6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f250fa1d7d8bc4b49bec2482236ca8c43")||(Object.defineProperty(a.ready,"_f250fa1d7d8bc4b49bec2482236ca8c43",{configurable:!0,get:function(){b("You are getting _f250fa1d7d8bc4b49bec2482236ca8c43 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f250fa1d7d8bc4b49bec2482236ca8c43",{configurable:!0,set:function(){b("You are setting _f250fa1d7d8bc4b49bec2482236ca8c43 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fad262dd693b442379dfc80160c7354d2")||(Object.defineProperty(a.ready,"_fad262dd693b442379dfc80160c7354d2",{configurable:!0,get:function(){b("You are getting _fad262dd693b442379dfc80160c7354d2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fad262dd693b442379dfc80160c7354d2",{configurable:!0,set:function(){b("You are setting _fad262dd693b442379dfc80160c7354d2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff276f3994f974135be2cd18decf52ac8")||(Object.defineProperty(a.ready,"_ff276f3994f974135be2cd18decf52ac8",{configurable:!0,get:function(){b("You are getting _ff276f3994f974135be2cd18decf52ac8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff276f3994f974135be2cd18decf52ac8",{configurable:!0,set:function(){b("You are setting _ff276f3994f974135be2cd18decf52ac8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1f627b0a344e4449828aba656160ce32")||(Object.defineProperty(a.ready,"_f1f627b0a344e4449828aba656160ce32",{configurable:!0,get:function(){b("You are getting _f1f627b0a344e4449828aba656160ce32 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1f627b0a344e4449828aba656160ce32",{configurable:!0,set:function(){b("You are setting _f1f627b0a344e4449828aba656160ce32 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f12a749f63c8b4c3ca611dc5858867dd1")||(Object.defineProperty(a.ready,"_f12a749f63c8b4c3ca611dc5858867dd1",{configurable:!0,get:function(){b("You are getting _f12a749f63c8b4c3ca611dc5858867dd1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f12a749f63c8b4c3ca611dc5858867dd1",{configurable:!0,set:function(){b("You are setting _f12a749f63c8b4c3ca611dc5858867dd1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdf30bebf89d04762a79f38a2adbc6f4c")||(Object.defineProperty(a.ready,"_fdf30bebf89d04762a79f38a2adbc6f4c",{configurable:!0,get:function(){b("You are getting _fdf30bebf89d04762a79f38a2adbc6f4c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdf30bebf89d04762a79f38a2adbc6f4c",{configurable:!0,set:function(){b("You are setting _fdf30bebf89d04762a79f38a2adbc6f4c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcce0f946be6440b2b9cfc9778723f4b0")||(Object.defineProperty(a.ready,"_fcce0f946be6440b2b9cfc9778723f4b0",{configurable:!0,get:function(){b("You are getting _fcce0f946be6440b2b9cfc9778723f4b0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcce0f946be6440b2b9cfc9778723f4b0",{configurable:!0,set:function(){b("You are setting _fcce0f946be6440b2b9cfc9778723f4b0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc7f0ff7aa8bf4181bcdd89be0c20a440")||(Object.defineProperty(a.ready,"_fc7f0ff7aa8bf4181bcdd89be0c20a440",{configurable:!0,get:function(){b("You are getting _fc7f0ff7aa8bf4181bcdd89be0c20a440 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc7f0ff7aa8bf4181bcdd89be0c20a440",{configurable:!0,set:function(){b("You are setting _fc7f0ff7aa8bf4181bcdd89be0c20a440 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5a8721c87ac84534b6efdc019c521398")||(Object.defineProperty(a.ready,"_f5a8721c87ac84534b6efdc019c521398",{configurable:!0,get:function(){b("You are getting _f5a8721c87ac84534b6efdc019c521398 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5a8721c87ac84534b6efdc019c521398",{configurable:!0,set:function(){b("You are setting _f5a8721c87ac84534b6efdc019c521398 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd128a2e293274cf2a99f784008c1a9f2")||(Object.defineProperty(a.ready,"_fd128a2e293274cf2a99f784008c1a9f2",{configurable:!0,get:function(){b("You are getting _fd128a2e293274cf2a99f784008c1a9f2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd128a2e293274cf2a99f784008c1a9f2",{configurable:!0,set:function(){b("You are setting _fd128a2e293274cf2a99f784008c1a9f2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f356f6f641dae46d2885e357e07434d83")||(Object.defineProperty(a.ready,"_f356f6f641dae46d2885e357e07434d83",{configurable:!0,get:function(){b("You are getting _f356f6f641dae46d2885e357e07434d83 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f356f6f641dae46d2885e357e07434d83",{configurable:!0,set:function(){b("You are setting _f356f6f641dae46d2885e357e07434d83 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff5fa149868614cf9a60bed24f15991d5")||(Object.defineProperty(a.ready,"_ff5fa149868614cf9a60bed24f15991d5",{configurable:!0,get:function(){b("You are getting _ff5fa149868614cf9a60bed24f15991d5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff5fa149868614cf9a60bed24f15991d5",{configurable:!0,set:function(){b("You are setting _ff5fa149868614cf9a60bed24f15991d5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff1e607367f7d47879be69cd7fd993851")||(Object.defineProperty(a.ready,"_ff1e607367f7d47879be69cd7fd993851",{configurable:!0,get:function(){b("You are getting _ff1e607367f7d47879be69cd7fd993851 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff1e607367f7d47879be69cd7fd993851",{configurable:!0,set:function(){b("You are setting _ff1e607367f7d47879be69cd7fd993851 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f86b61cf10b4f4626a969d4e08d42bb2c")||(Object.defineProperty(a.ready,"_f86b61cf10b4f4626a969d4e08d42bb2c",{configurable:!0,get:function(){b("You are getting _f86b61cf10b4f4626a969d4e08d42bb2c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f86b61cf10b4f4626a969d4e08d42bb2c",{configurable:!0,set:function(){b("You are setting _f86b61cf10b4f4626a969d4e08d42bb2c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2eb0b1b35d3a476fae20b22e49ac7fe2")||(Object.defineProperty(a.ready,"_f2eb0b1b35d3a476fae20b22e49ac7fe2",{configurable:!0,get:function(){b("You are getting _f2eb0b1b35d3a476fae20b22e49ac7fe2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2eb0b1b35d3a476fae20b22e49ac7fe2",{configurable:!0,set:function(){b("You are setting _f2eb0b1b35d3a476fae20b22e49ac7fe2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdb6e14b16dae4d63b1493551aa08dd18")||(Object.defineProperty(a.ready,"_fdb6e14b16dae4d63b1493551aa08dd18",{configurable:!0,get:function(){b("You are getting _fdb6e14b16dae4d63b1493551aa08dd18 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdb6e14b16dae4d63b1493551aa08dd18",{configurable:!0,set:function(){b("You are setting _fdb6e14b16dae4d63b1493551aa08dd18 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe962475269ce47b9aadb60ae54f51eb5")||(Object.defineProperty(a.ready,"_fe962475269ce47b9aadb60ae54f51eb5",{configurable:!0,get:function(){b("You are getting _fe962475269ce47b9aadb60ae54f51eb5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe962475269ce47b9aadb60ae54f51eb5",{configurable:!0,set:function(){b("You are setting _fe962475269ce47b9aadb60ae54f51eb5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcb51a3af68374fd3975e34c646d650bd")||(Object.defineProperty(a.ready,"_fcb51a3af68374fd3975e34c646d650bd",{configurable:!0,get:function(){b("You are getting _fcb51a3af68374fd3975e34c646d650bd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcb51a3af68374fd3975e34c646d650bd",{configurable:!0,set:function(){b("You are setting _fcb51a3af68374fd3975e34c646d650bd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f826b39fdc81140bb947e7cabdb470c73")||(Object.defineProperty(a.ready,"_f826b39fdc81140bb947e7cabdb470c73",{configurable:!0,get:function(){b("You are getting _f826b39fdc81140bb947e7cabdb470c73 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f826b39fdc81140bb947e7cabdb470c73",{configurable:!0,set:function(){b("You are setting _f826b39fdc81140bb947e7cabdb470c73 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb4a31e134ffd49e18d238f305f5decf5")||(Object.defineProperty(a.ready,"_fb4a31e134ffd49e18d238f305f5decf5",{configurable:!0,get:function(){b("You are getting _fb4a31e134ffd49e18d238f305f5decf5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb4a31e134ffd49e18d238f305f5decf5",{configurable:!0,set:function(){b("You are setting _fb4a31e134ffd49e18d238f305f5decf5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9d19f3d186b44b6d8f7d9027ae020d3f")||(Object.defineProperty(a.ready,"_f9d19f3d186b44b6d8f7d9027ae020d3f",{configurable:!0,get:function(){b("You are getting _f9d19f3d186b44b6d8f7d9027ae020d3f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9d19f3d186b44b6d8f7d9027ae020d3f",{configurable:!0,set:function(){b("You are setting _f9d19f3d186b44b6d8f7d9027ae020d3f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2d0baaf22b31477a8cc7c4f0bb3e1619")||(Object.defineProperty(a.ready,"_f2d0baaf22b31477a8cc7c4f0bb3e1619",{configurable:!0,get:function(){b("You are getting _f2d0baaf22b31477a8cc7c4f0bb3e1619 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2d0baaf22b31477a8cc7c4f0bb3e1619",{configurable:!0,set:function(){b("You are setting _f2d0baaf22b31477a8cc7c4f0bb3e1619 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f19496dd849b84eb494b2c46c6bfa5a8a")||(Object.defineProperty(a.ready,"_f19496dd849b84eb494b2c46c6bfa5a8a",{configurable:!0,get:function(){b("You are getting _f19496dd849b84eb494b2c46c6bfa5a8a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f19496dd849b84eb494b2c46c6bfa5a8a",{configurable:!0,set:function(){b("You are setting _f19496dd849b84eb494b2c46c6bfa5a8a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f326f39bb93c14a2bae5b8b3afa11bd52")||(Object.defineProperty(a.ready,"_f326f39bb93c14a2bae5b8b3afa11bd52",{configurable:!0,get:function(){b("You are getting _f326f39bb93c14a2bae5b8b3afa11bd52 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f326f39bb93c14a2bae5b8b3afa11bd52",{configurable:!0,set:function(){b("You are setting _f326f39bb93c14a2bae5b8b3afa11bd52 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8f59d1f047d14c28a9df25221e63b284")||(Object.defineProperty(a.ready,"_f8f59d1f047d14c28a9df25221e63b284",{configurable:!0,get:function(){b("You are getting _f8f59d1f047d14c28a9df25221e63b284 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8f59d1f047d14c28a9df25221e63b284",{configurable:!0,set:function(){b("You are setting _f8f59d1f047d14c28a9df25221e63b284 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f85a81006e6044c7881516494f9e71811")||(Object.defineProperty(a.ready,"_f85a81006e6044c7881516494f9e71811",{configurable:!0,get:function(){b("You are getting _f85a81006e6044c7881516494f9e71811 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f85a81006e6044c7881516494f9e71811",{configurable:!0,set:function(){b("You are setting _f85a81006e6044c7881516494f9e71811 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4e4b2602499f454fa084b9850e70b0e6")||(Object.defineProperty(a.ready,"_f4e4b2602499f454fa084b9850e70b0e6",{configurable:!0,get:function(){b("You are getting _f4e4b2602499f454fa084b9850e70b0e6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4e4b2602499f454fa084b9850e70b0e6",{configurable:!0,set:function(){b("You are setting _f4e4b2602499f454fa084b9850e70b0e6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f61f8075ea4b946e7990f2d6ead751d6f")||(Object.defineProperty(a.ready,"_f61f8075ea4b946e7990f2d6ead751d6f",{configurable:!0,get:function(){b("You are getting _f61f8075ea4b946e7990f2d6ead751d6f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f61f8075ea4b946e7990f2d6ead751d6f",{configurable:!0,set:function(){b("You are setting _f61f8075ea4b946e7990f2d6ead751d6f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f77045f41370b4fff819d3389ba149019")||(Object.defineProperty(a.ready,"_f77045f41370b4fff819d3389ba149019",{configurable:!0,get:function(){b("You are getting _f77045f41370b4fff819d3389ba149019 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f77045f41370b4fff819d3389ba149019",{configurable:!0,set:function(){b("You are setting _f77045f41370b4fff819d3389ba149019 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f504a2efdfef64a5abf969582a0afc4d8")||(Object.defineProperty(a.ready,"_f504a2efdfef64a5abf969582a0afc4d8",{configurable:!0,get:function(){b("You are getting _f504a2efdfef64a5abf969582a0afc4d8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f504a2efdfef64a5abf969582a0afc4d8",{configurable:!0,set:function(){b("You are setting _f504a2efdfef64a5abf969582a0afc4d8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f82ee574a2eef435a9294f0bcb8d8f613")||(Object.defineProperty(a.ready,"_f82ee574a2eef435a9294f0bcb8d8f613",{configurable:!0,get:function(){b("You are getting _f82ee574a2eef435a9294f0bcb8d8f613 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f82ee574a2eef435a9294f0bcb8d8f613",{configurable:!0,set:function(){b("You are setting _f82ee574a2eef435a9294f0bcb8d8f613 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7b99691f26bb462094cc312b0f150bb8")||(Object.defineProperty(a.ready,"_f7b99691f26bb462094cc312b0f150bb8",{configurable:!0,get:function(){b("You are getting _f7b99691f26bb462094cc312b0f150bb8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7b99691f26bb462094cc312b0f150bb8",{configurable:!0,set:function(){b("You are setting _f7b99691f26bb462094cc312b0f150bb8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_feb48a95167514c35beefc3ebfda6d0d1")||(Object.defineProperty(a.ready,"_feb48a95167514c35beefc3ebfda6d0d1",{configurable:!0,get:function(){b("You are getting _feb48a95167514c35beefc3ebfda6d0d1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_feb48a95167514c35beefc3ebfda6d0d1",{configurable:!0,set:function(){b("You are setting _feb48a95167514c35beefc3ebfda6d0d1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f05b0bed0e55840e29561c0f460c19a92")||(Object.defineProperty(a.ready,"_f05b0bed0e55840e29561c0f460c19a92",{configurable:!0,get:function(){b("You are getting _f05b0bed0e55840e29561c0f460c19a92 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f05b0bed0e55840e29561c0f460c19a92",{configurable:!0,set:function(){b("You are setting _f05b0bed0e55840e29561c0f460c19a92 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0c2aaf7c31e941c496343e9ce1e0ed56")||(Object.defineProperty(a.ready,"_f0c2aaf7c31e941c496343e9ce1e0ed56",{configurable:!0,get:function(){b("You are getting _f0c2aaf7c31e941c496343e9ce1e0ed56 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0c2aaf7c31e941c496343e9ce1e0ed56",{configurable:!0,set:function(){b("You are setting _f0c2aaf7c31e941c496343e9ce1e0ed56 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f23ebd68b0b2f445c80acdd7062aa4679")||(Object.defineProperty(a.ready,"_f23ebd68b0b2f445c80acdd7062aa4679",{configurable:!0,get:function(){b("You are getting _f23ebd68b0b2f445c80acdd7062aa4679 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f23ebd68b0b2f445c80acdd7062aa4679",{configurable:!0,set:function(){b("You are setting _f23ebd68b0b2f445c80acdd7062aa4679 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f45461b1154cf40a090ba03a3906479e0")||(Object.defineProperty(a.ready,"_f45461b1154cf40a090ba03a3906479e0",{configurable:!0,get:function(){b("You are getting _f45461b1154cf40a090ba03a3906479e0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f45461b1154cf40a090ba03a3906479e0",{configurable:!0,set:function(){b("You are setting _f45461b1154cf40a090ba03a3906479e0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7d3e872d857443e987059772cdfc8f31")||(Object.defineProperty(a.ready,"_f7d3e872d857443e987059772cdfc8f31",{configurable:!0,get:function(){b("You are getting _f7d3e872d857443e987059772cdfc8f31 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7d3e872d857443e987059772cdfc8f31",{configurable:!0,set:function(){b("You are setting _f7d3e872d857443e987059772cdfc8f31 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa91bf6518bfd4fa0a34f59627e220aac")||(Object.defineProperty(a.ready,"_fa91bf6518bfd4fa0a34f59627e220aac",{configurable:!0,get:function(){b("You are getting _fa91bf6518bfd4fa0a34f59627e220aac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa91bf6518bfd4fa0a34f59627e220aac",{configurable:!0,set:function(){b("You are setting _fa91bf6518bfd4fa0a34f59627e220aac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa2a87c9ccef24b5ca6c375ecc4b05541")||(Object.defineProperty(a.ready,"_fa2a87c9ccef24b5ca6c375ecc4b05541",{configurable:!0,get:function(){b("You are getting _fa2a87c9ccef24b5ca6c375ecc4b05541 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa2a87c9ccef24b5ca6c375ecc4b05541",{configurable:!0,set:function(){b("You are setting _fa2a87c9ccef24b5ca6c375ecc4b05541 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f11a17cd8ee3146839401091525323a7f")||(Object.defineProperty(a.ready,"_f11a17cd8ee3146839401091525323a7f",{configurable:!0,get:function(){b("You are getting _f11a17cd8ee3146839401091525323a7f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f11a17cd8ee3146839401091525323a7f",{configurable:!0,set:function(){b("You are setting _f11a17cd8ee3146839401091525323a7f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa22782ed709146a7bad8528383835b9c")||(Object.defineProperty(a.ready,"_fa22782ed709146a7bad8528383835b9c",{configurable:!0,get:function(){b("You are getting _fa22782ed709146a7bad8528383835b9c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa22782ed709146a7bad8528383835b9c",{configurable:!0,set:function(){b("You are setting _fa22782ed709146a7bad8528383835b9c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc4b5e048c79e443ba790303bafd7cd4b")||(Object.defineProperty(a.ready,"_fc4b5e048c79e443ba790303bafd7cd4b",{configurable:!0,get:function(){b("You are getting _fc4b5e048c79e443ba790303bafd7cd4b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc4b5e048c79e443ba790303bafd7cd4b",{configurable:!0,set:function(){b("You are setting _fc4b5e048c79e443ba790303bafd7cd4b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa9bfed8fe83945fc9a5c0d8135d229e5")||(Object.defineProperty(a.ready,"_fa9bfed8fe83945fc9a5c0d8135d229e5",{configurable:!0,get:function(){b("You are getting _fa9bfed8fe83945fc9a5c0d8135d229e5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa9bfed8fe83945fc9a5c0d8135d229e5",{configurable:!0,set:function(){b("You are setting _fa9bfed8fe83945fc9a5c0d8135d229e5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8aa0209e633d44d09fd5f1bc8ab6af7a")||(Object.defineProperty(a.ready,"_f8aa0209e633d44d09fd5f1bc8ab6af7a",{configurable:!0,get:function(){b("You are getting _f8aa0209e633d44d09fd5f1bc8ab6af7a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8aa0209e633d44d09fd5f1bc8ab6af7a",{configurable:!0,set:function(){b("You are setting _f8aa0209e633d44d09fd5f1bc8ab6af7a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5b3fa39195d54df48ed6333f41493b51")||(Object.defineProperty(a.ready,"_f5b3fa39195d54df48ed6333f41493b51",{configurable:!0,get:function(){b("You are getting _f5b3fa39195d54df48ed6333f41493b51 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5b3fa39195d54df48ed6333f41493b51",{configurable:!0,set:function(){b("You are setting _f5b3fa39195d54df48ed6333f41493b51 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdc176f3ccfe944b895fa78ec0802b045")||(Object.defineProperty(a.ready,"_fdc176f3ccfe944b895fa78ec0802b045",{configurable:!0,get:function(){b("You are getting _fdc176f3ccfe944b895fa78ec0802b045 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdc176f3ccfe944b895fa78ec0802b045",{configurable:!0,set:function(){b("You are setting _fdc176f3ccfe944b895fa78ec0802b045 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f68d576648ff84310b35f3ea637bfb723")||(Object.defineProperty(a.ready,"_f68d576648ff84310b35f3ea637bfb723",{configurable:!0,get:function(){b("You are getting _f68d576648ff84310b35f3ea637bfb723 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f68d576648ff84310b35f3ea637bfb723",{configurable:!0,set:function(){b("You are setting _f68d576648ff84310b35f3ea637bfb723 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f07a76eff541b4ad795a3023703431240")||(Object.defineProperty(a.ready,"_f07a76eff541b4ad795a3023703431240",{configurable:!0,get:function(){b("You are getting _f07a76eff541b4ad795a3023703431240 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f07a76eff541b4ad795a3023703431240",{configurable:!0,set:function(){b("You are setting _f07a76eff541b4ad795a3023703431240 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f32ed95b105874945b82b88cfe499e29a")||(Object.defineProperty(a.ready,"_f32ed95b105874945b82b88cfe499e29a",{configurable:!0,get:function(){b("You are getting _f32ed95b105874945b82b88cfe499e29a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f32ed95b105874945b82b88cfe499e29a",{configurable:!0,set:function(){b("You are setting _f32ed95b105874945b82b88cfe499e29a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa26935e0322248ebbbf8ffb0fb803c61")||(Object.defineProperty(a.ready,"_fa26935e0322248ebbbf8ffb0fb803c61",{configurable:!0,get:function(){b("You are getting _fa26935e0322248ebbbf8ffb0fb803c61 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa26935e0322248ebbbf8ffb0fb803c61",{configurable:!0,set:function(){b("You are setting _fa26935e0322248ebbbf8ffb0fb803c61 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdd0c30a60e4e463e9081eff99bd8028a")||(Object.defineProperty(a.ready,"_fdd0c30a60e4e463e9081eff99bd8028a",{configurable:!0,get:function(){b("You are getting _fdd0c30a60e4e463e9081eff99bd8028a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdd0c30a60e4e463e9081eff99bd8028a",{configurable:!0,set:function(){b("You are setting _fdd0c30a60e4e463e9081eff99bd8028a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff572b3275aa14f2fb748a17d3ecf5647")||(Object.defineProperty(a.ready,"_ff572b3275aa14f2fb748a17d3ecf5647",{configurable:!0,get:function(){b("You are getting _ff572b3275aa14f2fb748a17d3ecf5647 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff572b3275aa14f2fb748a17d3ecf5647",{configurable:!0,set:function(){b("You are setting _ff572b3275aa14f2fb748a17d3ecf5647 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3943722e1ebe4304ae01773ca0f93d12")||(Object.defineProperty(a.ready,"_f3943722e1ebe4304ae01773ca0f93d12",{configurable:!0,get:function(){b("You are getting _f3943722e1ebe4304ae01773ca0f93d12 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3943722e1ebe4304ae01773ca0f93d12",{configurable:!0,set:function(){b("You are setting _f3943722e1ebe4304ae01773ca0f93d12 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7644dd75bca0432dbc8d3a5159b8f4fd")||(Object.defineProperty(a.ready,"_f7644dd75bca0432dbc8d3a5159b8f4fd",{configurable:!0,get:function(){b("You are getting _f7644dd75bca0432dbc8d3a5159b8f4fd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7644dd75bca0432dbc8d3a5159b8f4fd",{configurable:!0,set:function(){b("You are setting _f7644dd75bca0432dbc8d3a5159b8f4fd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f072ddabe12894043b136bb88f518875f")||(Object.defineProperty(a.ready,"_f072ddabe12894043b136bb88f518875f",{configurable:!0,get:function(){b("You are getting _f072ddabe12894043b136bb88f518875f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f072ddabe12894043b136bb88f518875f",{configurable:!0,set:function(){b("You are setting _f072ddabe12894043b136bb88f518875f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe741d3c2cbcc427c9ef40a2c21a02b30")||(Object.defineProperty(a.ready,"_fe741d3c2cbcc427c9ef40a2c21a02b30",{configurable:!0,get:function(){b("You are getting _fe741d3c2cbcc427c9ef40a2c21a02b30 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe741d3c2cbcc427c9ef40a2c21a02b30",{configurable:!0,set:function(){b("You are setting _fe741d3c2cbcc427c9ef40a2c21a02b30 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc22b04050b154ff085bfa83deefb4f08")||(Object.defineProperty(a.ready,"_fc22b04050b154ff085bfa83deefb4f08",{configurable:!0,get:function(){b("You are getting _fc22b04050b154ff085bfa83deefb4f08 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc22b04050b154ff085bfa83deefb4f08",{configurable:!0,set:function(){b("You are setting _fc22b04050b154ff085bfa83deefb4f08 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb77300fb9b934493a0ba3a1f111e7c86")||(Object.defineProperty(a.ready,"_fb77300fb9b934493a0ba3a1f111e7c86",{configurable:!0,get:function(){b("You are getting _fb77300fb9b934493a0ba3a1f111e7c86 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb77300fb9b934493a0ba3a1f111e7c86",{configurable:!0,set:function(){b("You are setting _fb77300fb9b934493a0ba3a1f111e7c86 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f17d4f986a64b4e6aacf42918c7427402")||(Object.defineProperty(a.ready,"_f17d4f986a64b4e6aacf42918c7427402",{configurable:!0,get:function(){b("You are getting _f17d4f986a64b4e6aacf42918c7427402 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f17d4f986a64b4e6aacf42918c7427402",{configurable:!0,set:function(){b("You are setting _f17d4f986a64b4e6aacf42918c7427402 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa23a2746efd7475385aaaecf772f5581")||(Object.defineProperty(a.ready,"_fa23a2746efd7475385aaaecf772f5581",{configurable:!0,get:function(){b("You are getting _fa23a2746efd7475385aaaecf772f5581 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa23a2746efd7475385aaaecf772f5581",{configurable:!0,set:function(){b("You are setting _fa23a2746efd7475385aaaecf772f5581 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f09f27411d9664e6b9fa2d31ca10626d4")||(Object.defineProperty(a.ready,"_f09f27411d9664e6b9fa2d31ca10626d4",{configurable:!0,get:function(){b("You are getting _f09f27411d9664e6b9fa2d31ca10626d4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f09f27411d9664e6b9fa2d31ca10626d4",{configurable:!0,set:function(){b("You are setting _f09f27411d9664e6b9fa2d31ca10626d4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1edd05b131eb4d0bad4cf5e2e30ba2b7")||(Object.defineProperty(a.ready,"_f1edd05b131eb4d0bad4cf5e2e30ba2b7",{configurable:!0,get:function(){b("You are getting _f1edd05b131eb4d0bad4cf5e2e30ba2b7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1edd05b131eb4d0bad4cf5e2e30ba2b7",{configurable:!0,set:function(){b("You are setting _f1edd05b131eb4d0bad4cf5e2e30ba2b7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9d95f8cd78df407aa1a787db113fe3d3")||(Object.defineProperty(a.ready,"_f9d95f8cd78df407aa1a787db113fe3d3",{configurable:!0,get:function(){b("You are getting _f9d95f8cd78df407aa1a787db113fe3d3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9d95f8cd78df407aa1a787db113fe3d3",{configurable:!0,set:function(){b("You are setting _f9d95f8cd78df407aa1a787db113fe3d3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0b24d0862f2d466db105c51af715f41f")||(Object.defineProperty(a.ready,"_f0b24d0862f2d466db105c51af715f41f",{configurable:!0,get:function(){b("You are getting _f0b24d0862f2d466db105c51af715f41f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0b24d0862f2d466db105c51af715f41f",{configurable:!0,set:function(){b("You are setting _f0b24d0862f2d466db105c51af715f41f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2dff2018f6e64178a8b7485ee0b52428")||(Object.defineProperty(a.ready,"_f2dff2018f6e64178a8b7485ee0b52428",{configurable:!0,get:function(){b("You are getting _f2dff2018f6e64178a8b7485ee0b52428 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2dff2018f6e64178a8b7485ee0b52428",{configurable:!0,set:function(){b("You are setting _f2dff2018f6e64178a8b7485ee0b52428 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcb222756bb4f4e149c6648103bc484a8")||(Object.defineProperty(a.ready,"_fcb222756bb4f4e149c6648103bc484a8",{configurable:!0,get:function(){b("You are getting _fcb222756bb4f4e149c6648103bc484a8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcb222756bb4f4e149c6648103bc484a8",{configurable:!0,set:function(){b("You are setting _fcb222756bb4f4e149c6648103bc484a8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb47cb5165f09450286753831b6648406")||(Object.defineProperty(a.ready,"_fb47cb5165f09450286753831b6648406",{configurable:!0,get:function(){b("You are getting _fb47cb5165f09450286753831b6648406 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb47cb5165f09450286753831b6648406",{configurable:!0,set:function(){b("You are setting _fb47cb5165f09450286753831b6648406 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1d0b709d141943858464882a34cf8082")||(Object.defineProperty(a.ready,"_f1d0b709d141943858464882a34cf8082",{configurable:!0,get:function(){b("You are getting _f1d0b709d141943858464882a34cf8082 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1d0b709d141943858464882a34cf8082",{configurable:!0,set:function(){b("You are setting _f1d0b709d141943858464882a34cf8082 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f12058c161cc04c3d9f1088377ccc38c8")||(Object.defineProperty(a.ready,"_f12058c161cc04c3d9f1088377ccc38c8",{configurable:!0,get:function(){b("You are getting _f12058c161cc04c3d9f1088377ccc38c8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f12058c161cc04c3d9f1088377ccc38c8",{configurable:!0,set:function(){b("You are setting _f12058c161cc04c3d9f1088377ccc38c8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f831e63dd869640efb6607d84ba03aa10")||(Object.defineProperty(a.ready,"_f831e63dd869640efb6607d84ba03aa10",{configurable:!0,get:function(){b("You are getting _f831e63dd869640efb6607d84ba03aa10 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f831e63dd869640efb6607d84ba03aa10",{configurable:!0,set:function(){b("You are setting _f831e63dd869640efb6607d84ba03aa10 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2e36e12d1bef4679b3632ec03566e385")||(Object.defineProperty(a.ready,"_f2e36e12d1bef4679b3632ec03566e385",{configurable:!0,get:function(){b("You are getting _f2e36e12d1bef4679b3632ec03566e385 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2e36e12d1bef4679b3632ec03566e385",{configurable:!0,set:function(){b("You are setting _f2e36e12d1bef4679b3632ec03566e385 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb43c529591774e059f373c5409924582")||(Object.defineProperty(a.ready,"_fb43c529591774e059f373c5409924582",{configurable:!0,get:function(){b("You are getting _fb43c529591774e059f373c5409924582 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb43c529591774e059f373c5409924582",{configurable:!0,set:function(){b("You are setting _fb43c529591774e059f373c5409924582 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6e5d3f90830246b4ba48ed58620cb393")||(Object.defineProperty(a.ready,"_f6e5d3f90830246b4ba48ed58620cb393",{configurable:!0,get:function(){b("You are getting _f6e5d3f90830246b4ba48ed58620cb393 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6e5d3f90830246b4ba48ed58620cb393",{configurable:!0,set:function(){b("You are setting _f6e5d3f90830246b4ba48ed58620cb393 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd84e4c85942e4d3c8e10ee2ddd9d4dfe")||(Object.defineProperty(a.ready,"_fd84e4c85942e4d3c8e10ee2ddd9d4dfe",{configurable:!0,get:function(){b("You are getting _fd84e4c85942e4d3c8e10ee2ddd9d4dfe on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd84e4c85942e4d3c8e10ee2ddd9d4dfe",{configurable:!0,set:function(){b("You are setting _fd84e4c85942e4d3c8e10ee2ddd9d4dfe on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4b91b52f33fb4007ab3469537b7e6571")||(Object.defineProperty(a.ready,"_f4b91b52f33fb4007ab3469537b7e6571",{configurable:!0,get:function(){b("You are getting _f4b91b52f33fb4007ab3469537b7e6571 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4b91b52f33fb4007ab3469537b7e6571",{configurable:!0,set:function(){b("You are setting _f4b91b52f33fb4007ab3469537b7e6571 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f74e9f222d5b44ff9aadd16178d51c50f")||(Object.defineProperty(a.ready,"_f74e9f222d5b44ff9aadd16178d51c50f",{configurable:!0,get:function(){b("You are getting _f74e9f222d5b44ff9aadd16178d51c50f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f74e9f222d5b44ff9aadd16178d51c50f",{configurable:!0,set:function(){b("You are setting _f74e9f222d5b44ff9aadd16178d51c50f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6b22740bdd64412896d50aff02ee81eb")||(Object.defineProperty(a.ready,"_f6b22740bdd64412896d50aff02ee81eb",{configurable:!0,get:function(){b("You are getting _f6b22740bdd64412896d50aff02ee81eb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6b22740bdd64412896d50aff02ee81eb",{configurable:!0,set:function(){b("You are setting _f6b22740bdd64412896d50aff02ee81eb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1df0d9d2138b4dd09d6ae15bf493ddbd")||(Object.defineProperty(a.ready,"_f1df0d9d2138b4dd09d6ae15bf493ddbd",{configurable:!0,get:function(){b("You are getting _f1df0d9d2138b4dd09d6ae15bf493ddbd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1df0d9d2138b4dd09d6ae15bf493ddbd",{configurable:!0,set:function(){b("You are setting _f1df0d9d2138b4dd09d6ae15bf493ddbd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5bc0fb2943634aa8b7591bdb14832d2a")||(Object.defineProperty(a.ready,"_f5bc0fb2943634aa8b7591bdb14832d2a",{configurable:!0,get:function(){b("You are getting _f5bc0fb2943634aa8b7591bdb14832d2a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5bc0fb2943634aa8b7591bdb14832d2a",{configurable:!0,set:function(){b("You are setting _f5bc0fb2943634aa8b7591bdb14832d2a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fadea7b2b058c40b6846d1e633d57b796")||(Object.defineProperty(a.ready,"_fadea7b2b058c40b6846d1e633d57b796",{configurable:!0,get:function(){b("You are getting _fadea7b2b058c40b6846d1e633d57b796 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fadea7b2b058c40b6846d1e633d57b796",{configurable:!0,set:function(){b("You are setting _fadea7b2b058c40b6846d1e633d57b796 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4e481f0e433a4ae184de8b96b0e3fc40")||(Object.defineProperty(a.ready,"_f4e481f0e433a4ae184de8b96b0e3fc40",{configurable:!0,get:function(){b("You are getting _f4e481f0e433a4ae184de8b96b0e3fc40 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4e481f0e433a4ae184de8b96b0e3fc40",{configurable:!0,set:function(){b("You are setting _f4e481f0e433a4ae184de8b96b0e3fc40 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f96eea351fd1c4a439dff41dd986c5e51")||(Object.defineProperty(a.ready,"_f96eea351fd1c4a439dff41dd986c5e51",{configurable:!0,get:function(){b("You are getting _f96eea351fd1c4a439dff41dd986c5e51 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f96eea351fd1c4a439dff41dd986c5e51",{configurable:!0,set:function(){b("You are setting _f96eea351fd1c4a439dff41dd986c5e51 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f12d6e15088d549b3b8c98b8a1ae0386e")||(Object.defineProperty(a.ready,"_f12d6e15088d549b3b8c98b8a1ae0386e",{configurable:!0,get:function(){b("You are getting _f12d6e15088d549b3b8c98b8a1ae0386e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f12d6e15088d549b3b8c98b8a1ae0386e",{configurable:!0,set:function(){b("You are setting _f12d6e15088d549b3b8c98b8a1ae0386e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fba4a00421bfe453785ccbed2e36330df")||(Object.defineProperty(a.ready,"_fba4a00421bfe453785ccbed2e36330df",{configurable:!0,get:function(){b("You are getting _fba4a00421bfe453785ccbed2e36330df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fba4a00421bfe453785ccbed2e36330df",{configurable:!0,set:function(){b("You are setting _fba4a00421bfe453785ccbed2e36330df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f93c050c2ca8b4bbc874cc270c6f95e92")||(Object.defineProperty(a.ready,"_f93c050c2ca8b4bbc874cc270c6f95e92",{configurable:!0,get:function(){b("You are getting _f93c050c2ca8b4bbc874cc270c6f95e92 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f93c050c2ca8b4bbc874cc270c6f95e92",{configurable:!0,set:function(){b("You are setting _f93c050c2ca8b4bbc874cc270c6f95e92 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f00f54a3d37da4874bc3128a727cfeb06")||(Object.defineProperty(a.ready,"_f00f54a3d37da4874bc3128a727cfeb06",{configurable:!0,get:function(){b("You are getting _f00f54a3d37da4874bc3128a727cfeb06 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f00f54a3d37da4874bc3128a727cfeb06",{configurable:!0,set:function(){b("You are setting _f00f54a3d37da4874bc3128a727cfeb06 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f407806d846484999b798c5f513c28cc6")||(Object.defineProperty(a.ready,"_f407806d846484999b798c5f513c28cc6",{configurable:!0,get:function(){b("You are getting _f407806d846484999b798c5f513c28cc6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f407806d846484999b798c5f513c28cc6",{configurable:!0,set:function(){b("You are setting _f407806d846484999b798c5f513c28cc6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f46861c763d3746a3bab4fa4699095e86")||(Object.defineProperty(a.ready,"_f46861c763d3746a3bab4fa4699095e86",{configurable:!0,get:function(){b("You are getting _f46861c763d3746a3bab4fa4699095e86 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f46861c763d3746a3bab4fa4699095e86",{configurable:!0,set:function(){b("You are setting _f46861c763d3746a3bab4fa4699095e86 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff5ed62e8be6d45238e7ea2660bb81f40")||(Object.defineProperty(a.ready,"_ff5ed62e8be6d45238e7ea2660bb81f40",{configurable:!0,get:function(){b("You are getting _ff5ed62e8be6d45238e7ea2660bb81f40 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff5ed62e8be6d45238e7ea2660bb81f40",{configurable:!0,set:function(){b("You are setting _ff5ed62e8be6d45238e7ea2660bb81f40 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc5231a07b2ca472896fdf0f35b7abfa8")||(Object.defineProperty(a.ready,"_fc5231a07b2ca472896fdf0f35b7abfa8",{configurable:!0,get:function(){b("You are getting _fc5231a07b2ca472896fdf0f35b7abfa8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc5231a07b2ca472896fdf0f35b7abfa8",{configurable:!0,set:function(){b("You are setting _fc5231a07b2ca472896fdf0f35b7abfa8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6caae22d365049f29ca47fa76ec409b2")||(Object.defineProperty(a.ready,"_f6caae22d365049f29ca47fa76ec409b2",{configurable:!0,get:function(){b("You are getting _f6caae22d365049f29ca47fa76ec409b2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6caae22d365049f29ca47fa76ec409b2",{configurable:!0,set:function(){b("You are setting _f6caae22d365049f29ca47fa76ec409b2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f96c0f38609414f94b5f1725b3be37982")||(Object.defineProperty(a.ready,"_f96c0f38609414f94b5f1725b3be37982",{configurable:!0,get:function(){b("You are getting _f96c0f38609414f94b5f1725b3be37982 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f96c0f38609414f94b5f1725b3be37982",{configurable:!0,set:function(){b("You are setting _f96c0f38609414f94b5f1725b3be37982 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fea549ba56e2b4a2c926c26b30b182be4")||(Object.defineProperty(a.ready,"_fea549ba56e2b4a2c926c26b30b182be4",{configurable:!0,get:function(){b("You are getting _fea549ba56e2b4a2c926c26b30b182be4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fea549ba56e2b4a2c926c26b30b182be4",{configurable:!0,set:function(){b("You are setting _fea549ba56e2b4a2c926c26b30b182be4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3bb1f34265fa404bbdb324fb685a32b8")||(Object.defineProperty(a.ready,"_f3bb1f34265fa404bbdb324fb685a32b8",{configurable:!0,get:function(){b("You are getting _f3bb1f34265fa404bbdb324fb685a32b8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3bb1f34265fa404bbdb324fb685a32b8",{configurable:!0,set:function(){b("You are setting _f3bb1f34265fa404bbdb324fb685a32b8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f182650cdf2a34365ad79111fea694ac1")||(Object.defineProperty(a.ready,"_f182650cdf2a34365ad79111fea694ac1",{configurable:!0,get:function(){b("You are getting _f182650cdf2a34365ad79111fea694ac1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f182650cdf2a34365ad79111fea694ac1",{configurable:!0,set:function(){b("You are setting _f182650cdf2a34365ad79111fea694ac1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2550253c96e44c6d8ef867c38c5faf1c")||(Object.defineProperty(a.ready,"_f2550253c96e44c6d8ef867c38c5faf1c",{configurable:!0,get:function(){b("You are getting _f2550253c96e44c6d8ef867c38c5faf1c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2550253c96e44c6d8ef867c38c5faf1c",{configurable:!0,set:function(){b("You are setting _f2550253c96e44c6d8ef867c38c5faf1c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2ab332b8ac1d48f9bf036f5051ac8642")||(Object.defineProperty(a.ready,"_f2ab332b8ac1d48f9bf036f5051ac8642",{configurable:!0,get:function(){b("You are getting _f2ab332b8ac1d48f9bf036f5051ac8642 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2ab332b8ac1d48f9bf036f5051ac8642",{configurable:!0,set:function(){b("You are setting _f2ab332b8ac1d48f9bf036f5051ac8642 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe5c5967ada6a4d3ba11425301a44cac0")||(Object.defineProperty(a.ready,"_fe5c5967ada6a4d3ba11425301a44cac0",{configurable:!0,get:function(){b("You are getting _fe5c5967ada6a4d3ba11425301a44cac0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe5c5967ada6a4d3ba11425301a44cac0",{configurable:!0,set:function(){b("You are setting _fe5c5967ada6a4d3ba11425301a44cac0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdd5adec65d61411cbe1a65d11a2a38e0")||(Object.defineProperty(a.ready,"_fdd5adec65d61411cbe1a65d11a2a38e0",{configurable:!0,get:function(){b("You are getting _fdd5adec65d61411cbe1a65d11a2a38e0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdd5adec65d61411cbe1a65d11a2a38e0",{configurable:!0,set:function(){b("You are setting _fdd5adec65d61411cbe1a65d11a2a38e0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8e85e2cab5614aee952f6ba469e90c7b")||(Object.defineProperty(a.ready,"_f8e85e2cab5614aee952f6ba469e90c7b",{configurable:!0,get:function(){b("You are getting _f8e85e2cab5614aee952f6ba469e90c7b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8e85e2cab5614aee952f6ba469e90c7b",{configurable:!0,set:function(){b("You are setting _f8e85e2cab5614aee952f6ba469e90c7b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3d39f75db5f84e3cbd61ac62bdf09e27")||(Object.defineProperty(a.ready,"_f3d39f75db5f84e3cbd61ac62bdf09e27",{configurable:!0,get:function(){b("You are getting _f3d39f75db5f84e3cbd61ac62bdf09e27 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3d39f75db5f84e3cbd61ac62bdf09e27",{configurable:!0,set:function(){b("You are setting _f3d39f75db5f84e3cbd61ac62bdf09e27 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f533a456ba03e4dd19f95dfa03593b9fa")||(Object.defineProperty(a.ready,"_f533a456ba03e4dd19f95dfa03593b9fa",{configurable:!0,get:function(){b("You are getting _f533a456ba03e4dd19f95dfa03593b9fa on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f533a456ba03e4dd19f95dfa03593b9fa",{configurable:!0,set:function(){b("You are setting _f533a456ba03e4dd19f95dfa03593b9fa on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f72bfc7d653c64697874e519034fe90b3")||(Object.defineProperty(a.ready,"_f72bfc7d653c64697874e519034fe90b3",{configurable:!0,get:function(){b("You are getting _f72bfc7d653c64697874e519034fe90b3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f72bfc7d653c64697874e519034fe90b3",{configurable:!0,set:function(){b("You are setting _f72bfc7d653c64697874e519034fe90b3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f25c21365a1944966ba3ae5062cc839d1")||(Object.defineProperty(a.ready,"_f25c21365a1944966ba3ae5062cc839d1",{configurable:!0,get:function(){b("You are getting _f25c21365a1944966ba3ae5062cc839d1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f25c21365a1944966ba3ae5062cc839d1",{configurable:!0,set:function(){b("You are setting _f25c21365a1944966ba3ae5062cc839d1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f22479ab85bea4127ba819b0d7f89c8d1")||(Object.defineProperty(a.ready,"_f22479ab85bea4127ba819b0d7f89c8d1",{configurable:!0,get:function(){b("You are getting _f22479ab85bea4127ba819b0d7f89c8d1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f22479ab85bea4127ba819b0d7f89c8d1",{configurable:!0,set:function(){b("You are setting _f22479ab85bea4127ba819b0d7f89c8d1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2b49342740204c9c9c6162eab00714f0")||(Object.defineProperty(a.ready,"_f2b49342740204c9c9c6162eab00714f0",{configurable:!0,get:function(){b("You are getting _f2b49342740204c9c9c6162eab00714f0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2b49342740204c9c9c6162eab00714f0",{configurable:!0,set:function(){b("You are setting _f2b49342740204c9c9c6162eab00714f0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc8cc4befa8f3443ca36d812f16a0a8d1")||(Object.defineProperty(a.ready,"_fc8cc4befa8f3443ca36d812f16a0a8d1",{configurable:!0,get:function(){b("You are getting _fc8cc4befa8f3443ca36d812f16a0a8d1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc8cc4befa8f3443ca36d812f16a0a8d1",{configurable:!0,set:function(){b("You are setting _fc8cc4befa8f3443ca36d812f16a0a8d1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_faf1caff5e9ea4bf0ac62b61326264430")||(Object.defineProperty(a.ready,"_faf1caff5e9ea4bf0ac62b61326264430",{configurable:!0,get:function(){b("You are getting _faf1caff5e9ea4bf0ac62b61326264430 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_faf1caff5e9ea4bf0ac62b61326264430",{configurable:!0,set:function(){b("You are setting _faf1caff5e9ea4bf0ac62b61326264430 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb11945f98d844bd8bac73f8eefdc6750")||(Object.defineProperty(a.ready,"_fb11945f98d844bd8bac73f8eefdc6750",{configurable:!0,get:function(){b("You are getting _fb11945f98d844bd8bac73f8eefdc6750 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb11945f98d844bd8bac73f8eefdc6750",{configurable:!0,set:function(){b("You are setting _fb11945f98d844bd8bac73f8eefdc6750 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7af1f47d30e14081a88160a93b59779c")||(Object.defineProperty(a.ready,"_f7af1f47d30e14081a88160a93b59779c",{configurable:!0,get:function(){b("You are getting _f7af1f47d30e14081a88160a93b59779c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7af1f47d30e14081a88160a93b59779c",{configurable:!0,set:function(){b("You are setting _f7af1f47d30e14081a88160a93b59779c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f85aa2bdfe6bc470eb43d0361c886a006")||(Object.defineProperty(a.ready,"_f85aa2bdfe6bc470eb43d0361c886a006",{configurable:!0,get:function(){b("You are getting _f85aa2bdfe6bc470eb43d0361c886a006 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f85aa2bdfe6bc470eb43d0361c886a006",{configurable:!0,set:function(){b("You are setting _f85aa2bdfe6bc470eb43d0361c886a006 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f03c84e3b75d04358a6c9e8bc65bb368f")||(Object.defineProperty(a.ready,"_f03c84e3b75d04358a6c9e8bc65bb368f",{configurable:!0,get:function(){b("You are getting _f03c84e3b75d04358a6c9e8bc65bb368f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f03c84e3b75d04358a6c9e8bc65bb368f",{configurable:!0,set:function(){b("You are setting _f03c84e3b75d04358a6c9e8bc65bb368f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f874859820eb84afc990eaf977f5559f4")||(Object.defineProperty(a.ready,"_f874859820eb84afc990eaf977f5559f4",{configurable:!0,get:function(){b("You are getting _f874859820eb84afc990eaf977f5559f4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f874859820eb84afc990eaf977f5559f4",{configurable:!0,set:function(){b("You are setting _f874859820eb84afc990eaf977f5559f4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7d092d326b874a6da638b6083106af49")||(Object.defineProperty(a.ready,"_f7d092d326b874a6da638b6083106af49",{configurable:!0,get:function(){b("You are getting _f7d092d326b874a6da638b6083106af49 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7d092d326b874a6da638b6083106af49",{configurable:!0,set:function(){b("You are setting _f7d092d326b874a6da638b6083106af49 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f34d4c8d45b0a4d4391d3f8f9b1110bee")||(Object.defineProperty(a.ready,"_f34d4c8d45b0a4d4391d3f8f9b1110bee",{configurable:!0,get:function(){b("You are getting _f34d4c8d45b0a4d4391d3f8f9b1110bee on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f34d4c8d45b0a4d4391d3f8f9b1110bee",{configurable:!0,set:function(){b("You are setting _f34d4c8d45b0a4d4391d3f8f9b1110bee on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fedcb71e7b24b48a78670eeba138da363")||(Object.defineProperty(a.ready,"_fedcb71e7b24b48a78670eeba138da363",{configurable:!0,get:function(){b("You are getting _fedcb71e7b24b48a78670eeba138da363 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fedcb71e7b24b48a78670eeba138da363",{configurable:!0,set:function(){b("You are setting _fedcb71e7b24b48a78670eeba138da363 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7a74a52e10e44132a43f0148dc4d9111")||(Object.defineProperty(a.ready,"_f7a74a52e10e44132a43f0148dc4d9111",{configurable:!0,get:function(){b("You are getting _f7a74a52e10e44132a43f0148dc4d9111 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7a74a52e10e44132a43f0148dc4d9111",{configurable:!0,set:function(){b("You are setting _f7a74a52e10e44132a43f0148dc4d9111 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb3c78b5cb7fd4b118e36186fe85ced05")||(Object.defineProperty(a.ready,"_fb3c78b5cb7fd4b118e36186fe85ced05",{configurable:!0,get:function(){b("You are getting _fb3c78b5cb7fd4b118e36186fe85ced05 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb3c78b5cb7fd4b118e36186fe85ced05",{configurable:!0,set:function(){b("You are setting _fb3c78b5cb7fd4b118e36186fe85ced05 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f63e0e41636394ce587da3fa0939df8d9")||(Object.defineProperty(a.ready,"_f63e0e41636394ce587da3fa0939df8d9",{configurable:!0,get:function(){b("You are getting _f63e0e41636394ce587da3fa0939df8d9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f63e0e41636394ce587da3fa0939df8d9",{configurable:!0,set:function(){b("You are setting _f63e0e41636394ce587da3fa0939df8d9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f74451114338248a3bf763b067c8ea927")||(Object.defineProperty(a.ready,"_f74451114338248a3bf763b067c8ea927",{configurable:!0,get:function(){b("You are getting _f74451114338248a3bf763b067c8ea927 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f74451114338248a3bf763b067c8ea927",{configurable:!0,set:function(){b("You are setting _f74451114338248a3bf763b067c8ea927 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f45ddfeb56d334cf7ac71b37ad746183d")||(Object.defineProperty(a.ready,"_f45ddfeb56d334cf7ac71b37ad746183d",{configurable:!0,get:function(){b("You are getting _f45ddfeb56d334cf7ac71b37ad746183d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f45ddfeb56d334cf7ac71b37ad746183d",{configurable:!0,set:function(){b("You are setting _f45ddfeb56d334cf7ac71b37ad746183d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f64430cf261454f83b98ac52d320b0927")||(Object.defineProperty(a.ready,"_f64430cf261454f83b98ac52d320b0927",{configurable:!0,get:function(){b("You are getting _f64430cf261454f83b98ac52d320b0927 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f64430cf261454f83b98ac52d320b0927",{configurable:!0,set:function(){b("You are setting _f64430cf261454f83b98ac52d320b0927 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9f01f68904bc45d2bfd2fdfee5e73893")||(Object.defineProperty(a.ready,"_f9f01f68904bc45d2bfd2fdfee5e73893",{configurable:!0,get:function(){b("You are getting _f9f01f68904bc45d2bfd2fdfee5e73893 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9f01f68904bc45d2bfd2fdfee5e73893",{configurable:!0,set:function(){b("You are setting _f9f01f68904bc45d2bfd2fdfee5e73893 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9f32dfe80c534a5a8b1e69a1d5bdb4dc")||(Object.defineProperty(a.ready,"_f9f32dfe80c534a5a8b1e69a1d5bdb4dc",{configurable:!0,get:function(){b("You are getting _f9f32dfe80c534a5a8b1e69a1d5bdb4dc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9f32dfe80c534a5a8b1e69a1d5bdb4dc",{configurable:!0,set:function(){b("You are setting _f9f32dfe80c534a5a8b1e69a1d5bdb4dc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fabbb2ae8b199462e94dd4d6ab7561e09")||(Object.defineProperty(a.ready,"_fabbb2ae8b199462e94dd4d6ab7561e09",{configurable:!0,get:function(){b("You are getting _fabbb2ae8b199462e94dd4d6ab7561e09 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fabbb2ae8b199462e94dd4d6ab7561e09",{configurable:!0,set:function(){b("You are setting _fabbb2ae8b199462e94dd4d6ab7561e09 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f99840eec219f45c09f904083f8be49ac")||(Object.defineProperty(a.ready,"_f99840eec219f45c09f904083f8be49ac",{configurable:!0,get:function(){b("You are getting _f99840eec219f45c09f904083f8be49ac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f99840eec219f45c09f904083f8be49ac",{configurable:!0,set:function(){b("You are setting _f99840eec219f45c09f904083f8be49ac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7208c9c6b45b440b84afc3371f153b9e")||(Object.defineProperty(a.ready,"_f7208c9c6b45b440b84afc3371f153b9e",{configurable:!0,get:function(){b("You are getting _f7208c9c6b45b440b84afc3371f153b9e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7208c9c6b45b440b84afc3371f153b9e",{configurable:!0,set:function(){b("You are setting _f7208c9c6b45b440b84afc3371f153b9e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4c76ed2ff98842908ff7748b69c35790")||(Object.defineProperty(a.ready,"_f4c76ed2ff98842908ff7748b69c35790",{configurable:!0,get:function(){b("You are getting _f4c76ed2ff98842908ff7748b69c35790 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4c76ed2ff98842908ff7748b69c35790",{configurable:!0,set:function(){b("You are setting _f4c76ed2ff98842908ff7748b69c35790 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9dceda1200be47ed829aff2a34e68c8a")||(Object.defineProperty(a.ready,"_f9dceda1200be47ed829aff2a34e68c8a",{configurable:!0,get:function(){b("You are getting _f9dceda1200be47ed829aff2a34e68c8a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9dceda1200be47ed829aff2a34e68c8a",{configurable:!0,set:function(){b("You are setting _f9dceda1200be47ed829aff2a34e68c8a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff74c8ad2c0eb459aa1747bbbc5ddaf8c")||(Object.defineProperty(a.ready,"_ff74c8ad2c0eb459aa1747bbbc5ddaf8c",{configurable:!0,get:function(){b("You are getting _ff74c8ad2c0eb459aa1747bbbc5ddaf8c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff74c8ad2c0eb459aa1747bbbc5ddaf8c",{configurable:!0,set:function(){b("You are setting _ff74c8ad2c0eb459aa1747bbbc5ddaf8c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f68bb6a02ef604bdf884bbd772798142e")||(Object.defineProperty(a.ready,"_f68bb6a02ef604bdf884bbd772798142e",{configurable:!0,get:function(){b("You are getting _f68bb6a02ef604bdf884bbd772798142e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f68bb6a02ef604bdf884bbd772798142e",{configurable:!0,set:function(){b("You are setting _f68bb6a02ef604bdf884bbd772798142e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0aa08cfc20374ad4ac561e24b300a322")||(Object.defineProperty(a.ready,"_f0aa08cfc20374ad4ac561e24b300a322",{configurable:!0,get:function(){b("You are getting _f0aa08cfc20374ad4ac561e24b300a322 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0aa08cfc20374ad4ac561e24b300a322",{configurable:!0,set:function(){b("You are setting _f0aa08cfc20374ad4ac561e24b300a322 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8af6537f51574505a26df4de0eecb69f")||(Object.defineProperty(a.ready,"_f8af6537f51574505a26df4de0eecb69f",{configurable:!0,get:function(){b("You are getting _f8af6537f51574505a26df4de0eecb69f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8af6537f51574505a26df4de0eecb69f",{configurable:!0,set:function(){b("You are setting _f8af6537f51574505a26df4de0eecb69f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3a6d0f40e9034c70872229590432eae6")||(Object.defineProperty(a.ready,"_f3a6d0f40e9034c70872229590432eae6",{configurable:!0,get:function(){b("You are getting _f3a6d0f40e9034c70872229590432eae6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3a6d0f40e9034c70872229590432eae6",{configurable:!0,set:function(){b("You are setting _f3a6d0f40e9034c70872229590432eae6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7e0fd731a2d844ab935cfe82d721c654")||(Object.defineProperty(a.ready,"_f7e0fd731a2d844ab935cfe82d721c654",{configurable:!0,get:function(){b("You are getting _f7e0fd731a2d844ab935cfe82d721c654 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7e0fd731a2d844ab935cfe82d721c654",{configurable:!0,set:function(){b("You are setting _f7e0fd731a2d844ab935cfe82d721c654 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff147c600788045ecb271676441f645dc")||(Object.defineProperty(a.ready,"_ff147c600788045ecb271676441f645dc",{configurable:!0,get:function(){b("You are getting _ff147c600788045ecb271676441f645dc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff147c600788045ecb271676441f645dc",{configurable:!0,set:function(){b("You are setting _ff147c600788045ecb271676441f645dc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f86dd4cdb9b644206a71200f419aafd2d")||(Object.defineProperty(a.ready,"_f86dd4cdb9b644206a71200f419aafd2d",{configurable:!0,get:function(){b("You are getting _f86dd4cdb9b644206a71200f419aafd2d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f86dd4cdb9b644206a71200f419aafd2d",{configurable:!0,set:function(){b("You are setting _f86dd4cdb9b644206a71200f419aafd2d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f088c47d346634e8ba8fe083c701419de")||(Object.defineProperty(a.ready,"_f088c47d346634e8ba8fe083c701419de",{configurable:!0,get:function(){b("You are getting _f088c47d346634e8ba8fe083c701419de on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f088c47d346634e8ba8fe083c701419de",{configurable:!0,set:function(){b("You are setting _f088c47d346634e8ba8fe083c701419de on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7d628312c4724a80bba2a905debac18c")||(Object.defineProperty(a.ready,"_f7d628312c4724a80bba2a905debac18c",{configurable:!0,get:function(){b("You are getting _f7d628312c4724a80bba2a905debac18c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7d628312c4724a80bba2a905debac18c",{configurable:!0,set:function(){b("You are setting _f7d628312c4724a80bba2a905debac18c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3088edd48a9349d188351af20ca8fd0f")||(Object.defineProperty(a.ready,"_f3088edd48a9349d188351af20ca8fd0f",{configurable:!0,get:function(){b("You are getting _f3088edd48a9349d188351af20ca8fd0f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3088edd48a9349d188351af20ca8fd0f",{configurable:!0,set:function(){b("You are setting _f3088edd48a9349d188351af20ca8fd0f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb3ce0cf0bc9745c58ecbfe192a927765")||(Object.defineProperty(a.ready,"_fb3ce0cf0bc9745c58ecbfe192a927765",{configurable:!0,get:function(){b("You are getting _fb3ce0cf0bc9745c58ecbfe192a927765 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb3ce0cf0bc9745c58ecbfe192a927765",{configurable:!0,set:function(){b("You are setting _fb3ce0cf0bc9745c58ecbfe192a927765 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb67b15a600564167a9d17dd151e7a359")||(Object.defineProperty(a.ready,"_fb67b15a600564167a9d17dd151e7a359",{configurable:!0,get:function(){b("You are getting _fb67b15a600564167a9d17dd151e7a359 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb67b15a600564167a9d17dd151e7a359",{configurable:!0,set:function(){b("You are setting _fb67b15a600564167a9d17dd151e7a359 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc4c839a33591428e8af1dbd6c5eef760")||(Object.defineProperty(a.ready,"_fc4c839a33591428e8af1dbd6c5eef760",{configurable:!0,get:function(){b("You are getting _fc4c839a33591428e8af1dbd6c5eef760 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc4c839a33591428e8af1dbd6c5eef760",{configurable:!0,set:function(){b("You are setting _fc4c839a33591428e8af1dbd6c5eef760 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f135ce7e41a5a40cd897dadf5e163b173")||(Object.defineProperty(a.ready,"_f135ce7e41a5a40cd897dadf5e163b173",{configurable:!0,get:function(){b("You are getting _f135ce7e41a5a40cd897dadf5e163b173 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f135ce7e41a5a40cd897dadf5e163b173",{configurable:!0,set:function(){b("You are setting _f135ce7e41a5a40cd897dadf5e163b173 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f768976e7943342cfb8782bd99af6d3b6")||(Object.defineProperty(a.ready,"_f768976e7943342cfb8782bd99af6d3b6",{configurable:!0,get:function(){b("You are getting _f768976e7943342cfb8782bd99af6d3b6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f768976e7943342cfb8782bd99af6d3b6",{configurable:!0,set:function(){b("You are setting _f768976e7943342cfb8782bd99af6d3b6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f068fd9d00dcc45e1bf07b385b559919c")||(Object.defineProperty(a.ready,"_f068fd9d00dcc45e1bf07b385b559919c",{configurable:!0,get:function(){b("You are getting _f068fd9d00dcc45e1bf07b385b559919c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f068fd9d00dcc45e1bf07b385b559919c",{configurable:!0,set:function(){b("You are setting _f068fd9d00dcc45e1bf07b385b559919c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4e3e22f3fb014649898fb083515bf369")||(Object.defineProperty(a.ready,"_f4e3e22f3fb014649898fb083515bf369",{configurable:!0,get:function(){b("You are getting _f4e3e22f3fb014649898fb083515bf369 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4e3e22f3fb014649898fb083515bf369",{configurable:!0,set:function(){b("You are setting _f4e3e22f3fb014649898fb083515bf369 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa7d04159012a4b3a89d5e40b6957888b")||(Object.defineProperty(a.ready,"_fa7d04159012a4b3a89d5e40b6957888b",{configurable:!0,get:function(){b("You are getting _fa7d04159012a4b3a89d5e40b6957888b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa7d04159012a4b3a89d5e40b6957888b",{configurable:!0,set:function(){b("You are setting _fa7d04159012a4b3a89d5e40b6957888b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f08ab9de1e34341f98bfd9d45d95eb9a7")||(Object.defineProperty(a.ready,"_f08ab9de1e34341f98bfd9d45d95eb9a7",{configurable:!0,get:function(){b("You are getting _f08ab9de1e34341f98bfd9d45d95eb9a7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f08ab9de1e34341f98bfd9d45d95eb9a7",{configurable:!0,set:function(){b("You are setting _f08ab9de1e34341f98bfd9d45d95eb9a7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcfebd52bc53442b68f2bc09316f27d58")||(Object.defineProperty(a.ready,"_fcfebd52bc53442b68f2bc09316f27d58",{configurable:!0,get:function(){b("You are getting _fcfebd52bc53442b68f2bc09316f27d58 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcfebd52bc53442b68f2bc09316f27d58",{configurable:!0,set:function(){b("You are setting _fcfebd52bc53442b68f2bc09316f27d58 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1516e4cfaef34a59a430f40ea0fec0c8")||(Object.defineProperty(a.ready,"_f1516e4cfaef34a59a430f40ea0fec0c8",{configurable:!0,get:function(){b("You are getting _f1516e4cfaef34a59a430f40ea0fec0c8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1516e4cfaef34a59a430f40ea0fec0c8",{configurable:!0,set:function(){b("You are setting _f1516e4cfaef34a59a430f40ea0fec0c8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2bf54a0bdb794a63a29ebf3c5995e573")||(Object.defineProperty(a.ready,"_f2bf54a0bdb794a63a29ebf3c5995e573",{configurable:!0,get:function(){b("You are getting _f2bf54a0bdb794a63a29ebf3c5995e573 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2bf54a0bdb794a63a29ebf3c5995e573",{configurable:!0,set:function(){b("You are setting _f2bf54a0bdb794a63a29ebf3c5995e573 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f41634db883944896bfe39746039d6ec4")||(Object.defineProperty(a.ready,"_f41634db883944896bfe39746039d6ec4",{configurable:!0,get:function(){b("You are getting _f41634db883944896bfe39746039d6ec4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f41634db883944896bfe39746039d6ec4",{configurable:!0,set:function(){b("You are setting _f41634db883944896bfe39746039d6ec4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fae8a314805b8422a964d5bbe76ff0ebd")||(Object.defineProperty(a.ready,"_fae8a314805b8422a964d5bbe76ff0ebd",{configurable:!0,get:function(){b("You are getting _fae8a314805b8422a964d5bbe76ff0ebd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fae8a314805b8422a964d5bbe76ff0ebd",{configurable:!0,set:function(){b("You are setting _fae8a314805b8422a964d5bbe76ff0ebd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa8ef0651a3614ab793fbcb8bf0890fd6")||(Object.defineProperty(a.ready,"_fa8ef0651a3614ab793fbcb8bf0890fd6",{configurable:!0,get:function(){b("You are getting _fa8ef0651a3614ab793fbcb8bf0890fd6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa8ef0651a3614ab793fbcb8bf0890fd6",{configurable:!0,set:function(){b("You are setting _fa8ef0651a3614ab793fbcb8bf0890fd6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2e65a7555d384f4381c0059c5801d6d9")||(Object.defineProperty(a.ready,"_f2e65a7555d384f4381c0059c5801d6d9",{configurable:!0,get:function(){b("You are getting _f2e65a7555d384f4381c0059c5801d6d9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2e65a7555d384f4381c0059c5801d6d9",{configurable:!0,set:function(){b("You are setting _f2e65a7555d384f4381c0059c5801d6d9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f26f49a248828478ca7388768d078f8f1")||(Object.defineProperty(a.ready,"_f26f49a248828478ca7388768d078f8f1",{configurable:!0,get:function(){b("You are getting _f26f49a248828478ca7388768d078f8f1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f26f49a248828478ca7388768d078f8f1",{configurable:!0,set:function(){b("You are setting _f26f49a248828478ca7388768d078f8f1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1552af61d21d4421b0ff5e7192f717e1")||(Object.defineProperty(a.ready,"_f1552af61d21d4421b0ff5e7192f717e1",{configurable:!0,get:function(){b("You are getting _f1552af61d21d4421b0ff5e7192f717e1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1552af61d21d4421b0ff5e7192f717e1",{configurable:!0,set:function(){b("You are setting _f1552af61d21d4421b0ff5e7192f717e1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f16599342fa91430ea67a3b0fdb717dd7")||(Object.defineProperty(a.ready,"_f16599342fa91430ea67a3b0fdb717dd7",{configurable:!0,get:function(){b("You are getting _f16599342fa91430ea67a3b0fdb717dd7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f16599342fa91430ea67a3b0fdb717dd7",{configurable:!0,set:function(){b("You are setting _f16599342fa91430ea67a3b0fdb717dd7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fda3fa6f9810745d382556d1c8bb4cd47")||(Object.defineProperty(a.ready,"_fda3fa6f9810745d382556d1c8bb4cd47",{configurable:!0,get:function(){b("You are getting _fda3fa6f9810745d382556d1c8bb4cd47 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fda3fa6f9810745d382556d1c8bb4cd47",{configurable:!0,set:function(){b("You are setting _fda3fa6f9810745d382556d1c8bb4cd47 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0bfaf8edf1554f7497bc213847b9bbbb")||(Object.defineProperty(a.ready,"_f0bfaf8edf1554f7497bc213847b9bbbb",{configurable:!0,get:function(){b("You are getting _f0bfaf8edf1554f7497bc213847b9bbbb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0bfaf8edf1554f7497bc213847b9bbbb",{configurable:!0,set:function(){b("You are setting _f0bfaf8edf1554f7497bc213847b9bbbb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f948a468baa3241889b6081b3928d9ea2")||(Object.defineProperty(a.ready,"_f948a468baa3241889b6081b3928d9ea2",{configurable:!0,get:function(){b("You are getting _f948a468baa3241889b6081b3928d9ea2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f948a468baa3241889b6081b3928d9ea2",{configurable:!0,set:function(){b("You are setting _f948a468baa3241889b6081b3928d9ea2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f97b1c52d32934057b71341ebe8426f6a")||(Object.defineProperty(a.ready,"_f97b1c52d32934057b71341ebe8426f6a",{configurable:!0,get:function(){b("You are getting _f97b1c52d32934057b71341ebe8426f6a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f97b1c52d32934057b71341ebe8426f6a",{configurable:!0,set:function(){b("You are setting _f97b1c52d32934057b71341ebe8426f6a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff86c1babc7b44b8a8cd1f89fe8d139da")||(Object.defineProperty(a.ready,"_ff86c1babc7b44b8a8cd1f89fe8d139da",{configurable:!0,get:function(){b("You are getting _ff86c1babc7b44b8a8cd1f89fe8d139da on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff86c1babc7b44b8a8cd1f89fe8d139da",{configurable:!0,set:function(){b("You are setting _ff86c1babc7b44b8a8cd1f89fe8d139da on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe9bb5ebdb3ee4a95a3f0cceb790b4973")||(Object.defineProperty(a.ready,"_fe9bb5ebdb3ee4a95a3f0cceb790b4973",{configurable:!0,get:function(){b("You are getting _fe9bb5ebdb3ee4a95a3f0cceb790b4973 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe9bb5ebdb3ee4a95a3f0cceb790b4973",{configurable:!0,set:function(){b("You are setting _fe9bb5ebdb3ee4a95a3f0cceb790b4973 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7b6c95d4b51746d8b6e105651309dde5")||(Object.defineProperty(a.ready,"_f7b6c95d4b51746d8b6e105651309dde5",{configurable:!0,get:function(){b("You are getting _f7b6c95d4b51746d8b6e105651309dde5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7b6c95d4b51746d8b6e105651309dde5",{configurable:!0,set:function(){b("You are setting _f7b6c95d4b51746d8b6e105651309dde5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f03be39c2a1ed43d68af317288817dd68")||(Object.defineProperty(a.ready,"_f03be39c2a1ed43d68af317288817dd68",{configurable:!0,get:function(){b("You are getting _f03be39c2a1ed43d68af317288817dd68 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f03be39c2a1ed43d68af317288817dd68",{configurable:!0,set:function(){b("You are setting _f03be39c2a1ed43d68af317288817dd68 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7d073f049c7442d09bb334968dcdc9ea")||(Object.defineProperty(a.ready,"_f7d073f049c7442d09bb334968dcdc9ea",{configurable:!0,get:function(){b("You are getting _f7d073f049c7442d09bb334968dcdc9ea on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7d073f049c7442d09bb334968dcdc9ea",{configurable:!0,set:function(){b("You are setting _f7d073f049c7442d09bb334968dcdc9ea on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1d847225e57c471f9d9a192b86db10f1")||(Object.defineProperty(a.ready,"_f1d847225e57c471f9d9a192b86db10f1",{configurable:!0,get:function(){b("You are getting _f1d847225e57c471f9d9a192b86db10f1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1d847225e57c471f9d9a192b86db10f1",{configurable:!0,set:function(){b("You are setting _f1d847225e57c471f9d9a192b86db10f1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f712888111e0744f288e2ac20a0e62082")||(Object.defineProperty(a.ready,"_f712888111e0744f288e2ac20a0e62082",{configurable:!0,get:function(){b("You are getting _f712888111e0744f288e2ac20a0e62082 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f712888111e0744f288e2ac20a0e62082",{configurable:!0,set:function(){b("You are setting _f712888111e0744f288e2ac20a0e62082 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f72a58256ed774338a133abed300e0d06")||(Object.defineProperty(a.ready,"_f72a58256ed774338a133abed300e0d06",{configurable:!0,get:function(){b("You are getting _f72a58256ed774338a133abed300e0d06 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f72a58256ed774338a133abed300e0d06",{configurable:!0,set:function(){b("You are setting _f72a58256ed774338a133abed300e0d06 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2f11d227a08343a79ca0b62eda4acb26")||(Object.defineProperty(a.ready,"_f2f11d227a08343a79ca0b62eda4acb26",{configurable:!0,get:function(){b("You are getting _f2f11d227a08343a79ca0b62eda4acb26 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2f11d227a08343a79ca0b62eda4acb26",{configurable:!0,set:function(){b("You are setting _f2f11d227a08343a79ca0b62eda4acb26 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f006d1fdcb72344838ba760505d2957e3")||(Object.defineProperty(a.ready,"_f006d1fdcb72344838ba760505d2957e3",{configurable:!0,get:function(){b("You are getting _f006d1fdcb72344838ba760505d2957e3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f006d1fdcb72344838ba760505d2957e3",{configurable:!0,set:function(){b("You are setting _f006d1fdcb72344838ba760505d2957e3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1b4e6e2d7f604de6a559d616c3da0f0a")||(Object.defineProperty(a.ready,"_f1b4e6e2d7f604de6a559d616c3da0f0a",{configurable:!0,get:function(){b("You are getting _f1b4e6e2d7f604de6a559d616c3da0f0a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1b4e6e2d7f604de6a559d616c3da0f0a",{configurable:!0,set:function(){b("You are setting _f1b4e6e2d7f604de6a559d616c3da0f0a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f748427cbb9184310b2eb78a4925e7cd8")||(Object.defineProperty(a.ready,"_f748427cbb9184310b2eb78a4925e7cd8",{configurable:!0,get:function(){b("You are getting _f748427cbb9184310b2eb78a4925e7cd8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f748427cbb9184310b2eb78a4925e7cd8",{configurable:!0,set:function(){b("You are setting _f748427cbb9184310b2eb78a4925e7cd8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff59f88a6dc654cfca0dcdfa86bddd8c6")||(Object.defineProperty(a.ready,"_ff59f88a6dc654cfca0dcdfa86bddd8c6",{configurable:!0,get:function(){b("You are getting _ff59f88a6dc654cfca0dcdfa86bddd8c6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff59f88a6dc654cfca0dcdfa86bddd8c6",{configurable:!0,set:function(){b("You are setting _ff59f88a6dc654cfca0dcdfa86bddd8c6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa8bfe13dfc934470885a677b925d9a93")||(Object.defineProperty(a.ready,"_fa8bfe13dfc934470885a677b925d9a93",{configurable:!0,get:function(){b("You are getting _fa8bfe13dfc934470885a677b925d9a93 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa8bfe13dfc934470885a677b925d9a93",{configurable:!0,set:function(){b("You are setting _fa8bfe13dfc934470885a677b925d9a93 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd07a413c6f7141b3b104b5e734090457")||(Object.defineProperty(a.ready,"_fd07a413c6f7141b3b104b5e734090457",{configurable:!0,get:function(){b("You are getting _fd07a413c6f7141b3b104b5e734090457 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd07a413c6f7141b3b104b5e734090457",{configurable:!0,set:function(){b("You are setting _fd07a413c6f7141b3b104b5e734090457 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9a6d72faea95499eb5775194273933b7")||(Object.defineProperty(a.ready,"_f9a6d72faea95499eb5775194273933b7",{configurable:!0,get:function(){b("You are getting _f9a6d72faea95499eb5775194273933b7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9a6d72faea95499eb5775194273933b7",{configurable:!0,set:function(){b("You are setting _f9a6d72faea95499eb5775194273933b7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff522f81e5f344becbef971f3cf646d24")||(Object.defineProperty(a.ready,"_ff522f81e5f344becbef971f3cf646d24",{configurable:!0,get:function(){b("You are getting _ff522f81e5f344becbef971f3cf646d24 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff522f81e5f344becbef971f3cf646d24",{configurable:!0,set:function(){b("You are setting _ff522f81e5f344becbef971f3cf646d24 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fff3e5bf2a67547f8bc817fedcc9163d4")||(Object.defineProperty(a.ready,"_fff3e5bf2a67547f8bc817fedcc9163d4",{configurable:!0,get:function(){b("You are getting _fff3e5bf2a67547f8bc817fedcc9163d4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fff3e5bf2a67547f8bc817fedcc9163d4",{configurable:!0,set:function(){b("You are setting _fff3e5bf2a67547f8bc817fedcc9163d4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f94b41e4c3bc4417fb4d33bcbc8334038")||(Object.defineProperty(a.ready,"_f94b41e4c3bc4417fb4d33bcbc8334038",{configurable:!0,get:function(){b("You are getting _f94b41e4c3bc4417fb4d33bcbc8334038 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f94b41e4c3bc4417fb4d33bcbc8334038",{configurable:!0,set:function(){b("You are setting _f94b41e4c3bc4417fb4d33bcbc8334038 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8e5152ddf33144d3a45cd4f7be019a9e")||(Object.defineProperty(a.ready,"_f8e5152ddf33144d3a45cd4f7be019a9e",{configurable:!0,get:function(){b("You are getting _f8e5152ddf33144d3a45cd4f7be019a9e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8e5152ddf33144d3a45cd4f7be019a9e",{configurable:!0,set:function(){b("You are setting _f8e5152ddf33144d3a45cd4f7be019a9e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd6bbe6068fb348dda61958dbfe801c45")||(Object.defineProperty(a.ready,"_fd6bbe6068fb348dda61958dbfe801c45",{configurable:!0,get:function(){b("You are getting _fd6bbe6068fb348dda61958dbfe801c45 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd6bbe6068fb348dda61958dbfe801c45",{configurable:!0,set:function(){b("You are setting _fd6bbe6068fb348dda61958dbfe801c45 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd833f6c4d2b74b4b8af866a07ba64586")||(Object.defineProperty(a.ready,"_fd833f6c4d2b74b4b8af866a07ba64586",{configurable:!0,get:function(){b("You are getting _fd833f6c4d2b74b4b8af866a07ba64586 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd833f6c4d2b74b4b8af866a07ba64586",{configurable:!0,set:function(){b("You are setting _fd833f6c4d2b74b4b8af866a07ba64586 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f61d1cbcb6cf04c70bbf3c02b7a9b7394")||(Object.defineProperty(a.ready,"_f61d1cbcb6cf04c70bbf3c02b7a9b7394",{configurable:!0,get:function(){b("You are getting _f61d1cbcb6cf04c70bbf3c02b7a9b7394 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f61d1cbcb6cf04c70bbf3c02b7a9b7394",{configurable:!0,set:function(){b("You are setting _f61d1cbcb6cf04c70bbf3c02b7a9b7394 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6778c954f43141858ba8ce90fc03c832")||(Object.defineProperty(a.ready,"_f6778c954f43141858ba8ce90fc03c832",{configurable:!0,get:function(){b("You are getting _f6778c954f43141858ba8ce90fc03c832 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6778c954f43141858ba8ce90fc03c832",{configurable:!0,set:function(){b("You are setting _f6778c954f43141858ba8ce90fc03c832 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f383b93c9d48340e5bf6be34f9fd76284")||(Object.defineProperty(a.ready,"_f383b93c9d48340e5bf6be34f9fd76284",{configurable:!0,get:function(){b("You are getting _f383b93c9d48340e5bf6be34f9fd76284 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f383b93c9d48340e5bf6be34f9fd76284",{configurable:!0,set:function(){b("You are setting _f383b93c9d48340e5bf6be34f9fd76284 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2767a631d37b425fb3ab48e19050affa")||(Object.defineProperty(a.ready,"_f2767a631d37b425fb3ab48e19050affa",{configurable:!0,get:function(){b("You are getting _f2767a631d37b425fb3ab48e19050affa on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2767a631d37b425fb3ab48e19050affa",{configurable:!0,set:function(){b("You are setting _f2767a631d37b425fb3ab48e19050affa on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f66d3567515a444518ed89f09e5978bb9")||(Object.defineProperty(a.ready,"_f66d3567515a444518ed89f09e5978bb9",{configurable:!0,get:function(){b("You are getting _f66d3567515a444518ed89f09e5978bb9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f66d3567515a444518ed89f09e5978bb9",{configurable:!0,set:function(){b("You are setting _f66d3567515a444518ed89f09e5978bb9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6427fbbaf8174cffa5f6d8731f15c899")||(Object.defineProperty(a.ready,"_f6427fbbaf8174cffa5f6d8731f15c899",{configurable:!0,get:function(){b("You are getting _f6427fbbaf8174cffa5f6d8731f15c899 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6427fbbaf8174cffa5f6d8731f15c899",{configurable:!0,set:function(){b("You are setting _f6427fbbaf8174cffa5f6d8731f15c899 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f174c4e55f90e45da83e71be6863f8a5f")||(Object.defineProperty(a.ready,"_f174c4e55f90e45da83e71be6863f8a5f",{configurable:!0,get:function(){b("You are getting _f174c4e55f90e45da83e71be6863f8a5f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f174c4e55f90e45da83e71be6863f8a5f",{configurable:!0,set:function(){b("You are setting _f174c4e55f90e45da83e71be6863f8a5f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4d19862fbca149a7b61f35ef439296ee")||(Object.defineProperty(a.ready,"_f4d19862fbca149a7b61f35ef439296ee",{configurable:!0,get:function(){b("You are getting _f4d19862fbca149a7b61f35ef439296ee on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4d19862fbca149a7b61f35ef439296ee",{configurable:!0,set:function(){b("You are setting _f4d19862fbca149a7b61f35ef439296ee on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc1e7abc0c1ef404384e61522ec62f502")||(Object.defineProperty(a.ready,"_fc1e7abc0c1ef404384e61522ec62f502",{configurable:!0,get:function(){b("You are getting _fc1e7abc0c1ef404384e61522ec62f502 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc1e7abc0c1ef404384e61522ec62f502",{configurable:!0,set:function(){b("You are setting _fc1e7abc0c1ef404384e61522ec62f502 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2b325df12e504c2ca53aa8d7e0a3f449")||(Object.defineProperty(a.ready,"_f2b325df12e504c2ca53aa8d7e0a3f449",{configurable:!0,get:function(){b("You are getting _f2b325df12e504c2ca53aa8d7e0a3f449 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2b325df12e504c2ca53aa8d7e0a3f449",{configurable:!0,set:function(){b("You are setting _f2b325df12e504c2ca53aa8d7e0a3f449 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f175140cb7c9845d4853fc15d8371e7e6")||(Object.defineProperty(a.ready,"_f175140cb7c9845d4853fc15d8371e7e6",{configurable:!0,get:function(){b("You are getting _f175140cb7c9845d4853fc15d8371e7e6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f175140cb7c9845d4853fc15d8371e7e6",{configurable:!0,set:function(){b("You are setting _f175140cb7c9845d4853fc15d8371e7e6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9f23a15376fc48fb95c5eebc6da34f96")||(Object.defineProperty(a.ready,"_f9f23a15376fc48fb95c5eebc6da34f96",{configurable:!0,get:function(){b("You are getting _f9f23a15376fc48fb95c5eebc6da34f96 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9f23a15376fc48fb95c5eebc6da34f96",{configurable:!0,set:function(){b("You are setting _f9f23a15376fc48fb95c5eebc6da34f96 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe7340092acad4dc3851461c7300444a7")||(Object.defineProperty(a.ready,"_fe7340092acad4dc3851461c7300444a7",{configurable:!0,get:function(){b("You are getting _fe7340092acad4dc3851461c7300444a7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe7340092acad4dc3851461c7300444a7",{configurable:!0,set:function(){b("You are setting _fe7340092acad4dc3851461c7300444a7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdf74421865f0453a90d8c8b58806ef99")||(Object.defineProperty(a.ready,"_fdf74421865f0453a90d8c8b58806ef99",{configurable:!0,get:function(){b("You are getting _fdf74421865f0453a90d8c8b58806ef99 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdf74421865f0453a90d8c8b58806ef99",{configurable:!0,set:function(){b("You are setting _fdf74421865f0453a90d8c8b58806ef99 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ffc720ce9d5a14b63b77f14eaf263e95a")||(Object.defineProperty(a.ready,"_ffc720ce9d5a14b63b77f14eaf263e95a",{configurable:!0,get:function(){b("You are getting _ffc720ce9d5a14b63b77f14eaf263e95a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ffc720ce9d5a14b63b77f14eaf263e95a",{configurable:!0,set:function(){b("You are setting _ffc720ce9d5a14b63b77f14eaf263e95a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f76b01bde68054094b25bda6e3d861fd5")||(Object.defineProperty(a.ready,"_f76b01bde68054094b25bda6e3d861fd5",{configurable:!0,get:function(){b("You are getting _f76b01bde68054094b25bda6e3d861fd5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f76b01bde68054094b25bda6e3d861fd5",{configurable:!0,set:function(){b("You are setting _f76b01bde68054094b25bda6e3d861fd5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f023286dbef7745dead0e6f0a2664ff27")||(Object.defineProperty(a.ready,"_f023286dbef7745dead0e6f0a2664ff27",{configurable:!0,get:function(){b("You are getting _f023286dbef7745dead0e6f0a2664ff27 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f023286dbef7745dead0e6f0a2664ff27",{configurable:!0,set:function(){b("You are setting _f023286dbef7745dead0e6f0a2664ff27 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ffeb7a52684f7429bae74b76f94543d2f")||(Object.defineProperty(a.ready,"_ffeb7a52684f7429bae74b76f94543d2f",{configurable:!0,get:function(){b("You are getting _ffeb7a52684f7429bae74b76f94543d2f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ffeb7a52684f7429bae74b76f94543d2f",{configurable:!0,set:function(){b("You are setting _ffeb7a52684f7429bae74b76f94543d2f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f22753dfc11e74ddf858b19602b959950")||(Object.defineProperty(a.ready,"_f22753dfc11e74ddf858b19602b959950",{configurable:!0,get:function(){b("You are getting _f22753dfc11e74ddf858b19602b959950 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f22753dfc11e74ddf858b19602b959950",{configurable:!0,set:function(){b("You are setting _f22753dfc11e74ddf858b19602b959950 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ffafea13baf4a47298d78c63727fa8086")||(Object.defineProperty(a.ready,"_ffafea13baf4a47298d78c63727fa8086",{configurable:!0,get:function(){b("You are getting _ffafea13baf4a47298d78c63727fa8086 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ffafea13baf4a47298d78c63727fa8086",{configurable:!0,set:function(){b("You are setting _ffafea13baf4a47298d78c63727fa8086 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb80e1f08502f445a849ed577e790772d")||(Object.defineProperty(a.ready,"_fb80e1f08502f445a849ed577e790772d",{configurable:!0,get:function(){b("You are getting _fb80e1f08502f445a849ed577e790772d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb80e1f08502f445a849ed577e790772d",{configurable:!0,set:function(){b("You are setting _fb80e1f08502f445a849ed577e790772d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f83ec29766e824a57b0788e2e4bcd4b3e")||(Object.defineProperty(a.ready,"_f83ec29766e824a57b0788e2e4bcd4b3e",{configurable:!0,get:function(){b("You are getting _f83ec29766e824a57b0788e2e4bcd4b3e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f83ec29766e824a57b0788e2e4bcd4b3e",{configurable:!0,set:function(){b("You are setting _f83ec29766e824a57b0788e2e4bcd4b3e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f61016272ce904dbcaaee5c25f62c2a8d")||(Object.defineProperty(a.ready,"_f61016272ce904dbcaaee5c25f62c2a8d",{configurable:!0,get:function(){b("You are getting _f61016272ce904dbcaaee5c25f62c2a8d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f61016272ce904dbcaaee5c25f62c2a8d",{configurable:!0,set:function(){b("You are setting _f61016272ce904dbcaaee5c25f62c2a8d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6bcc6f3a9b784e3889410de7e14b5a66")||(Object.defineProperty(a.ready,"_f6bcc6f3a9b784e3889410de7e14b5a66",{configurable:!0,get:function(){b("You are getting _f6bcc6f3a9b784e3889410de7e14b5a66 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6bcc6f3a9b784e3889410de7e14b5a66",{configurable:!0,set:function(){b("You are setting _f6bcc6f3a9b784e3889410de7e14b5a66 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f84b5929118064fb79cdaecd92280d1f9")||(Object.defineProperty(a.ready,"_f84b5929118064fb79cdaecd92280d1f9",{configurable:!0,get:function(){b("You are getting _f84b5929118064fb79cdaecd92280d1f9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f84b5929118064fb79cdaecd92280d1f9",{configurable:!0,set:function(){b("You are setting _f84b5929118064fb79cdaecd92280d1f9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5d6b60d8ce53410b82df5e4fca96773f")||(Object.defineProperty(a.ready,"_f5d6b60d8ce53410b82df5e4fca96773f",{configurable:!0,get:function(){b("You are getting _f5d6b60d8ce53410b82df5e4fca96773f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5d6b60d8ce53410b82df5e4fca96773f",{configurable:!0,set:function(){b("You are setting _f5d6b60d8ce53410b82df5e4fca96773f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f18f73e91796844e08aa8ed0295f256ab")||(Object.defineProperty(a.ready,"_f18f73e91796844e08aa8ed0295f256ab",{configurable:!0,get:function(){b("You are getting _f18f73e91796844e08aa8ed0295f256ab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f18f73e91796844e08aa8ed0295f256ab",{configurable:!0,set:function(){b("You are setting _f18f73e91796844e08aa8ed0295f256ab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1d2ea35be4594bffa702934de7e5bf66")||(Object.defineProperty(a.ready,"_f1d2ea35be4594bffa702934de7e5bf66",{configurable:!0,get:function(){b("You are getting _f1d2ea35be4594bffa702934de7e5bf66 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1d2ea35be4594bffa702934de7e5bf66",{configurable:!0,set:function(){b("You are setting _f1d2ea35be4594bffa702934de7e5bf66 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6f7aecc9dbc44b9f935f6377e89f8ef0")||(Object.defineProperty(a.ready,"_f6f7aecc9dbc44b9f935f6377e89f8ef0",{configurable:!0,get:function(){b("You are getting _f6f7aecc9dbc44b9f935f6377e89f8ef0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6f7aecc9dbc44b9f935f6377e89f8ef0",{configurable:!0,set:function(){b("You are setting _f6f7aecc9dbc44b9f935f6377e89f8ef0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f70571068b53348d6bfe43ccf97869e16")||(Object.defineProperty(a.ready,"_f70571068b53348d6bfe43ccf97869e16",{configurable:!0,get:function(){b("You are getting _f70571068b53348d6bfe43ccf97869e16 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f70571068b53348d6bfe43ccf97869e16",{configurable:!0,set:function(){b("You are setting _f70571068b53348d6bfe43ccf97869e16 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_febbd972978684f7a91122d09a3b90421")||(Object.defineProperty(a.ready,"_febbd972978684f7a91122d09a3b90421",{configurable:!0,get:function(){b("You are getting _febbd972978684f7a91122d09a3b90421 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_febbd972978684f7a91122d09a3b90421",{configurable:!0,set:function(){b("You are setting _febbd972978684f7a91122d09a3b90421 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3afff1c869a84472a1fda591cf962a73")||(Object.defineProperty(a.ready,"_f3afff1c869a84472a1fda591cf962a73",{configurable:!0,get:function(){b("You are getting _f3afff1c869a84472a1fda591cf962a73 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3afff1c869a84472a1fda591cf962a73",{configurable:!0,set:function(){b("You are setting _f3afff1c869a84472a1fda591cf962a73 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8f777a674aff4f6e86a74ebde9729629")||(Object.defineProperty(a.ready,"_f8f777a674aff4f6e86a74ebde9729629",{configurable:!0,get:function(){b("You are getting _f8f777a674aff4f6e86a74ebde9729629 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8f777a674aff4f6e86a74ebde9729629",{configurable:!0,set:function(){b("You are setting _f8f777a674aff4f6e86a74ebde9729629 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f16230b3b3263416caea7dbab01412785")||(Object.defineProperty(a.ready,"_f16230b3b3263416caea7dbab01412785",{configurable:!0,get:function(){b("You are getting _f16230b3b3263416caea7dbab01412785 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f16230b3b3263416caea7dbab01412785",{configurable:!0,set:function(){b("You are setting _f16230b3b3263416caea7dbab01412785 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f17b5ce5e4aa249e2a4d2ba29dd53771b")||(Object.defineProperty(a.ready,"_f17b5ce5e4aa249e2a4d2ba29dd53771b",{configurable:!0,get:function(){b("You are getting _f17b5ce5e4aa249e2a4d2ba29dd53771b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f17b5ce5e4aa249e2a4d2ba29dd53771b",{configurable:!0,set:function(){b("You are setting _f17b5ce5e4aa249e2a4d2ba29dd53771b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3d98da88d3cf48a7bcdb575d943e68c0")||(Object.defineProperty(a.ready,"_f3d98da88d3cf48a7bcdb575d943e68c0",{configurable:!0,get:function(){b("You are getting _f3d98da88d3cf48a7bcdb575d943e68c0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3d98da88d3cf48a7bcdb575d943e68c0",{configurable:!0,set:function(){b("You are setting _f3d98da88d3cf48a7bcdb575d943e68c0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0a266bba945b4da880dc0ef0e17995a3")||(Object.defineProperty(a.ready,"_f0a266bba945b4da880dc0ef0e17995a3",{configurable:!0,get:function(){b("You are getting _f0a266bba945b4da880dc0ef0e17995a3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0a266bba945b4da880dc0ef0e17995a3",{configurable:!0,set:function(){b("You are setting _f0a266bba945b4da880dc0ef0e17995a3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff774ca2c15674eb9a52267f14e510ffe")||(Object.defineProperty(a.ready,"_ff774ca2c15674eb9a52267f14e510ffe",{configurable:!0,get:function(){b("You are getting _ff774ca2c15674eb9a52267f14e510ffe on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff774ca2c15674eb9a52267f14e510ffe",{configurable:!0,set:function(){b("You are setting _ff774ca2c15674eb9a52267f14e510ffe on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2019ca5089294eb6b7cfd8f2a0e1becb")||(Object.defineProperty(a.ready,"_f2019ca5089294eb6b7cfd8f2a0e1becb",{configurable:!0,get:function(){b("You are getting _f2019ca5089294eb6b7cfd8f2a0e1becb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2019ca5089294eb6b7cfd8f2a0e1becb",{configurable:!0,set:function(){b("You are setting _f2019ca5089294eb6b7cfd8f2a0e1becb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f89834d0ca82c4b668f0ece2835833d6d")||(Object.defineProperty(a.ready,"_f89834d0ca82c4b668f0ece2835833d6d",{configurable:!0,get:function(){b("You are getting _f89834d0ca82c4b668f0ece2835833d6d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f89834d0ca82c4b668f0ece2835833d6d",{configurable:!0,set:function(){b("You are setting _f89834d0ca82c4b668f0ece2835833d6d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8cb4b3ee14b24b65a68103934568faab")||(Object.defineProperty(a.ready,"_f8cb4b3ee14b24b65a68103934568faab",{configurable:!0,get:function(){b("You are getting _f8cb4b3ee14b24b65a68103934568faab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8cb4b3ee14b24b65a68103934568faab",{configurable:!0,set:function(){b("You are setting _f8cb4b3ee14b24b65a68103934568faab on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f459ee6939cdd423cb97da1f9b9bc9014")||(Object.defineProperty(a.ready,"_f459ee6939cdd423cb97da1f9b9bc9014",{configurable:!0,get:function(){b("You are getting _f459ee6939cdd423cb97da1f9b9bc9014 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f459ee6939cdd423cb97da1f9b9bc9014",{configurable:!0,set:function(){b("You are setting _f459ee6939cdd423cb97da1f9b9bc9014 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd6f048dfc3524bacbab5fe2c36b63922")||(Object.defineProperty(a.ready,"_fd6f048dfc3524bacbab5fe2c36b63922",{configurable:!0,get:function(){b("You are getting _fd6f048dfc3524bacbab5fe2c36b63922 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd6f048dfc3524bacbab5fe2c36b63922",{configurable:!0,set:function(){b("You are setting _fd6f048dfc3524bacbab5fe2c36b63922 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f827246e9cd994c188fa10d0efae8f58a")||(Object.defineProperty(a.ready,"_f827246e9cd994c188fa10d0efae8f58a",{configurable:!0,get:function(){b("You are getting _f827246e9cd994c188fa10d0efae8f58a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f827246e9cd994c188fa10d0efae8f58a",{configurable:!0,set:function(){b("You are setting _f827246e9cd994c188fa10d0efae8f58a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f273e76901ab9406da5ab52756b1b24eb")||(Object.defineProperty(a.ready,"_f273e76901ab9406da5ab52756b1b24eb",{configurable:!0,get:function(){b("You are getting _f273e76901ab9406da5ab52756b1b24eb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f273e76901ab9406da5ab52756b1b24eb",{configurable:!0,set:function(){b("You are setting _f273e76901ab9406da5ab52756b1b24eb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa319cd761b7f4862a627fcc2e36ab8e5")||(Object.defineProperty(a.ready,"_fa319cd761b7f4862a627fcc2e36ab8e5",{configurable:!0,get:function(){b("You are getting _fa319cd761b7f4862a627fcc2e36ab8e5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa319cd761b7f4862a627fcc2e36ab8e5",{configurable:!0,set:function(){b("You are setting _fa319cd761b7f4862a627fcc2e36ab8e5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3f8969b6c85a427fbc849f1346fed273")||(Object.defineProperty(a.ready,"_f3f8969b6c85a427fbc849f1346fed273",{configurable:!0,get:function(){b("You are getting _f3f8969b6c85a427fbc849f1346fed273 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3f8969b6c85a427fbc849f1346fed273",{configurable:!0,set:function(){b("You are setting _f3f8969b6c85a427fbc849f1346fed273 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f00ed95e968b04b9892ed0616af9f3c78")||(Object.defineProperty(a.ready,"_f00ed95e968b04b9892ed0616af9f3c78",{configurable:!0,get:function(){b("You are getting _f00ed95e968b04b9892ed0616af9f3c78 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f00ed95e968b04b9892ed0616af9f3c78",{configurable:!0,set:function(){b("You are setting _f00ed95e968b04b9892ed0616af9f3c78 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f090ac6bbaba141858f33ee6a46ebc058")||(Object.defineProperty(a.ready,"_f090ac6bbaba141858f33ee6a46ebc058",{configurable:!0,get:function(){b("You are getting _f090ac6bbaba141858f33ee6a46ebc058 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f090ac6bbaba141858f33ee6a46ebc058",{configurable:!0,set:function(){b("You are setting _f090ac6bbaba141858f33ee6a46ebc058 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f75c3fa9db09a47108f3edd1706592d27")||(Object.defineProperty(a.ready,"_f75c3fa9db09a47108f3edd1706592d27",{configurable:!0,get:function(){b("You are getting _f75c3fa9db09a47108f3edd1706592d27 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f75c3fa9db09a47108f3edd1706592d27",{configurable:!0,set:function(){b("You are setting _f75c3fa9db09a47108f3edd1706592d27 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb43f1e45ea944c99a90a169b5920047a")||(Object.defineProperty(a.ready,"_fb43f1e45ea944c99a90a169b5920047a",{configurable:!0,get:function(){b("You are getting _fb43f1e45ea944c99a90a169b5920047a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb43f1e45ea944c99a90a169b5920047a",{configurable:!0,set:function(){b("You are setting _fb43f1e45ea944c99a90a169b5920047a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcb08e454674a4114a654d8fddf757e5c")||(Object.defineProperty(a.ready,"_fcb08e454674a4114a654d8fddf757e5c",{configurable:!0,get:function(){b("You are getting _fcb08e454674a4114a654d8fddf757e5c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcb08e454674a4114a654d8fddf757e5c",{configurable:!0,set:function(){b("You are setting _fcb08e454674a4114a654d8fddf757e5c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd2535ae561aa41c495348540a7179e2a")||(Object.defineProperty(a.ready,"_fd2535ae561aa41c495348540a7179e2a",{configurable:!0,get:function(){b("You are getting _fd2535ae561aa41c495348540a7179e2a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd2535ae561aa41c495348540a7179e2a",{configurable:!0,set:function(){b("You are setting _fd2535ae561aa41c495348540a7179e2a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f505cdd95a92c4431b0d334d95eb5ac05")||(Object.defineProperty(a.ready,"_f505cdd95a92c4431b0d334d95eb5ac05",{configurable:!0,get:function(){b("You are getting _f505cdd95a92c4431b0d334d95eb5ac05 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f505cdd95a92c4431b0d334d95eb5ac05",{configurable:!0,set:function(){b("You are setting _f505cdd95a92c4431b0d334d95eb5ac05 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f381aed72eb8f45a09c7e9307b06d23df")||(Object.defineProperty(a.ready,"_f381aed72eb8f45a09c7e9307b06d23df",{configurable:!0,get:function(){b("You are getting _f381aed72eb8f45a09c7e9307b06d23df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f381aed72eb8f45a09c7e9307b06d23df",{configurable:!0,set:function(){b("You are setting _f381aed72eb8f45a09c7e9307b06d23df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f55302ac3d6344716a15cf52bfffd994f")||(Object.defineProperty(a.ready,"_f55302ac3d6344716a15cf52bfffd994f",{configurable:!0,get:function(){b("You are getting _f55302ac3d6344716a15cf52bfffd994f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f55302ac3d6344716a15cf52bfffd994f",{configurable:!0,set:function(){b("You are setting _f55302ac3d6344716a15cf52bfffd994f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3e2e509918a14bd8a59fd55adda4d774")||(Object.defineProperty(a.ready,"_f3e2e509918a14bd8a59fd55adda4d774",{configurable:!0,get:function(){b("You are getting _f3e2e509918a14bd8a59fd55adda4d774 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3e2e509918a14bd8a59fd55adda4d774",{configurable:!0,set:function(){b("You are setting _f3e2e509918a14bd8a59fd55adda4d774 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fabc17b815bbf4e13b71e8953b4818f61")||(Object.defineProperty(a.ready,"_fabc17b815bbf4e13b71e8953b4818f61",{configurable:!0,get:function(){b("You are getting _fabc17b815bbf4e13b71e8953b4818f61 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fabc17b815bbf4e13b71e8953b4818f61",{configurable:!0,set:function(){b("You are setting _fabc17b815bbf4e13b71e8953b4818f61 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f731c2f2ce47a46debb25fc8dbe5d74a5")||(Object.defineProperty(a.ready,"_f731c2f2ce47a46debb25fc8dbe5d74a5",{configurable:!0,get:function(){b("You are getting _f731c2f2ce47a46debb25fc8dbe5d74a5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f731c2f2ce47a46debb25fc8dbe5d74a5",{configurable:!0,set:function(){b("You are setting _f731c2f2ce47a46debb25fc8dbe5d74a5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd163b7a57d32459da531b75d455d9708")||(Object.defineProperty(a.ready,"_fd163b7a57d32459da531b75d455d9708",{configurable:!0,get:function(){b("You are getting _fd163b7a57d32459da531b75d455d9708 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd163b7a57d32459da531b75d455d9708",{configurable:!0,set:function(){b("You are setting _fd163b7a57d32459da531b75d455d9708 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5fd10006af08404aae4d879dfbf8aa4e")||(Object.defineProperty(a.ready,"_f5fd10006af08404aae4d879dfbf8aa4e",{configurable:!0,get:function(){b("You are getting _f5fd10006af08404aae4d879dfbf8aa4e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5fd10006af08404aae4d879dfbf8aa4e",{configurable:!0,set:function(){b("You are setting _f5fd10006af08404aae4d879dfbf8aa4e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd76bdde6829842a48a9f8f410eabb629")||(Object.defineProperty(a.ready,"_fd76bdde6829842a48a9f8f410eabb629",{configurable:!0,get:function(){b("You are getting _fd76bdde6829842a48a9f8f410eabb629 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd76bdde6829842a48a9f8f410eabb629",{configurable:!0,set:function(){b("You are setting _fd76bdde6829842a48a9f8f410eabb629 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0b5d054602374b7498c4eced57bd3ff8")||(Object.defineProperty(a.ready,"_f0b5d054602374b7498c4eced57bd3ff8",{configurable:!0,get:function(){b("You are getting _f0b5d054602374b7498c4eced57bd3ff8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0b5d054602374b7498c4eced57bd3ff8",{configurable:!0,set:function(){b("You are setting _f0b5d054602374b7498c4eced57bd3ff8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3efe5ab1a5454070b01ecd1aa3617f62")||(Object.defineProperty(a.ready,"_f3efe5ab1a5454070b01ecd1aa3617f62",{configurable:!0,get:function(){b("You are getting _f3efe5ab1a5454070b01ecd1aa3617f62 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3efe5ab1a5454070b01ecd1aa3617f62",{configurable:!0,set:function(){b("You are setting _f3efe5ab1a5454070b01ecd1aa3617f62 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_febbb8bae68d346e4b62cdd26f19a2927")||(Object.defineProperty(a.ready,"_febbb8bae68d346e4b62cdd26f19a2927",{configurable:!0,get:function(){b("You are getting _febbb8bae68d346e4b62cdd26f19a2927 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_febbb8bae68d346e4b62cdd26f19a2927",{configurable:!0,set:function(){b("You are setting _febbb8bae68d346e4b62cdd26f19a2927 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0ba39a05fb57416bb1becbe863adccb0")||(Object.defineProperty(a.ready,"_f0ba39a05fb57416bb1becbe863adccb0",{configurable:!0,get:function(){b("You are getting _f0ba39a05fb57416bb1becbe863adccb0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0ba39a05fb57416bb1becbe863adccb0",{configurable:!0,set:function(){b("You are setting _f0ba39a05fb57416bb1becbe863adccb0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f743a1fb5cf844db89933d2e483e027c1")||(Object.defineProperty(a.ready,"_f743a1fb5cf844db89933d2e483e027c1",{configurable:!0,get:function(){b("You are getting _f743a1fb5cf844db89933d2e483e027c1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f743a1fb5cf844db89933d2e483e027c1",{configurable:!0,set:function(){b("You are setting _f743a1fb5cf844db89933d2e483e027c1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f805538eeb3b04bb39be30ef7cc25289e")||(Object.defineProperty(a.ready,"_f805538eeb3b04bb39be30ef7cc25289e",{configurable:!0,get:function(){b("You are getting _f805538eeb3b04bb39be30ef7cc25289e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f805538eeb3b04bb39be30ef7cc25289e",{configurable:!0,set:function(){b("You are setting _f805538eeb3b04bb39be30ef7cc25289e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdc44fe20de734e37b499c5fae3e3fe03")||(Object.defineProperty(a.ready,"_fdc44fe20de734e37b499c5fae3e3fe03",{configurable:!0,get:function(){b("You are getting _fdc44fe20de734e37b499c5fae3e3fe03 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdc44fe20de734e37b499c5fae3e3fe03",{configurable:!0,set:function(){b("You are setting _fdc44fe20de734e37b499c5fae3e3fe03 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f525d5e7985fe42f486390d2f8353e473")||(Object.defineProperty(a.ready,"_f525d5e7985fe42f486390d2f8353e473",{configurable:!0,get:function(){b("You are getting _f525d5e7985fe42f486390d2f8353e473 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f525d5e7985fe42f486390d2f8353e473",{configurable:!0,set:function(){b("You are setting _f525d5e7985fe42f486390d2f8353e473 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f92dbfcefa5bc4a8ab03a40bf6ea0185c")||(Object.defineProperty(a.ready,"_f92dbfcefa5bc4a8ab03a40bf6ea0185c",{configurable:!0,get:function(){b("You are getting _f92dbfcefa5bc4a8ab03a40bf6ea0185c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f92dbfcefa5bc4a8ab03a40bf6ea0185c",{configurable:!0,set:function(){b("You are setting _f92dbfcefa5bc4a8ab03a40bf6ea0185c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fff766b9440de49f38294d06531ec7d33")||(Object.defineProperty(a.ready,"_fff766b9440de49f38294d06531ec7d33",{configurable:!0,get:function(){b("You are getting _fff766b9440de49f38294d06531ec7d33 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fff766b9440de49f38294d06531ec7d33",{configurable:!0,set:function(){b("You are setting _fff766b9440de49f38294d06531ec7d33 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdbc4a4bc16924a3e94ec7293e337cffd")||(Object.defineProperty(a.ready,"_fdbc4a4bc16924a3e94ec7293e337cffd",{configurable:!0,get:function(){b("You are getting _fdbc4a4bc16924a3e94ec7293e337cffd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdbc4a4bc16924a3e94ec7293e337cffd",{configurable:!0,set:function(){b("You are setting _fdbc4a4bc16924a3e94ec7293e337cffd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7eabdfae499f4d088d60444155760e88")||(Object.defineProperty(a.ready,"_f7eabdfae499f4d088d60444155760e88",{configurable:!0,get:function(){b("You are getting _f7eabdfae499f4d088d60444155760e88 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7eabdfae499f4d088d60444155760e88",{configurable:!0,set:function(){b("You are setting _f7eabdfae499f4d088d60444155760e88 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f640e414804844a83b3748a0a707fdb28")||(Object.defineProperty(a.ready,"_f640e414804844a83b3748a0a707fdb28",{configurable:!0,get:function(){b("You are getting _f640e414804844a83b3748a0a707fdb28 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f640e414804844a83b3748a0a707fdb28",{configurable:!0,set:function(){b("You are setting _f640e414804844a83b3748a0a707fdb28 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fbfd36e416ebc4b66ab7d9f2ac075bc7c")||(Object.defineProperty(a.ready,"_fbfd36e416ebc4b66ab7d9f2ac075bc7c",{configurable:!0,get:function(){b("You are getting _fbfd36e416ebc4b66ab7d9f2ac075bc7c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fbfd36e416ebc4b66ab7d9f2ac075bc7c",{configurable:!0,set:function(){b("You are setting _fbfd36e416ebc4b66ab7d9f2ac075bc7c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f23dc7eded9f74cefad01df05f51f9045")||(Object.defineProperty(a.ready,"_f23dc7eded9f74cefad01df05f51f9045",{configurable:!0,get:function(){b("You are getting _f23dc7eded9f74cefad01df05f51f9045 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f23dc7eded9f74cefad01df05f51f9045",{configurable:!0,set:function(){b("You are setting _f23dc7eded9f74cefad01df05f51f9045 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2e1b1477eb994333ad05922a8c1486a0")||(Object.defineProperty(a.ready,"_f2e1b1477eb994333ad05922a8c1486a0",{configurable:!0,get:function(){b("You are getting _f2e1b1477eb994333ad05922a8c1486a0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2e1b1477eb994333ad05922a8c1486a0",{configurable:!0,set:function(){b("You are setting _f2e1b1477eb994333ad05922a8c1486a0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe9efbc1cfaa140cc91819743101a5dd5")||(Object.defineProperty(a.ready,"_fe9efbc1cfaa140cc91819743101a5dd5",{configurable:!0,get:function(){b("You are getting _fe9efbc1cfaa140cc91819743101a5dd5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe9efbc1cfaa140cc91819743101a5dd5",{configurable:!0,set:function(){b("You are setting _fe9efbc1cfaa140cc91819743101a5dd5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff9ae1b33d10d4b73b874027d08c273e1")||(Object.defineProperty(a.ready,"_ff9ae1b33d10d4b73b874027d08c273e1",{configurable:!0,get:function(){b("You are getting _ff9ae1b33d10d4b73b874027d08c273e1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff9ae1b33d10d4b73b874027d08c273e1",{configurable:!0,set:function(){b("You are setting _ff9ae1b33d10d4b73b874027d08c273e1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8a899367ed0347ab8c3df8f0abc00399")||(Object.defineProperty(a.ready,"_f8a899367ed0347ab8c3df8f0abc00399",{configurable:!0,get:function(){b("You are getting _f8a899367ed0347ab8c3df8f0abc00399 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8a899367ed0347ab8c3df8f0abc00399",{configurable:!0,set:function(){b("You are setting _f8a899367ed0347ab8c3df8f0abc00399 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff620d79170f14591aad8b32dd34e18f1")||(Object.defineProperty(a.ready,"_ff620d79170f14591aad8b32dd34e18f1",{configurable:!0,get:function(){b("You are getting _ff620d79170f14591aad8b32dd34e18f1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff620d79170f14591aad8b32dd34e18f1",{configurable:!0,set:function(){b("You are setting _ff620d79170f14591aad8b32dd34e18f1 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9a6da37bcb8b4b4a982ca45a6775f92a")||(Object.defineProperty(a.ready,"_f9a6da37bcb8b4b4a982ca45a6775f92a",{configurable:!0,get:function(){b("You are getting _f9a6da37bcb8b4b4a982ca45a6775f92a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9a6da37bcb8b4b4a982ca45a6775f92a",{configurable:!0,set:function(){b("You are setting _f9a6da37bcb8b4b4a982ca45a6775f92a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd04d1389a7ac4e2cb472f10ce506ed99")||(Object.defineProperty(a.ready,"_fd04d1389a7ac4e2cb472f10ce506ed99",{configurable:!0,get:function(){b("You are getting _fd04d1389a7ac4e2cb472f10ce506ed99 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd04d1389a7ac4e2cb472f10ce506ed99",{configurable:!0,set:function(){b("You are setting _fd04d1389a7ac4e2cb472f10ce506ed99 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f49a98655851f4591b943d26593e947df")||(Object.defineProperty(a.ready,"_f49a98655851f4591b943d26593e947df",{configurable:!0,get:function(){b("You are getting _f49a98655851f4591b943d26593e947df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f49a98655851f4591b943d26593e947df",{configurable:!0,set:function(){b("You are setting _f49a98655851f4591b943d26593e947df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5587bf77679149949689edaae537e46c")||(Object.defineProperty(a.ready,"_f5587bf77679149949689edaae537e46c",{configurable:!0,get:function(){b("You are getting _f5587bf77679149949689edaae537e46c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5587bf77679149949689edaae537e46c",{configurable:!0,set:function(){b("You are setting _f5587bf77679149949689edaae537e46c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8131e6b68b1648678af72dd7d77a0cb3")||(Object.defineProperty(a.ready,"_f8131e6b68b1648678af72dd7d77a0cb3",{configurable:!0,get:function(){b("You are getting _f8131e6b68b1648678af72dd7d77a0cb3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8131e6b68b1648678af72dd7d77a0cb3",{configurable:!0,set:function(){b("You are setting _f8131e6b68b1648678af72dd7d77a0cb3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f114b87f2af2c43d9b4fce968c07b3be2")||(Object.defineProperty(a.ready,"_f114b87f2af2c43d9b4fce968c07b3be2",{configurable:!0,get:function(){b("You are getting _f114b87f2af2c43d9b4fce968c07b3be2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f114b87f2af2c43d9b4fce968c07b3be2",{configurable:!0,set:function(){b("You are setting _f114b87f2af2c43d9b4fce968c07b3be2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff4371d7602af4ad8bb939ee8832034dc")||(Object.defineProperty(a.ready,"_ff4371d7602af4ad8bb939ee8832034dc",{configurable:!0,get:function(){b("You are getting _ff4371d7602af4ad8bb939ee8832034dc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff4371d7602af4ad8bb939ee8832034dc",{configurable:!0,set:function(){b("You are setting _ff4371d7602af4ad8bb939ee8832034dc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7700d7170cd145f8b158bf665ea23e54")||(Object.defineProperty(a.ready,"_f7700d7170cd145f8b158bf665ea23e54",{configurable:!0,get:function(){b("You are getting _f7700d7170cd145f8b158bf665ea23e54 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7700d7170cd145f8b158bf665ea23e54",{configurable:!0,set:function(){b("You are setting _f7700d7170cd145f8b158bf665ea23e54 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6dbfce45736a427fa5b8603080d5bdd5")||(Object.defineProperty(a.ready,"_f6dbfce45736a427fa5b8603080d5bdd5",{configurable:!0,get:function(){b("You are getting _f6dbfce45736a427fa5b8603080d5bdd5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6dbfce45736a427fa5b8603080d5bdd5",{configurable:!0,set:function(){b("You are setting _f6dbfce45736a427fa5b8603080d5bdd5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcfd097bb735347f286b7d6efaae0032d")||(Object.defineProperty(a.ready,"_fcfd097bb735347f286b7d6efaae0032d",{configurable:!0,get:function(){b("You are getting _fcfd097bb735347f286b7d6efaae0032d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcfd097bb735347f286b7d6efaae0032d",{configurable:!0,set:function(){b("You are setting _fcfd097bb735347f286b7d6efaae0032d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7de9129f01524e8c8fe1020d455b0dd5")||(Object.defineProperty(a.ready,"_f7de9129f01524e8c8fe1020d455b0dd5",{configurable:!0,get:function(){b("You are getting _f7de9129f01524e8c8fe1020d455b0dd5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7de9129f01524e8c8fe1020d455b0dd5",{configurable:!0,set:function(){b("You are setting _f7de9129f01524e8c8fe1020d455b0dd5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdbc06a1f570b482798d8beaefe6005ae")||(Object.defineProperty(a.ready,"_fdbc06a1f570b482798d8beaefe6005ae",{configurable:!0,get:function(){b("You are getting _fdbc06a1f570b482798d8beaefe6005ae on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdbc06a1f570b482798d8beaefe6005ae",{configurable:!0,set:function(){b("You are setting _fdbc06a1f570b482798d8beaefe6005ae on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f78a09fb5198f4d83bf467c51af3497f2")||(Object.defineProperty(a.ready,"_f78a09fb5198f4d83bf467c51af3497f2",{configurable:!0,get:function(){b("You are getting _f78a09fb5198f4d83bf467c51af3497f2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f78a09fb5198f4d83bf467c51af3497f2",{configurable:!0,set:function(){b("You are setting _f78a09fb5198f4d83bf467c51af3497f2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fbe442fae6ffa45b6a6206b78a219bd11")||(Object.defineProperty(a.ready,"_fbe442fae6ffa45b6a6206b78a219bd11",{configurable:!0,get:function(){b("You are getting _fbe442fae6ffa45b6a6206b78a219bd11 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fbe442fae6ffa45b6a6206b78a219bd11",{configurable:!0,set:function(){b("You are setting _fbe442fae6ffa45b6a6206b78a219bd11 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe38f8720b31b474f81ab01a0e887b9e0")||(Object.defineProperty(a.ready,"_fe38f8720b31b474f81ab01a0e887b9e0",{configurable:!0,get:function(){b("You are getting _fe38f8720b31b474f81ab01a0e887b9e0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe38f8720b31b474f81ab01a0e887b9e0",{configurable:!0,set:function(){b("You are setting _fe38f8720b31b474f81ab01a0e887b9e0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe6e104072c764469b6bfcbb95d85433e")||(Object.defineProperty(a.ready,"_fe6e104072c764469b6bfcbb95d85433e",{configurable:!0,get:function(){b("You are getting _fe6e104072c764469b6bfcbb95d85433e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe6e104072c764469b6bfcbb95d85433e",{configurable:!0,set:function(){b("You are setting _fe6e104072c764469b6bfcbb95d85433e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f844d596398de447589439a00d6d30d29")||(Object.defineProperty(a.ready,"_f844d596398de447589439a00d6d30d29",{configurable:!0,get:function(){b("You are getting _f844d596398de447589439a00d6d30d29 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f844d596398de447589439a00d6d30d29",{configurable:!0,set:function(){b("You are setting _f844d596398de447589439a00d6d30d29 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5a213cc4dff04ab3a6dd54d789a9cc51")||(Object.defineProperty(a.ready,"_f5a213cc4dff04ab3a6dd54d789a9cc51",{configurable:!0,get:function(){b("You are getting _f5a213cc4dff04ab3a6dd54d789a9cc51 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5a213cc4dff04ab3a6dd54d789a9cc51",{configurable:!0,set:function(){b("You are setting _f5a213cc4dff04ab3a6dd54d789a9cc51 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb6f37b8d3b50467a9ee51ffe81970ad8")||(Object.defineProperty(a.ready,"_fb6f37b8d3b50467a9ee51ffe81970ad8",{configurable:!0,get:function(){b("You are getting _fb6f37b8d3b50467a9ee51ffe81970ad8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb6f37b8d3b50467a9ee51ffe81970ad8",{configurable:!0,set:function(){b("You are setting _fb6f37b8d3b50467a9ee51ffe81970ad8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f19072c34cca74a82874bd21f106e8209")||(Object.defineProperty(a.ready,"_f19072c34cca74a82874bd21f106e8209",{configurable:!0,get:function(){b("You are getting _f19072c34cca74a82874bd21f106e8209 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f19072c34cca74a82874bd21f106e8209",{configurable:!0,set:function(){b("You are setting _f19072c34cca74a82874bd21f106e8209 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f60e2a82952b24af0a7dd7d0590c7e96f")||(Object.defineProperty(a.ready,"_f60e2a82952b24af0a7dd7d0590c7e96f",{configurable:!0,get:function(){b("You are getting _f60e2a82952b24af0a7dd7d0590c7e96f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f60e2a82952b24af0a7dd7d0590c7e96f",{configurable:!0,set:function(){b("You are setting _f60e2a82952b24af0a7dd7d0590c7e96f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcd511c55571445e4b44bd9dc26304cd6")||(Object.defineProperty(a.ready,"_fcd511c55571445e4b44bd9dc26304cd6",{configurable:!0,get:function(){b("You are getting _fcd511c55571445e4b44bd9dc26304cd6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcd511c55571445e4b44bd9dc26304cd6",{configurable:!0,set:function(){b("You are setting _fcd511c55571445e4b44bd9dc26304cd6 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd854007967c24463bfef498c037ae81e")||(Object.defineProperty(a.ready,"_fd854007967c24463bfef498c037ae81e",{configurable:!0,get:function(){b("You are getting _fd854007967c24463bfef498c037ae81e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd854007967c24463bfef498c037ae81e",{configurable:!0,set:function(){b("You are setting _fd854007967c24463bfef498c037ae81e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa9f665a42bcb4f3c9a24c0c04b2c459b")||(Object.defineProperty(a.ready,"_fa9f665a42bcb4f3c9a24c0c04b2c459b",{configurable:!0,get:function(){b("You are getting _fa9f665a42bcb4f3c9a24c0c04b2c459b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa9f665a42bcb4f3c9a24c0c04b2c459b",{configurable:!0,set:function(){b("You are setting _fa9f665a42bcb4f3c9a24c0c04b2c459b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f31d2987179364db2ba2c16c2cb97fbb5")||(Object.defineProperty(a.ready,"_f31d2987179364db2ba2c16c2cb97fbb5",{configurable:!0,get:function(){b("You are getting _f31d2987179364db2ba2c16c2cb97fbb5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f31d2987179364db2ba2c16c2cb97fbb5",{configurable:!0,set:function(){b("You are setting _f31d2987179364db2ba2c16c2cb97fbb5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f181bd1c9825c4d70a0d66b56846bdd45")||(Object.defineProperty(a.ready,"_f181bd1c9825c4d70a0d66b56846bdd45",{configurable:!0,get:function(){b("You are getting _f181bd1c9825c4d70a0d66b56846bdd45 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f181bd1c9825c4d70a0d66b56846bdd45",{configurable:!0,set:function(){b("You are setting _f181bd1c9825c4d70a0d66b56846bdd45 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3120c1fdafbf47278dded835858f6e7f")||(Object.defineProperty(a.ready,"_f3120c1fdafbf47278dded835858f6e7f",{configurable:!0,get:function(){b("You are getting _f3120c1fdafbf47278dded835858f6e7f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3120c1fdafbf47278dded835858f6e7f",{configurable:!0,set:function(){b("You are setting _f3120c1fdafbf47278dded835858f6e7f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f82c748c1737e48c09384300d8d4631b5")||(Object.defineProperty(a.ready,"_f82c748c1737e48c09384300d8d4631b5",{configurable:!0,get:function(){b("You are getting _f82c748c1737e48c09384300d8d4631b5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f82c748c1737e48c09384300d8d4631b5",{configurable:!0,set:function(){b("You are setting _f82c748c1737e48c09384300d8d4631b5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5f2ae7b4960c4b7d9eae5c5ecb0c89d0")||(Object.defineProperty(a.ready,"_f5f2ae7b4960c4b7d9eae5c5ecb0c89d0",{configurable:!0,get:function(){b("You are getting _f5f2ae7b4960c4b7d9eae5c5ecb0c89d0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5f2ae7b4960c4b7d9eae5c5ecb0c89d0",{configurable:!0,set:function(){b("You are setting _f5f2ae7b4960c4b7d9eae5c5ecb0c89d0 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe0513a0e37de480cb400dae882e43e02")||(Object.defineProperty(a.ready,"_fe0513a0e37de480cb400dae882e43e02",{configurable:!0,get:function(){b("You are getting _fe0513a0e37de480cb400dae882e43e02 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe0513a0e37de480cb400dae882e43e02",{configurable:!0,set:function(){b("You are setting _fe0513a0e37de480cb400dae882e43e02 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe83210d0f9434a86a55872900f07f787")||(Object.defineProperty(a.ready,"_fe83210d0f9434a86a55872900f07f787",{configurable:!0,get:function(){b("You are getting _fe83210d0f9434a86a55872900f07f787 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe83210d0f9434a86a55872900f07f787",{configurable:!0,set:function(){b("You are setting _fe83210d0f9434a86a55872900f07f787 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3fde2b57c2374bad8c4fda266a6240fa")||(Object.defineProperty(a.ready,"_f3fde2b57c2374bad8c4fda266a6240fa",{configurable:!0,get:function(){b("You are getting _f3fde2b57c2374bad8c4fda266a6240fa on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3fde2b57c2374bad8c4fda266a6240fa",{configurable:!0,set:function(){b("You are setting _f3fde2b57c2374bad8c4fda266a6240fa on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa16688b4c03140a698eb41a4e8f48209")||(Object.defineProperty(a.ready,"_fa16688b4c03140a698eb41a4e8f48209",{configurable:!0,get:function(){b("You are getting _fa16688b4c03140a698eb41a4e8f48209 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa16688b4c03140a698eb41a4e8f48209",{configurable:!0,set:function(){b("You are setting _fa16688b4c03140a698eb41a4e8f48209 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4c9adb72e60a4b14afe245625e84e6d7")||(Object.defineProperty(a.ready,"_f4c9adb72e60a4b14afe245625e84e6d7",{configurable:!0,get:function(){b("You are getting _f4c9adb72e60a4b14afe245625e84e6d7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4c9adb72e60a4b14afe245625e84e6d7",{configurable:!0,set:function(){b("You are setting _f4c9adb72e60a4b14afe245625e84e6d7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fef08c8bae49d40bd8585b30127e9d54d")||(Object.defineProperty(a.ready,"_fef08c8bae49d40bd8585b30127e9d54d",{configurable:!0,get:function(){b("You are getting _fef08c8bae49d40bd8585b30127e9d54d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fef08c8bae49d40bd8585b30127e9d54d",{configurable:!0,set:function(){b("You are setting _fef08c8bae49d40bd8585b30127e9d54d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f61d9f74e609243bf9f81c459d08e0ed4")||(Object.defineProperty(a.ready,"_f61d9f74e609243bf9f81c459d08e0ed4",{configurable:!0,get:function(){b("You are getting _f61d9f74e609243bf9f81c459d08e0ed4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f61d9f74e609243bf9f81c459d08e0ed4",{configurable:!0,set:function(){b("You are setting _f61d9f74e609243bf9f81c459d08e0ed4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6980d236a9504efdbc3449179dff2616")||(Object.defineProperty(a.ready,"_f6980d236a9504efdbc3449179dff2616",{configurable:!0,get:function(){b("You are getting _f6980d236a9504efdbc3449179dff2616 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6980d236a9504efdbc3449179dff2616",{configurable:!0,set:function(){b("You are setting _f6980d236a9504efdbc3449179dff2616 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff5ea75678fe44dbf93c1efc249ec3fbd")||(Object.defineProperty(a.ready,"_ff5ea75678fe44dbf93c1efc249ec3fbd",{configurable:!0,get:function(){b("You are getting _ff5ea75678fe44dbf93c1efc249ec3fbd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff5ea75678fe44dbf93c1efc249ec3fbd",{configurable:!0,set:function(){b("You are setting _ff5ea75678fe44dbf93c1efc249ec3fbd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f03b97717d4144fbbaf87acc52e86db78")||(Object.defineProperty(a.ready,"_f03b97717d4144fbbaf87acc52e86db78",{configurable:!0,get:function(){b("You are getting _f03b97717d4144fbbaf87acc52e86db78 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f03b97717d4144fbbaf87acc52e86db78",{configurable:!0,set:function(){b("You are setting _f03b97717d4144fbbaf87acc52e86db78 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7361c093c6944bc7a53d07b54158b400")||(Object.defineProperty(a.ready,"_f7361c093c6944bc7a53d07b54158b400",{configurable:!0,get:function(){b("You are getting _f7361c093c6944bc7a53d07b54158b400 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7361c093c6944bc7a53d07b54158b400",{configurable:!0,set:function(){b("You are setting _f7361c093c6944bc7a53d07b54158b400 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ffaad32801a5744c4b20ddf312d2c3a99")||(Object.defineProperty(a.ready,"_ffaad32801a5744c4b20ddf312d2c3a99",{configurable:!0,get:function(){b("You are getting _ffaad32801a5744c4b20ddf312d2c3a99 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ffaad32801a5744c4b20ddf312d2c3a99",{configurable:!0,set:function(){b("You are setting _ffaad32801a5744c4b20ddf312d2c3a99 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f45506ca209374109a7eb1fe08c094bb9")||(Object.defineProperty(a.ready,"_f45506ca209374109a7eb1fe08c094bb9",{configurable:!0,get:function(){b("You are getting _f45506ca209374109a7eb1fe08c094bb9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f45506ca209374109a7eb1fe08c094bb9",{configurable:!0,set:function(){b("You are setting _f45506ca209374109a7eb1fe08c094bb9 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6dff50ce112843358b9a509f32b11ad7")||(Object.defineProperty(a.ready,"_f6dff50ce112843358b9a509f32b11ad7",{configurable:!0,get:function(){b("You are getting _f6dff50ce112843358b9a509f32b11ad7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6dff50ce112843358b9a509f32b11ad7",{configurable:!0,set:function(){b("You are setting _f6dff50ce112843358b9a509f32b11ad7 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc8556b58773f47efa4b3beddebb34391")||(Object.defineProperty(a.ready,"_fc8556b58773f47efa4b3beddebb34391",{configurable:!0,get:function(){b("You are getting _fc8556b58773f47efa4b3beddebb34391 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc8556b58773f47efa4b3beddebb34391",{configurable:!0,set:function(){b("You are setting _fc8556b58773f47efa4b3beddebb34391 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6f65c5b1bd6942139ade56d35e9dd668")||(Object.defineProperty(a.ready,"_f6f65c5b1bd6942139ade56d35e9dd668",{configurable:!0,get:function(){b("You are getting _f6f65c5b1bd6942139ade56d35e9dd668 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6f65c5b1bd6942139ade56d35e9dd668",{configurable:!0,set:function(){b("You are setting _f6f65c5b1bd6942139ade56d35e9dd668 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc07297f1f2a84315aca3bb860b31986c")||(Object.defineProperty(a.ready,"_fc07297f1f2a84315aca3bb860b31986c",{configurable:!0,get:function(){b("You are getting _fc07297f1f2a84315aca3bb860b31986c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc07297f1f2a84315aca3bb860b31986c",{configurable:!0,set:function(){b("You are setting _fc07297f1f2a84315aca3bb860b31986c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb6676cb763cc48eeb835b90f8050ac11")||(Object.defineProperty(a.ready,"_fb6676cb763cc48eeb835b90f8050ac11",{configurable:!0,get:function(){b("You are getting _fb6676cb763cc48eeb835b90f8050ac11 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb6676cb763cc48eeb835b90f8050ac11",{configurable:!0,set:function(){b("You are setting _fb6676cb763cc48eeb835b90f8050ac11 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9d5e63af11384e5e9f748b90a521b312")||(Object.defineProperty(a.ready,"_f9d5e63af11384e5e9f748b90a521b312",{configurable:!0,get:function(){b("You are getting _f9d5e63af11384e5e9f748b90a521b312 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9d5e63af11384e5e9f748b90a521b312",{configurable:!0,set:function(){b("You are setting _f9d5e63af11384e5e9f748b90a521b312 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5d39e87c2dd84a05af7400e74062dde3")||(Object.defineProperty(a.ready,"_f5d39e87c2dd84a05af7400e74062dde3",{configurable:!0,get:function(){b("You are getting _f5d39e87c2dd84a05af7400e74062dde3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5d39e87c2dd84a05af7400e74062dde3",{configurable:!0,set:function(){b("You are setting _f5d39e87c2dd84a05af7400e74062dde3 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f13f57100b5c342db85f51287c3910c99")||(Object.defineProperty(a.ready,"_f13f57100b5c342db85f51287c3910c99",{configurable:!0,get:function(){b("You are getting _f13f57100b5c342db85f51287c3910c99 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f13f57100b5c342db85f51287c3910c99",{configurable:!0,set:function(){b("You are setting _f13f57100b5c342db85f51287c3910c99 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6ca00b4d8eb74ec5b19a1992ba69d5f4")||(Object.defineProperty(a.ready,"_f6ca00b4d8eb74ec5b19a1992ba69d5f4",{configurable:!0,get:function(){b("You are getting _f6ca00b4d8eb74ec5b19a1992ba69d5f4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6ca00b4d8eb74ec5b19a1992ba69d5f4",{configurable:!0,set:function(){b("You are setting _f6ca00b4d8eb74ec5b19a1992ba69d5f4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2a97f62a5add43d59e728b4e34028606")||(Object.defineProperty(a.ready,"_f2a97f62a5add43d59e728b4e34028606",{configurable:!0,get:function(){b("You are getting _f2a97f62a5add43d59e728b4e34028606 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2a97f62a5add43d59e728b4e34028606",{configurable:!0,set:function(){b("You are setting _f2a97f62a5add43d59e728b4e34028606 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6f063b7e856045d28c5ea169dd22fef5")||(Object.defineProperty(a.ready,"_f6f063b7e856045d28c5ea169dd22fef5",{configurable:!0,get:function(){b("You are getting _f6f063b7e856045d28c5ea169dd22fef5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6f063b7e856045d28c5ea169dd22fef5",{configurable:!0,set:function(){b("You are setting _f6f063b7e856045d28c5ea169dd22fef5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc36e91f62cd248f1bb9e8678aabe4099")||(Object.defineProperty(a.ready,"_fc36e91f62cd248f1bb9e8678aabe4099",{configurable:!0,get:function(){b("You are getting _fc36e91f62cd248f1bb9e8678aabe4099 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc36e91f62cd248f1bb9e8678aabe4099",{configurable:!0,set:function(){b("You are setting _fc36e91f62cd248f1bb9e8678aabe4099 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0798e7cb24bc494abd81e6405781c461")||(Object.defineProperty(a.ready,"_f0798e7cb24bc494abd81e6405781c461",{configurable:!0,get:function(){b("You are getting _f0798e7cb24bc494abd81e6405781c461 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0798e7cb24bc494abd81e6405781c461",{configurable:!0,set:function(){b("You are setting _f0798e7cb24bc494abd81e6405781c461 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe954cddf68574796b7dcd6355eb83440")||(Object.defineProperty(a.ready,"_fe954cddf68574796b7dcd6355eb83440",{configurable:!0,get:function(){b("You are getting _fe954cddf68574796b7dcd6355eb83440 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe954cddf68574796b7dcd6355eb83440",{configurable:!0,set:function(){b("You are setting _fe954cddf68574796b7dcd6355eb83440 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f543b632702cd4ee9970c7abcb98fdab4")||(Object.defineProperty(a.ready,"_f543b632702cd4ee9970c7abcb98fdab4",{configurable:!0,get:function(){b("You are getting _f543b632702cd4ee9970c7abcb98fdab4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f543b632702cd4ee9970c7abcb98fdab4",{configurable:!0,set:function(){b("You are setting _f543b632702cd4ee9970c7abcb98fdab4 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7d50971577054a92a60d1b947ad4c508")||(Object.defineProperty(a.ready,"_f7d50971577054a92a60d1b947ad4c508",{configurable:!0,get:function(){b("You are getting _f7d50971577054a92a60d1b947ad4c508 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7d50971577054a92a60d1b947ad4c508",{configurable:!0,set:function(){b("You are setting _f7d50971577054a92a60d1b947ad4c508 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb5969be04dd545b2a263d9edba649b9d")||(Object.defineProperty(a.ready,"_fb5969be04dd545b2a263d9edba649b9d",{configurable:!0,get:function(){b("You are getting _fb5969be04dd545b2a263d9edba649b9d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb5969be04dd545b2a263d9edba649b9d",{configurable:!0,set:function(){b("You are setting _fb5969be04dd545b2a263d9edba649b9d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd33bab899b1f4d25a041733c0c819aac")||(Object.defineProperty(a.ready,"_fd33bab899b1f4d25a041733c0c819aac",{configurable:!0,get:function(){b("You are getting _fd33bab899b1f4d25a041733c0c819aac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd33bab899b1f4d25a041733c0c819aac",{configurable:!0,set:function(){b("You are setting _fd33bab899b1f4d25a041733c0c819aac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8bc75d43d5c54447ae84583fb12a2c39")||(Object.defineProperty(a.ready,"_f8bc75d43d5c54447ae84583fb12a2c39",{configurable:!0,get:function(){b("You are getting _f8bc75d43d5c54447ae84583fb12a2c39 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8bc75d43d5c54447ae84583fb12a2c39",{configurable:!0,set:function(){b("You are setting _f8bc75d43d5c54447ae84583fb12a2c39 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1749aaf1db734ef9bab71b3c576bbe6e")||(Object.defineProperty(a.ready,"_f1749aaf1db734ef9bab71b3c576bbe6e",{configurable:!0,get:function(){b("You are getting _f1749aaf1db734ef9bab71b3c576bbe6e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1749aaf1db734ef9bab71b3c576bbe6e",{configurable:!0,set:function(){b("You are setting _f1749aaf1db734ef9bab71b3c576bbe6e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc203fecac37a452899694572d0923ad5")||(Object.defineProperty(a.ready,"_fc203fecac37a452899694572d0923ad5",{configurable:!0,get:function(){b("You are getting _fc203fecac37a452899694572d0923ad5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc203fecac37a452899694572d0923ad5",{configurable:!0,set:function(){b("You are setting _fc203fecac37a452899694572d0923ad5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f466a47774e3b4313b6e046a9a9255f2b")||(Object.defineProperty(a.ready,"_f466a47774e3b4313b6e046a9a9255f2b",{configurable:!0,get:function(){b("You are getting _f466a47774e3b4313b6e046a9a9255f2b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f466a47774e3b4313b6e046a9a9255f2b",{configurable:!0,set:function(){b("You are setting _f466a47774e3b4313b6e046a9a9255f2b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8c1ffd34e63b4d8598b9cf87fc136efb")||(Object.defineProperty(a.ready,"_f8c1ffd34e63b4d8598b9cf87fc136efb",{configurable:!0,get:function(){b("You are getting _f8c1ffd34e63b4d8598b9cf87fc136efb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8c1ffd34e63b4d8598b9cf87fc136efb",{configurable:!0,set:function(){b("You are setting _f8c1ffd34e63b4d8598b9cf87fc136efb on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2272afa64a89431f81ac411e044f682a")||(Object.defineProperty(a.ready,"_f2272afa64a89431f81ac411e044f682a",{configurable:!0,get:function(){b("You are getting _f2272afa64a89431f81ac411e044f682a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2272afa64a89431f81ac411e044f682a",{configurable:!0,set:function(){b("You are setting _f2272afa64a89431f81ac411e044f682a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa19a1fa3d6c14f2f94769eef0f616d63")||(Object.defineProperty(a.ready,"_fa19a1fa3d6c14f2f94769eef0f616d63",{configurable:!0,get:function(){b("You are getting _fa19a1fa3d6c14f2f94769eef0f616d63 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa19a1fa3d6c14f2f94769eef0f616d63",{configurable:!0,set:function(){b("You are setting _fa19a1fa3d6c14f2f94769eef0f616d63 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3c1da836876b4470ba6c435e12fd41df")||(Object.defineProperty(a.ready,"_f3c1da836876b4470ba6c435e12fd41df",{configurable:!0,get:function(){b("You are getting _f3c1da836876b4470ba6c435e12fd41df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3c1da836876b4470ba6c435e12fd41df",{configurable:!0,set:function(){b("You are setting _f3c1da836876b4470ba6c435e12fd41df on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe8e81708ba98459181a6de79c3f303c5")||(Object.defineProperty(a.ready,"_fe8e81708ba98459181a6de79c3f303c5",{configurable:!0,get:function(){b("You are getting _fe8e81708ba98459181a6de79c3f303c5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe8e81708ba98459181a6de79c3f303c5",{configurable:!0,set:function(){b("You are setting _fe8e81708ba98459181a6de79c3f303c5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5e0e8c99c2ca42da9c01255ef2508e33")||(Object.defineProperty(a.ready,"_f5e0e8c99c2ca42da9c01255ef2508e33",{configurable:!0,get:function(){b("You are getting _f5e0e8c99c2ca42da9c01255ef2508e33 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5e0e8c99c2ca42da9c01255ef2508e33",{configurable:!0,set:function(){b("You are setting _f5e0e8c99c2ca42da9c01255ef2508e33 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff230415c0789488ca965b623051c1f6a")||(Object.defineProperty(a.ready,"_ff230415c0789488ca965b623051c1f6a",{configurable:!0,get:function(){b("You are getting _ff230415c0789488ca965b623051c1f6a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff230415c0789488ca965b623051c1f6a",{configurable:!0,set:function(){b("You are setting _ff230415c0789488ca965b623051c1f6a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa831e4091c6c4886b89f3ea2f333eece")||(Object.defineProperty(a.ready,"_fa831e4091c6c4886b89f3ea2f333eece",{configurable:!0,get:function(){b("You are getting _fa831e4091c6c4886b89f3ea2f333eece on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa831e4091c6c4886b89f3ea2f333eece",{configurable:!0,set:function(){b("You are setting _fa831e4091c6c4886b89f3ea2f333eece on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc133191229ae4673a37528bf4ac372b5")||(Object.defineProperty(a.ready,"_fc133191229ae4673a37528bf4ac372b5",{configurable:!0,get:function(){b("You are getting _fc133191229ae4673a37528bf4ac372b5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc133191229ae4673a37528bf4ac372b5",{configurable:!0,set:function(){b("You are setting _fc133191229ae4673a37528bf4ac372b5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe0bdb7b1eff647deae04a0ebc88ea832")||(Object.defineProperty(a.ready,"_fe0bdb7b1eff647deae04a0ebc88ea832",{configurable:!0,get:function(){b("You are getting _fe0bdb7b1eff647deae04a0ebc88ea832 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe0bdb7b1eff647deae04a0ebc88ea832",{configurable:!0,set:function(){b("You are setting _fe0bdb7b1eff647deae04a0ebc88ea832 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f7882bb9a306a4a799ca1ec7eea7e0ea5")||(Object.defineProperty(a.ready,"_f7882bb9a306a4a799ca1ec7eea7e0ea5",{configurable:!0,get:function(){b("You are getting _f7882bb9a306a4a799ca1ec7eea7e0ea5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f7882bb9a306a4a799ca1ec7eea7e0ea5",{configurable:!0,set:function(){b("You are setting _f7882bb9a306a4a799ca1ec7eea7e0ea5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3d1b96a7cfd4474b84967a6c35c68a7a")||(Object.defineProperty(a.ready,"_f3d1b96a7cfd4474b84967a6c35c68a7a",{configurable:!0,get:function(){b("You are getting _f3d1b96a7cfd4474b84967a6c35c68a7a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3d1b96a7cfd4474b84967a6c35c68a7a",{configurable:!0,set:function(){b("You are setting _f3d1b96a7cfd4474b84967a6c35c68a7a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fbec5b24fb4de4b6ebd35cd6c2322d7e5")||(Object.defineProperty(a.ready,"_fbec5b24fb4de4b6ebd35cd6c2322d7e5",{configurable:!0,get:function(){b("You are getting _fbec5b24fb4de4b6ebd35cd6c2322d7e5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fbec5b24fb4de4b6ebd35cd6c2322d7e5",{configurable:!0,set:function(){b("You are setting _fbec5b24fb4de4b6ebd35cd6c2322d7e5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd22eebc5744d4f58a8fba4e62f33f9ee")||(Object.defineProperty(a.ready,"_fd22eebc5744d4f58a8fba4e62f33f9ee",{configurable:!0,get:function(){b("You are getting _fd22eebc5744d4f58a8fba4e62f33f9ee on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd22eebc5744d4f58a8fba4e62f33f9ee",{configurable:!0,set:function(){b("You are setting _fd22eebc5744d4f58a8fba4e62f33f9ee on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb190de0ebc3b4a539874dffe150181fe")||(Object.defineProperty(a.ready,"_fb190de0ebc3b4a539874dffe150181fe",{configurable:!0,get:function(){b("You are getting _fb190de0ebc3b4a539874dffe150181fe on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb190de0ebc3b4a539874dffe150181fe",{configurable:!0,set:function(){b("You are setting _fb190de0ebc3b4a539874dffe150181fe on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f9d64c542a2da40f89b137df3c91cd11e")||(Object.defineProperty(a.ready,"_f9d64c542a2da40f89b137df3c91cd11e",{configurable:!0,get:function(){b("You are getting _f9d64c542a2da40f89b137df3c91cd11e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f9d64c542a2da40f89b137df3c91cd11e",{configurable:!0,set:function(){b("You are setting _f9d64c542a2da40f89b137df3c91cd11e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fd269bade22ee4dd484ec9f04e1b3d6fc")||(Object.defineProperty(a.ready,"_fd269bade22ee4dd484ec9f04e1b3d6fc",{configurable:!0,get:function(){b("You are getting _fd269bade22ee4dd484ec9f04e1b3d6fc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fd269bade22ee4dd484ec9f04e1b3d6fc",{configurable:!0,set:function(){b("You are setting _fd269bade22ee4dd484ec9f04e1b3d6fc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f69a3304248b24e9d845b075b02e9892e")||(Object.defineProperty(a.ready,"_f69a3304248b24e9d845b075b02e9892e",{configurable:!0,get:function(){b("You are getting _f69a3304248b24e9d845b075b02e9892e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f69a3304248b24e9d845b075b02e9892e",{configurable:!0,set:function(){b("You are setting _f69a3304248b24e9d845b075b02e9892e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f434a176bc1274b438a09a494f5c89193")||(Object.defineProperty(a.ready,"_f434a176bc1274b438a09a494f5c89193",{configurable:!0,get:function(){b("You are getting _f434a176bc1274b438a09a494f5c89193 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f434a176bc1274b438a09a494f5c89193",{configurable:!0,set:function(){b("You are setting _f434a176bc1274b438a09a494f5c89193 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f846f3617416e45eeb9aaa9ed5024da84")||(Object.defineProperty(a.ready,"_f846f3617416e45eeb9aaa9ed5024da84",{configurable:!0,get:function(){b("You are getting _f846f3617416e45eeb9aaa9ed5024da84 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f846f3617416e45eeb9aaa9ed5024da84",{configurable:!0,set:function(){b("You are setting _f846f3617416e45eeb9aaa9ed5024da84 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff6eaea701ab54e01a422edc0be48fd41")||(Object.defineProperty(a.ready,"_ff6eaea701ab54e01a422edc0be48fd41",{configurable:!0,get:function(){b("You are getting _ff6eaea701ab54e01a422edc0be48fd41 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff6eaea701ab54e01a422edc0be48fd41",{configurable:!0,set:function(){b("You are setting _ff6eaea701ab54e01a422edc0be48fd41 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3ad4d7d4c1eb431f88b52f37eda5033f")||(Object.defineProperty(a.ready,"_f3ad4d7d4c1eb431f88b52f37eda5033f",{configurable:!0,get:function(){b("You are getting _f3ad4d7d4c1eb431f88b52f37eda5033f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3ad4d7d4c1eb431f88b52f37eda5033f",{configurable:!0,set:function(){b("You are setting _f3ad4d7d4c1eb431f88b52f37eda5033f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5a7320424c834853a38237c8e8f4f444")||(Object.defineProperty(a.ready,"_f5a7320424c834853a38237c8e8f4f444",{configurable:!0,get:function(){b("You are getting _f5a7320424c834853a38237c8e8f4f444 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5a7320424c834853a38237c8e8f4f444",{configurable:!0,set:function(){b("You are setting _f5a7320424c834853a38237c8e8f4f444 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f18f727fb2c434713bdf5a933d34d533d")||(Object.defineProperty(a.ready,"_f18f727fb2c434713bdf5a933d34d533d",{configurable:!0,get:function(){b("You are getting _f18f727fb2c434713bdf5a933d34d533d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f18f727fb2c434713bdf5a933d34d533d",{configurable:!0,set:function(){b("You are setting _f18f727fb2c434713bdf5a933d34d533d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f62f969e27e1a4866b697e47a31dfb537")||(Object.defineProperty(a.ready,"_f62f969e27e1a4866b697e47a31dfb537",{configurable:!0,get:function(){b("You are getting _f62f969e27e1a4866b697e47a31dfb537 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f62f969e27e1a4866b697e47a31dfb537",{configurable:!0,set:function(){b("You are setting _f62f969e27e1a4866b697e47a31dfb537 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff1273e221a9941b282d74d34c14dbd0d")||(Object.defineProperty(a.ready,"_ff1273e221a9941b282d74d34c14dbd0d",{configurable:!0,get:function(){b("You are getting _ff1273e221a9941b282d74d34c14dbd0d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff1273e221a9941b282d74d34c14dbd0d",{configurable:!0,set:function(){b("You are setting _ff1273e221a9941b282d74d34c14dbd0d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f0a251e494a36438c901f56423cc517c2")||(Object.defineProperty(a.ready,"_f0a251e494a36438c901f56423cc517c2",{configurable:!0,get:function(){b("You are getting _f0a251e494a36438c901f56423cc517c2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f0a251e494a36438c901f56423cc517c2",{configurable:!0,set:function(){b("You are setting _f0a251e494a36438c901f56423cc517c2 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6eba8c3e658e433b8d9a942562e0d16c")||(Object.defineProperty(a.ready,"_f6eba8c3e658e433b8d9a942562e0d16c",{configurable:!0,get:function(){b("You are getting _f6eba8c3e658e433b8d9a942562e0d16c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6eba8c3e658e433b8d9a942562e0d16c",{configurable:!0,set:function(){b("You are setting _f6eba8c3e658e433b8d9a942562e0d16c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcf67bdd2d5024bea8a32e15c86e0404c")||(Object.defineProperty(a.ready,"_fcf67bdd2d5024bea8a32e15c86e0404c",{configurable:!0,get:function(){b("You are getting _fcf67bdd2d5024bea8a32e15c86e0404c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcf67bdd2d5024bea8a32e15c86e0404c",{configurable:!0,set:function(){b("You are setting _fcf67bdd2d5024bea8a32e15c86e0404c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fe3a3eda94bf846ccb110d4d3e43a337b")||(Object.defineProperty(a.ready,"_fe3a3eda94bf846ccb110d4d3e43a337b",{configurable:!0,get:function(){b("You are getting _fe3a3eda94bf846ccb110d4d3e43a337b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fe3a3eda94bf846ccb110d4d3e43a337b",{configurable:!0,set:function(){b("You are setting _fe3a3eda94bf846ccb110d4d3e43a337b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_faee258387f174569b8eb81648273ef72")||(Object.defineProperty(a.ready,"_faee258387f174569b8eb81648273ef72",{configurable:!0,get:function(){b("You are getting _faee258387f174569b8eb81648273ef72 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_faee258387f174569b8eb81648273ef72",{configurable:!0,set:function(){b("You are setting _faee258387f174569b8eb81648273ef72 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2ef687b4062c4932930c734bd2eccc72")||(Object.defineProperty(a.ready,"_f2ef687b4062c4932930c734bd2eccc72",{configurable:!0,get:function(){b("You are getting _f2ef687b4062c4932930c734bd2eccc72 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2ef687b4062c4932930c734bd2eccc72",{configurable:!0,set:function(){b("You are setting _f2ef687b4062c4932930c734bd2eccc72 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3d72bf4967754a7aa580a68facf8cb9d")||(Object.defineProperty(a.ready,"_f3d72bf4967754a7aa580a68facf8cb9d",{configurable:!0,get:function(){b("You are getting _f3d72bf4967754a7aa580a68facf8cb9d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3d72bf4967754a7aa580a68facf8cb9d",{configurable:!0,set:function(){b("You are setting _f3d72bf4967754a7aa580a68facf8cb9d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcd93e499a6cb45ee849dc3bc7a53922b")||(Object.defineProperty(a.ready,"_fcd93e499a6cb45ee849dc3bc7a53922b",{configurable:!0,get:function(){b("You are getting _fcd93e499a6cb45ee849dc3bc7a53922b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcd93e499a6cb45ee849dc3bc7a53922b",{configurable:!0,set:function(){b("You are setting _fcd93e499a6cb45ee849dc3bc7a53922b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1ee0fbb1f4904722a5bc7f0638bbc09b")||(Object.defineProperty(a.ready,"_f1ee0fbb1f4904722a5bc7f0638bbc09b",{configurable:!0,get:function(){b("You are getting _f1ee0fbb1f4904722a5bc7f0638bbc09b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1ee0fbb1f4904722a5bc7f0638bbc09b",{configurable:!0,set:function(){b("You are setting _f1ee0fbb1f4904722a5bc7f0638bbc09b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f2207816ee67e4223be1a48bca28d0554")||(Object.defineProperty(a.ready,"_f2207816ee67e4223be1a48bca28d0554",{configurable:!0,get:function(){b("You are getting _f2207816ee67e4223be1a48bca28d0554 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f2207816ee67e4223be1a48bca28d0554",{configurable:!0,set:function(){b("You are setting _f2207816ee67e4223be1a48bca28d0554 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1dd5b62a4b074f669dc9a9be55dbddf8")||(Object.defineProperty(a.ready,"_f1dd5b62a4b074f669dc9a9be55dbddf8",{configurable:!0,get:function(){b("You are getting _f1dd5b62a4b074f669dc9a9be55dbddf8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1dd5b62a4b074f669dc9a9be55dbddf8",{configurable:!0,set:function(){b("You are setting _f1dd5b62a4b074f669dc9a9be55dbddf8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcdbd737562704bb889c3befafb57b022")||(Object.defineProperty(a.ready,"_fcdbd737562704bb889c3befafb57b022",{configurable:!0,get:function(){b("You are getting _fcdbd737562704bb889c3befafb57b022 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcdbd737562704bb889c3befafb57b022",{configurable:!0,set:function(){b("You are setting _fcdbd737562704bb889c3befafb57b022 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f02df795d0021433a91318386ed69d18e")||(Object.defineProperty(a.ready,"_f02df795d0021433a91318386ed69d18e",{configurable:!0,get:function(){b("You are getting _f02df795d0021433a91318386ed69d18e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f02df795d0021433a91318386ed69d18e",{configurable:!0,set:function(){b("You are setting _f02df795d0021433a91318386ed69d18e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f257fa1f93b5542c5a3ee119c546e9a31")||(Object.defineProperty(a.ready,"_f257fa1f93b5542c5a3ee119c546e9a31",{configurable:!0,get:function(){b("You are getting _f257fa1f93b5542c5a3ee119c546e9a31 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f257fa1f93b5542c5a3ee119c546e9a31",{configurable:!0,set:function(){b("You are setting _f257fa1f93b5542c5a3ee119c546e9a31 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fbf2894c7f4304a8b90baf5438e55a0d5")||(Object.defineProperty(a.ready,"_fbf2894c7f4304a8b90baf5438e55a0d5",{configurable:!0,get:function(){b("You are getting _fbf2894c7f4304a8b90baf5438e55a0d5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fbf2894c7f4304a8b90baf5438e55a0d5",{configurable:!0,set:function(){b("You are setting _fbf2894c7f4304a8b90baf5438e55a0d5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1d9695e9373d4d14bd7e0ff627d9d947")||(Object.defineProperty(a.ready,"_f1d9695e9373d4d14bd7e0ff627d9d947",{configurable:!0,get:function(){b("You are getting _f1d9695e9373d4d14bd7e0ff627d9d947 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1d9695e9373d4d14bd7e0ff627d9d947",{configurable:!0,set:function(){b("You are setting _f1d9695e9373d4d14bd7e0ff627d9d947 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fde7e37023e4a44f4aae853491c535cb8")||(Object.defineProperty(a.ready,"_fde7e37023e4a44f4aae853491c535cb8",{configurable:!0,get:function(){b("You are getting _fde7e37023e4a44f4aae853491c535cb8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fde7e37023e4a44f4aae853491c535cb8",{configurable:!0,set:function(){b("You are setting _fde7e37023e4a44f4aae853491c535cb8 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f5ac3d8c7d4ce467cb5d171e44e07e7d5")||(Object.defineProperty(a.ready,"_f5ac3d8c7d4ce467cb5d171e44e07e7d5",{configurable:!0,get:function(){b("You are getting _f5ac3d8c7d4ce467cb5d171e44e07e7d5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f5ac3d8c7d4ce467cb5d171e44e07e7d5",{configurable:!0,set:function(){b("You are setting _f5ac3d8c7d4ce467cb5d171e44e07e7d5 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f3fe6bb7f0e99481bbe31f5533c32822f")||(Object.defineProperty(a.ready,"_f3fe6bb7f0e99481bbe31f5533c32822f",{configurable:!0,get:function(){b("You are getting _f3fe6bb7f0e99481bbe31f5533c32822f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f3fe6bb7f0e99481bbe31f5533c32822f",{configurable:!0,set:function(){b("You are setting _f3fe6bb7f0e99481bbe31f5533c32822f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4aadbbc3f6714eefa09455dd39a3b7fd")||(Object.defineProperty(a.ready,"_f4aadbbc3f6714eefa09455dd39a3b7fd",{configurable:!0,get:function(){b("You are getting _f4aadbbc3f6714eefa09455dd39a3b7fd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4aadbbc3f6714eefa09455dd39a3b7fd",{configurable:!0,set:function(){b("You are setting _f4aadbbc3f6714eefa09455dd39a3b7fd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f4ac2b3b511cf487192e30afa9af37704")||(Object.defineProperty(a.ready,"_f4ac2b3b511cf487192e30afa9af37704",{configurable:!0,get:function(){b("You are getting _f4ac2b3b511cf487192e30afa9af37704 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f4ac2b3b511cf487192e30afa9af37704",{configurable:!0,set:function(){b("You are setting _f4ac2b3b511cf487192e30afa9af37704 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f8eb2df1850024d0fbce2c2da22782d3b")||(Object.defineProperty(a.ready,"_f8eb2df1850024d0fbce2c2da22782d3b",{configurable:!0,get:function(){b("You are getting _f8eb2df1850024d0fbce2c2da22782d3b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f8eb2df1850024d0fbce2c2da22782d3b",{configurable:!0,set:function(){b("You are setting _f8eb2df1850024d0fbce2c2da22782d3b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa0e32d0c2809440c866129e2976d836f")||(Object.defineProperty(a.ready,"_fa0e32d0c2809440c866129e2976d836f",{configurable:!0,get:function(){b("You are getting _fa0e32d0c2809440c866129e2976d836f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa0e32d0c2809440c866129e2976d836f",{configurable:!0,set:function(){b("You are setting _fa0e32d0c2809440c866129e2976d836f on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_ff3a32ea6925a44e6a7ffd0136819621a")||(Object.defineProperty(a.ready,"_ff3a32ea6925a44e6a7ffd0136819621a",{configurable:!0,get:function(){b("You are getting _ff3a32ea6925a44e6a7ffd0136819621a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_ff3a32ea6925a44e6a7ffd0136819621a",{configurable:!0,set:function(){b("You are setting _ff3a32ea6925a44e6a7ffd0136819621a on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6ab88a15e4334768b7e4811bcf8cdfcd")||(Object.defineProperty(a.ready,"_f6ab88a15e4334768b7e4811bcf8cdfcd",{configurable:!0,get:function(){b("You are getting _f6ab88a15e4334768b7e4811bcf8cdfcd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6ab88a15e4334768b7e4811bcf8cdfcd",{configurable:!0,set:function(){b("You are setting _f6ab88a15e4334768b7e4811bcf8cdfcd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa7105d0ed267428ab52be1d65117b80b")||(Object.defineProperty(a.ready,"_fa7105d0ed267428ab52be1d65117b80b",{configurable:!0,get:function(){b("You are getting _fa7105d0ed267428ab52be1d65117b80b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa7105d0ed267428ab52be1d65117b80b",{configurable:!0,set:function(){b("You are setting _fa7105d0ed267428ab52be1d65117b80b on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fb91510be61c544cf864a0fe7e4594937")||(Object.defineProperty(a.ready,"_fb91510be61c544cf864a0fe7e4594937",{configurable:!0,get:function(){b("You are getting _fb91510be61c544cf864a0fe7e4594937 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fb91510be61c544cf864a0fe7e4594937",{configurable:!0,set:function(){b("You are setting _fb91510be61c544cf864a0fe7e4594937 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f89e7de19bb4d4acfa9e288beb2bb4a2e")||(Object.defineProperty(a.ready,"_f89e7de19bb4d4acfa9e288beb2bb4a2e",{configurable:!0,get:function(){b("You are getting _f89e7de19bb4d4acfa9e288beb2bb4a2e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f89e7de19bb4d4acfa9e288beb2bb4a2e",{configurable:!0,set:function(){b("You are setting _f89e7de19bb4d4acfa9e288beb2bb4a2e on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fc7bc87d41e994eb584b71dfdc3ed3435")||(Object.defineProperty(a.ready,"_fc7bc87d41e994eb584b71dfdc3ed3435",{configurable:!0,get:function(){b("You are getting _fc7bc87d41e994eb584b71dfdc3ed3435 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fc7bc87d41e994eb584b71dfdc3ed3435",{configurable:!0,set:function(){b("You are setting _fc7bc87d41e994eb584b71dfdc3ed3435 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f380616b641cb4652b8973afa455b160c")||(Object.defineProperty(a.ready,"_f380616b641cb4652b8973afa455b160c",{configurable:!0,get:function(){b("You are getting _f380616b641cb4652b8973afa455b160c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f380616b641cb4652b8973afa455b160c",{configurable:!0,set:function(){b("You are setting _f380616b641cb4652b8973afa455b160c on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fdce4a722b8e744e4be1a25cc1459f9ac")||(Object.defineProperty(a.ready,"_fdce4a722b8e744e4be1a25cc1459f9ac",{configurable:!0,get:function(){b("You are getting _fdce4a722b8e744e4be1a25cc1459f9ac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fdce4a722b8e744e4be1a25cc1459f9ac",{configurable:!0,set:function(){b("You are setting _fdce4a722b8e744e4be1a25cc1459f9ac on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fcefffed4ba3f4f8f8aa1dd1c96cc687d")||(Object.defineProperty(a.ready,"_fcefffed4ba3f4f8f8aa1dd1c96cc687d",{configurable:!0,get:function(){b("You are getting _fcefffed4ba3f4f8f8aa1dd1c96cc687d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fcefffed4ba3f4f8f8aa1dd1c96cc687d",{configurable:!0,set:function(){b("You are setting _fcefffed4ba3f4f8f8aa1dd1c96cc687d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f063a9544fff84bfe9b85310c88ac7401")||(Object.defineProperty(a.ready,"_f063a9544fff84bfe9b85310c88ac7401",{configurable:!0,get:function(){b("You are getting _f063a9544fff84bfe9b85310c88ac7401 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f063a9544fff84bfe9b85310c88ac7401",{configurable:!0,set:function(){b("You are setting _f063a9544fff84bfe9b85310c88ac7401 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f960ae4094aff427ca89b9cc988d5c9fd")||(Object.defineProperty(a.ready,"_f960ae4094aff427ca89b9cc988d5c9fd",{configurable:!0,get:function(){b("You are getting _f960ae4094aff427ca89b9cc988d5c9fd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f960ae4094aff427ca89b9cc988d5c9fd",{configurable:!0,set:function(){b("You are setting _f960ae4094aff427ca89b9cc988d5c9fd on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f6b8d9967530c4c8da13543a9fb7ec767")||(Object.defineProperty(a.ready,"_f6b8d9967530c4c8da13543a9fb7ec767",{configurable:!0,get:function(){b("You are getting _f6b8d9967530c4c8da13543a9fb7ec767 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f6b8d9967530c4c8da13543a9fb7ec767",{configurable:!0,set:function(){b("You are setting _f6b8d9967530c4c8da13543a9fb7ec767 on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_f1a98d6e24ddf4ce5a9b4b622bda6ad2d")||(Object.defineProperty(a.ready,"_f1a98d6e24ddf4ce5a9b4b622bda6ad2d",{configurable:!0,get:function(){b("You are getting _f1a98d6e24ddf4ce5a9b4b622bda6ad2d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_f1a98d6e24ddf4ce5a9b4b622bda6ad2d",{configurable:!0,set:function(){b("You are setting _f1a98d6e24ddf4ce5a9b4b622bda6ad2d on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fa4d0d929a6894ad0b824d6f894c6c3fc")||(Object.defineProperty(a.ready,"_fa4d0d929a6894ad0b824d6f894c6c3fc",{configurable:!0,get:function(){b("You are getting _fa4d0d929a6894ad0b824d6f894c6c3fc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fa4d0d929a6894ad0b824d6f894c6c3fc",{configurable:!0,set:function(){b("You are setting _fa4d0d929a6894ad0b824d6f894c6c3fc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_emscripten_stack_get_end")||(Object.defineProperty(a.ready,"_emscripten_stack_get_end",{configurable:!0,get:function(){b("You are getting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_emscripten_stack_get_end",{configurable:!0,set:function(){b("You are setting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_emscripten_stack_get_free")||(Object.defineProperty(a.ready,"_emscripten_stack_get_free",{configurable:!0,get:function(){b("You are getting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_emscripten_stack_get_free",{configurable:!0,set:function(){b("You are setting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_emscripten_stack_init")||(Object.defineProperty(a.ready,"_emscripten_stack_init",{configurable:!0,get:function(){b("You are getting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_emscripten_stack_init",{configurable:!0,set:function(){b("You are setting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"___cxa_demangle")||(Object.defineProperty(a.ready,"___cxa_demangle",{configurable:!0,get:function(){b("You are getting ___cxa_demangle on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"___cxa_demangle",{configurable:!0,set:function(){b("You are setting ___cxa_demangle on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_stackSave")||(Object.defineProperty(a.ready,"_stackSave",{configurable:!0,get:function(){b("You are getting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_stackSave",{configurable:!0,set:function(){b("You are setting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_stackRestore")||(Object.defineProperty(a.ready,"_stackRestore",{configurable:!0,get:function(){b("You are getting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_stackRestore",{configurable:!0,set:function(){b("You are setting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_stackAlloc")||(Object.defineProperty(a.ready,"_stackAlloc",{configurable:!0,get:function(){b("You are getting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_stackAlloc",{configurable:!0,set:function(){b("You are setting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"___wasm_call_ctors")||(Object.defineProperty(a.ready,"___wasm_call_ctors",{configurable:!0,get:function(){b("You are getting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"___wasm_call_ctors",{configurable:!0,set:function(){b("You are setting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_fflush")||(Object.defineProperty(a.ready,"_fflush",{configurable:!0,get:function(){b("You are getting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_fflush",{configurable:!0,set:function(){b("You are setting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"___errno_location")||(Object.defineProperty(a.ready,"___errno_location",{configurable:!0,get:function(){b("You are getting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"___errno_location",{configurable:!0,set:function(){b("You are setting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_malloc")||(Object.defineProperty(a.ready,"_malloc",{configurable:!0,get:function(){b("You are getting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_malloc",{configurable:!0,set:function(){b("You are setting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_free")||(Object.defineProperty(a.ready,"_free",{configurable:!0,get:function(){b("You are getting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_free",{configurable:!0,set:function(){b("You are setting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"__get_tzname")||(Object.defineProperty(a.ready,"__get_tzname",{configurable:!0,get:function(){b("You are getting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"__get_tzname",{configurable:!0,set:function(){b("You are setting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"__get_daylight")||(Object.defineProperty(a.ready,"__get_daylight",{configurable:!0,get:function(){b("You are getting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"__get_daylight",{configurable:!0,set:function(){b("You are setting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"__get_timezone")||(Object.defineProperty(a.ready,"__get_timezone",{configurable:!0,get:function(){b("You are getting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"__get_timezone",{configurable:!0,set:function(){b("You are setting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_saveSetjmp")||(Object.defineProperty(a.ready,"_saveSetjmp",{configurable:!0,get:function(){b("You are getting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_saveSetjmp",{configurable:!0,set:function(){b("You are setting _saveSetjmp on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_setThrew")||(Object.defineProperty(a.ready,"_setThrew",{configurable:!0,get:function(){b("You are getting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_setThrew",{configurable:!0,set:function(){b("You are setting _setThrew on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_emscripten_builtin_malloc")||(Object.defineProperty(a.ready,"_emscripten_builtin_malloc",{configurable:!0,get:function(){b("You are getting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_emscripten_builtin_malloc",{configurable:!0,set:function(){b("You are setting _emscripten_builtin_malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_emscripten_builtin_free")||(Object.defineProperty(a.ready,"_emscripten_builtin_free",{configurable:!0,get:function(){b("You are getting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_emscripten_builtin_free",{configurable:!0,set:function(){b("You are setting _emscripten_builtin_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_emscripten_builtin_memalign")||(Object.defineProperty(a.ready,"_emscripten_builtin_memalign",{configurable:!0,get:function(){b("You are getting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_emscripten_builtin_memalign",{configurable:!0,set:function(){b("You are setting _emscripten_builtin_memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_memalign")||(Object.defineProperty(a.ready,"_memalign",{configurable:!0,get:function(){b("You are getting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_memalign",{configurable:!0,set:function(){b("You are setting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_memset")||(Object.defineProperty(a.ready,"_memset",{configurable:!0,get:function(){b("You are getting _memset on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_memset",{configurable:!0,set:function(){b("You are setting _memset on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_emscripten_main_thread_process_queued_calls")||(Object.defineProperty(a.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,get:function(){b("You are getting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,set:function(){b("You are setting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_PDFium_Init")||(Object.defineProperty(a.ready,"_PDFium_Init",{configurable:!0,get:function(){b("You are getting _PDFium_Init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_PDFium_Init",{configurable:!0,set:function(){b("You are setting _PDFium_Init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"_export_js_get_font_list")||(Object.defineProperty(a.ready,"_export_js_get_font_list",{configurable:!0,get:function(){b("You are getting _export_js_get_font_list on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"_export_js_get_font_list",{configurable:!0,set:function(){b("You are setting _export_js_get_font_list on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(a.ready,"onRuntimeInitialized")||(Object.defineProperty(a.ready,"onRuntimeInitialized",{configurable:!0,get:function(){b("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(a.ready,"onRuntimeInitialized",{configurable:!0,set:function(){b("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}));var c,f={};for(c in a)a.hasOwnProperty(c)&&(f[c]=a[c]);var l,d,h,u,g="./this.program",p=function(y,_){throw _};if(l=(typeof window>"u"?"undefined":qa(window))==="object",d=typeof importScripts=="function",h=(typeof process>"u"?"undefined":qa(process))==="object"&&qa(process.versions)==="object"&&typeof process.versions.node=="string",u=!l&&!h&&!d,a.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");var x,m,w,O,k,E="";if(h)a.isDesktopEnv?O||(O=function(_){return require(_)}("fs")):E=d?Cl.dirname(E)+"/":__dirname+"/",x=function(y,_){return O||(O=Cl),k||(k=Cl),y=k.normalize(y),O.readFileSync(y,_?null:"utf8")},w=function(y){var _=x(y,!0);return _.buffer||(_=new Uint8Array(_)),W(_.buffer),_},process.argv.length>1&&(g=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),process.on("uncaughtException",function(y){if(!(y instanceof C3))throw y}),process.on("unhandledRejection",b),p=function(y){process.exit(y)},a.inspect=function(){return"[Emscripten Module object]"};else if(u)typeof read<"u"&&(x=function(y){return read(y)}),w=function(y){var _;return typeof readbuffer=="function"?new Uint8Array(readbuffer(y)):(_=read(y,"binary"),W(qa(_)==="object"),_)},typeof scriptArgs<"u"&&scriptArgs,typeof quit=="function"&&(p=function(y){quit(y)}),typeof print<"u"&&(typeof console>"u"&&(console={}),console.log=print,console.warn=console.error=typeof printErr<"u"?printErr:print);else{if(!l&&!d)throw new Error("environment detection error");d?E=self.location.href:typeof document<"u"&&document.currentScript&&(E=document.currentScript.src),n&&(E=n),E=E.indexOf("blob:")!==0?E.substr(0,E.lastIndexOf("/")+1):"",x=function(y){var _=new XMLHttpRequest;return _.open("GET",y,!1),_.send(null),_.responseText},d&&(w=function(y){var _=new XMLHttpRequest;return _.open("GET",y,!1),_.responseType="arraybuffer",_.send(null),new Uint8Array(_.response)}),m=function(y,_,P){var I=new XMLHttpRequest;I.open("GET",y,!0),I.responseType="arraybuffer",I.onload=function(){I.status==200||I.status==0&&I.response?_(I.response):P()},I.onerror=P,I.send(null)}}var D=a.print||console.log.bind(console),v=a.printErr||console.warn.bind(console);for(c in f)f.hasOwnProperty(c)&&(a[c]=f[c]);function S(y){S.shown||(S.shown={}),S.shown[y]||(S.shown[y]=1,v(y))}f=null,a.arguments,Object.getOwnPropertyDescriptor(a,"arguments")||Object.defineProperty(a,"arguments",{configurable:!0,get:function(){b("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),a.thisProgram&&(g=a.thisProgram),Object.getOwnPropertyDescriptor(a,"thisProgram")||Object.defineProperty(a,"thisProgram",{configurable:!0,get:function(){b("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),a.quit&&(p=a.quit),Object.getOwnPropertyDescriptor(a,"quit")||Object.defineProperty(a,"quit",{configurable:!0,get:function(){b("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),W(a.memoryInitializerPrefixURL===void 0,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),W(a.pthreadMainPrefixURL===void 0,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),W(a.cdInitializerPrefixURL===void 0,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),W(a.filePackagePrefixURL===void 0,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),W(a.read===void 0,"Module.read option was removed (modify read_ in JS)"),W(a.readAsync===void 0,"Module.readAsync option was removed (modify readAsync in JS)"),W(a.readBinary===void 0,"Module.readBinary option was removed (modify readBinary in JS)"),W(a.setWindowTitle===void 0,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),W(a.TOTAL_MEMORY===void 0,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),Object.getOwnPropertyDescriptor(a,"read")||Object.defineProperty(a,"read",{configurable:!0,get:function(){b("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(a,"readAsync")||Object.defineProperty(a,"readAsync",{configurable:!0,get:function(){b("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(a,"readBinary")||Object.defineProperty(a,"readBinary",{configurable:!0,get:function(){b("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(a,"setWindowTitle")||Object.defineProperty(a,"setWindowTitle",{configurable:!0,get:function(){b("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});var C,R=0;a.wasmBinary&&(C=a.wasmBinary),Object.getOwnPropertyDescriptor(a,"wasmBinary")||Object.defineProperty(a,"wasmBinary",{configurable:!0,get:function(){b("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});var T,H=a.noExitRuntime||!0;Object.getOwnPropertyDescriptor(a,"noExitRuntime")||Object.defineProperty(a,"noExitRuntime",{configurable:!0,get:function(){b("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),(typeof WebAssembly>"u"?"undefined":qa(WebAssembly))!=="object"&&b("no native wasm support detected");var $=!1;function W(y,_){y||b("Assertion failed: "+_)}function Y(y,_,P,I,U){var G={string:function(Le){var gt=0;if(Le!=null&&Le!==0){var on=1+(Le.length<<2);N(Le,gt=Al(on),on)}return gt},array:function(Le){var gt=Al(Le.length);return je(Le,gt),gt}},K=function(Le){var gt=a["_"+Le];return W(gt,"Cannot call unknown function "+Le+", make sure it is exported"),gt}(y),ie=[],pe=0;if(W(_!=="array",'Return type should not be "array".'),I)for(var Ze=0;Ze<I.length;Ze++){var Be=G[P[Ze]];Be?(pe===0&&(pe=Nn()),ie[Ze]=Be(I[Ze])):ie[Ze]=I[Ze]}var Ke=K.apply(null,ie);return Ke=function(Le){return _==="string"?V(Le):_==="boolean"?Boolean(Le):Le}(Ke),pe!==0&&Bn(pe),Ke}var Z,B,z,ee,X,te,Ee=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function Pe(y,_,P){for(var I=(_>>>=0)+P,U=_;y[U>>>0]&&!(U>=I);)++U;if(U-_>16&&y.subarray&&Ee)return Ee.decode(y.subarray(_>>>0,U>>>0));for(var G="";_<U;){var K=y[_++>>>0];if(128&K){var ie=63&y[_++>>>0];if((224&K)!=192){var pe=63&y[_++>>>0];if((240&K)==224?K=(15&K)<<12|ie<<6|pe:((248&K)!=240&&S("Invalid UTF-8 leading byte 0x"+K.toString(16)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),K=(7&K)<<18|ie<<12|pe<<6|63&y[_++>>>0]),K<65536)G+=String.fromCharCode(K);else{var Ze=K-65536;G+=String.fromCharCode(55296|Ze>>10,56320|1023&Ze)}}else G+=String.fromCharCode((31&K)<<6|ie)}else G+=String.fromCharCode(K)}return G}function V(y,_){return(y>>>=0)?Pe(z,y,_):""}function Q(y,_,P,I){if(!(I>0))return 0;for(var U=P>>>=0,G=P+I-1,K=0;K<y.length;++K){var ie=y.charCodeAt(K);if(ie>=55296&&ie<=57343&&(ie=65536+((1023&ie)<<10)|1023&y.charCodeAt(++K)),ie<=127){if(P>=G)break;_[P++>>>0]=ie}else if(ie<=2047){if(P+1>=G)break;_[P++>>>0]=192|ie>>6,_[P++>>>0]=128|63&ie}else if(ie<=65535){if(P+2>=G)break;_[P++>>>0]=224|ie>>12,_[P++>>>0]=128|ie>>6&63,_[P++>>>0]=128|63&ie}else{if(P+3>=G)break;ie>=2097152&&S("Invalid Unicode code point 0x"+ie.toString(16)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)."),_[P++>>>0]=240|ie>>18,_[P++>>>0]=128|ie>>12&63,_[P++>>>0]=128|ie>>6&63,_[P++>>>0]=128|63&ie}}return _[P>>>0]=0,P-U}function N(y,_,P){return W(typeof P=="number","stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),Q(y,z,_,P)}function J(y){for(var _=0,P=0;P<y.length;++P){var I=y.charCodeAt(P);I>=55296&&I<=57343&&(I=65536+((1023&I)<<10)|1023&y.charCodeAt(++P)),I<=127?++_:_+=I<=2047?2:I<=65535?3:4}return _}function ce(y){var _=J(y)+1,P=c1(_);return P&&Q(y,B,P,_),P}function je(y,_){W(y.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),B.set(y,_>>>0)}function be(y){Z=y,a.HEAP8=B=new Int8Array(y),a.HEAP16=ee=new Int16Array(y),a.HEAP32=X=new Int32Array(y),a.HEAPU8=z=new Uint8Array(y),a.HEAPU16=new Uint16Array(y),a.HEAPU32=te=new Uint32Array(y),a.HEAPF32=new Float32Array(y),a.HEAPF64=new Float64Array(y)}typeof TextDecoder<"u"&&new TextDecoder("utf-16le");var se=5242880;a.TOTAL_STACK&&W(se===a.TOTAL_STACK,"the stack size can no longer be determined at runtime");var ve,De=a.INITIAL_MEMORY||16777216;function Ve(){var y=f1();W((3&y)==0),te[1+(y>>2)>>>0]=34821223,te[2+(y>>2)>>>0]=2310721022,X[0]=1668509029}function We(){if(!$){var y=f1(),_=te[1+(y>>2)>>>0],P=te[2+(y>>2)>>>0];_==34821223&&P==2310721022||b("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+P.toString(16)+" "+_.toString(16)),X[0]!==1668509029&&b("Runtime error: The application has corrupted its heap memory area (address zero)!")}}Object.getOwnPropertyDescriptor(a,"INITIAL_MEMORY")||Object.defineProperty(a,"INITIAL_MEMORY",{configurable:!0,get:function(){b("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),W(De>=se,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+De+"! (TOTAL_STACK=5242880)"),W(typeof Int32Array<"u"&&typeof Float64Array<"u"&&Int32Array.prototype.subarray!==void 0&&Int32Array.prototype.set!==void 0,"JS engine does not provide full typed array support"),W(!a.wasmMemory,"Use of `wasmMemory` detected. Use -s IMPORTED_MEMORY to define wasmMemory externally"),W(De==16777216,"Detected runtime INITIAL_MEMORY setting. Use -s IMPORTED_MEMORY to define wasmMemory dynamically"),function(){var y=new Int16Array(1),_=new Int8Array(y.buffer);if(y[0]=25459,_[0]!==115||_[1]!==99)throw"Runtime error: expected the system to be little-endian! (Run with -s SUPPORT_BIG_ENDIAN=1 to bypass)"}();var me=[],Ae=[],_e=[],Ye=!1,Ie=!1;W(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),W(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),W(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),W(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var Oe,Me,Ue,ue,He,Ge=0,qe=null,bt=null,Ht={};function xs(y){Ge++,a.monitorRunDependencies&&a.monitorRunDependencies(Ge),y?(W(!Ht[y]),Ht[y]=1,qe===null&&typeof setInterval<"u"&&(qe=setInterval(function(){if($)return clearInterval(qe),void(qe=null);var _=!1;for(var P in Ht)_||(_=!0,v("still waiting on run dependencies:")),v("dependency: "+P);_&&v("(end of list)")},1e4))):v("warning: run dependency added without ID")}function Rt(y){if(Ge--,a.monitorRunDependencies&&a.monitorRunDependencies(Ge),y?(W(Ht[y]),delete Ht[y]):v("warning: run dependency removed without ID"),Ge==0&&(qe!==null&&(clearInterval(qe),qe=null),bt)){var _=bt;bt=null,_()}}function b(y){a.onAbort&&a.onAbort(y),v(y+=""),$=!0;var _,P="abort("+y+") at "+(_=function(){var U=new Error;if(!U.stack){try{throw new Error}catch(G){U=G}if(!U.stack)return"(no stack trace available)"}return U.stack.toString()}(),a.extraStackTrace&&(_+=`
|
|
4
|
+
`+a.extraStackTrace()),ys(_));y=P;var I=new WebAssembly.RuntimeError(y);throw o(I),I}function Jt(y){return y.startsWith("data:application/octet-stream;base64,")}function Fn(y){return y.startsWith("file://")}function A(y,_){return function(){var P=y,I=_;return _||(I=a.asm),W(Ye,"native function `"+P+"` called before runtime initialization"),W(!Ie,"native function `"+P+"` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),I[y]||W(I[y],"exported native function `"+P+"` not found"),I[y].apply(null,arguments)}}function _o(y){try{if(y==Oe&&C)return new Uint8Array(C);if(w)return w(y);throw"both async and sync fetching of the wasm failed"}catch(_){b(_)}}function jr(y){for(;y.length>0;){var _=y.shift();if(typeof _!="function"){var P=_.func;typeof P=="number"?_.arg===void 0?ve.get(P)():ve.get(P)(_.arg):P(_.arg===void 0?null:_.arg)}else _(a)}}function ni(y){if(ni.recursionGuard=1+(0|ni.recursionGuard),ni.recursionGuard>1)return y;var _=a.___cxa_demangle||a.__cxa_demangle;W(_);var P=Nn();try{var I=y;I.startsWith("__Z")&&(I=I.substr(1));var U=J(I)+1,G=Al(U);N(I,G,U);var K=Al(4),ie=_(G,0,0,K);if(X[K>>>2]===0&&ie)return V(ie)}catch{}finally{XD(ie),Bn(P),ni.recursionGuard<2&&--ni.recursionGuard}return y}function ys(y){return y.replace(/\b_Z[\w\d_]+/g,function(_){var P=ni(_);return _===P?_:P+" ["+_+"]"})}function ws(){return H||!1}function _s(y){return X[WD()>>>2]=y,y}a.preloadedImages={},a.preloadedAudios={},Jt(Oe="pdflux.wasm")||(Me=Oe,Oe=a.locateFile?a.locateFile(Me,E):E+Me),He=h?function(){var y=process.hrtime();return 1e3*y[0]+y[1]/1e6}:typeof dateNow<"u"?dateNow:function(){return performance.now()};var Oo=0,Os=4,za=8,wl=12,ko=13,b0=16;function he(y){this.excPtr=y,this.ptr=y-b0,this.set_type=function(_){X[this.ptr+za>>>2]=_},this.get_type=function(){return X[this.ptr+za>>>2]},this.set_destructor=function(_){X[this.ptr+Oo>>>2]=_},this.get_destructor=function(){return X[this.ptr+Oo>>>2]},this.set_refcount=function(_){X[this.ptr+Os>>>2]=_},this.set_caught=function(_){_=_?1:0,B[this.ptr+wl>>>0]=_},this.get_caught=function(){return B[this.ptr+wl>>>0]!=0},this.set_rethrown=function(_){_=_?1:0,B[this.ptr+ko>>>0]=_},this.get_rethrown=function(){return B[this.ptr+ko>>>0]!=0},this.init=function(_,P){this.set_type(_),this.set_destructor(P),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var _=X[this.ptr+Os>>>2];X[this.ptr+Os>>>2]=_+1},this.release_ref=function(){var _=X[this.ptr+Os>>>2];return X[this.ptr+Os>>>2]=_-1,W(_>0),_===1}}function ye(y,_){var P=new Date(1e3*X[y>>>2]);X[_>>>2]=P.getUTCSeconds(),X[_+4>>>2]=P.getUTCMinutes(),X[_+8>>>2]=P.getUTCHours(),X[_+12>>>2]=P.getUTCDate(),X[_+16>>>2]=P.getUTCMonth(),X[_+20>>>2]=P.getUTCFullYear()-1900,X[_+24>>>2]=P.getUTCDay(),X[_+36>>>2]=0,X[_+32>>>2]=0;var I=Date.UTC(P.getUTCFullYear(),0,1,0,0,0,0),U=(P.getTime()-I)/864e5|0;return X[_+28>>>2]=U,ye.GMTString||(ye.GMTString=ce("GMT")),X[_+40>>>2]=ye.GMTString,_}function Ce(){if(!Ce.called){Ce.called=!0;var y=new Date().getFullYear(),_=new Date(y,0,1),P=new Date(y,6,1),I=_.getTimezoneOffset(),U=P.getTimezoneOffset(),G=Math.max(I,U);X[KD()>>>2]=60*G,X[VD()>>>2]=Number(I!=U);var K=Be(_),ie=Be(P),pe=ce(K),Ze=ce(ie);U<I?(X[p0()>>>2]=pe,X[p0()+4>>>2]=Ze):(X[p0()>>>2]=Ze,X[p0()+4>>>2]=pe)}function Be(Ke){var Le=Ke.toTimeString().match(/\(([A-Za-z ]+)\)$/);return Le?Le[1]:"GMT"}}function tt(y,_){Ce();var P=new Date(1e3*X[y>>>2]);X[_>>>2]=P.getSeconds(),X[_+4>>>2]=P.getMinutes(),X[_+8>>>2]=P.getHours(),X[_+12>>>2]=P.getDate(),X[_+16>>>2]=P.getMonth(),X[_+20>>>2]=P.getFullYear()-1900,X[_+24>>>2]=P.getDay();var I=new Date(P.getFullYear(),0,1),U=(P.getTime()-I.getTime())/864e5|0;X[_+28>>>2]=U,X[_+36>>>2]=-60*P.getTimezoneOffset();var G=new Date(P.getFullYear(),6,1).getTimezoneOffset(),K=I.getTimezoneOffset(),ie=0|(G!=K&&P.getTimezoneOffset()==Math.min(K,G));X[_+32>>>2]=ie;var pe=X[p0()+(ie?4:0)>>>2];return X[_+40>>>2]=pe,_}var Te={splitPath:function(y){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(y).slice(1)},normalizeArray:function(y,_){for(var P=0,I=y.length-1;I>=0;I--){var U=y[I];U==="."?y.splice(I,1):U===".."?(y.splice(I,1),P++):P&&(y.splice(I,1),P--)}if(_)for(;P;P--)y.unshift("..");return y},normalize:function(y){var _=y.charAt(0)==="/",P=y.substr(-1)==="/";return(y=Te.normalizeArray(y.split("/").filter(function(I){return!!I}),!_).join("/"))||_||(y="."),y&&P&&(y+="/"),(_?"/":"")+y},dirname:function(y){var _=Te.splitPath(y),P=_[0],I=_[1];return P||I?(I&&(I=I.substr(0,I.length-1)),P+I):"."},basename:function(y){if(y==="/")return"/";var _=(y=(y=Te.normalize(y)).replace(/\/$/,"")).lastIndexOf("/");return _===-1?y:y.substr(_+1)},extname:function(y){return Te.splitPath(y)[3]},join:function(){var y=Array.prototype.slice.call(arguments,0);return Te.normalize(y.join("/"))},join2:function(y,_){return Te.normalize(y+"/"+_)}},pt={resolve:function(){for(var y="",_=!1,P=arguments.length-1;P>=-1&&!_;P--){var I=P>=0?arguments[P]:j.cwd();if(typeof I!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!I)return"";y=I+"/"+y,_=I.charAt(0)==="/"}return(_?"/":"")+(y=Te.normalizeArray(y.split("/").filter(function(U){return!!U}),!_).join("/"))||"."},relative:function(y,_){function P(Ze){for(var Be=0;Be<Ze.length&&Ze[Be]==="";Be++);for(var Ke=Ze.length-1;Ke>=0&&Ze[Ke]==="";Ke--);return Be>Ke?[]:Ze.slice(Be,Ke-Be+1)}y=pt.resolve(y).substr(1),_=pt.resolve(_).substr(1);for(var I=P(y.split("/")),U=P(_.split("/")),G=Math.min(I.length,U.length),K=G,ie=0;ie<G;ie++)if(I[ie]!==U[ie]){K=ie;break}var pe=[];for(ie=K;ie<I.length;ie++)pe.push("..");return(pe=pe.concat(U.slice(K))).join("/")}},lt={ttys:[],init:function(){},shutdown:function(){},register:function(y,_){lt.ttys[y]={input:[],output:[],ops:_},j.registerDevice(y,lt.stream_ops)},stream_ops:{open:function(y){var _=lt.ttys[y.node.rdev];if(!_)throw new j.ErrnoError(43);y.tty=_,y.seekable=!1},close:function(y){y.tty.ops.flush(y.tty)},flush:function(y){y.tty.ops.flush(y.tty)},read:function(y,_,P,I,U){if(!y.tty||!y.tty.ops.get_char)throw new j.ErrnoError(60);for(var G=0,K=0;K<I;K++){var ie;try{ie=y.tty.ops.get_char(y.tty)}catch{throw new j.ErrnoError(29)}if(ie===void 0&&G===0)throw new j.ErrnoError(6);if(ie==null)break;G++,_[P+K]=ie}return G&&(y.node.timestamp=Date.now()),G},write:function(y,_,P,I,U){if(!y.tty||!y.tty.ops.put_char)throw new j.ErrnoError(60);try{for(var G=0;G<I;G++)y.tty.ops.put_char(y.tty,_[P+G])}catch{throw new j.ErrnoError(29)}return I&&(y.node.timestamp=Date.now()),G}},default_tty_ops:{get_char:function(y){if(!y.input.length){var _=null;if(h){var P=Buffer.alloc?Buffer.alloc(256):new Buffer(256),I=0;try{I=O.readSync(process.stdin.fd,P,0,256,null)}catch(U){if(!U.toString().includes("EOF"))throw U;I=0}_=I>0?P.slice(0,I).toString("utf-8"):null}else typeof window<"u"&&typeof window.prompt=="function"?(_=window.prompt("Input: "))!==null&&(_+=`
|
|
5
|
+
`):typeof readline=="function"&&(_=readline())!==null&&(_+=`
|
|
6
|
+
`);if(!_)return null;y.input=vl(_,!0)}return y.input.shift()},put_char:function(y,_){_===null||_===10?(D(Pe(y.output,0)),y.output=[]):_!=0&&y.output.push(_)},flush:function(y){y.output&&y.output.length>0&&(D(Pe(y.output,0)),y.output=[])}},default_tty1_ops:{put_char:function(y,_){_===null||_===10?(v(Pe(y.output,0)),y.output=[]):_!=0&&y.output.push(_)},flush:function(y){y.output&&y.output.length>0&&(v(Pe(y.output,0)),y.output=[])}}};function St(y){for(var _=function(I,U){return U||(U=16),Math.ceil(I/U)*U}(y,65536),P=c1(_);y<_;)B[P+y++>>>0]=0;return P}var Ne={ops_table:null,mount:function(y){return Ne.createNode(null,"/",16895,0)},createNode:function(y,_,P,I){if(j.isBlkdev(P)||j.isFIFO(P))throw new j.ErrnoError(63);Ne.ops_table||(Ne.ops_table={dir:{node:{getattr:Ne.node_ops.getattr,setattr:Ne.node_ops.setattr,lookup:Ne.node_ops.lookup,mknod:Ne.node_ops.mknod,rename:Ne.node_ops.rename,unlink:Ne.node_ops.unlink,rmdir:Ne.node_ops.rmdir,readdir:Ne.node_ops.readdir,symlink:Ne.node_ops.symlink},stream:{llseek:Ne.stream_ops.llseek}},file:{node:{getattr:Ne.node_ops.getattr,setattr:Ne.node_ops.setattr},stream:{llseek:Ne.stream_ops.llseek,read:Ne.stream_ops.read,write:Ne.stream_ops.write,allocate:Ne.stream_ops.allocate,mmap:Ne.stream_ops.mmap,msync:Ne.stream_ops.msync}},link:{node:{getattr:Ne.node_ops.getattr,setattr:Ne.node_ops.setattr,readlink:Ne.node_ops.readlink},stream:{}},chrdev:{node:{getattr:Ne.node_ops.getattr,setattr:Ne.node_ops.setattr},stream:j.chrdev_stream_ops}});var U=j.createNode(y,_,P,I);return j.isDir(U.mode)?(U.node_ops=Ne.ops_table.dir.node,U.stream_ops=Ne.ops_table.dir.stream,U.contents={}):j.isFile(U.mode)?(U.node_ops=Ne.ops_table.file.node,U.stream_ops=Ne.ops_table.file.stream,U.usedBytes=0,U.contents=null):j.isLink(U.mode)?(U.node_ops=Ne.ops_table.link.node,U.stream_ops=Ne.ops_table.link.stream):j.isChrdev(U.mode)&&(U.node_ops=Ne.ops_table.chrdev.node,U.stream_ops=Ne.ops_table.chrdev.stream),U.timestamp=Date.now(),y&&(y.contents[_]=U,y.timestamp=U.timestamp),U},getFileDataAsTypedArray:function(y){return y.contents?y.contents.subarray?y.contents.subarray(0,y.usedBytes):new Uint8Array(y.contents):new Uint8Array(0)},expandFileStorage:function(y,_){_>>>=0;var P=y.contents?y.contents.length:0;if(!(P>=_)){_=Math.max(_,P*(P<1048576?2:1.125)>>>0),P!=0&&(_=Math.max(_,256));var I=y.contents;y.contents=new Uint8Array(_),y.usedBytes>0&&y.contents.set(I.subarray(0,y.usedBytes),0)}},resizeFileStorage:function(y,_){if(_>>>=0,y.usedBytes!=_)if(_==0)y.contents=null,y.usedBytes=0;else{var P=y.contents;y.contents=new Uint8Array(_),P&&y.contents.set(P.subarray(0,Math.min(_,y.usedBytes))),y.usedBytes=_}},node_ops:{getattr:function(y){var _={};return _.dev=j.isChrdev(y.mode)?y.id:1,_.ino=y.id,_.mode=y.mode,_.nlink=1,_.uid=0,_.gid=0,_.rdev=y.rdev,j.isDir(y.mode)?_.size=4096:j.isFile(y.mode)?_.size=y.usedBytes:j.isLink(y.mode)?_.size=y.link.length:_.size=0,_.atime=new Date(y.timestamp),_.mtime=new Date(y.timestamp),_.ctime=new Date(y.timestamp),_.blksize=4096,_.blocks=Math.ceil(_.size/_.blksize),_},setattr:function(y,_){_.mode!==void 0&&(y.mode=_.mode),_.timestamp!==void 0&&(y.timestamp=_.timestamp),_.size!==void 0&&Ne.resizeFileStorage(y,_.size)},lookup:function(y,_){throw j.genericErrors[44]},mknod:function(y,_,P,I){return Ne.createNode(y,_,P,I)},rename:function(y,_,P){if(j.isDir(y.mode)){var I;try{I=j.lookupNode(_,P)}catch{}if(I)for(var U in I.contents)throw new j.ErrnoError(55)}delete y.parent.contents[y.name],y.parent.timestamp=Date.now(),y.name=P,_.contents[P]=y,_.timestamp=y.parent.timestamp,y.parent=_},unlink:function(y,_){delete y.contents[_],y.timestamp=Date.now()},rmdir:function(y,_){var P=j.lookupNode(y,_);for(var I in P.contents)throw new j.ErrnoError(55);delete y.contents[_],y.timestamp=Date.now()},readdir:function(y){var _=[".",".."];for(var P in y.contents)y.contents.hasOwnProperty(P)&&_.push(P);return _},symlink:function(y,_,P){var I=Ne.createNode(y,_,41471,0);return I.link=P,I},readlink:function(y){if(!j.isLink(y.mode))throw new j.ErrnoError(28);return y.link}},stream_ops:{read:function(y,_,P,I,U){var G=y.node.contents;if(U>=y.node.usedBytes)return 0;var K=Math.min(y.node.usedBytes-U,I);if(W(K>=0),K>8&&G.subarray)_.set(G.subarray(U,U+K),P);else for(var ie=0;ie<K;ie++)_[P+ie]=G[U+ie];return K},write:function(y,_,P,I,U,G){if(W(!(_ instanceof ArrayBuffer)),_.buffer===B.buffer&&(G=!1),!I)return 0;var K=y.node;if(K.timestamp=Date.now(),_.subarray&&(!K.contents||K.contents.subarray)){if(G)return W(U===0,"canOwn must imply no weird position inside the file"),K.contents=_.subarray(P,P+I),K.usedBytes=I,I;if(K.usedBytes===0&&U===0)return K.contents=_.slice(P,P+I),K.usedBytes=I,I;if(U+I<=K.usedBytes)return K.contents.set(_.subarray(P,P+I),U),I}if(Ne.expandFileStorage(K,U+I),K.contents.subarray&&_.subarray)K.contents.set(_.subarray(P,P+I),U);else for(var ie=0;ie<I;ie++)K.contents[U+ie]=_[P+ie];return K.usedBytes=Math.max(K.usedBytes,U+I),I},llseek:function(y,_,P){var I=_;if(P===1?I+=y.position:P===2&&j.isFile(y.node.mode)&&(I+=y.node.usedBytes),I<0)throw new j.ErrnoError(28);return I},allocate:function(y,_,P){Ne.expandFileStorage(y.node,_+P),y.node.usedBytes=Math.max(y.node.usedBytes,_+P)},mmap:function(y,_,P,I,U,G){if(_!==0)throw new j.ErrnoError(28);if(!j.isFile(y.node.mode))throw new j.ErrnoError(43);var K,ie,pe=y.node.contents;if(2&G||pe.buffer!==Z){if((I>0||I+P<pe.length)&&(pe=pe.subarray?pe.subarray(I,I+P):Array.prototype.slice.call(pe,I,I+P)),ie=!0,!(K=St(P)))throw new j.ErrnoError(48);K>>>=0,B.set(pe,K>>>0)}else ie=!1,K=pe.byteOffset;return{ptr:K,allocated:ie}},msync:function(y,_,P,I,U){if(!j.isFile(y.node.mode))throw new j.ErrnoError(43);return 2&U||Ne.stream_ops.write(y,_,0,I,P,!1),0}}},Po={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"},Da={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135},j={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(y,_){if(_=_||{},!(y=pt.resolve(j.cwd(),y)))return{path:"",node:null};var P={follow_mount:!0,recurse_count:0};for(var I in P)_[I]===void 0&&(_[I]=P[I]);if(_.recurse_count>8)throw new j.ErrnoError(32);for(var U=Te.normalizeArray(y.split("/").filter(function(Ke){return!!Ke}),!1),G=j.root,K="/",ie=0;ie<U.length;ie++){var pe=ie===U.length-1;if(pe&&_.parent)break;if(G=j.lookupNode(G,U[ie]),K=Te.join2(K,U[ie]),j.isMountpoint(G)&&(!pe||pe&&_.follow_mount)&&(G=G.mounted.root),!pe||_.follow)for(var Ze=0;j.isLink(G.mode);){var Be=j.readlink(K);if(K=pt.resolve(Te.dirname(K),Be),G=j.lookupPath(K,{recurse_count:_.recurse_count}).node,Ze++>40)throw new j.ErrnoError(32)}}return{path:K,node:G}},getPath:function(y){for(var _;;){if(j.isRoot(y)){var P=y.mount.mountpoint;return _?P[P.length-1]!=="/"?P+"/"+_:P+_:P}_=_?y.name+"/"+_:y.name,y=y.parent}},hashName:function(y,_){for(var P=0,I=0;I<_.length;I++)P=(P<<5)-P+_.charCodeAt(I)|0;return(y+P>>>0)%j.nameTable.length},hashAddNode:function(y){var _=j.hashName(y.parent.id,y.name);y.name_next=j.nameTable[_],j.nameTable[_]=y},hashRemoveNode:function(y){var _=j.hashName(y.parent.id,y.name);if(j.nameTable[_]===y)j.nameTable[_]=y.name_next;else for(var P=j.nameTable[_];P;){if(P.name_next===y){P.name_next=y.name_next;break}P=P.name_next}},lookupNode:function(y,_){var P=j.mayLookup(y);if(P)throw new j.ErrnoError(P,y);for(var I=j.hashName(y.id,_),U=j.nameTable[I];U;U=U.name_next){var G=U.name;if(U.parent.id===y.id&&G===_)return U}return j.lookup(y,_)},createNode:function(y,_,P,I){W(qa(y)==="object");var U=new j.FSNode(y,_,P,I);return j.hashAddNode(U),U},destroyNode:function(y){j.hashRemoveNode(y)},isRoot:function(y){return y===y.parent},isMountpoint:function(y){return!!y.mounted},isFile:function(y){return(61440&y)==32768},isDir:function(y){return(61440&y)==16384},isLink:function(y){return(61440&y)==40960},isChrdev:function(y){return(61440&y)==8192},isBlkdev:function(y){return(61440&y)==24576},isFIFO:function(y){return(61440&y)==4096},isSocket:function(y){return(49152&y)==49152},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(y){var _=j.flagModes[y];if(_===void 0)throw new Error("Unknown file open mode: "+y);return _},flagsToPermissionString:function(y){var _=["r","w","rw"][3&y];return 512&y&&(_+="w"),_},nodePermissions:function(y,_){return j.ignorePermissions||(!_.includes("r")||292&y.mode)&&(!_.includes("w")||146&y.mode)&&(!_.includes("x")||73&y.mode)?0:2},mayLookup:function(y){var _=j.nodePermissions(y,"x");return _||(y.node_ops.lookup?0:2)},mayCreate:function(y,_){try{return j.lookupNode(y,_),20}catch{}return j.nodePermissions(y,"wx")},mayDelete:function(y,_,P){var I;try{I=j.lookupNode(y,_)}catch(G){return G.errno}var U=j.nodePermissions(y,"wx");if(U)return U;if(P){if(!j.isDir(I.mode))return 54;if(j.isRoot(I)||j.getPath(I)===j.cwd())return 10}else if(j.isDir(I.mode))return 31;return 0},mayOpen:function(y,_){return y?j.isLink(y.mode)?32:j.isDir(y.mode)&&(j.flagsToPermissionString(_)!=="r"||512&_)?31:j.nodePermissions(y,j.flagsToPermissionString(_)):44},MAX_OPEN_FDS:4096,nextfd:function(y,_){y=y||0,_=_||j.MAX_OPEN_FDS;for(var P=y;P<=_;P++)if(!j.streams[P])return P;throw new j.ErrnoError(33)},getStream:function(y){return j.streams[y]},createStream:function(y,_,P){j.FSStream||(j.FSStream=function(){},j.FSStream.prototype={object:{get:function(){return this.node},set:function(K){this.node=K}},isRead:{get:function(){return(2097155&this.flags)!=1}},isWrite:{get:function(){return(2097155&this.flags)!=0}},isAppend:{get:function(){return 1024&this.flags}}});var I=new j.FSStream;for(var U in y)I[U]=y[U];y=I;var G=j.nextfd(_,P);return y.fd=G,j.streams[G]=y,y},closeStream:function(y){j.streams[y]=null},chrdev_stream_ops:{open:function(y){var _=j.getDevice(y.node.rdev);y.stream_ops=_.stream_ops,y.stream_ops.open&&y.stream_ops.open(y)},llseek:function(){throw new j.ErrnoError(70)}},major:function(y){return y>>8},minor:function(y){return 255&y},makedev:function(y,_){return y<<8|_},registerDevice:function(y,_){j.devices[y]={stream_ops:_}},getDevice:function(y){return j.devices[y]},getMounts:function(y){for(var _=[],P=[y];P.length;){var I=P.pop();_.push(I),P.push.apply(P,I.mounts)}return _},syncfs:function(y,_){typeof y=="function"&&(_=y,y=!1),j.syncFSRequests++,j.syncFSRequests>1&&v("warning: "+j.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var P=j.getMounts(j.root.mount),I=0;function U(K){return W(j.syncFSRequests>0),j.syncFSRequests--,_(K)}function G(K){if(K)return G.errored?void 0:(G.errored=!0,U(K));++I>=P.length&&U(null)}P.forEach(function(K){if(!K.type.syncfs)return G(null);K.type.syncfs(K,y,G)})},mount:function(y,_,P){if(typeof y=="string")throw y;var I,U=P==="/",G=!P;if(U&&j.root)throw new j.ErrnoError(10);if(!U&&!G){var K=j.lookupPath(P,{follow_mount:!1});if(P=K.path,I=K.node,j.isMountpoint(I))throw new j.ErrnoError(10);if(!j.isDir(I.mode))throw new j.ErrnoError(54)}var ie={type:y,opts:_,mountpoint:P,mounts:[]},pe=y.mount(ie);return pe.mount=ie,ie.root=pe,U?j.root=pe:I&&(I.mounted=ie,I.mount&&I.mount.mounts.push(ie)),pe},unmount:function(y){var _=j.lookupPath(y,{follow_mount:!1});if(!j.isMountpoint(_.node))throw new j.ErrnoError(28);var P=_.node,I=P.mounted,U=j.getMounts(I);Object.keys(j.nameTable).forEach(function(K){for(var ie=j.nameTable[K];ie;){var pe=ie.name_next;U.includes(ie.mount)&&j.destroyNode(ie),ie=pe}}),P.mounted=null;var G=P.mount.mounts.indexOf(I);W(G!==-1),P.mount.mounts.splice(G,1)},lookup:function(y,_){return y.node_ops.lookup(y,_)},mknod:function(y,_,P){var I=j.lookupPath(y,{parent:!0}).node,U=Te.basename(y);if(!U||U==="."||U==="..")throw new j.ErrnoError(28);var G=j.mayCreate(I,U);if(G)throw new j.ErrnoError(G);if(!I.node_ops.mknod)throw new j.ErrnoError(63);return I.node_ops.mknod(I,U,_,P)},create:function(y,_){return _=_!==void 0?_:438,_&=4095,_|=32768,j.mknod(y,_,0)},mkdir:function(y,_){return _=_!==void 0?_:511,_&=1023,_|=16384,j.mknod(y,_,0)},mkdirTree:function(y,_){for(var P=y.split("/"),I="",U=0;U<P.length;++U)if(P[U]){I+="/"+P[U];try{j.mkdir(I,_)}catch(G){if(G.errno!=20)throw G}}},mkdev:function(y,_,P){return P===void 0&&(P=_,_=438),_|=8192,j.mknod(y,_,P)},symlink:function(y,_){if(!pt.resolve(y))throw new j.ErrnoError(44);var P=j.lookupPath(_,{parent:!0}).node;if(!P)throw new j.ErrnoError(44);var I=Te.basename(_),U=j.mayCreate(P,I);if(U)throw new j.ErrnoError(U);if(!P.node_ops.symlink)throw new j.ErrnoError(63);return P.node_ops.symlink(P,I,y)},rename:function(y,_){var P,I,U=Te.dirname(y),G=Te.dirname(_),K=Te.basename(y),ie=Te.basename(_);if(P=j.lookupPath(y,{parent:!0}).node,I=j.lookupPath(_,{parent:!0}).node,!P||!I)throw new j.ErrnoError(44);if(P.mount!==I.mount)throw new j.ErrnoError(75);var pe,Ze=j.lookupNode(P,K),Be=pt.relative(y,G);if(Be.charAt(0)!==".")throw new j.ErrnoError(28);if((Be=pt.relative(_,U)).charAt(0)!==".")throw new j.ErrnoError(55);try{pe=j.lookupNode(I,ie)}catch{}if(Ze!==pe){var Ke=j.isDir(Ze.mode),Le=j.mayDelete(P,K,Ke);if(Le)throw new j.ErrnoError(Le);if(Le=pe?j.mayDelete(I,ie,Ke):j.mayCreate(I,ie))throw new j.ErrnoError(Le);if(!P.node_ops.rename)throw new j.ErrnoError(63);if(j.isMountpoint(Ze)||pe&&j.isMountpoint(pe))throw new j.ErrnoError(10);if(I!==P&&(Le=j.nodePermissions(P,"w")))throw new j.ErrnoError(Le);try{j.trackingDelegate.willMovePath}catch(gt){v("FS.trackingDelegate['willMovePath']('"+y+"', '"+_+"') threw an exception: "+gt.message)}j.hashRemoveNode(Ze);try{P.node_ops.rename(Ze,I,ie)}catch(gt){throw gt}finally{j.hashAddNode(Ze)}try{j.trackingDelegate.onMovePath}catch(gt){v("FS.trackingDelegate['onMovePath']('"+y+"', '"+_+"') threw an exception: "+gt.message)}}},rmdir:function(y){var _=j.lookupPath(y,{parent:!0}).node,P=Te.basename(y),I=j.lookupNode(_,P),U=j.mayDelete(_,P,!0);if(U)throw new j.ErrnoError(U);if(!_.node_ops.rmdir)throw new j.ErrnoError(63);if(j.isMountpoint(I))throw new j.ErrnoError(10);try{j.trackingDelegate.willDeletePath}catch(G){v("FS.trackingDelegate['willDeletePath']('"+y+"') threw an exception: "+G.message)}_.node_ops.rmdir(_,P),j.destroyNode(I);try{j.trackingDelegate.onDeletePath}catch(G){v("FS.trackingDelegate['onDeletePath']('"+y+"') threw an exception: "+G.message)}},readdir:function(y){var _=j.lookupPath(y,{follow:!0}).node;if(!_.node_ops.readdir)throw new j.ErrnoError(54);return _.node_ops.readdir(_)},unlink:function(y){var _=j.lookupPath(y,{parent:!0}).node,P=Te.basename(y),I=j.lookupNode(_,P),U=j.mayDelete(_,P,!1);if(U)throw new j.ErrnoError(U);if(!_.node_ops.unlink)throw new j.ErrnoError(63);if(j.isMountpoint(I))throw new j.ErrnoError(10);try{j.trackingDelegate.willDeletePath}catch(G){v("FS.trackingDelegate['willDeletePath']('"+y+"') threw an exception: "+G.message)}_.node_ops.unlink(_,P),j.destroyNode(I);try{j.trackingDelegate.onDeletePath}catch(G){v("FS.trackingDelegate['onDeletePath']('"+y+"') threw an exception: "+G.message)}},readlink:function(y){var _=j.lookupPath(y).node;if(!_)throw new j.ErrnoError(44);if(!_.node_ops.readlink)throw new j.ErrnoError(28);return pt.resolve(j.getPath(_.parent),_.node_ops.readlink(_))},stat:function(y,_){var P=j.lookupPath(y,{follow:!_}).node;if(!P)throw new j.ErrnoError(44);if(!P.node_ops.getattr)throw new j.ErrnoError(63);return P.node_ops.getattr(P)},lstat:function(y){return j.stat(y,!0)},chmod:function(y,_,P){var I;if(!(I=typeof y=="string"?j.lookupPath(y,{follow:!P}).node:y).node_ops.setattr)throw new j.ErrnoError(63);I.node_ops.setattr(I,{mode:4095&_|-4096&I.mode,timestamp:Date.now()})},lchmod:function(y,_){j.chmod(y,_,!0)},fchmod:function(y,_){var P=j.getStream(y);if(!P)throw new j.ErrnoError(8);j.chmod(P.node,_)},chown:function(y,_,P,I){var U;if(!(U=typeof y=="string"?j.lookupPath(y,{follow:!I}).node:y).node_ops.setattr)throw new j.ErrnoError(63);U.node_ops.setattr(U,{timestamp:Date.now()})},lchown:function(y,_,P){j.chown(y,_,P,!0)},fchown:function(y,_,P){var I=j.getStream(y);if(!I)throw new j.ErrnoError(8);j.chown(I.node,_,P)},truncate:function(y,_){if(_<0)throw new j.ErrnoError(28);var P;if(!(P=typeof y=="string"?j.lookupPath(y,{follow:!0}).node:y).node_ops.setattr)throw new j.ErrnoError(63);if(j.isDir(P.mode))throw new j.ErrnoError(31);if(!j.isFile(P.mode))throw new j.ErrnoError(28);var I=j.nodePermissions(P,"w");if(I)throw new j.ErrnoError(I);P.node_ops.setattr(P,{size:_,timestamp:Date.now()})},ftruncate:function(y,_){var P=j.getStream(y);if(!P)throw new j.ErrnoError(8);if(!(2097155&P.flags))throw new j.ErrnoError(28);j.truncate(P.node,_)},utime:function(y,_,P){var I=j.lookupPath(y,{follow:!0}).node;I.node_ops.setattr(I,{timestamp:Math.max(_,P)})},open:function(y,_,P,I,U){if(y==="")throw new j.ErrnoError(44);var G;if(P=P===void 0?438:P,P=64&(_=typeof _=="string"?j.modeStringToFlags(_):_)?4095&P|32768:0,qa(y)==="object")G=y;else{y=Te.normalize(y);try{G=j.lookupPath(y,{follow:!(131072&_)}).node}catch{}}var K=!1;if(64&_)if(G){if(128&_)throw new j.ErrnoError(20)}else G=j.mknod(y,P,0),K=!0;if(!G)throw new j.ErrnoError(44);if(j.isChrdev(G.mode)&&(_&=-513),65536&_&&!j.isDir(G.mode))throw new j.ErrnoError(54);if(!K){var ie=j.mayOpen(G,_);if(ie)throw new j.ErrnoError(ie)}512&_&&j.truncate(G,0),_&=-131713;var pe=j.createStream({node:G,path:j.getPath(G),flags:_,seekable:!0,position:0,stream_ops:G.stream_ops,ungotten:[],error:!1},I,U);pe.stream_ops.open&&pe.stream_ops.open(pe),!a.logReadFiles||1&_||(j.readFiles||(j.readFiles={}),y in j.readFiles||(j.readFiles[y]=1,v("FS.trackingDelegate error on read file: "+y)));try{j.trackingDelegate.onOpenFile}catch(Ze){v("FS.trackingDelegate['onOpenFile']('"+y+"', flags) threw an exception: "+Ze.message)}return pe},close:function(y){if(j.isClosed(y))throw new j.ErrnoError(8);y.getdents&&(y.getdents=null);try{y.stream_ops.close&&y.stream_ops.close(y)}catch(_){throw _}finally{j.closeStream(y.fd)}y.fd=null},isClosed:function(y){return y.fd===null},llseek:function(y,_,P){if(j.isClosed(y))throw new j.ErrnoError(8);if(!y.seekable||!y.stream_ops.llseek)throw new j.ErrnoError(70);if(P!=0&&P!=1&&P!=2)throw new j.ErrnoError(28);return y.position=y.stream_ops.llseek(y,_,P),y.ungotten=[],y.position},read:function(y,_,P,I,U){if(P>>>=0,I<0||U<0)throw new j.ErrnoError(28);if(j.isClosed(y))throw new j.ErrnoError(8);if((2097155&y.flags)==1)throw new j.ErrnoError(8);if(j.isDir(y.node.mode))throw new j.ErrnoError(31);if(!y.stream_ops.read)throw new j.ErrnoError(28);var G=U!==void 0;if(G){if(!y.seekable)throw new j.ErrnoError(70)}else U=y.position;var K=y.stream_ops.read(y,_,P,I,U);return G||(y.position+=K),K},write:function(y,_,P,I,U,G){if(P>>>=0,I<0||U<0)throw new j.ErrnoError(28);if(j.isClosed(y))throw new j.ErrnoError(8);if(!(2097155&y.flags))throw new j.ErrnoError(8);if(j.isDir(y.node.mode))throw new j.ErrnoError(31);if(!y.stream_ops.write)throw new j.ErrnoError(28);y.seekable&&1024&y.flags&&j.llseek(y,0,2);var K=U!==void 0;if(K){if(!y.seekable)throw new j.ErrnoError(70)}else U=y.position;var ie=y.stream_ops.write(y,_,P,I,U,G);K||(y.position+=ie);try{y.path&&j.trackingDelegate.onWriteToFile&&j.trackingDelegate.onWriteToFile(y.path)}catch(pe){v("FS.trackingDelegate['onWriteToFile']('"+y.path+"') threw an exception: "+pe.message)}return ie},allocate:function(y,_,P){if(j.isClosed(y))throw new j.ErrnoError(8);if(_<0||P<=0)throw new j.ErrnoError(28);if(!(2097155&y.flags))throw new j.ErrnoError(8);if(!j.isFile(y.node.mode)&&!j.isDir(y.node.mode))throw new j.ErrnoError(43);if(!y.stream_ops.allocate)throw new j.ErrnoError(138);y.stream_ops.allocate(y,_,P)},mmap:function(y,_,P,I,U,G){if(_>>>=0,(2&U)!=0&&(2&G)==0&&(2097155&y.flags)!=2)throw new j.ErrnoError(2);if((2097155&y.flags)==1)throw new j.ErrnoError(2);if(!y.stream_ops.mmap)throw new j.ErrnoError(43);return y.stream_ops.mmap(y,_,P,I,U,G)},msync:function(y,_,P,I,U){return P>>>=0,y&&y.stream_ops.msync?y.stream_ops.msync(y,_,P,I,U):0},munmap:function(y){return 0},ioctl:function(y,_,P){if(!y.stream_ops.ioctl)throw new j.ErrnoError(59);return y.stream_ops.ioctl(y,_,P)},readFile:function(y,_){if((_=_||{}).flags=_.flags||0,_.encoding=_.encoding||"binary",_.encoding!=="utf8"&&_.encoding!=="binary")throw new Error('Invalid encoding type "'+_.encoding+'"');var P,I=j.open(y,_.flags),U=j.stat(y).size,G=new Uint8Array(U);return j.read(I,G,0,U,0),_.encoding==="utf8"?P=Pe(G,0):_.encoding==="binary"&&(P=G),j.close(I),P},writeFile:function(y,_,P){(P=P||{}).flags=P.flags||577;var I=j.open(y,P.flags,P.mode);if(typeof _=="string"){var U=new Uint8Array(J(_)+1),G=Q(_,U,0,U.length);j.write(I,U,0,G,void 0,P.canOwn)}else{if(!ArrayBuffer.isView(_))throw new Error("Unsupported data type");j.write(I,_,0,_.byteLength,void 0,P.canOwn)}j.close(I)},cwd:function(){return j.currentPath},chdir:function(y){var _=j.lookupPath(y,{follow:!0});if(_.node===null)throw new j.ErrnoError(44);if(!j.isDir(_.node.mode))throw new j.ErrnoError(54);var P=j.nodePermissions(_.node,"x");if(P)throw new j.ErrnoError(P);j.currentPath=_.path},createDefaultDirectories:function(){j.mkdir("/tmp"),j.mkdir("/home"),j.mkdir("/home/web_user")},createDefaultDevices:function(){j.mkdir("/dev"),j.registerDevice(j.makedev(1,3),{read:function(){return 0},write:function(_,P,I,U,G){return U}}),j.mkdev("/dev/null",j.makedev(1,3)),lt.register(j.makedev(5,0),lt.default_tty_ops),lt.register(j.makedev(6,0),lt.default_tty1_ops),j.mkdev("/dev/tty",j.makedev(5,0)),j.mkdev("/dev/tty1",j.makedev(6,0));var y=function(){if((typeof crypto>"u"?"undefined":qa(crypto))==="object"&&typeof crypto.getRandomValues=="function"){var _=new Uint8Array(1);return function(){return crypto.getRandomValues(_),_[0]}}if(h)try{var P=require("crypto");return function(){return P.randomBytes(1)[0]}}catch{}return function(){b("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };")}}();j.createDevice("/dev","random",y),j.createDevice("/dev","urandom",y),j.mkdir("/dev/shm"),j.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){j.mkdir("/proc");var y=j.mkdir("/proc/self");j.mkdir("/proc/self/fd"),j.mount({mount:function(){var _=j.createNode(y,"fd",16895,73);return _.node_ops={lookup:function(P,I){var U=+I,G=j.getStream(U);if(!G)throw new j.ErrnoError(8);var K={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return G.path}}};return K.parent=K,K}},_}},{},"/proc/self/fd")},createStandardStreams:function(){a.stdin?j.createDevice("/dev","stdin",a.stdin):j.symlink("/dev/tty","/dev/stdin"),a.stdout?j.createDevice("/dev","stdout",null,a.stdout):j.symlink("/dev/tty","/dev/stdout"),a.stderr?j.createDevice("/dev","stderr",null,a.stderr):j.symlink("/dev/tty1","/dev/stderr");var y=j.open("/dev/stdin",0),_=j.open("/dev/stdout",1),P=j.open("/dev/stderr",1);W(y.fd===0,"invalid handle for stdin ("+y.fd+")"),W(_.fd===1,"invalid handle for stdout ("+_.fd+")"),W(P.fd===2,"invalid handle for stderr ("+P.fd+")")},ensureErrnoError:function(){j.ErrnoError||(j.ErrnoError=function(y,_){this.node=_,this.setErrno=function(P){for(var I in this.errno=P,Da)if(Da[I]===P){this.code=I;break}},this.setErrno(y),this.message=Po[y],this.stack&&(Object.defineProperty(this,"stack",{value:new Error().stack,writable:!0}),this.stack=ys(this.stack))},j.ErrnoError.prototype=new Error,j.ErrnoError.prototype.constructor=j.ErrnoError,[44].forEach(function(y){j.genericErrors[y]=new j.ErrnoError(y),j.genericErrors[y].stack="<generic error, no stack>"}))},staticInit:function(){j.ensureErrnoError(),j.nameTable=new Array(4096),j.mount(Ne,{},"/"),j.createDefaultDirectories(),j.createDefaultDevices(),j.createSpecialDirectories(),j.filesystems={MEMFS:Ne}},init:function(y,_,P){W(!j.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),j.init.initialized=!0,j.ensureErrnoError(),a.stdin=y||a.stdin,a.stdout=_||a.stdout,a.stderr=P||a.stderr,j.createStandardStreams()},quit:function(){j.init.initialized=!1;var y=a._fflush;y&&y(0);for(var _=0;_<j.streams.length;_++){var P=j.streams[_];P&&j.close(P)}},getMode:function(y,_){var P=0;return y&&(P|=365),_&&(P|=146),P},findObject:function(y,_){var P=j.analyzePath(y,_);return P.exists?P.object:null},analyzePath:function(y,_){try{y=(I=j.lookupPath(y,{follow:!_})).path}catch{}var P={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var I=j.lookupPath(y,{parent:!0});P.parentExists=!0,P.parentPath=I.path,P.parentObject=I.node,P.name=Te.basename(y),I=j.lookupPath(y,{follow:!_}),P.exists=!0,P.path=I.path,P.object=I.node,P.name=I.node.name,P.isRoot=I.path==="/"}catch(U){P.error=U.errno}return P},createPath:function(y,_,P,I){y=typeof y=="string"?y:j.getPath(y);for(var U=_.split("/").reverse();U.length;){var G=U.pop();if(G){var K=Te.join2(y,G);try{j.mkdir(K)}catch{}y=K}}return K},createFile:function(y,_,P,I,U){var G=Te.join2(typeof y=="string"?y:j.getPath(y),_),K=j.getMode(I,U);return j.create(G,K)},createDataFile:function(y,_,P,I,U,G){var K=_?Te.join2(typeof y=="string"?y:j.getPath(y),_):y,ie=j.getMode(I,U),pe=j.create(K,ie);if(P){if(typeof P=="string"){for(var Ze=new Array(P.length),Be=0,Ke=P.length;Be<Ke;++Be)Ze[Be]=P.charCodeAt(Be);P=Ze}j.chmod(pe,146|ie);var Le=j.open(pe,577);j.write(Le,P,0,P.length,0,G),j.close(Le),j.chmod(pe,ie)}return pe},createDevice:function(y,_,P,I){var U=Te.join2(typeof y=="string"?y:j.getPath(y),_),G=j.getMode(!!P,!!I);j.createDevice.major||(j.createDevice.major=64);var K=j.makedev(j.createDevice.major++,0);return j.registerDevice(K,{open:function(ie){ie.seekable=!1},close:function(ie){I&&I.buffer&&I.buffer.length&&I(10)},read:function(ie,pe,Ze,Be,Ke){for(var Le=0,gt=0;gt<Be;gt++){var on;try{on=P()}catch{throw new j.ErrnoError(29)}if(on===void 0&&Le===0)throw new j.ErrnoError(6);if(on==null)break;Le++,pe[Ze+gt]=on}return Le&&(ie.node.timestamp=Date.now()),Le},write:function(ie,pe,Ze,Be,Ke){for(var Le=0;Le<Be;Le++)try{I(pe[Ze+Le])}catch{throw new j.ErrnoError(29)}return Be&&(ie.node.timestamp=Date.now()),Le}}),j.mkdev(U,G,K)},forceLoadFile:function(y){if(y.isDevice||y.isFolder||y.link||y.contents)return!0;if(typeof XMLHttpRequest<"u")throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!x)throw new Error("Cannot load without read() or XMLHttpRequest.");try{y.contents=vl(x(y.url),!0),y.usedBytes=y.contents.length}catch{throw new j.ErrnoError(29)}},createLazyFile:function(y,_,P,I,U){function G(){this.lengthKnown=!1,this.chunks=[]}if(G.prototype.get=function(Be){if(!(Be>this.length-1||Be<0)){var Ke=Be%this.chunkSize,Le=Be/this.chunkSize|0;return this.getter(Le)[Ke]}},G.prototype.setDataGetter=function(Be){this.getter=Be},G.prototype.cacheLength=function(){var Be=new XMLHttpRequest;if(Be.open("HEAD",P,!1),Be.send(null),!(Be.status>=200&&Be.status<300||Be.status===304))throw new Error("Couldn't load "+P+". Status: "+Be.status);var Ke,Le=Number(Be.getResponseHeader("Content-length")),gt=(Ke=Be.getResponseHeader("Accept-Ranges"))&&Ke==="bytes",on=(Ke=Be.getResponseHeader("Content-Encoding"))&&Ke==="gzip",Vt=1048576;a.lazyFileChunkSize&&(Vt=a.lazyFileChunkSize),gt||(Vt=Le);var Kt=function(xn,ai){if(xn>ai)throw new Error("invalid range ("+xn+", "+ai+") or no bytes requested!");if(ai>Le-1)throw new Error("only "+Le+" bytes available! programmer error!");var Qt=new XMLHttpRequest;if(Qt.open("GET",P,!1),Le!==Vt&&Qt.setRequestHeader("Range","bytes="+xn+"-"+ai),typeof Uint8Array<"u"&&(Qt.responseType="arraybuffer"),Qt.overrideMimeType&&Qt.overrideMimeType("text/plain; charset=x-user-defined"),Qt.send(null),!(Qt.status>=200&&Qt.status<300||Qt.status===304))throw new Error("Couldn't load "+P+". Status: "+Qt.status);return Qt.response!==void 0?new Uint8Array(Qt.response||[]):vl(Qt.responseText||"",!0)},Ft=this;Ft.setDataGetter(function(xn){var ai=xn*Vt,Qt=(xn+1)*Vt-1;if(Qt=Math.min(Qt,Le-1),Ft.chunks[xn]===void 0&&(Ft.chunks[xn]=Kt(ai,Qt)),Ft.chunks[xn]===void 0)throw new Error("doXHR failed!");return Ft.chunks[xn]}),a.lazyFileDataGetter&&Ft.setDataGetter(function(xn){var ai=xn*Vt,Qt=(xn+1)*Vt-1;return Qt=Math.min(Qt,Le-1),a.lazyFileDataGetter(xn,ai,Qt,Kt,Ft)}),!on&&Le||(Vt=Le=1,Le=this.getter(0).length,Vt=Le,D("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=Le,this._chunkSize=Vt,this.lengthKnown=!0},typeof XMLHttpRequest<"u"){if(!d)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var K=new G;Object.defineProperties(K,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var ie={isDevice:!1,contents:K}}else ie={isDevice:!1,url:P};var pe=j.createFile(y,_,ie,I,U);ie.contents?pe.contents=ie.contents:ie.url&&(pe.contents=null,pe.url=ie.url),Object.defineProperties(pe,{usedBytes:{get:function(){return this.contents.length}}});var Ze={};return Object.keys(pe.stream_ops).forEach(function(Be){var Ke=pe.stream_ops[Be];Ze[Be]=function(){return j.forceLoadFile(pe),Ke.apply(null,arguments)}}),Ze.read=function(Be,Ke,Le,gt,on){j.forceLoadFile(pe);var Vt=Be.node.contents;if(on>=Vt.length)return 0;var Kt=Math.min(Vt.length-on,gt);if(W(Kt>=0),Vt.slice)for(var Ft=0;Ft<Kt;Ft++)Ke[Le+Ft]=Vt[on+Ft];else for(Ft=0;Ft<Kt;Ft++)Ke[Le+Ft]=Vt.get(on+Ft);return Kt},pe.stream_ops=Ze,pe},createPreloadedFile:function(y,_,P,I,U,G,K,ie,pe,Ze){Browser.init();var Be=_?pt.resolve(Te.join2(y,_)):y,Ke=function(gt){for(var on=gt;;){if(!Ht[gt])return gt;gt=on+Math.random()}}("cp "+Be);function Le(gt){function on(Kt){Ze&&Ze(),ie||j.createDataFile(y,_,Kt,I,U,pe),G&&G(),Rt(Ke)}var Vt=!1;a.preloadPlugins.forEach(function(Kt){Vt||Kt.canHandle(Be)&&(Kt.handle(gt,Be,on,function(){K&&K(),Rt(Ke)}),Vt=!0)}),Vt||on(gt)}xs(Ke),typeof P=="string"?Browser.asyncLoad(P,function(gt){Le(gt)},K):Le(P)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(y,_,P){_=_||function(){},P=P||function(){};var I=j.indexedDB();try{var U=I.open(j.DB_NAME(),j.DB_VERSION)}catch(G){return P(G)}U.onupgradeneeded=function(){D("creating db"),U.result.createObjectStore(j.DB_STORE_NAME)},U.onsuccess=function(){var G=U.result.transaction([j.DB_STORE_NAME],"readwrite"),K=G.objectStore(j.DB_STORE_NAME),ie=0,pe=0,Ze=y.length;function Be(){pe==0?_():P()}y.forEach(function(Ke){var Le=K.put(j.analyzePath(Ke).object.contents,Ke);Le.onsuccess=function(){++ie+pe==Ze&&Be()},Le.onerror=function(){pe++,ie+pe==Ze&&Be()}}),G.onerror=P},U.onerror=P},loadFilesFromDB:function(y,_,P){_=_||function(){},P=P||function(){};var I=j.indexedDB();try{var U=I.open(j.DB_NAME(),j.DB_VERSION)}catch(G){return P(G)}U.onupgradeneeded=P,U.onsuccess=function(){var G=U.result;try{var K=G.transaction([j.DB_STORE_NAME],"readonly")}catch(Le){return void P(Le)}var ie=K.objectStore(j.DB_STORE_NAME),pe=0,Ze=0,Be=y.length;function Ke(){Ze==0?_():P()}y.forEach(function(Le){var gt=ie.get(Le);gt.onsuccess=function(){j.analyzePath(Le).exists&&j.unlink(Le),j.createDataFile(Te.dirname(Le),Te.basename(Le),gt.result,!0,!0,!0),++pe+Ze==Be&&Ke()},gt.onerror=function(){Ze++,pe+Ze==Be&&Ke()}}),K.onerror=P},U.onerror=P},absolutePath:function(){b("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder:function(){b("FS.createFolder has been removed; use FS.mkdir instead")},createLink:function(){b("FS.createLink has been removed; use FS.symlink instead")},joinPath:function(){b("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc:function(){b("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath:function(){b("FS.standardizePath has been removed; use PATH.normalize instead")}},Mt={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(y,_,P){if(_[0]==="/")return _;var I;if(y===-100)I=j.cwd();else{var U=j.getStream(y);if(!U)throw new j.ErrnoError(8);I=U.path}if(_.length==0){if(!P)throw new j.ErrnoError(44);return I}return Te.join2(I,_)},doStat:function(y,_,P){try{var I=y(_)}catch(U){if(U&&U.node&&Te.normalize(_)!==Te.normalize(j.getPath(U.node)))return-54;throw U}return X[P>>>2]=I.dev,X[P+4>>>2]=0,X[P+8>>>2]=I.ino,X[P+12>>>2]=I.mode,X[P+16>>>2]=I.nlink,X[P+20>>>2]=I.uid,X[P+24>>>2]=I.gid,X[P+28>>>2]=I.rdev,X[P+32>>>2]=0,ue=[I.size>>>0,(Ue=I.size,+Math.abs(Ue)>=1?Ue>0?(0|Math.min(+Math.floor(Ue/4294967296),4294967295))>>>0:~~+Math.ceil((Ue-+(~~Ue>>>0))/4294967296)>>>0:0)],X[P+40>>>2]=ue[0],X[P+44>>>2]=ue[1],X[P+48>>>2]=4096,X[P+52>>>2]=I.blocks,X[P+56>>>2]=I.atime.getTime()/1e3|0,X[P+60>>>2]=0,X[P+64>>>2]=I.mtime.getTime()/1e3|0,X[P+68>>>2]=0,X[P+72>>>2]=I.ctime.getTime()/1e3|0,X[P+76>>>2]=0,ue=[I.ino>>>0,(Ue=I.ino,+Math.abs(Ue)>=1?Ue>0?(0|Math.min(+Math.floor(Ue/4294967296),4294967295))>>>0:~~+Math.ceil((Ue-+(~~Ue>>>0))/4294967296)>>>0:0)],X[P+80>>>2]=ue[0],X[P+84>>>2]=ue[1],0},doMsync:function(y,_,P,I,U){var G=z.slice(y,y+P);j.msync(_,G,U,P,I)},doMkdir:function(y,_){return(y=Te.normalize(y))[y.length-1]==="/"&&(y=y.substr(0,y.length-1)),j.mkdir(y,_,0),0},doMknod:function(y,_,P){switch(61440&_){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return j.mknod(y,_,P),0},doReadlink:function(y,_,P){if(P<=0)return-28;var I=j.readlink(y),U=Math.min(P,J(I)),G=B[_+U>>>0];return N(I,_,P+1),B[_+U>>>0]=G,U},doAccess:function(y,_){if(-8&_)return-28;var P;if(!(P=j.lookupPath(y,{follow:!0}).node))return-44;var I="";return 4&_&&(I+="r"),2&_&&(I+="w"),1&_&&(I+="x"),I&&j.nodePermissions(P,I)?-2:0},doDup:function(y,_,P){var I=j.getStream(P);return I&&j.close(I),j.open(y,_,0,P,P).fd},doReadv:function(y,_,P,I){for(var U=0,G=0;G<P;G++){var K=X[_+8*G>>>2],ie=X[_+(8*G+4)>>>2],pe=j.read(y,B,K,ie,I);if(pe<0)return-1;if(U+=pe,pe<ie)break}return U},doWritev:function(y,_,P,I){for(var U=0,G=0;G<P;G++){var K=X[_+8*G>>>2],ie=X[_+(8*G+4)>>>2],pe=j.write(y,B,K,ie,I);if(pe<0)return-1;U+=pe}return U},varargs:void 0,get:function(){return W(Mt.varargs!=null),Mt.varargs+=4,X[Mt.varargs-4>>>2]},getStr:function(y){return V(y)},getStreamFromFD:function(y){var _=j.getStream(y);if(!_)throw new j.ErrnoError(8);return _},get64:function(y,_){return W(y>=0?_===0:_===-1),y}};function GD(y){try{return T.grow(y-Z.byteLength+65535>>>16),be(T.buffer),1}catch(_){console.error("emscripten_realloc_buffer: Attempted to grow heap from "+Z.byteLength+" bytes to "+y+" bytes, but got error: "+_)}}var i1={};function g0(){if(!g0.strings){var y={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:((typeof navigator>"u"?"undefined":qa(navigator))==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:g||"./this.program"};for(var _ in i1)i1[_]===void 0?delete y[_]:y[_]=i1[_];var P=[];for(var _ in y)P.push(_+"="+y[_]);g0.strings=P}return g0.strings}function _l(y){return y%4==0&&(y%100!=0||y%400==0)}function r1(y,_){for(var P=0,I=0;I<=_;P+=y[I++]);return P}var Ol=[31,29,31,30,31,30,31,31,30,31,30,31],kl=[31,28,31,30,31,30,31,31,30,31,30,31];function Pl(y,_){for(var P=new Date(y.getTime());_>0;){var I=_l(P.getFullYear()),U=P.getMonth(),G=(I?Ol:kl)[U];if(!(_>G-P.getDate()))return P.setDate(P.getDate()+_),P;_-=G-P.getDate()+1,P.setDate(1),U<11?P.setMonth(U+1):(P.setMonth(0),P.setFullYear(P.getFullYear()+1))}return P}var D3=function(y,_,P,I){y||(y=this),this.parent=y,this.mount=y.mount,this.mounted=null,this.id=j.nextInode++,this.name=_,this.mode=P,this.node_ops={},this.stream_ops={},this.rdev=I},s1=365,o1=146;function vl(y,_,P){var I=P>0?P:J(y)+1,U=new Array(I),G=Q(y,U,0,U.length);return _&&(U.length=G),U}Object.defineProperties(D3.prototype,{read:{get:function(){return(this.mode&s1)===s1},set:function(y){y?this.mode|=s1:this.mode&=-366}},write:{get:function(){return(this.mode&o1)===o1},set:function(y){y?this.mode|=o1:this.mode&=-147}},isFolder:{get:function(){return j.isDir(this.mode)}},isDevice:{get:function(){return j.isChrdev(this.mode)}}}),j.FSNode=D3,j.staticInit();var I3={__clock_gettime:function(y,_){return function(P,I){var U;if(P===0)U=Date.now();else{if(P!==1&&P!==4)return _s(28),-1;U=He()}return X[I>>>2]=U/1e3|0,X[I+4>>>2]=U%1e3*1e3*1e3|0,0}(y,_)},__cxa_allocate_exception:function(y){return c1(y+b0)+b0},__cxa_atexit:function(y,_){},__cxa_throw:function(y,_,P){throw new he(y).init(_,P),y+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},__gmtime_r:function(y,_){return ye(y,_)},__localtime_r:function(y,_){return tt(y,_)},__sys_fcntl64:function(y,_,P){Mt.varargs=P;try{var I=Mt.getStreamFromFD(y);switch(_){case 0:return(U=Mt.get())<0?-28:j.open(I.path,I.flags,0,U).fd;case 1:case 2:case 13:case 14:return 0;case 3:return I.flags;case 4:var U=Mt.get();return I.flags|=U,0;case 12:return U=Mt.get(),ee[U+0>>>1]=2,0;case 16:case 8:default:return-28;case 9:return _s(28),-1}}catch(G){return j!==void 0&&G instanceof j.ErrnoError||b(G),-G.errno}},__sys_fstat64:function(y,_){try{var P=Mt.getStreamFromFD(y);return Mt.doStat(j.stat,P.path,_)}catch(I){return j!==void 0&&I instanceof j.ErrnoError||b(I),-I.errno}},__sys_ftruncate64:function(y,_,P,I){try{var U=Mt.get64(P,I);return j.ftruncate(y,U),0}catch(G){return j!==void 0&&G instanceof j.ErrnoError||b(G),-G.errno}},__sys_getpid:function(){return 42},__sys_ioctl:function(y,_,P){Mt.varargs=P;try{var I=Mt.getStreamFromFD(y);switch(_){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return I.tty?0:-59;case 21519:if(!I.tty)return-59;var U=Mt.get();return X[U>>>2]=0,0;case 21520:return I.tty?-28:-59;case 21531:return U=Mt.get(),j.ioctl(I,_,U);default:b("bad ioctl syscall "+_)}}catch(G){return j!==void 0&&G instanceof j.ErrnoError||b(G),-G.errno}},__sys_open:function(y,_,P){Mt.varargs=P;try{var I=Mt.getStr(y),U=P?Mt.get():0;return j.open(I,_,U).fd}catch(G){return j!==void 0&&G instanceof j.ErrnoError||b(G),-G.errno}},__sys_rmdir:function(y){try{return y=Mt.getStr(y),j.rmdir(y),0}catch(_){return j!==void 0&&_ instanceof j.ErrnoError||b(_),-_.errno}},__sys_stat64:function(y,_){try{return y=Mt.getStr(y),Mt.doStat(j.stat,y,_)}catch(P){return j!==void 0&&P instanceof j.ErrnoError||b(P),-P.errno}},__sys_unlink:function(y){try{return y=Mt.getStr(y),j.unlink(y),0}catch(_){return j!==void 0&&_ instanceof j.ErrnoError||b(_),-_.errno}},_emscripten_throw_longjmp:function(){throw"longjmp"},abort:function(){b()},emscripten_get_now:He,emscripten_memcpy_big:function(y,_,P){z.copyWithin(y>>>0,_>>>0,_+P>>>0)},emscripten_resize_heap:function(y){var _=z.length;W((y>>>=0)>_);var P,I,U=4294901760;if(y>U)return v("Cannot enlarge memory, asked to go up to "+y+" bytes, but the limit is 4294901760 bytes!"),!1;for(var G=1;G<=4;G*=2){var K=_+33554432/G,ie=Math.min(U,((P=Math.max(y,K))%(I=65536)>0&&(P+=I-P%I),P));if(GD(ie))return!0}return v("Failed to grow the heap from "+_+" bytes to "+ie+" bytes, not enough memory!"),!1},environ_get:function(y,_){try{var P=0;return g0().forEach(function(I,U){var G=_+P;X[y+4*U>>>2]=G,function(K,ie,pe){for(var Ze=0;Ze<K.length;++Ze)W(K.charCodeAt(Ze)==K.charCodeAt(Ze)&255),B[ie++>>>0]=K.charCodeAt(Ze);pe||(B[ie>>>0]=0)}(I,G),P+=I.length+1}),0}catch(I){return j!==void 0&&I instanceof j.ErrnoError||b(I),I.errno}},environ_sizes_get:function(y,_){try{var P=g0();X[y>>>2]=P.length;var I=0;return P.forEach(function(U){I+=U.length+1}),X[_>>>2]=I,0}catch(U){return j!==void 0&&U instanceof j.ErrnoError||b(U),U.errno}},exit:function(y){(function(_,P){if(function(){var U=D,G=v,K=!1;D=v=function(pe){K=!0};try{var ie=a._fflush;ie&&ie(0),["stdout","stderr"].forEach(function(pe){var Ze=j.analyzePath("/dev/"+pe);if(Ze){var Be=Ze.object.rdev,Ke=lt.ttys[Be];Ke&&Ke.output&&Ke.output.length&&(K=!0)}})}catch{}D=U,v=G,K&&S("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc.")}(),!P||!ws()||_!==0){if(ws()){if(!P){var I="program exited (with status: "+_+"), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)";o(I),v(I)}}else We(),Ie=!0,a.onExit&&a.onExit(_),$=!0;p(_,new C3(_))}})(y)},extern_js_free:function(y){a._free(y)},extern_js_get_font_data:function(y,_,P,I,U,G){a.getExternalFontData(a,O)(y,_,P,I,U,G)},extern_js_get_font_list:function(y){return a.getExternalFontList(a)(y)},extern_js_load_file_range:function(y,_,P){a.setRangeData&&a.setRangeData(y,_,P)},fd_close:function(y){try{var _=Mt.getStreamFromFD(y);return j.close(_),0}catch(P){return j!==void 0&&P instanceof j.ErrnoError||b(P),P.errno}},fd_fdstat_get:function(y,_){try{var P=Mt.getStreamFromFD(y),I=P.tty?2:j.isDir(P.mode)?3:j.isLink(P.mode)?7:4;return B[_>>>0]=I,0}catch(U){return j!==void 0&&U instanceof j.ErrnoError||b(U),U.errno}},fd_read:function(y,_,P,I){try{var U=Mt.getStreamFromFD(y),G=Mt.doReadv(U,_,P);return X[I>>>2]=G,0}catch(K){return j!==void 0&&K instanceof j.ErrnoError||b(K),K.errno}},fd_seek:function(y,_,P,I,U){try{var G=Mt.getStreamFromFD(y),K=4294967296*P+(_>>>0),ie=9007199254740992;return K<=-ie||K>=ie?-61:(j.llseek(G,K,I),ue=[G.position>>>0,(Ue=G.position,+Math.abs(Ue)>=1?Ue>0?(0|Math.min(+Math.floor(Ue/4294967296),4294967295))>>>0:~~+Math.ceil((Ue-+(~~Ue>>>0))/4294967296)>>>0:0)],X[U>>>2]=ue[0],X[U+4>>>2]=ue[1],G.getdents&&K===0&&I===0&&(G.getdents=null),0)}catch(pe){return j!==void 0&&pe instanceof j.ErrnoError||b(pe),pe.errno}},fd_sync:function(y){try{var _=Mt.getStreamFromFD(y);return _.stream_ops&&_.stream_ops.fsync?-_.stream_ops.fsync(_):0}catch(P){return j!==void 0&&P instanceof j.ErrnoError||b(P),P.errno}},fd_write:function(y,_,P,I){try{var U=Mt.getStreamFromFD(y),G=Mt.doWritev(U,_,P);return X[I>>>2]=G,0}catch(K){return j!==void 0&&K instanceof j.ErrnoError||b(K),K.errno}},getTempRet0:function(){return R},gettimeofday:function(y){var _=Date.now();return X[y>>>2]=_/1e3|0,X[y+4>>>2]=_%1e3*1e3|0,0},invoke_ii:function(y,_){var P=Nn();try{return ve.get(y)(_)}catch(I){if(Bn(P),I!==I+0&&I!=="longjmp")throw I;ca(1,0)}},invoke_iii:function(y,_,P){var I=Nn();try{return ve.get(y)(_,P)}catch(U){if(Bn(I),U!==U+0&&U!=="longjmp")throw U;ca(1,0)}},invoke_iiii:function(y,_,P,I){var U=Nn();try{return ve.get(y)(_,P,I)}catch(G){if(Bn(U),G!==G+0&&G!=="longjmp")throw G;ca(1,0)}},invoke_iiiii:function(y,_,P,I,U){var G=Nn();try{return ve.get(y)(_,P,I,U)}catch(K){if(Bn(G),K!==K+0&&K!=="longjmp")throw K;ca(1,0)}},invoke_iiiiii:function(y,_,P,I,U,G){var K=Nn();try{return ve.get(y)(_,P,I,U,G)}catch(ie){if(Bn(K),ie!==ie+0&&ie!=="longjmp")throw ie;ca(1,0)}},invoke_iiiiiiiiii:function(y,_,P,I,U,G,K,ie,pe,Ze){var Be=Nn();try{return ve.get(y)(_,P,I,U,G,K,ie,pe,Ze)}catch(Ke){if(Bn(Be),Ke!==Ke+0&&Ke!=="longjmp")throw Ke;ca(1,0)}},invoke_v:function(y){var _=Nn();try{ve.get(y)()}catch(P){if(Bn(_),P!==P+0&&P!=="longjmp")throw P;ca(1,0)}},invoke_vi:function(y,_){var P=Nn();try{ve.get(y)(_)}catch(I){if(Bn(P),I!==I+0&&I!=="longjmp")throw I;ca(1,0)}},invoke_vii:function(y,_,P){var I=Nn();try{ve.get(y)(_,P)}catch(U){if(Bn(I),U!==U+0&&U!=="longjmp")throw U;ca(1,0)}},invoke_viidd:function(y,_,P,I,U){var G=Nn();try{ve.get(y)(_,P,I,U)}catch(K){if(Bn(G),K!==K+0&&K!=="longjmp")throw K;ca(1,0)}},invoke_viii:function(y,_,P,I){var U=Nn();try{ve.get(y)(_,P,I)}catch(G){if(Bn(U),G!==G+0&&G!=="longjmp")throw G;ca(1,0)}},invoke_viiii:function(y,_,P,I,U){var G=Nn();try{ve.get(y)(_,P,I,U)}catch(K){if(Bn(G),K!==K+0&&K!=="longjmp")throw K;ca(1,0)}},invoke_viiiii:function(y,_,P,I,U,G){var K=Nn();try{ve.get(y)(_,P,I,U,G)}catch(ie){if(Bn(K),ie!==ie+0&&ie!=="longjmp")throw ie;ca(1,0)}},invoke_viiiiii:function(y,_,P,I,U,G,K){var ie=Nn();try{ve.get(y)(_,P,I,U,G,K)}catch(pe){if(Bn(ie),pe!==pe+0&&pe!=="longjmp")throw pe;ca(1,0)}},invoke_viiiiiiiii:function(y,_,P,I,U,G,K,ie,pe,Ze){var Be=Nn();try{ve.get(y)(_,P,I,U,G,K,ie,pe,Ze)}catch(Ke){if(Bn(Be),Ke!==Ke+0&&Ke!=="longjmp")throw Ke;ca(1,0)}},setTempRet0:function(y){R=y},strftime_l:function(y,_,P,I){return function(U,G,K,ie){var pe=X[ie+40>>>2],Ze={tm_sec:X[ie>>>2],tm_min:X[ie+4>>>2],tm_hour:X[ie+8>>>2],tm_mday:X[ie+12>>>2],tm_mon:X[ie+16>>>2],tm_year:X[ie+20>>>2],tm_wday:X[ie+24>>>2],tm_yday:X[ie+28>>>2],tm_isdst:X[ie+32>>>2],tm_gmtoff:X[ie+36>>>2],tm_zone:pe?V(pe):""},Be=V(K),Ke={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var Le in Ke)Be=Be.replace(new RegExp(Le,"g"),Ke[Le]);var gt=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],on=["January","February","March","April","May","June","July","August","September","October","November","December"];function Vt(Re,dt,yn){for(var en=typeof Re=="number"?Re.toString():Re||"";en.length<dt;)en=yn[0]+en;return en}function Kt(Re,dt){return Vt(Re,dt,"0")}function Ft(Re,dt){function yn(Ia){return Ia<0?-1:Ia>0?1:0}var en;return(en=yn(Re.getFullYear()-dt.getFullYear()))===0&&(en=yn(Re.getMonth()-dt.getMonth()))===0&&(en=yn(Re.getDate()-dt.getDate())),en}function xn(Re){switch(Re.getDay()){case 0:return new Date(Re.getFullYear()-1,11,29);case 1:return Re;case 2:return new Date(Re.getFullYear(),0,3);case 3:return new Date(Re.getFullYear(),0,2);case 4:return new Date(Re.getFullYear(),0,1);case 5:return new Date(Re.getFullYear()-1,11,31);case 6:return new Date(Re.getFullYear()-1,11,30)}}function ai(Re){var dt=Pl(new Date(Re.tm_year+1900,0,1),Re.tm_yday),yn=new Date(dt.getFullYear(),0,4),en=new Date(dt.getFullYear()+1,0,4),Ia=xn(yn),ks=xn(en);return Ft(Ia,dt)<=0?Ft(ks,dt)<=0?dt.getFullYear()+1:dt.getFullYear():dt.getFullYear()-1}var Qt={"%a":function(Re){return gt[Re.tm_wday].substring(0,3)},"%A":function(Re){return gt[Re.tm_wday]},"%b":function(Re){return on[Re.tm_mon].substring(0,3)},"%B":function(Re){return on[Re.tm_mon]},"%C":function(Re){return Kt((Re.tm_year+1900)/100|0,2)},"%d":function(Re){return Kt(Re.tm_mday,2)},"%e":function(Re){return Vt(Re.tm_mday,2," ")},"%g":function(Re){return ai(Re).toString().substring(2)},"%G":function(Re){return ai(Re)},"%H":function(Re){return Kt(Re.tm_hour,2)},"%I":function(Re){var dt=Re.tm_hour;return dt==0?dt=12:dt>12&&(dt-=12),Kt(dt,2)},"%j":function(Re){return Kt(Re.tm_mday+r1(_l(Re.tm_year+1900)?Ol:kl,Re.tm_mon-1),3)},"%m":function(Re){return Kt(Re.tm_mon+1,2)},"%M":function(Re){return Kt(Re.tm_min,2)},"%n":function(){return`
|
|
7
|
+
`},"%p":function(Re){return Re.tm_hour>=0&&Re.tm_hour<12?"AM":"PM"},"%S":function(Re){return Kt(Re.tm_sec,2)},"%t":function(){return" "},"%u":function(Re){return Re.tm_wday||7},"%U":function(Re){var dt=new Date(Re.tm_year+1900,0,1),yn=dt.getDay()===0?dt:Pl(dt,7-dt.getDay()),en=new Date(Re.tm_year+1900,Re.tm_mon,Re.tm_mday);if(Ft(yn,en)<0){var Ia=r1(_l(en.getFullYear())?Ol:kl,en.getMonth()-1)-31,ks=31-yn.getDate()+Ia+en.getDate();return Kt(Math.ceil(ks/7),2)}return Ft(yn,dt)===0?"01":"00"},"%V":function(Re){var dt,yn=new Date(Re.tm_year+1900,0,4),en=new Date(Re.tm_year+1901,0,4),Ia=xn(yn),ks=xn(en),R3=Pl(new Date(Re.tm_year+1900,0,1),Re.tm_yday);return Ft(R3,Ia)<0?"53":Ft(ks,R3)<=0?"01":(dt=Ia.getFullYear()<Re.tm_year+1900?Re.tm_yday+32-Ia.getDate():Re.tm_yday+1-Ia.getDate(),Kt(Math.ceil(dt/7),2))},"%w":function(Re){return Re.tm_wday},"%W":function(Re){var dt=new Date(Re.tm_year,0,1),yn=dt.getDay()===1?dt:Pl(dt,dt.getDay()===0?1:7-dt.getDay()+1),en=new Date(Re.tm_year+1900,Re.tm_mon,Re.tm_mday);if(Ft(yn,en)<0){var Ia=r1(_l(en.getFullYear())?Ol:kl,en.getMonth()-1)-31,ks=31-yn.getDate()+Ia+en.getDate();return Kt(Math.ceil(ks/7),2)}return Ft(yn,dt)===0?"01":"00"},"%y":function(Re){return(Re.tm_year+1900).toString().substring(2)},"%Y":function(Re){return Re.tm_year+1900},"%z":function(Re){var dt=Re.tm_gmtoff,yn=dt>=0;return dt=(dt=Math.abs(dt)/60)/60*100+dt%60,(yn?"+":"-")+String("0000"+dt).slice(-4)},"%Z":function(Re){return Re.tm_zone},"%%":function(){return"%"}};for(var Le in Qt)Be.includes(Le)&&(Be=Be.replace(new RegExp(Le,"g"),Qt[Le](Ze)));var d1=vl(Be,!1);return d1.length>G?0:(je(d1,U),d1.length-1)}(y,_,P,I)},time:function(y){var _=Date.now()/1e3|0;return y&&(X[y>>>2]=_),_}};(function(){var y={env:I3,wasi_snapshot_preview1:I3};function _(G,K){var ie,pe=G.exports;a.asm=pe,W(T=a.asm.memory,"memory not found in wasm exports"),be(T.buffer),W(ve=a.asm.__indirect_function_table,"table not found in wasm exports"),ie=a.asm.__wasm_call_ctors,Ae.unshift(ie),Rt("wasm-instantiate")}xs("wasm-instantiate");var P=a;function I(G){W(a===P,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),P=null,_(G.instance)}function U(G){return function(){if(!C&&(l||d)){if(typeof fetch=="function"&&!Fn(Oe))return fetch(Oe,{credentials:"same-origin"}).then(function(K){if(!K.ok)throw"failed to load wasm binary file at '"+Oe+"'";return K.arrayBuffer()}).catch(function(){return _o(Oe)});if(m)return new Promise(function(K,ie){m(Oe,function(pe){K(new Uint8Array(pe))},ie)})}return Promise.resolve().then(function(){return _o(Oe)})}().then(function(K){return WebAssembly.instantiate(K,y)}).then(G,function(K){v("failed to asynchronously prepare wasm: "+K),Fn(Oe)&&v("warning: Loading from a file URI ("+Oe+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),b(K)})}if(a.instantiateWasm)try{return a.instantiateWasm(y,_)}catch(G){return v("Module.instantiateWasm callback failed with error: "+G),!1}(C||typeof WebAssembly.instantiateStreaming!="function"||Jt(Oe)||Fn(Oe)||typeof fetch!="function"?U(I):fetch(Oe,{credentials:"same-origin"}).then(function(G){return WebAssembly.instantiateStreaming(G,y).then(I,function(K){return v("wasm streaming compile failed: "+K),v("falling back to ArrayBuffer instantiation"),U(I)})})).catch(o)})(),a.___wasm_call_ctors=A("__wasm_call_ctors"),a._PDFium_Init=A("PDFium_Init"),a._f6f65c5b1bd6942139ade56d35e9dd668=A("f6f65c5b1bd6942139ade56d35e9dd668"),a._export_js_get_font_list=A("export_js_get_font_list"),a._f7626c5b4af744395ac313582bafdbdbd=A("f7626c5b4af744395ac313582bafdbdbd"),a._f9ef41b6d4134476cae968eb6b13638eb=A("f9ef41b6d4134476cae968eb6b13638eb"),a._f49860b4b1f7c44e1bf0f331c3f342b89=A("f49860b4b1f7c44e1bf0f331c3f342b89"),a._f718c723407bc4e1ea237d5fc0229a4ab=A("f718c723407bc4e1ea237d5fc0229a4ab"),a._f691df6ba4afc478aa0ec2b5af309bece=A("f691df6ba4afc478aa0ec2b5af309bece"),a._f3927f467e16141b1bc8f1076c266fded=A("f3927f467e16141b1bc8f1076c266fded"),a._fdd3a91c144e94078b4d9ef219295f38f=A("fdd3a91c144e94078b4d9ef219295f38f"),a._f88e7daedc8cd4228957caada4bff6006=A("f88e7daedc8cd4228957caada4bff6006"),a._facbead657bcc4ff6ba67d0ed1651136a=A("facbead657bcc4ff6ba67d0ed1651136a"),a._fb1caaee749f640348d9f252d3ce02d58=A("fb1caaee749f640348d9f252d3ce02d58"),a._f12226d785b9e4780a2e004d60b3033b2=A("f12226d785b9e4780a2e004d60b3033b2"),a._f305441af2e9c46baa495897998d456c6=A("f305441af2e9c46baa495897998d456c6"),a._f956408e3d20c46b997dc96be6cdf9fe5=A("f956408e3d20c46b997dc96be6cdf9fe5"),a._f867195b2bc654ef0b5c69e2454db009d=A("f867195b2bc654ef0b5c69e2454db009d"),a._f4a4d60f40eec4ddc88c535f6acdcd77c=A("f4a4d60f40eec4ddc88c535f6acdcd77c"),a._f75daace202db4ff9b9d08ab1ebc684fe=A("f75daace202db4ff9b9d08ab1ebc684fe"),a._f93a9d10d7ceb4b20a74223620419f2aa=A("f93a9d10d7ceb4b20a74223620419f2aa"),a._f8f93618ddf3a4ccea021953c6fa1a339=A("f8f93618ddf3a4ccea021953c6fa1a339"),a._fbde19f71085f4c6ba3a5c0112d1b161f=A("fbde19f71085f4c6ba3a5c0112d1b161f"),a._f79104ce1d2b240e686b9e638bb6650f5=A("f79104ce1d2b240e686b9e638bb6650f5"),a._feb3c1bd20eac41f7a583f118048ccf29=A("feb3c1bd20eac41f7a583f118048ccf29"),a._f1df5ad4082ec429a8189993f538d90bb=A("f1df5ad4082ec429a8189993f538d90bb"),a._f917cd82fb26e4d3c8a88321e1d442158=A("f917cd82fb26e4d3c8a88321e1d442158"),a._fe166a099696f4c818d0def53d1222556=A("fe166a099696f4c818d0def53d1222556"),a._f7869f21b79cb49ab9f5a8546e1055da5=A("f7869f21b79cb49ab9f5a8546e1055da5"),a._f06bc5e9c71554b9e996359cadd711342=A("f06bc5e9c71554b9e996359cadd711342"),a._f9046bb1dd53e428dba058ff994f216b1=A("f9046bb1dd53e428dba058ff994f216b1"),a._f47eabbfcc2754432ba7c8315caf9f0c9=A("f47eabbfcc2754432ba7c8315caf9f0c9"),a._f0f665a31a9ac44ada3724725e0c5cec3=A("f0f665a31a9ac44ada3724725e0c5cec3"),a._f9e659b572c114dcc8acd1c454f07c2c2=A("f9e659b572c114dcc8acd1c454f07c2c2"),a._fa1140734b0234e16a8b6c12ca4adc6e3=A("fa1140734b0234e16a8b6c12ca4adc6e3"),a._f04fe414320834530bba30472d7935b82=A("f04fe414320834530bba30472d7935b82"),a._fcad7405f7ac147318cb071d45c600cff=A("fcad7405f7ac147318cb071d45c600cff"),a._f23bfcbf271964cdbab506ed8ae82917f=A("f23bfcbf271964cdbab506ed8ae82917f"),a._fcea4e1f19a2f4d31b88b995b85e6de57=A("fcea4e1f19a2f4d31b88b995b85e6de57"),a._fcfdee44ba42d4c8b85ec245000531dda=A("fcfdee44ba42d4c8b85ec245000531dda"),a._f374eaee8375244cd8a840b2aca05017c=A("f374eaee8375244cd8a840b2aca05017c"),a._f651ce5c104984c1eac865b66020d04c9=A("f651ce5c104984c1eac865b66020d04c9"),a._fcc3d611e8a184c248b3b1a15764fbc44=A("fcc3d611e8a184c248b3b1a15764fbc44"),a._f58dca08dc7534e3aa52c317c526ede3f=A("f58dca08dc7534e3aa52c317c526ede3f"),a._f28eaab7168964183888d434d8debc53f=A("f28eaab7168964183888d434d8debc53f"),a._febe7f6eddf5544f3be285a2d707777bc=A("febe7f6eddf5544f3be285a2d707777bc"),a._f736ab61833914eb490bf8d44537c6a38=A("f736ab61833914eb490bf8d44537c6a38"),a._f78804eb9299842938ffdbbeb2f626a3a=A("f78804eb9299842938ffdbbeb2f626a3a"),a._fe270ac97c0b940199c0600724d52d6f1=A("fe270ac97c0b940199c0600724d52d6f1"),a._fa7ed2c85f36a4d2eaf76c1c7b3cb9687=A("fa7ed2c85f36a4d2eaf76c1c7b3cb9687"),a._fde2b2889a07b4a26b2c289569d1e3a00=A("fde2b2889a07b4a26b2c289569d1e3a00"),a._f404beae7d43b43b18fc7ec6007e28968=A("f404beae7d43b43b18fc7ec6007e28968"),a._f348113a0965a475eaae5313b14b76dea=A("f348113a0965a475eaae5313b14b76dea"),a._f7982b8869b834313a24c6f353556bfab=A("f7982b8869b834313a24c6f353556bfab"),a._fbd918f47b40845ec9ad2edda8de82501=A("fbd918f47b40845ec9ad2edda8de82501"),a._fcb762d062bd44f29b5fc7178b0a098cd=A("fcb762d062bd44f29b5fc7178b0a098cd"),a._f81f8ecde9e81490089cf849a6a6200df=A("f81f8ecde9e81490089cf849a6a6200df"),a._f754f430e82324d3d997fcdde80e586d0=A("f754f430e82324d3d997fcdde80e586d0"),a._f6213f1f1b14f4752bf7fe408342ca6ab=A("f6213f1f1b14f4752bf7fe408342ca6ab"),a._f53cbb4442c664b49ad8c12af326ff83a=A("f53cbb4442c664b49ad8c12af326ff83a"),a._f97f4b77bb387401c90782730ecf25e5f=A("f97f4b77bb387401c90782730ecf25e5f"),a._ffeb8d44be4504b1cacfa470bff28555b=A("ffeb8d44be4504b1cacfa470bff28555b"),a._f0669bddc67764676a3a99850d3c9d26e=A("f0669bddc67764676a3a99850d3c9d26e"),a._fece9291979fd4ae184be0fee2f72d11f=A("fece9291979fd4ae184be0fee2f72d11f"),a._fedf53cbe9da44d1d981ef57b0f686071=A("fedf53cbe9da44d1d981ef57b0f686071"),a._f8d8759d234ed48e2adaafca0076700ac=A("f8d8759d234ed48e2adaafca0076700ac"),a._f819060807d9b45cbb621c4f80b1d3edd=A("f819060807d9b45cbb621c4f80b1d3edd"),a._f4aa8766f3b4d49c5992d3c9c8218e731=A("f4aa8766f3b4d49c5992d3c9c8218e731"),a._f99cc7c7732b1448895620cc9f0532d08=A("f99cc7c7732b1448895620cc9f0532d08"),a._f567d29a05bc54a588c5d2647617f777e=A("f567d29a05bc54a588c5d2647617f777e"),a._f22db997656bc42c28ba657fc0fd61a6f=A("f22db997656bc42c28ba657fc0fd61a6f"),a._feb345dc2b8fb448ca2a721fa85843801=A("feb345dc2b8fb448ca2a721fa85843801"),a._f5edd3bb793ce4ed19beddac8b72e6999=A("f5edd3bb793ce4ed19beddac8b72e6999"),a._f5f869ac99e5e47d9b2626a9a28ca50ec=A("f5f869ac99e5e47d9b2626a9a28ca50ec"),a._fa148e21bdb13417e9a2fe0da5b5963b5=A("fa148e21bdb13417e9a2fe0da5b5963b5"),a._feb31a22f0268434b94e85b953f3b7969=A("feb31a22f0268434b94e85b953f3b7969"),a._f14efcbc772cd46e5959f156260c13218=A("f14efcbc772cd46e5959f156260c13218"),a._ff14f6c259bf44de9a6834969e26b7ba6=A("ff14f6c259bf44de9a6834969e26b7ba6"),a._fdea468ac6a9047b68edec72b5b684ecc=A("fdea468ac6a9047b68edec72b5b684ecc"),a._f511be6fbba724fbe9d47f41e087c69ec=A("f511be6fbba724fbe9d47f41e087c69ec"),a._f241c9e8ec6e24bdaaa3b53c586addf01=A("f241c9e8ec6e24bdaaa3b53c586addf01"),a._f2874f25ae8dc47459ea5b442af2773c3=A("f2874f25ae8dc47459ea5b442af2773c3"),a._f3414aa1785434814b77a5fc7c8a4da92=A("f3414aa1785434814b77a5fc7c8a4da92"),a._f008c2745c15948aba783f841ff6c2c35=A("f008c2745c15948aba783f841ff6c2c35"),a._f50c640a83c8d4127ba777126c5a119d0=A("f50c640a83c8d4127ba777126c5a119d0"),a._fe4083b5fbff247f58b1baf193960a054=A("fe4083b5fbff247f58b1baf193960a054"),a._f274e697379b344639d3f8055d2b560bb=A("f274e697379b344639d3f8055d2b560bb"),a._f355bfd30dbec49798a491d216ccc82a5=A("f355bfd30dbec49798a491d216ccc82a5"),a._f91e36eb89ed34af2a648dc8bfd64b585=A("f91e36eb89ed34af2a648dc8bfd64b585"),a._f9bcfb75ed1b8435581e72726e6e82e54=A("f9bcfb75ed1b8435581e72726e6e82e54"),a._f078df7df63da40d4b9899931da7f32bb=A("f078df7df63da40d4b9899931da7f32bb"),a._fa03c6c0d093b4d1287022bea5419dc5d=A("fa03c6c0d093b4d1287022bea5419dc5d"),a._f8f7d730df69a408089b798d2ac5f8508=A("f8f7d730df69a408089b798d2ac5f8508"),a._f16b0ec0e8db2455fa54e374ae2bdf2e6=A("f16b0ec0e8db2455fa54e374ae2bdf2e6"),a._f250fa1d7d8bc4b49bec2482236ca8c43=A("f250fa1d7d8bc4b49bec2482236ca8c43"),a._fad262dd693b442379dfc80160c7354d2=A("fad262dd693b442379dfc80160c7354d2"),a._ff276f3994f974135be2cd18decf52ac8=A("ff276f3994f974135be2cd18decf52ac8"),a._f1f627b0a344e4449828aba656160ce32=A("f1f627b0a344e4449828aba656160ce32"),a._f12a749f63c8b4c3ca611dc5858867dd1=A("f12a749f63c8b4c3ca611dc5858867dd1"),a._fdf30bebf89d04762a79f38a2adbc6f4c=A("fdf30bebf89d04762a79f38a2adbc6f4c"),a._fcce0f946be6440b2b9cfc9778723f4b0=A("fcce0f946be6440b2b9cfc9778723f4b0"),a._fc7f0ff7aa8bf4181bcdd89be0c20a440=A("fc7f0ff7aa8bf4181bcdd89be0c20a440"),a._f5a8721c87ac84534b6efdc019c521398=A("f5a8721c87ac84534b6efdc019c521398"),a._fd128a2e293274cf2a99f784008c1a9f2=A("fd128a2e293274cf2a99f784008c1a9f2"),a._f356f6f641dae46d2885e357e07434d83=A("f356f6f641dae46d2885e357e07434d83"),a._ff5fa149868614cf9a60bed24f15991d5=A("ff5fa149868614cf9a60bed24f15991d5"),a._ff1e607367f7d47879be69cd7fd993851=A("ff1e607367f7d47879be69cd7fd993851"),a._f86b61cf10b4f4626a969d4e08d42bb2c=A("f86b61cf10b4f4626a969d4e08d42bb2c"),a._f2eb0b1b35d3a476fae20b22e49ac7fe2=A("f2eb0b1b35d3a476fae20b22e49ac7fe2"),a._fdb6e14b16dae4d63b1493551aa08dd18=A("fdb6e14b16dae4d63b1493551aa08dd18"),a._fe962475269ce47b9aadb60ae54f51eb5=A("fe962475269ce47b9aadb60ae54f51eb5"),a._fcb51a3af68374fd3975e34c646d650bd=A("fcb51a3af68374fd3975e34c646d650bd"),a._f45461b1154cf40a090ba03a3906479e0=A("f45461b1154cf40a090ba03a3906479e0"),a._ff572b3275aa14f2fb748a17d3ecf5647=A("ff572b3275aa14f2fb748a17d3ecf5647"),a._f3943722e1ebe4304ae01773ca0f93d12=A("f3943722e1ebe4304ae01773ca0f93d12"),a._f7644dd75bca0432dbc8d3a5159b8f4fd=A("f7644dd75bca0432dbc8d3a5159b8f4fd"),a._f072ddabe12894043b136bb88f518875f=A("f072ddabe12894043b136bb88f518875f"),a._fe741d3c2cbcc427c9ef40a2c21a02b30=A("fe741d3c2cbcc427c9ef40a2c21a02b30"),a._fc22b04050b154ff085bfa83deefb4f08=A("fc22b04050b154ff085bfa83deefb4f08"),a._fb77300fb9b934493a0ba3a1f111e7c86=A("fb77300fb9b934493a0ba3a1f111e7c86"),a._f17d4f986a64b4e6aacf42918c7427402=A("f17d4f986a64b4e6aacf42918c7427402"),a._fa23a2746efd7475385aaaecf772f5581=A("fa23a2746efd7475385aaaecf772f5581"),a._f09f27411d9664e6b9fa2d31ca10626d4=A("f09f27411d9664e6b9fa2d31ca10626d4"),a._f1edd05b131eb4d0bad4cf5e2e30ba2b7=A("f1edd05b131eb4d0bad4cf5e2e30ba2b7"),a._f826b39fdc81140bb947e7cabdb470c73=A("f826b39fdc81140bb947e7cabdb470c73"),a._f9d19f3d186b44b6d8f7d9027ae020d3f=A("f9d19f3d186b44b6d8f7d9027ae020d3f"),a._fb4a31e134ffd49e18d238f305f5decf5=A("fb4a31e134ffd49e18d238f305f5decf5"),a._f2d0baaf22b31477a8cc7c4f0bb3e1619=A("f2d0baaf22b31477a8cc7c4f0bb3e1619"),a._f326f39bb93c14a2bae5b8b3afa11bd52=A("f326f39bb93c14a2bae5b8b3afa11bd52"),a._f8f59d1f047d14c28a9df25221e63b284=A("f8f59d1f047d14c28a9df25221e63b284"),a._f85a81006e6044c7881516494f9e71811=A("f85a81006e6044c7881516494f9e71811"),a._f4e4b2602499f454fa084b9850e70b0e6=A("f4e4b2602499f454fa084b9850e70b0e6"),a._f61f8075ea4b946e7990f2d6ead751d6f=A("f61f8075ea4b946e7990f2d6ead751d6f"),a._f504a2efdfef64a5abf969582a0afc4d8=A("f504a2efdfef64a5abf969582a0afc4d8"),a._f7d3e872d857443e987059772cdfc8f31=A("f7d3e872d857443e987059772cdfc8f31"),a._fa91bf6518bfd4fa0a34f59627e220aac=A("fa91bf6518bfd4fa0a34f59627e220aac"),a._fa2a87c9ccef24b5ca6c375ecc4b05541=A("fa2a87c9ccef24b5ca6c375ecc4b05541"),a._f11a17cd8ee3146839401091525323a7f=A("f11a17cd8ee3146839401091525323a7f"),a._fa22782ed709146a7bad8528383835b9c=A("fa22782ed709146a7bad8528383835b9c"),a._fc4b5e048c79e443ba790303bafd7cd4b=A("fc4b5e048c79e443ba790303bafd7cd4b"),a._fa9bfed8fe83945fc9a5c0d8135d229e5=A("fa9bfed8fe83945fc9a5c0d8135d229e5"),a._f8aa0209e633d44d09fd5f1bc8ab6af7a=A("f8aa0209e633d44d09fd5f1bc8ab6af7a"),a._f5b3fa39195d54df48ed6333f41493b51=A("f5b3fa39195d54df48ed6333f41493b51"),a._fdc176f3ccfe944b895fa78ec0802b045=A("fdc176f3ccfe944b895fa78ec0802b045"),a._f68d576648ff84310b35f3ea637bfb723=A("f68d576648ff84310b35f3ea637bfb723"),a._f82ee574a2eef435a9294f0bcb8d8f613=A("f82ee574a2eef435a9294f0bcb8d8f613"),a._f07a76eff541b4ad795a3023703431240=A("f07a76eff541b4ad795a3023703431240"),a._f32ed95b105874945b82b88cfe499e29a=A("f32ed95b105874945b82b88cfe499e29a"),a._fa26935e0322248ebbbf8ffb0fb803c61=A("fa26935e0322248ebbbf8ffb0fb803c61"),a._fdd0c30a60e4e463e9081eff99bd8028a=A("fdd0c30a60e4e463e9081eff99bd8028a"),a._f7b99691f26bb462094cc312b0f150bb8=A("f7b99691f26bb462094cc312b0f150bb8"),a._f77045f41370b4fff819d3389ba149019=A("f77045f41370b4fff819d3389ba149019"),a._feb48a95167514c35beefc3ebfda6d0d1=A("feb48a95167514c35beefc3ebfda6d0d1"),a._f05b0bed0e55840e29561c0f460c19a92=A("f05b0bed0e55840e29561c0f460c19a92"),a._f0c2aaf7c31e941c496343e9ce1e0ed56=A("f0c2aaf7c31e941c496343e9ce1e0ed56"),a._fb47cb5165f09450286753831b6648406=A("fb47cb5165f09450286753831b6648406"),a._f23ebd68b0b2f445c80acdd7062aa4679=A("f23ebd68b0b2f445c80acdd7062aa4679"),a._f19496dd849b84eb494b2c46c6bfa5a8a=A("f19496dd849b84eb494b2c46c6bfa5a8a"),a._f74e9f222d5b44ff9aadd16178d51c50f=A("f74e9f222d5b44ff9aadd16178d51c50f"),a._f6b22740bdd64412896d50aff02ee81eb=A("f6b22740bdd64412896d50aff02ee81eb"),a._f2dff2018f6e64178a8b7485ee0b52428=A("f2dff2018f6e64178a8b7485ee0b52428"),a._fcb222756bb4f4e149c6648103bc484a8=A("fcb222756bb4f4e149c6648103bc484a8"),a._f1d0b709d141943858464882a34cf8082=A("f1d0b709d141943858464882a34cf8082"),a._f12058c161cc04c3d9f1088377ccc38c8=A("f12058c161cc04c3d9f1088377ccc38c8"),a._f831e63dd869640efb6607d84ba03aa10=A("f831e63dd869640efb6607d84ba03aa10"),a._f2e36e12d1bef4679b3632ec03566e385=A("f2e36e12d1bef4679b3632ec03566e385"),a._fb43c529591774e059f373c5409924582=A("fb43c529591774e059f373c5409924582"),a._f6e5d3f90830246b4ba48ed58620cb393=A("f6e5d3f90830246b4ba48ed58620cb393"),a._fd84e4c85942e4d3c8e10ee2ddd9d4dfe=A("fd84e4c85942e4d3c8e10ee2ddd9d4dfe"),a._f4b91b52f33fb4007ab3469537b7e6571=A("f4b91b52f33fb4007ab3469537b7e6571"),a._f1df0d9d2138b4dd09d6ae15bf493ddbd=A("f1df0d9d2138b4dd09d6ae15bf493ddbd"),a._f5bc0fb2943634aa8b7591bdb14832d2a=A("f5bc0fb2943634aa8b7591bdb14832d2a"),a._fadea7b2b058c40b6846d1e633d57b796=A("fadea7b2b058c40b6846d1e633d57b796"),a._f4e481f0e433a4ae184de8b96b0e3fc40=A("f4e481f0e433a4ae184de8b96b0e3fc40"),a._f96eea351fd1c4a439dff41dd986c5e51=A("f96eea351fd1c4a439dff41dd986c5e51"),a._f63e0e41636394ce587da3fa0939df8d9=A("f63e0e41636394ce587da3fa0939df8d9"),a._f74451114338248a3bf763b067c8ea927=A("f74451114338248a3bf763b067c8ea927"),a._f9d95f8cd78df407aa1a787db113fe3d3=A("f9d95f8cd78df407aa1a787db113fe3d3"),a._f0b24d0862f2d466db105c51af715f41f=A("f0b24d0862f2d466db105c51af715f41f"),a._f12d6e15088d549b3b8c98b8a1ae0386e=A("f12d6e15088d549b3b8c98b8a1ae0386e"),a._fba4a00421bfe453785ccbed2e36330df=A("fba4a00421bfe453785ccbed2e36330df"),a._f46861c763d3746a3bab4fa4699095e86=A("f46861c763d3746a3bab4fa4699095e86"),a._ff5ed62e8be6d45238e7ea2660bb81f40=A("ff5ed62e8be6d45238e7ea2660bb81f40"),a._fc5231a07b2ca472896fdf0f35b7abfa8=A("fc5231a07b2ca472896fdf0f35b7abfa8"),a._f6caae22d365049f29ca47fa76ec409b2=A("f6caae22d365049f29ca47fa76ec409b2"),a._f96c0f38609414f94b5f1725b3be37982=A("f96c0f38609414f94b5f1725b3be37982"),a._fea549ba56e2b4a2c926c26b30b182be4=A("fea549ba56e2b4a2c926c26b30b182be4"),a._f93c050c2ca8b4bbc874cc270c6f95e92=A("f93c050c2ca8b4bbc874cc270c6f95e92"),a._f00f54a3d37da4874bc3128a727cfeb06=A("f00f54a3d37da4874bc3128a727cfeb06"),a._f407806d846484999b798c5f513c28cc6=A("f407806d846484999b798c5f513c28cc6"),a._f3bb1f34265fa404bbdb324fb685a32b8=A("f3bb1f34265fa404bbdb324fb685a32b8"),a._f182650cdf2a34365ad79111fea694ac1=A("f182650cdf2a34365ad79111fea694ac1"),a._f2550253c96e44c6d8ef867c38c5faf1c=A("f2550253c96e44c6d8ef867c38c5faf1c"),a._f2ab332b8ac1d48f9bf036f5051ac8642=A("f2ab332b8ac1d48f9bf036f5051ac8642"),a._fe5c5967ada6a4d3ba11425301a44cac0=A("fe5c5967ada6a4d3ba11425301a44cac0"),a._fdd5adec65d61411cbe1a65d11a2a38e0=A("fdd5adec65d61411cbe1a65d11a2a38e0"),a._f25c21365a1944966ba3ae5062cc839d1=A("f25c21365a1944966ba3ae5062cc839d1"),a._f22479ab85bea4127ba819b0d7f89c8d1=A("f22479ab85bea4127ba819b0d7f89c8d1"),a._f8e85e2cab5614aee952f6ba469e90c7b=A("f8e85e2cab5614aee952f6ba469e90c7b"),a._f3d39f75db5f84e3cbd61ac62bdf09e27=A("f3d39f75db5f84e3cbd61ac62bdf09e27"),a._f533a456ba03e4dd19f95dfa03593b9fa=A("f533a456ba03e4dd19f95dfa03593b9fa"),a._f72bfc7d653c64697874e519034fe90b3=A("f72bfc7d653c64697874e519034fe90b3"),a._f2b49342740204c9c9c6162eab00714f0=A("f2b49342740204c9c9c6162eab00714f0"),a._fc8cc4befa8f3443ca36d812f16a0a8d1=A("fc8cc4befa8f3443ca36d812f16a0a8d1"),a._faf1caff5e9ea4bf0ac62b61326264430=A("faf1caff5e9ea4bf0ac62b61326264430"),a._fb11945f98d844bd8bac73f8eefdc6750=A("fb11945f98d844bd8bac73f8eefdc6750"),a._f7af1f47d30e14081a88160a93b59779c=A("f7af1f47d30e14081a88160a93b59779c"),a._f85aa2bdfe6bc470eb43d0361c886a006=A("f85aa2bdfe6bc470eb43d0361c886a006"),a._f03c84e3b75d04358a6c9e8bc65bb368f=A("f03c84e3b75d04358a6c9e8bc65bb368f"),a._f874859820eb84afc990eaf977f5559f4=A("f874859820eb84afc990eaf977f5559f4"),a._f7d092d326b874a6da638b6083106af49=A("f7d092d326b874a6da638b6083106af49"),a._f34d4c8d45b0a4d4391d3f8f9b1110bee=A("f34d4c8d45b0a4d4391d3f8f9b1110bee"),a._fedcb71e7b24b48a78670eeba138da363=A("fedcb71e7b24b48a78670eeba138da363"),a._f7a74a52e10e44132a43f0148dc4d9111=A("f7a74a52e10e44132a43f0148dc4d9111"),a._fb3c78b5cb7fd4b118e36186fe85ced05=A("fb3c78b5cb7fd4b118e36186fe85ced05"),a._f45ddfeb56d334cf7ac71b37ad746183d=A("f45ddfeb56d334cf7ac71b37ad746183d"),a._f64430cf261454f83b98ac52d320b0927=A("f64430cf261454f83b98ac52d320b0927"),a._f9f01f68904bc45d2bfd2fdfee5e73893=A("f9f01f68904bc45d2bfd2fdfee5e73893"),a._f9f32dfe80c534a5a8b1e69a1d5bdb4dc=A("f9f32dfe80c534a5a8b1e69a1d5bdb4dc"),a._fabbb2ae8b199462e94dd4d6ab7561e09=A("fabbb2ae8b199462e94dd4d6ab7561e09"),a._f2e65a7555d384f4381c0059c5801d6d9=A("f2e65a7555d384f4381c0059c5801d6d9"),a._f26f49a248828478ca7388768d078f8f1=A("f26f49a248828478ca7388768d078f8f1"),a._f99840eec219f45c09f904083f8be49ac=A("f99840eec219f45c09f904083f8be49ac"),a._f7208c9c6b45b440b84afc3371f153b9e=A("f7208c9c6b45b440b84afc3371f153b9e"),a._f3a6d0f40e9034c70872229590432eae6=A("f3a6d0f40e9034c70872229590432eae6"),a._f7e0fd731a2d844ab935cfe82d721c654=A("f7e0fd731a2d844ab935cfe82d721c654"),a._ff147c600788045ecb271676441f645dc=A("ff147c600788045ecb271676441f645dc"),a._f86dd4cdb9b644206a71200f419aafd2d=A("f86dd4cdb9b644206a71200f419aafd2d"),a._f7d628312c4724a80bba2a905debac18c=A("f7d628312c4724a80bba2a905debac18c"),a._fb3ce0cf0bc9745c58ecbfe192a927765=A("fb3ce0cf0bc9745c58ecbfe192a927765"),a._f088c47d346634e8ba8fe083c701419de=A("f088c47d346634e8ba8fe083c701419de"),a._f3088edd48a9349d188351af20ca8fd0f=A("f3088edd48a9349d188351af20ca8fd0f"),a._fb67b15a600564167a9d17dd151e7a359=A("fb67b15a600564167a9d17dd151e7a359"),a._fc4c839a33591428e8af1dbd6c5eef760=A("fc4c839a33591428e8af1dbd6c5eef760"),a._f135ce7e41a5a40cd897dadf5e163b173=A("f135ce7e41a5a40cd897dadf5e163b173"),a._f768976e7943342cfb8782bd99af6d3b6=A("f768976e7943342cfb8782bd99af6d3b6"),a._f068fd9d00dcc45e1bf07b385b559919c=A("f068fd9d00dcc45e1bf07b385b559919c"),a._f4e3e22f3fb014649898fb083515bf369=A("f4e3e22f3fb014649898fb083515bf369"),a._fa7d04159012a4b3a89d5e40b6957888b=A("fa7d04159012a4b3a89d5e40b6957888b"),a._f08ab9de1e34341f98bfd9d45d95eb9a7=A("f08ab9de1e34341f98bfd9d45d95eb9a7"),a._fcfebd52bc53442b68f2bc09316f27d58=A("fcfebd52bc53442b68f2bc09316f27d58"),a._f1516e4cfaef34a59a430f40ea0fec0c8=A("f1516e4cfaef34a59a430f40ea0fec0c8"),a._f2bf54a0bdb794a63a29ebf3c5995e573=A("f2bf54a0bdb794a63a29ebf3c5995e573"),a._f41634db883944896bfe39746039d6ec4=A("f41634db883944896bfe39746039d6ec4"),a._fae8a314805b8422a964d5bbe76ff0ebd=A("fae8a314805b8422a964d5bbe76ff0ebd"),a._fa8ef0651a3614ab793fbcb8bf0890fd6=A("fa8ef0651a3614ab793fbcb8bf0890fd6"),a._f0bfaf8edf1554f7497bc213847b9bbbb=A("f0bfaf8edf1554f7497bc213847b9bbbb"),a._f1552af61d21d4421b0ff5e7192f717e1=A("f1552af61d21d4421b0ff5e7192f717e1"),a._f16599342fa91430ea67a3b0fdb717dd7=A("f16599342fa91430ea67a3b0fdb717dd7"),a._fda3fa6f9810745d382556d1c8bb4cd47=A("fda3fa6f9810745d382556d1c8bb4cd47"),a._f4c76ed2ff98842908ff7748b69c35790=A("f4c76ed2ff98842908ff7748b69c35790"),a._f9dceda1200be47ed829aff2a34e68c8a=A("f9dceda1200be47ed829aff2a34e68c8a"),a._ff74c8ad2c0eb459aa1747bbbc5ddaf8c=A("ff74c8ad2c0eb459aa1747bbbc5ddaf8c"),a._f68bb6a02ef604bdf884bbd772798142e=A("f68bb6a02ef604bdf884bbd772798142e"),a._f0aa08cfc20374ad4ac561e24b300a322=A("f0aa08cfc20374ad4ac561e24b300a322"),a._f8af6537f51574505a26df4de0eecb69f=A("f8af6537f51574505a26df4de0eecb69f"),a._f97b1c52d32934057b71341ebe8426f6a=A("f97b1c52d32934057b71341ebe8426f6a"),a._ff86c1babc7b44b8a8cd1f89fe8d139da=A("ff86c1babc7b44b8a8cd1f89fe8d139da"),a._f7b6c95d4b51746d8b6e105651309dde5=A("f7b6c95d4b51746d8b6e105651309dde5"),a._f03be39c2a1ed43d68af317288817dd68=A("f03be39c2a1ed43d68af317288817dd68"),a._f7d073f049c7442d09bb334968dcdc9ea=A("f7d073f049c7442d09bb334968dcdc9ea"),a._f1d847225e57c471f9d9a192b86db10f1=A("f1d847225e57c471f9d9a192b86db10f1"),a._f712888111e0744f288e2ac20a0e62082=A("f712888111e0744f288e2ac20a0e62082"),a._f72a58256ed774338a133abed300e0d06=A("f72a58256ed774338a133abed300e0d06"),a._f2f11d227a08343a79ca0b62eda4acb26=A("f2f11d227a08343a79ca0b62eda4acb26"),a._f006d1fdcb72344838ba760505d2957e3=A("f006d1fdcb72344838ba760505d2957e3"),a._f1b4e6e2d7f604de6a559d616c3da0f0a=A("f1b4e6e2d7f604de6a559d616c3da0f0a"),a._f748427cbb9184310b2eb78a4925e7cd8=A("f748427cbb9184310b2eb78a4925e7cd8"),a._ff59f88a6dc654cfca0dcdfa86bddd8c6=A("ff59f88a6dc654cfca0dcdfa86bddd8c6"),a._fa8bfe13dfc934470885a677b925d9a93=A("fa8bfe13dfc934470885a677b925d9a93"),a._fd07a413c6f7141b3b104b5e734090457=A("fd07a413c6f7141b3b104b5e734090457"),a._f9a6d72faea95499eb5775194273933b7=A("f9a6d72faea95499eb5775194273933b7"),a._ff522f81e5f344becbef971f3cf646d24=A("ff522f81e5f344becbef971f3cf646d24"),a._fff3e5bf2a67547f8bc817fedcc9163d4=A("fff3e5bf2a67547f8bc817fedcc9163d4"),a._f94b41e4c3bc4417fb4d33bcbc8334038=A("f94b41e4c3bc4417fb4d33bcbc8334038"),a._f8e5152ddf33144d3a45cd4f7be019a9e=A("f8e5152ddf33144d3a45cd4f7be019a9e"),a._fd6bbe6068fb348dda61958dbfe801c45=A("fd6bbe6068fb348dda61958dbfe801c45"),a._fd833f6c4d2b74b4b8af866a07ba64586=A("fd833f6c4d2b74b4b8af866a07ba64586"),a._f61d1cbcb6cf04c70bbf3c02b7a9b7394=A("f61d1cbcb6cf04c70bbf3c02b7a9b7394"),a._f6778c954f43141858ba8ce90fc03c832=A("f6778c954f43141858ba8ce90fc03c832"),a._f383b93c9d48340e5bf6be34f9fd76284=A("f383b93c9d48340e5bf6be34f9fd76284"),a._f2767a631d37b425fb3ab48e19050affa=A("f2767a631d37b425fb3ab48e19050affa"),a._f66d3567515a444518ed89f09e5978bb9=A("f66d3567515a444518ed89f09e5978bb9"),a._f6427fbbaf8174cffa5f6d8731f15c899=A("f6427fbbaf8174cffa5f6d8731f15c899"),a._f174c4e55f90e45da83e71be6863f8a5f=A("f174c4e55f90e45da83e71be6863f8a5f"),a._f4d19862fbca149a7b61f35ef439296ee=A("f4d19862fbca149a7b61f35ef439296ee"),a._fc1e7abc0c1ef404384e61522ec62f502=A("fc1e7abc0c1ef404384e61522ec62f502"),a._f2b325df12e504c2ca53aa8d7e0a3f449=A("f2b325df12e504c2ca53aa8d7e0a3f449"),a._f175140cb7c9845d4853fc15d8371e7e6=A("f175140cb7c9845d4853fc15d8371e7e6"),a._f9f23a15376fc48fb95c5eebc6da34f96=A("f9f23a15376fc48fb95c5eebc6da34f96"),a._fe7340092acad4dc3851461c7300444a7=A("fe7340092acad4dc3851461c7300444a7"),a._fdf74421865f0453a90d8c8b58806ef99=A("fdf74421865f0453a90d8c8b58806ef99"),a._ffc720ce9d5a14b63b77f14eaf263e95a=A("ffc720ce9d5a14b63b77f14eaf263e95a"),a._f76b01bde68054094b25bda6e3d861fd5=A("f76b01bde68054094b25bda6e3d861fd5"),a._f84b5929118064fb79cdaecd92280d1f9=A("f84b5929118064fb79cdaecd92280d1f9"),a._f5d6b60d8ce53410b82df5e4fca96773f=A("f5d6b60d8ce53410b82df5e4fca96773f"),a._f023286dbef7745dead0e6f0a2664ff27=A("f023286dbef7745dead0e6f0a2664ff27"),a._ffeb7a52684f7429bae74b76f94543d2f=A("ffeb7a52684f7429bae74b76f94543d2f"),a._f22753dfc11e74ddf858b19602b959950=A("f22753dfc11e74ddf858b19602b959950"),a._ffafea13baf4a47298d78c63727fa8086=A("ffafea13baf4a47298d78c63727fa8086"),a._fb80e1f08502f445a849ed577e790772d=A("fb80e1f08502f445a849ed577e790772d"),a._f83ec29766e824a57b0788e2e4bcd4b3e=A("f83ec29766e824a57b0788e2e4bcd4b3e"),a._f61016272ce904dbcaaee5c25f62c2a8d=A("f61016272ce904dbcaaee5c25f62c2a8d"),a._f6bcc6f3a9b784e3889410de7e14b5a66=A("f6bcc6f3a9b784e3889410de7e14b5a66"),a._f18f73e91796844e08aa8ed0295f256ab=A("f18f73e91796844e08aa8ed0295f256ab"),a._f1d2ea35be4594bffa702934de7e5bf66=A("f1d2ea35be4594bffa702934de7e5bf66"),a._f6f7aecc9dbc44b9f935f6377e89f8ef0=A("f6f7aecc9dbc44b9f935f6377e89f8ef0"),a._f70571068b53348d6bfe43ccf97869e16=A("f70571068b53348d6bfe43ccf97869e16"),a._febbd972978684f7a91122d09a3b90421=A("febbd972978684f7a91122d09a3b90421"),a._f3afff1c869a84472a1fda591cf962a73=A("f3afff1c869a84472a1fda591cf962a73"),a._f8f777a674aff4f6e86a74ebde9729629=A("f8f777a674aff4f6e86a74ebde9729629"),a._f16230b3b3263416caea7dbab01412785=A("f16230b3b3263416caea7dbab01412785"),a._f17b5ce5e4aa249e2a4d2ba29dd53771b=A("f17b5ce5e4aa249e2a4d2ba29dd53771b"),a._f0a266bba945b4da880dc0ef0e17995a3=A("f0a266bba945b4da880dc0ef0e17995a3"),a._ff774ca2c15674eb9a52267f14e510ffe=A("ff774ca2c15674eb9a52267f14e510ffe"),a._f3d98da88d3cf48a7bcdb575d943e68c0=A("f3d98da88d3cf48a7bcdb575d943e68c0"),a._f2019ca5089294eb6b7cfd8f2a0e1becb=A("f2019ca5089294eb6b7cfd8f2a0e1becb"),a._f89834d0ca82c4b668f0ece2835833d6d=A("f89834d0ca82c4b668f0ece2835833d6d"),a._f8cb4b3ee14b24b65a68103934568faab=A("f8cb4b3ee14b24b65a68103934568faab"),a._f459ee6939cdd423cb97da1f9b9bc9014=A("f459ee6939cdd423cb97da1f9b9bc9014"),a._fd6f048dfc3524bacbab5fe2c36b63922=A("fd6f048dfc3524bacbab5fe2c36b63922"),a._f827246e9cd994c188fa10d0efae8f58a=A("f827246e9cd994c188fa10d0efae8f58a"),a._f273e76901ab9406da5ab52756b1b24eb=A("f273e76901ab9406da5ab52756b1b24eb"),a._fa319cd761b7f4862a627fcc2e36ab8e5=A("fa319cd761b7f4862a627fcc2e36ab8e5"),a._f3f8969b6c85a427fbc849f1346fed273=A("f3f8969b6c85a427fbc849f1346fed273"),a._f00ed95e968b04b9892ed0616af9f3c78=A("f00ed95e968b04b9892ed0616af9f3c78"),a._f090ac6bbaba141858f33ee6a46ebc058=A("f090ac6bbaba141858f33ee6a46ebc058"),a._f75c3fa9db09a47108f3edd1706592d27=A("f75c3fa9db09a47108f3edd1706592d27"),a._fb43f1e45ea944c99a90a169b5920047a=A("fb43f1e45ea944c99a90a169b5920047a"),a._fcb08e454674a4114a654d8fddf757e5c=A("fcb08e454674a4114a654d8fddf757e5c"),a._fd2535ae561aa41c495348540a7179e2a=A("fd2535ae561aa41c495348540a7179e2a"),a._f505cdd95a92c4431b0d334d95eb5ac05=A("f505cdd95a92c4431b0d334d95eb5ac05"),a._f381aed72eb8f45a09c7e9307b06d23df=A("f381aed72eb8f45a09c7e9307b06d23df"),a._f55302ac3d6344716a15cf52bfffd994f=A("f55302ac3d6344716a15cf52bfffd994f"),a._f3e2e509918a14bd8a59fd55adda4d774=A("f3e2e509918a14bd8a59fd55adda4d774"),a._fabc17b815bbf4e13b71e8953b4818f61=A("fabc17b815bbf4e13b71e8953b4818f61"),a._f731c2f2ce47a46debb25fc8dbe5d74a5=A("f731c2f2ce47a46debb25fc8dbe5d74a5"),a._fd163b7a57d32459da531b75d455d9708=A("fd163b7a57d32459da531b75d455d9708"),a._f5fd10006af08404aae4d879dfbf8aa4e=A("f5fd10006af08404aae4d879dfbf8aa4e"),a._fd76bdde6829842a48a9f8f410eabb629=A("fd76bdde6829842a48a9f8f410eabb629"),a._f0b5d054602374b7498c4eced57bd3ff8=A("f0b5d054602374b7498c4eced57bd3ff8"),a._f3efe5ab1a5454070b01ecd1aa3617f62=A("f3efe5ab1a5454070b01ecd1aa3617f62"),a._febbb8bae68d346e4b62cdd26f19a2927=A("febbb8bae68d346e4b62cdd26f19a2927"),a._f0ba39a05fb57416bb1becbe863adccb0=A("f0ba39a05fb57416bb1becbe863adccb0"),a._f743a1fb5cf844db89933d2e483e027c1=A("f743a1fb5cf844db89933d2e483e027c1"),a._f805538eeb3b04bb39be30ef7cc25289e=A("f805538eeb3b04bb39be30ef7cc25289e"),a._fdc44fe20de734e37b499c5fae3e3fe03=A("fdc44fe20de734e37b499c5fae3e3fe03"),a._f525d5e7985fe42f486390d2f8353e473=A("f525d5e7985fe42f486390d2f8353e473"),a._f92dbfcefa5bc4a8ab03a40bf6ea0185c=A("f92dbfcefa5bc4a8ab03a40bf6ea0185c"),a._fff766b9440de49f38294d06531ec7d33=A("fff766b9440de49f38294d06531ec7d33"),a._fdbc4a4bc16924a3e94ec7293e337cffd=A("fdbc4a4bc16924a3e94ec7293e337cffd"),a._f7eabdfae499f4d088d60444155760e88=A("f7eabdfae499f4d088d60444155760e88"),a._f640e414804844a83b3748a0a707fdb28=A("f640e414804844a83b3748a0a707fdb28"),a._fbfd36e416ebc4b66ab7d9f2ac075bc7c=A("fbfd36e416ebc4b66ab7d9f2ac075bc7c"),a._f23dc7eded9f74cefad01df05f51f9045=A("f23dc7eded9f74cefad01df05f51f9045"),a._f2e1b1477eb994333ad05922a8c1486a0=A("f2e1b1477eb994333ad05922a8c1486a0"),a._fe9efbc1cfaa140cc91819743101a5dd5=A("fe9efbc1cfaa140cc91819743101a5dd5"),a._ff9ae1b33d10d4b73b874027d08c273e1=A("ff9ae1b33d10d4b73b874027d08c273e1"),a._f8a899367ed0347ab8c3df8f0abc00399=A("f8a899367ed0347ab8c3df8f0abc00399"),a._ff620d79170f14591aad8b32dd34e18f1=A("ff620d79170f14591aad8b32dd34e18f1"),a._f9a6da37bcb8b4b4a982ca45a6775f92a=A("f9a6da37bcb8b4b4a982ca45a6775f92a"),a._fd04d1389a7ac4e2cb472f10ce506ed99=A("fd04d1389a7ac4e2cb472f10ce506ed99"),a._f49a98655851f4591b943d26593e947df=A("f49a98655851f4591b943d26593e947df"),a._f5587bf77679149949689edaae537e46c=A("f5587bf77679149949689edaae537e46c"),a._f8131e6b68b1648678af72dd7d77a0cb3=A("f8131e6b68b1648678af72dd7d77a0cb3"),a._f114b87f2af2c43d9b4fce968c07b3be2=A("f114b87f2af2c43d9b4fce968c07b3be2"),a._ff4371d7602af4ad8bb939ee8832034dc=A("ff4371d7602af4ad8bb939ee8832034dc"),a._f7700d7170cd145f8b158bf665ea23e54=A("f7700d7170cd145f8b158bf665ea23e54"),a._f6dbfce45736a427fa5b8603080d5bdd5=A("f6dbfce45736a427fa5b8603080d5bdd5"),a._fcfd097bb735347f286b7d6efaae0032d=A("fcfd097bb735347f286b7d6efaae0032d"),a._f7de9129f01524e8c8fe1020d455b0dd5=A("f7de9129f01524e8c8fe1020d455b0dd5"),a._fdbc06a1f570b482798d8beaefe6005ae=A("fdbc06a1f570b482798d8beaefe6005ae"),a._f78a09fb5198f4d83bf467c51af3497f2=A("f78a09fb5198f4d83bf467c51af3497f2"),a._fbe442fae6ffa45b6a6206b78a219bd11=A("fbe442fae6ffa45b6a6206b78a219bd11"),a._fe38f8720b31b474f81ab01a0e887b9e0=A("fe38f8720b31b474f81ab01a0e887b9e0"),a._fc8556b58773f47efa4b3beddebb34391=A("fc8556b58773f47efa4b3beddebb34391");var c1=a._malloc=A("malloc"),XD=a._free=A("free");a._memset=A("memset"),a._saveSetjmp=A("saveSetjmp"),a._fc07297f1f2a84315aca3bb860b31986c=A("fc07297f1f2a84315aca3bb860b31986c"),a._fb6676cb763cc48eeb835b90f8050ac11=A("fb6676cb763cc48eeb835b90f8050ac11"),a._f9d5e63af11384e5e9f748b90a521b312=A("f9d5e63af11384e5e9f748b90a521b312"),a._f948a468baa3241889b6081b3928d9ea2=A("f948a468baa3241889b6081b3928d9ea2"),a._fe9bb5ebdb3ee4a95a3f0cceb790b4973=A("fe9bb5ebdb3ee4a95a3f0cceb790b4973"),a._f5d39e87c2dd84a05af7400e74062dde3=A("f5d39e87c2dd84a05af7400e74062dde3"),a._f13f57100b5c342db85f51287c3910c99=A("f13f57100b5c342db85f51287c3910c99"),a._f6ca00b4d8eb74ec5b19a1992ba69d5f4=A("f6ca00b4d8eb74ec5b19a1992ba69d5f4"),a._f2a97f62a5add43d59e728b4e34028606=A("f2a97f62a5add43d59e728b4e34028606"),a._f6f063b7e856045d28c5ea169dd22fef5=A("f6f063b7e856045d28c5ea169dd22fef5"),a._f0798e7cb24bc494abd81e6405781c461=A("f0798e7cb24bc494abd81e6405781c461"),a._f543b632702cd4ee9970c7abcb98fdab4=A("f543b632702cd4ee9970c7abcb98fdab4"),a._f7d50971577054a92a60d1b947ad4c508=A("f7d50971577054a92a60d1b947ad4c508"),a._fb5969be04dd545b2a263d9edba649b9d=A("fb5969be04dd545b2a263d9edba649b9d"),a._fd33bab899b1f4d25a041733c0c819aac=A("fd33bab899b1f4d25a041733c0c819aac"),a._f8bc75d43d5c54447ae84583fb12a2c39=A("f8bc75d43d5c54447ae84583fb12a2c39"),a._f1749aaf1db734ef9bab71b3c576bbe6e=A("f1749aaf1db734ef9bab71b3c576bbe6e"),a._fc203fecac37a452899694572d0923ad5=A("fc203fecac37a452899694572d0923ad5"),a._f466a47774e3b4313b6e046a9a9255f2b=A("f466a47774e3b4313b6e046a9a9255f2b"),a._f8c1ffd34e63b4d8598b9cf87fc136efb=A("f8c1ffd34e63b4d8598b9cf87fc136efb"),a._f3c1da836876b4470ba6c435e12fd41df=A("f3c1da836876b4470ba6c435e12fd41df"),a._fe8e81708ba98459181a6de79c3f303c5=A("fe8e81708ba98459181a6de79c3f303c5"),a._f5e0e8c99c2ca42da9c01255ef2508e33=A("f5e0e8c99c2ca42da9c01255ef2508e33"),a._ff230415c0789488ca965b623051c1f6a=A("ff230415c0789488ca965b623051c1f6a"),a._fc36e91f62cd248f1bb9e8678aabe4099=A("fc36e91f62cd248f1bb9e8678aabe4099"),a._fa831e4091c6c4886b89f3ea2f333eece=A("fa831e4091c6c4886b89f3ea2f333eece"),a._fc133191229ae4673a37528bf4ac372b5=A("fc133191229ae4673a37528bf4ac372b5"),a._fe0bdb7b1eff647deae04a0ebc88ea832=A("fe0bdb7b1eff647deae04a0ebc88ea832"),a._f7882bb9a306a4a799ca1ec7eea7e0ea5=A("f7882bb9a306a4a799ca1ec7eea7e0ea5"),a._f3d1b96a7cfd4474b84967a6c35c68a7a=A("f3d1b96a7cfd4474b84967a6c35c68a7a"),a._fbec5b24fb4de4b6ebd35cd6c2322d7e5=A("fbec5b24fb4de4b6ebd35cd6c2322d7e5"),a._fd22eebc5744d4f58a8fba4e62f33f9ee=A("fd22eebc5744d4f58a8fba4e62f33f9ee"),a._fb190de0ebc3b4a539874dffe150181fe=A("fb190de0ebc3b4a539874dffe150181fe"),a._f9d64c542a2da40f89b137df3c91cd11e=A("f9d64c542a2da40f89b137df3c91cd11e"),a._fd269bade22ee4dd484ec9f04e1b3d6fc=A("fd269bade22ee4dd484ec9f04e1b3d6fc"),a._f69a3304248b24e9d845b075b02e9892e=A("f69a3304248b24e9d845b075b02e9892e"),a._f2272afa64a89431f81ac411e044f682a=A("f2272afa64a89431f81ac411e044f682a"),a._fa19a1fa3d6c14f2f94769eef0f616d63=A("fa19a1fa3d6c14f2f94769eef0f616d63"),a._f434a176bc1274b438a09a494f5c89193=A("f434a176bc1274b438a09a494f5c89193"),a._f846f3617416e45eeb9aaa9ed5024da84=A("f846f3617416e45eeb9aaa9ed5024da84"),a._ff6eaea701ab54e01a422edc0be48fd41=A("ff6eaea701ab54e01a422edc0be48fd41"),a._f3ad4d7d4c1eb431f88b52f37eda5033f=A("f3ad4d7d4c1eb431f88b52f37eda5033f"),a._f5a7320424c834853a38237c8e8f4f444=A("f5a7320424c834853a38237c8e8f4f444"),a._f18f727fb2c434713bdf5a933d34d533d=A("f18f727fb2c434713bdf5a933d34d533d"),a._f62f969e27e1a4866b697e47a31dfb537=A("f62f969e27e1a4866b697e47a31dfb537"),a._ff1273e221a9941b282d74d34c14dbd0d=A("ff1273e221a9941b282d74d34c14dbd0d"),a._f0a251e494a36438c901f56423cc517c2=A("f0a251e494a36438c901f56423cc517c2"),a._f6eba8c3e658e433b8d9a942562e0d16c=A("f6eba8c3e658e433b8d9a942562e0d16c"),a._fcf67bdd2d5024bea8a32e15c86e0404c=A("fcf67bdd2d5024bea8a32e15c86e0404c"),a._fe3a3eda94bf846ccb110d4d3e43a337b=A("fe3a3eda94bf846ccb110d4d3e43a337b"),a._faee258387f174569b8eb81648273ef72=A("faee258387f174569b8eb81648273ef72"),a._fe954cddf68574796b7dcd6355eb83440=A("fe954cddf68574796b7dcd6355eb83440"),a._f5a213cc4dff04ab3a6dd54d789a9cc51=A("f5a213cc4dff04ab3a6dd54d789a9cc51"),a._fb6f37b8d3b50467a9ee51ffe81970ad8=A("fb6f37b8d3b50467a9ee51ffe81970ad8"),a._f19072c34cca74a82874bd21f106e8209=A("f19072c34cca74a82874bd21f106e8209"),a._f45506ca209374109a7eb1fe08c094bb9=A("f45506ca209374109a7eb1fe08c094bb9"),a._f60e2a82952b24af0a7dd7d0590c7e96f=A("f60e2a82952b24af0a7dd7d0590c7e96f"),a._f82c748c1737e48c09384300d8d4631b5=A("f82c748c1737e48c09384300d8d4631b5"),a._fcd511c55571445e4b44bd9dc26304cd6=A("fcd511c55571445e4b44bd9dc26304cd6"),a._fd854007967c24463bfef498c037ae81e=A("fd854007967c24463bfef498c037ae81e"),a._fa9f665a42bcb4f3c9a24c0c04b2c459b=A("fa9f665a42bcb4f3c9a24c0c04b2c459b"),a._f31d2987179364db2ba2c16c2cb97fbb5=A("f31d2987179364db2ba2c16c2cb97fbb5"),a._f181bd1c9825c4d70a0d66b56846bdd45=A("f181bd1c9825c4d70a0d66b56846bdd45"),a._f3120c1fdafbf47278dded835858f6e7f=A("f3120c1fdafbf47278dded835858f6e7f"),a._fe0513a0e37de480cb400dae882e43e02=A("fe0513a0e37de480cb400dae882e43e02"),a._f5f2ae7b4960c4b7d9eae5c5ecb0c89d0=A("f5f2ae7b4960c4b7d9eae5c5ecb0c89d0"),a._fe6e104072c764469b6bfcbb95d85433e=A("fe6e104072c764469b6bfcbb95d85433e"),a._f844d596398de447589439a00d6d30d29=A("f844d596398de447589439a00d6d30d29"),a._fe83210d0f9434a86a55872900f07f787=A("fe83210d0f9434a86a55872900f07f787"),a._f4c9adb72e60a4b14afe245625e84e6d7=A("f4c9adb72e60a4b14afe245625e84e6d7"),a._f3fde2b57c2374bad8c4fda266a6240fa=A("f3fde2b57c2374bad8c4fda266a6240fa"),a._fa16688b4c03140a698eb41a4e8f48209=A("fa16688b4c03140a698eb41a4e8f48209"),a._fef08c8bae49d40bd8585b30127e9d54d=A("fef08c8bae49d40bd8585b30127e9d54d"),a._f61d9f74e609243bf9f81c459d08e0ed4=A("f61d9f74e609243bf9f81c459d08e0ed4"),a._f6980d236a9504efdbc3449179dff2616=A("f6980d236a9504efdbc3449179dff2616"),a._ff5ea75678fe44dbf93c1efc249ec3fbd=A("ff5ea75678fe44dbf93c1efc249ec3fbd"),a._f6dff50ce112843358b9a509f32b11ad7=A("f6dff50ce112843358b9a509f32b11ad7"),a._f03b97717d4144fbbaf87acc52e86db78=A("f03b97717d4144fbbaf87acc52e86db78"),a._f7361c093c6944bc7a53d07b54158b400=A("f7361c093c6944bc7a53d07b54158b400"),a._ffaad32801a5744c4b20ddf312d2c3a99=A("ffaad32801a5744c4b20ddf312d2c3a99"),a._fa4d0d929a6894ad0b824d6f894c6c3fc=A("fa4d0d929a6894ad0b824d6f894c6c3fc"),a._f2ef687b4062c4932930c734bd2eccc72=A("f2ef687b4062c4932930c734bd2eccc72"),a._f3d72bf4967754a7aa580a68facf8cb9d=A("f3d72bf4967754a7aa580a68facf8cb9d"),a._fcd93e499a6cb45ee849dc3bc7a53922b=A("fcd93e499a6cb45ee849dc3bc7a53922b"),a._f1ee0fbb1f4904722a5bc7f0638bbc09b=A("f1ee0fbb1f4904722a5bc7f0638bbc09b"),a._f2207816ee67e4223be1a48bca28d0554=A("f2207816ee67e4223be1a48bca28d0554"),a._f1dd5b62a4b074f669dc9a9be55dbddf8=A("f1dd5b62a4b074f669dc9a9be55dbddf8"),a._fcdbd737562704bb889c3befafb57b022=A("fcdbd737562704bb889c3befafb57b022"),a._f02df795d0021433a91318386ed69d18e=A("f02df795d0021433a91318386ed69d18e"),a._f257fa1f93b5542c5a3ee119c546e9a31=A("f257fa1f93b5542c5a3ee119c546e9a31"),a._fbf2894c7f4304a8b90baf5438e55a0d5=A("fbf2894c7f4304a8b90baf5438e55a0d5"),a._f1d9695e9373d4d14bd7e0ff627d9d947=A("f1d9695e9373d4d14bd7e0ff627d9d947"),a._fde7e37023e4a44f4aae853491c535cb8=A("fde7e37023e4a44f4aae853491c535cb8"),a._f5ac3d8c7d4ce467cb5d171e44e07e7d5=A("f5ac3d8c7d4ce467cb5d171e44e07e7d5"),a._f3fe6bb7f0e99481bbe31f5533c32822f=A("f3fe6bb7f0e99481bbe31f5533c32822f"),a._f4aadbbc3f6714eefa09455dd39a3b7fd=A("f4aadbbc3f6714eefa09455dd39a3b7fd"),a._f4ac2b3b511cf487192e30afa9af37704=A("f4ac2b3b511cf487192e30afa9af37704"),a._f8eb2df1850024d0fbce2c2da22782d3b=A("f8eb2df1850024d0fbce2c2da22782d3b"),a._fa0e32d0c2809440c866129e2976d836f=A("fa0e32d0c2809440c866129e2976d836f"),a._ff3a32ea6925a44e6a7ffd0136819621a=A("ff3a32ea6925a44e6a7ffd0136819621a"),a._f6ab88a15e4334768b7e4811bcf8cdfcd=A("f6ab88a15e4334768b7e4811bcf8cdfcd"),a._fa7105d0ed267428ab52be1d65117b80b=A("fa7105d0ed267428ab52be1d65117b80b"),a._fb91510be61c544cf864a0fe7e4594937=A("fb91510be61c544cf864a0fe7e4594937"),a._f89e7de19bb4d4acfa9e288beb2bb4a2e=A("f89e7de19bb4d4acfa9e288beb2bb4a2e"),a._fc7bc87d41e994eb584b71dfdc3ed3435=A("fc7bc87d41e994eb584b71dfdc3ed3435"),a._f380616b641cb4652b8973afa455b160c=A("f380616b641cb4652b8973afa455b160c"),a._fdce4a722b8e744e4be1a25cc1459f9ac=A("fdce4a722b8e744e4be1a25cc1459f9ac"),a._fcefffed4ba3f4f8f8aa1dd1c96cc687d=A("fcefffed4ba3f4f8f8aa1dd1c96cc687d"),a._f063a9544fff84bfe9b85310c88ac7401=A("f063a9544fff84bfe9b85310c88ac7401"),a._f960ae4094aff427ca89b9cc988d5c9fd=A("f960ae4094aff427ca89b9cc988d5c9fd"),a._f6b8d9967530c4c8da13543a9fb7ec767=A("f6b8d9967530c4c8da13543a9fb7ec767"),a._f1a98d6e24ddf4ce5a9b4b622bda6ad2d=A("f1a98d6e24ddf4ce5a9b4b622bda6ad2d");var WD=a.___errno_location=A("__errno_location");a._emscripten_main_thread_process_queued_calls=A("emscripten_main_thread_process_queued_calls");var f1=a._emscripten_stack_get_end=function(){return(f1=a._emscripten_stack_get_end=a.asm.emscripten_stack_get_end).apply(null,arguments)};a._fflush=A("fflush");var p0=a.__get_tzname=A("_get_tzname"),VD=a.__get_daylight=A("_get_daylight"),KD=a.__get_timezone=A("_get_timezone"),Nn=a.stackSave=A("stackSave"),Bn=a.stackRestore=A("stackRestore"),Al=a.stackAlloc=A("stackAlloc"),S3=a._emscripten_stack_init=function(){return(S3=a._emscripten_stack_init=a.asm.emscripten_stack_init).apply(null,arguments)};a._emscripten_stack_get_free=function(){return(a._emscripten_stack_get_free=a.asm.emscripten_stack_get_free).apply(null,arguments)};var El,ca=a._setThrew=A("setThrew");function C3(y){this.name="ExitStatus",this.message="Program terminated with exit("+y+")",this.status=y}function l1(y){function _(){El||(El=!0,a.calledRun=!0,$||(We(),W(!Ye),Ye=!0,a.noFSInit||j.init.initialized||j.init(),j.ignorePermissions=!1,jr(Ae),s(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),W(!a._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),function(){if(We(),a.postRun)for(typeof a.postRun=="function"&&(a.postRun=[a.postRun]);a.postRun.length;)P=a.postRun.shift(),_e.unshift(P);var P;jr(_e)}()))}Ge>0||(S3(),Ve(),function(){if(a.preRun)for(typeof a.preRun=="function"&&(a.preRun=[a.preRun]);a.preRun.length;)P=a.preRun.shift(),me.unshift(P);var P;jr(me)}(),Ge>0||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1),_()},1)):_(),We()))}if(a.___cxa_demangle=A("__cxa_demangle"),a._memalign=A("memalign"),a._emscripten_builtin_memalign=A("emscripten_builtin_memalign"),a._emscripten_builtin_malloc=A("emscripten_builtin_malloc"),a._emscripten_builtin_free=A("emscripten_builtin_free"),a.dynCall_ji=A("dynCall_ji"),a.dynCall_jij=A("dynCall_jij"),a.dynCall_iiiij=A("dynCall_iiiij"),a.dynCall_iij=A("dynCall_iij"),a.dynCall_iiiji=A("dynCall_iiiji"),a.dynCall_jji=A("dynCall_jji"),a.dynCall_iji=A("dynCall_iji"),a.dynCall_viijii=A("dynCall_viijii"),a.dynCall_iiji=A("dynCall_iiji"),a.dynCall_jiji=A("dynCall_jiji"),a.dynCall_iiiiij=A("dynCall_iiiiij"),a.dynCall_iiiiijj=A("dynCall_iiiiijj"),a.dynCall_iiiiiijj=A("dynCall_iiiiiijj"),a.dynCall_viji=A("dynCall_viji"),Object.getOwnPropertyDescriptor(a,"intArrayFromString")||(a.intArrayFromString=function(){b("'intArrayFromString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"intArrayToString")||(a.intArrayToString=function(){b("'intArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.ccall=Y,a.cwrap=function(y,_,P,I){return function(){return Y(y,_,P,arguments)}},Object.getOwnPropertyDescriptor(a,"setValue")||(a.setValue=function(){b("'setValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getValue")||(a.getValue=function(){b("'getValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"allocate")||(a.allocate=function(){b("'allocate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"UTF8ArrayToString")||(a.UTF8ArrayToString=function(){b("'UTF8ArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"UTF8ToString")||(a.UTF8ToString=function(){b("'UTF8ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stringToUTF8Array")||(a.stringToUTF8Array=function(){b("'stringToUTF8Array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stringToUTF8")||(a.stringToUTF8=function(){b("'stringToUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"lengthBytesUTF8")||(a.lengthBytesUTF8=function(){b("'lengthBytesUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stackTrace")||(a.stackTrace=function(){b("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"addOnPreRun")||(a.addOnPreRun=function(){b("'addOnPreRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"addOnInit")||(a.addOnInit=function(){b("'addOnInit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"addOnPreMain")||(a.addOnPreMain=function(){b("'addOnPreMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"addOnExit")||(a.addOnExit=function(){b("'addOnExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"addOnPostRun")||(a.addOnPostRun=function(){b("'addOnPostRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeStringToMemory")||(a.writeStringToMemory=function(){b("'writeStringToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeArrayToMemory")||(a.writeArrayToMemory=function(){b("'writeArrayToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeAsciiToMemory")||(a.writeAsciiToMemory=function(){b("'writeAsciiToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"addRunDependency")||(a.addRunDependency=function(){b("'addRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(a,"removeRunDependency")||(a.removeRunDependency=function(){b("'removeRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(a,"FS_createFolder")||(a.FS_createFolder=function(){b("'FS_createFolder' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"FS_createPath")||(a.FS_createPath=function(){b("'FS_createPath' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(a,"FS_createDataFile")||(a.FS_createDataFile=function(){b("'FS_createDataFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(a,"FS_createPreloadedFile")||(a.FS_createPreloadedFile=function(){b("'FS_createPreloadedFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(a,"FS_createLazyFile")||(a.FS_createLazyFile=function(){b("'FS_createLazyFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(a,"FS_createLink")||(a.FS_createLink=function(){b("'FS_createLink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"FS_createDevice")||(a.FS_createDevice=function(){b("'FS_createDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(a,"FS_unlink")||(a.FS_unlink=function(){b("'FS_unlink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(a,"getLEB")||(a.getLEB=function(){b("'getLEB' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getFunctionTables")||(a.getFunctionTables=function(){b("'getFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"alignFunctionTables")||(a.alignFunctionTables=function(){b("'alignFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerFunctions")||(a.registerFunctions=function(){b("'registerFunctions' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"addFunction")||(a.addFunction=function(){b("'addFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"removeFunction")||(a.removeFunction=function(){b("'removeFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getFuncWrapper")||(a.getFuncWrapper=function(){b("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"prettyPrint")||(a.prettyPrint=function(){b("'prettyPrint' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"dynCall")||(a.dynCall=function(){b("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getCompilerSetting")||(a.getCompilerSetting=function(){b("'getCompilerSetting' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"print")||(a.print=function(){b("'print' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"printErr")||(a.printErr=function(){b("'printErr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getTempRet0")||(a.getTempRet0=function(){b("'getTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"setTempRet0")||(a.setTempRet0=function(){b("'setTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"callMain")||(a.callMain=function(){b("'callMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"abort")||(a.abort=function(){b("'abort' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stringToNewUTF8")||(a.stringToNewUTF8=function(){b("'stringToNewUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"setFileTime")||(a.setFileTime=function(){b("'setFileTime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"emscripten_realloc_buffer")||(a.emscripten_realloc_buffer=function(){b("'emscripten_realloc_buffer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"ENV")||(a.ENV=function(){b("'ENV' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"ERRNO_CODES")||(a.ERRNO_CODES=function(){b("'ERRNO_CODES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"ERRNO_MESSAGES")||(a.ERRNO_MESSAGES=function(){b("'ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"setErrNo")||(a.setErrNo=function(){b("'setErrNo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"inetPton4")||(a.inetPton4=function(){b("'inetPton4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"inetNtop4")||(a.inetNtop4=function(){b("'inetNtop4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"inetPton6")||(a.inetPton6=function(){b("'inetPton6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"inetNtop6")||(a.inetNtop6=function(){b("'inetNtop6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"readSockaddr")||(a.readSockaddr=function(){b("'readSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeSockaddr")||(a.writeSockaddr=function(){b("'writeSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"DNS")||(a.DNS=function(){b("'DNS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getHostByName")||(a.getHostByName=function(){b("'getHostByName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"GAI_ERRNO_MESSAGES")||(a.GAI_ERRNO_MESSAGES=function(){b("'GAI_ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"Protocols")||(a.Protocols=function(){b("'Protocols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"Sockets")||(a.Sockets=function(){b("'Sockets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getRandomDevice")||(a.getRandomDevice=function(){b("'getRandomDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"traverseStack")||(a.traverseStack=function(){b("'traverseStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"UNWIND_CACHE")||(a.UNWIND_CACHE=function(){b("'UNWIND_CACHE' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"withBuiltinMalloc")||(a.withBuiltinMalloc=function(){b("'withBuiltinMalloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"readAsmConstArgsArray")||(a.readAsmConstArgsArray=function(){b("'readAsmConstArgsArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"readAsmConstArgs")||(a.readAsmConstArgs=function(){b("'readAsmConstArgs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"mainThreadEM_ASM")||(a.mainThreadEM_ASM=function(){b("'mainThreadEM_ASM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"jstoi_q")||(a.jstoi_q=function(){b("'jstoi_q' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"jstoi_s")||(a.jstoi_s=function(){b("'jstoi_s' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getExecutableName")||(a.getExecutableName=function(){b("'getExecutableName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"listenOnce")||(a.listenOnce=function(){b("'listenOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"autoResumeAudioContext")||(a.autoResumeAudioContext=function(){b("'autoResumeAudioContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"dynCallLegacy")||(a.dynCallLegacy=function(){b("'dynCallLegacy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getDynCaller")||(a.getDynCaller=function(){b("'getDynCaller' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"dynCall")||(a.dynCall=function(){b("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"callRuntimeCallbacks")||(a.callRuntimeCallbacks=function(){b("'callRuntimeCallbacks' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"runtimeKeepaliveCounter")||(a.runtimeKeepaliveCounter=function(){b("'runtimeKeepaliveCounter' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"keepRuntimeAlive")||(a.keepRuntimeAlive=function(){b("'keepRuntimeAlive' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"runtimeKeepalivePush")||(a.runtimeKeepalivePush=function(){b("'runtimeKeepalivePush' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"runtimeKeepalivePop")||(a.runtimeKeepalivePop=function(){b("'runtimeKeepalivePop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"callUserCallback")||(a.callUserCallback=function(){b("'callUserCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"maybeExit")||(a.maybeExit=function(){b("'maybeExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"asmjsMangle")||(a.asmjsMangle=function(){b("'asmjsMangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"reallyNegative")||(a.reallyNegative=function(){b("'reallyNegative' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"unSign")||(a.unSign=function(){b("'unSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"reSign")||(a.reSign=function(){b("'reSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"formatString")||(a.formatString=function(){b("'formatString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"PATH")||(a.PATH=function(){b("'PATH' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"PATH_FS")||(a.PATH_FS=function(){b("'PATH_FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"SYSCALLS")||(a.SYSCALLS=function(){b("'SYSCALLS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"syscallMmap2")||(a.syscallMmap2=function(){b("'syscallMmap2' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"syscallMunmap")||(a.syscallMunmap=function(){b("'syscallMunmap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getSocketFromFD")||(a.getSocketFromFD=function(){b("'getSocketFromFD' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getSocketAddress")||(a.getSocketAddress=function(){b("'getSocketAddress' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"JSEvents")||(a.JSEvents=function(){b("'JSEvents' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerKeyEventCallback")||(a.registerKeyEventCallback=function(){b("'registerKeyEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"specialHTMLTargets")||(a.specialHTMLTargets=function(){b("'specialHTMLTargets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"maybeCStringToJsString")||(a.maybeCStringToJsString=function(){b("'maybeCStringToJsString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"findEventTarget")||(a.findEventTarget=function(){b("'findEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"findCanvasEventTarget")||(a.findCanvasEventTarget=function(){b("'findCanvasEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getBoundingClientRect")||(a.getBoundingClientRect=function(){b("'getBoundingClientRect' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"fillMouseEventData")||(a.fillMouseEventData=function(){b("'fillMouseEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerMouseEventCallback")||(a.registerMouseEventCallback=function(){b("'registerMouseEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerWheelEventCallback")||(a.registerWheelEventCallback=function(){b("'registerWheelEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerUiEventCallback")||(a.registerUiEventCallback=function(){b("'registerUiEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerFocusEventCallback")||(a.registerFocusEventCallback=function(){b("'registerFocusEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"fillDeviceOrientationEventData")||(a.fillDeviceOrientationEventData=function(){b("'fillDeviceOrientationEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerDeviceOrientationEventCallback")||(a.registerDeviceOrientationEventCallback=function(){b("'registerDeviceOrientationEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"fillDeviceMotionEventData")||(a.fillDeviceMotionEventData=function(){b("'fillDeviceMotionEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerDeviceMotionEventCallback")||(a.registerDeviceMotionEventCallback=function(){b("'registerDeviceMotionEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"screenOrientation")||(a.screenOrientation=function(){b("'screenOrientation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"fillOrientationChangeEventData")||(a.fillOrientationChangeEventData=function(){b("'fillOrientationChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerOrientationChangeEventCallback")||(a.registerOrientationChangeEventCallback=function(){b("'registerOrientationChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"fillFullscreenChangeEventData")||(a.fillFullscreenChangeEventData=function(){b("'fillFullscreenChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerFullscreenChangeEventCallback")||(a.registerFullscreenChangeEventCallback=function(){b("'registerFullscreenChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerRestoreOldStyle")||(a.registerRestoreOldStyle=function(){b("'registerRestoreOldStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"hideEverythingExceptGivenElement")||(a.hideEverythingExceptGivenElement=function(){b("'hideEverythingExceptGivenElement' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"restoreHiddenElements")||(a.restoreHiddenElements=function(){b("'restoreHiddenElements' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"setLetterbox")||(a.setLetterbox=function(){b("'setLetterbox' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"currentFullscreenStrategy")||(a.currentFullscreenStrategy=function(){b("'currentFullscreenStrategy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"restoreOldWindowedStyle")||(a.restoreOldWindowedStyle=function(){b("'restoreOldWindowedStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"softFullscreenResizeWebGLRenderTarget")||(a.softFullscreenResizeWebGLRenderTarget=function(){b("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"doRequestFullscreen")||(a.doRequestFullscreen=function(){b("'doRequestFullscreen' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"fillPointerlockChangeEventData")||(a.fillPointerlockChangeEventData=function(){b("'fillPointerlockChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerPointerlockChangeEventCallback")||(a.registerPointerlockChangeEventCallback=function(){b("'registerPointerlockChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerPointerlockErrorEventCallback")||(a.registerPointerlockErrorEventCallback=function(){b("'registerPointerlockErrorEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"requestPointerLock")||(a.requestPointerLock=function(){b("'requestPointerLock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"fillVisibilityChangeEventData")||(a.fillVisibilityChangeEventData=function(){b("'fillVisibilityChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerVisibilityChangeEventCallback")||(a.registerVisibilityChangeEventCallback=function(){b("'registerVisibilityChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerTouchEventCallback")||(a.registerTouchEventCallback=function(){b("'registerTouchEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"fillGamepadEventData")||(a.fillGamepadEventData=function(){b("'fillGamepadEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerGamepadEventCallback")||(a.registerGamepadEventCallback=function(){b("'registerGamepadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerBeforeUnloadEventCallback")||(a.registerBeforeUnloadEventCallback=function(){b("'registerBeforeUnloadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"fillBatteryEventData")||(a.fillBatteryEventData=function(){b("'fillBatteryEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"battery")||(a.battery=function(){b("'battery' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"registerBatteryEventCallback")||(a.registerBatteryEventCallback=function(){b("'registerBatteryEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"setCanvasElementSize")||(a.setCanvasElementSize=function(){b("'setCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getCanvasElementSize")||(a.getCanvasElementSize=function(){b("'getCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"polyfillSetImmediate")||(a.polyfillSetImmediate=function(){b("'polyfillSetImmediate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"demangle")||(a.demangle=function(){b("'demangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"demangleAll")||(a.demangleAll=function(){b("'demangleAll' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"jsStackTrace")||(a.jsStackTrace=function(){b("'jsStackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stackTrace")||(a.stackTrace=function(){b("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getEnvStrings")||(a.getEnvStrings=function(){b("'getEnvStrings' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"checkWasiClock")||(a.checkWasiClock=function(){b("'checkWasiClock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeI53ToI64")||(a.writeI53ToI64=function(){b("'writeI53ToI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeI53ToI64Clamped")||(a.writeI53ToI64Clamped=function(){b("'writeI53ToI64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeI53ToI64Signaling")||(a.writeI53ToI64Signaling=function(){b("'writeI53ToI64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeI53ToU64Clamped")||(a.writeI53ToU64Clamped=function(){b("'writeI53ToU64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeI53ToU64Signaling")||(a.writeI53ToU64Signaling=function(){b("'writeI53ToU64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"readI53FromI64")||(a.readI53FromI64=function(){b("'readI53FromI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"readI53FromU64")||(a.readI53FromU64=function(){b("'readI53FromU64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"convertI32PairToI53")||(a.convertI32PairToI53=function(){b("'convertI32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"convertU32PairToI53")||(a.convertU32PairToI53=function(){b("'convertU32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"uncaughtExceptionCount")||(a.uncaughtExceptionCount=function(){b("'uncaughtExceptionCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"exceptionLast")||(a.exceptionLast=function(){b("'exceptionLast' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"exceptionCaught")||(a.exceptionCaught=function(){b("'exceptionCaught' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"ExceptionInfoAttrs")||(a.ExceptionInfoAttrs=function(){b("'ExceptionInfoAttrs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"ExceptionInfo")||(a.ExceptionInfo=function(){b("'ExceptionInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"CatchInfo")||(a.CatchInfo=function(){b("'CatchInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"exception_addRef")||(a.exception_addRef=function(){b("'exception_addRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"exception_decRef")||(a.exception_decRef=function(){b("'exception_decRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"Browser")||(a.Browser=function(){b("'Browser' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"funcWrappers")||(a.funcWrappers=function(){b("'funcWrappers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"getFuncWrapper")||(a.getFuncWrapper=function(){b("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"setMainLoop")||(a.setMainLoop=function(){b("'setMainLoop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"FS")||(a.FS=function(){b("'FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"mmapAlloc")||(a.mmapAlloc=function(){b("'mmapAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"MEMFS")||(a.MEMFS=function(){b("'MEMFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"TTY")||(a.TTY=function(){b("'TTY' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"PIPEFS")||(a.PIPEFS=function(){b("'PIPEFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"SOCKFS")||(a.SOCKFS=function(){b("'SOCKFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"_setNetworkCallback")||(a._setNetworkCallback=function(){b("'_setNetworkCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"tempFixedLengthArray")||(a.tempFixedLengthArray=function(){b("'tempFixedLengthArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"miniTempWebGLFloatBuffers")||(a.miniTempWebGLFloatBuffers=function(){b("'miniTempWebGLFloatBuffers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"heapObjectForWebGLType")||(a.heapObjectForWebGLType=function(){b("'heapObjectForWebGLType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"heapAccessShiftForWebGLHeap")||(a.heapAccessShiftForWebGLHeap=function(){b("'heapAccessShiftForWebGLHeap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"GL")||(a.GL=function(){b("'GL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"emscriptenWebGLGet")||(a.emscriptenWebGLGet=function(){b("'emscriptenWebGLGet' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"computeUnpackAlignedImageSize")||(a.computeUnpackAlignedImageSize=function(){b("'computeUnpackAlignedImageSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"emscriptenWebGLGetTexPixelData")||(a.emscriptenWebGLGetTexPixelData=function(){b("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"emscriptenWebGLGetUniform")||(a.emscriptenWebGLGetUniform=function(){b("'emscriptenWebGLGetUniform' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"webglGetUniformLocation")||(a.webglGetUniformLocation=function(){b("'webglGetUniformLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"webglPrepareUniformLocationsBeforeFirstUse")||(a.webglPrepareUniformLocationsBeforeFirstUse=function(){b("'webglPrepareUniformLocationsBeforeFirstUse' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"webglGetLeftBracePos")||(a.webglGetLeftBracePos=function(){b("'webglGetLeftBracePos' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"emscriptenWebGLGetVertexAttrib")||(a.emscriptenWebGLGetVertexAttrib=function(){b("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"writeGLArray")||(a.writeGLArray=function(){b("'writeGLArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"AL")||(a.AL=function(){b("'AL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"SDL_unicode")||(a.SDL_unicode=function(){b("'SDL_unicode' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"SDL_ttfContext")||(a.SDL_ttfContext=function(){b("'SDL_ttfContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"SDL_audio")||(a.SDL_audio=function(){b("'SDL_audio' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"SDL")||(a.SDL=function(){b("'SDL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"SDL_gfx")||(a.SDL_gfx=function(){b("'SDL_gfx' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"GLUT")||(a.GLUT=function(){b("'GLUT' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"EGL")||(a.EGL=function(){b("'EGL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"GLFW_Window")||(a.GLFW_Window=function(){b("'GLFW_Window' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"GLFW")||(a.GLFW=function(){b("'GLFW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"GLEW")||(a.GLEW=function(){b("'GLEW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"IDBStore")||(a.IDBStore=function(){b("'IDBStore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"runAndAbortIfError")||(a.runAndAbortIfError=function(){b("'runAndAbortIfError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"warnOnce")||(a.warnOnce=function(){b("'warnOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stackSave")||(a.stackSave=function(){b("'stackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stackRestore")||(a.stackRestore=function(){b("'stackRestore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stackAlloc")||(a.stackAlloc=function(){b("'stackAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"AsciiToString")||(a.AsciiToString=function(){b("'AsciiToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stringToAscii")||(a.stringToAscii=function(){b("'stringToAscii' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"UTF16ToString")||(a.UTF16ToString=function(){b("'UTF16ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stringToUTF16")||(a.stringToUTF16=function(){b("'stringToUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"lengthBytesUTF16")||(a.lengthBytesUTF16=function(){b("'lengthBytesUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"UTF32ToString")||(a.UTF32ToString=function(){b("'UTF32ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"stringToUTF32")||(a.stringToUTF32=function(){b("'stringToUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"lengthBytesUTF32")||(a.lengthBytesUTF32=function(){b("'lengthBytesUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"allocateUTF8")||(a.allocateUTF8=function(){b("'allocateUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(a,"allocateUTF8OnStack")||(a.allocateUTF8OnStack=function(){b("'allocateUTF8OnStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.writeStackCookie=Ve,a.checkStackCookie=We,Object.getOwnPropertyDescriptor(a,"ALLOC_NORMAL")||Object.defineProperty(a,"ALLOC_NORMAL",{configurable:!0,get:function(){b("'ALLOC_NORMAL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),Object.getOwnPropertyDescriptor(a,"ALLOC_STACK")||Object.defineProperty(a,"ALLOC_STACK",{configurable:!0,get:function(){b("'ALLOC_STACK' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),bt=function y(){El||l1(),El||(bt=y)},a.run=l1,a.preInit)for(typeof a.preInit=="function"&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return l1(),a.FS_createLazyFile=j.createLazyFile,r.ready});t.exports=i})(Fb);var C5=Fb.exports;function R5(){var t=Object.create(null),e=!1;return Object.defineProperty(t,"settled",{get:function(){return e}}),t.promise=new Promise(function(n,i){t.resolve=function(r){e=!0,n(r)},t.reject=function(r){e=!0,i(r)}}),t}function M5(t){return{initialized:!1,textSegment:null,t:t.cwrap("f4c9adb72e60a4b14afe245625e84e6d7","",["number"]),i:function(){if(!this.initialized){var e=t.token,n=e.length+1,i=t._malloc(n),r=Uint8Array.from([].concat(x0(new TextEncoder().encode(e)),[0]));t.HEAPU8.set(r,i),this.t(i)}},o:t.cwrap("f9d5e63af11384e5e9f748b90a521b312","number",["number","string"]),h:t.cwrap("f5d39e87c2dd84a05af7400e74062dde3","number",["number","number","string"]),g:t.cwrap("f6dff50ce112843358b9a509f32b11ad7","number",["number","number","string"]),u:t.cwrap("fa19a1fa3d6c14f2f94769eef0f616d63","number",["number","number","number","number"]),l:t.cwrap("fc36e91f62cd248f1bb9e8678aabe4099","number"),j:t.cwrap("fb5969be04dd545b2a263d9edba649b9d","number",["number"]),O:t.cwrap("ff230415c0789488ca965b623051c1f6a","",["number"]),U:t.cwrap("fc07297f1f2a84315aca3bb860b31986c"),D:t.cwrap("fe962475269ce47b9aadb60ae54f51eb5","number",["number","string","number","number"]),M:t.cwrap("fd33bab899b1f4d25a041733c0c819aac","number",["number","number"]),R:t.cwrap("f8c1ffd34e63b4d8598b9cf87fc136efb","number",["number","number"]),A:t.cwrap("f5e0e8c99c2ca42da9c01255ef2508e33","",["number"]),I:t.cwrap("f8bc75d43d5c54447ae84583fb12a2c39","number",["number"]),P:t.cwrap("fc203fecac37a452899694572d0923ad5","number",["number"]),k:t.cwrap("fcb51a3af68374fd3975e34c646d650bd","number",["number","number","number","number"]),L:t.cwrap("f5f2ae7b4960c4b7d9eae5c5ecb0c89d0","number",["number","number"]),Y:t.cwrap("f61d1cbcb6cf04c70bbf3c02b7a9b7394","number",["number"]),T:t.cwrap("f6f063b7e856045d28c5ea169dd22fef5","number",["number","number"]),S:t.cwrap("fcf67bdd2d5024bea8a32e15c86e0404c","number",["number"]),F:t.cwrap("f8cb4b3ee14b24b65a68103934568faab","number",["number"]),N:t.cwrap("f3fde2b57c2374bad8c4fda266a6240fa","number",["number"]),H:t.cwrap("f459ee6939cdd423cb97da1f9b9bc9014","number",["number"]),C:t.cwrap("fd76bdde6829842a48a9f8f410eabb629","number",["number","number","number","number","number","number"]),X:t.cwrap("fa16688b4c03140a698eb41a4e8f48209","number",["number","number","number","number"]),G:t.cwrap("fd163b7a57d32459da531b75d455d9708","number",["number","number","number"]),B:t.cwrap("f5fd10006af08404aae4d879dfbf8aa4e","number",["number","number","number","number","number","number"]),$:t.cwrap("fabc17b815bbf4e13b71e8953b4818f61","number",["number","number","number","number","number"]),W:t.cwrap("f505cdd95a92c4431b0d334d95eb5ac05","number",["number","number","number","number","number","number"]),q:t.cwrap("fe83210d0f9434a86a55872900f07f787","number",["number","number","number","number","number","number"]),V:t.cwrap("fe6e104072c764469b6bfcbb95d85433e","number",["number","number"]),K:t.cwrap("f60e2a82952b24af0a7dd7d0590c7e96f","number",["number","number","number"]),ee:t.cwrap("f844d596398de447589439a00d6d30d29","",["number","number"]),te:t.cwrap("fb6f37b8d3b50467a9ee51ffe81970ad8","number",["number","number"]),ne:t.cwrap("f19072c34cca74a82874bd21f106e8209","boolean",["number","number","number"]),ce:t.cwrap("f5a213cc4dff04ab3a6dd54d789a9cc51","number",["number","number"]),ae:t.cwrap("fe0513a0e37de480cb400dae882e43e02","number",["number","number","number"]),se:t.cwrap("f3d72bf4967754a7aa580a68facf8cb9d","number",["number","number","boolean","boolean","number","boolean","boolean","boolean","boolean","boolean"]),ie:t.cwrap("fcd93e499a6cb45ee849dc3bc7a53922b","boolean",["number"]),fe:t.cwrap("f2207816ee67e4223be1a48bca28d0554","number",["number","number"]),oe:t.cwrap("fde7e37023e4a44f4aae853491c535cb8","number",["number","number","number","number","number","boolean"]),be:t.cwrap("f3fe6bb7f0e99481bbe31f5533c32822f","number",["number","number","number","number","number","number"]),de:t.cwrap("f4aadbbc3f6714eefa09455dd39a3b7fd","number",["number","number","number","number","number","number"]),re:t.cwrap("f4ac2b3b511cf487192e30afa9af37704","number",["number","number","number","number"]),he:t.cwrap("f8eb2df1850024d0fbce2c2da22782d3b","number",["number","number","number","number"]),ge:t.cwrap("fa0e32d0c2809440c866129e2976d836f","number",["number","number","number","boolean","number"]),ue:t.cwrap("f960ae4094aff427ca89b9cc988d5c9fd","number",["number","number","number","number","number","number"]),le:t.cwrap("ffaad32801a5744c4b20ddf312d2c3a99","number",["number"]),je:t.cwrap("f2d0baaf22b31477a8cc7c4f0bb3e1619","number",["number"]),_e:t.cwrap("f9f32dfe80c534a5a8b1e69a1d5bdb4dc","number",["number"]),Oe:t.cwrap("f5ac3d8c7d4ce467cb5d171e44e07e7d5","number",["number"]),Ue:t.cwrap("f1dd5b62a4b074f669dc9a9be55dbddf8","number",["number","number"]),Ee:t.cwrap("fef08c8bae49d40bd8585b30127e9d54d","number",["number","number","number","number"]),me:t.cwrap("ff3a32ea6925a44e6a7ffd0136819621a","number",["number","number","number","number"]),we:t.cwrap("fa7105d0ed267428ab52be1d65117b80b","number",[]),De:t.cwrap("fb91510be61c544cf864a0fe7e4594937","number",["number"]),Me:t.cwrap("f89e7de19bb4d4acfa9e288beb2bb4a2e","number",["number","number","number","number","number","number"]),Re:t.cwrap("fc7bc87d41e994eb584b71dfdc3ed3435","number",["number","number","number"]),Ae:t.cwrap("fdce4a722b8e744e4be1a25cc1459f9ac","number",["number"]),Ie:t.cwrap("f6ab88a15e4334768b7e4811bcf8cdfcd","number",["number"]),Pe:t.cwrap("f1d9695e9373d4d14bd7e0ff627d9d947","number",["number"]),ke:t.cwrap("f1ee0fbb1f4904722a5bc7f0638bbc09b","number",["number"]),Le:t.cwrap("f1a98d6e24ddf4ce5a9b4b622bda6ad2d","number",["number"]),Ye:t.cwrap("f380616b641cb4652b8973afa455b160c","number",["number","number","number"]),Te:t.cwrap("fbf2894c7f4304a8b90baf5438e55a0d5","boolean",["number"]),Ze:t.cwrap("f7882bb9a306a4a799ca1ec7eea7e0ea5","number",["number","number","number","number","number"]),ve:t.cwrap("fbec5b24fb4de4b6ebd35cd6c2322d7e5","",["number","number","number","number","number","number"]),pe:t.cwrap("f3c1da836876b4470ba6c435e12fd41df","",["number","number","number","number","number","number","number","number"]),ye:t.cwrap("f69a3304248b24e9d845b075b02e9892e","",["number"]),Se:t.cwrap("f61d9f74e609243bf9f81c459d08e0ed4","",["number","number","number","number","number","number","boolean"]),Fe:t.cwrap("ff5ea75678fe44dbf93c1efc249ec3fbd","",[]),xe:t.cwrap("f6980d236a9504efdbc3449179dff2616","",["number","number","number","number","number","number","number","number","number","boolean"]),Ne:t.cwrap("fcefffed4ba3f4f8f8aa1dd1c96cc687d","",["number","number","number"]),He:t.cwrap("f063a9544fff84bfe9b85310c88ac7401","number",["number","number","number","number"]),Ce:t.cwrap("f7361c093c6944bc7a53d07b54158b400","",["number","number","number"]),Xe:t.cwrap("f03b97717d4144fbbaf87acc52e86db78","",["number"]),Qe:t.cwrap("f45506ca209374109a7eb1fe08c094bb9","number",["number","number"]),Ge:1,Be:8,$e:512,We:1024,ze:2048,qe:16,Ve:1,Ke:2,Je:3,et:4,tt:{SUCCESS:0,UNKNOWN:1,FILE:2,FORMAT:3,PASSWORD:4,SECURITY:5,PAGE:6}}}function Nb(t){return t/1024/1024}function Bb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function Yb(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Bb(Object(n),!0).forEach(function(i){Xn(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bb(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}var U5=Float64Array,T5=function(t,e,n,i){return function(r){var s=function(l,d,h){var u;switch(l){case Int8Array:u=h.HEAP8;break;case Int16Array:u=h.HEAP16;break;case Int32Array:u=h.HEAP32;break;case Uint8Array:u=h.HEAPU8;break;case Uint16Array:u=h.HEAPU16;break;case Uint32Array:u=h.HEAPU32;break;case Float32Array:u=h.HEAPF32;break;case Float64Array:u=h.HEAPF64}var g=l.BYTES_PER_ELEMENT,p=h._malloc(d*g),x=Array(1+d);x[0]={s:d,J:l,Z:g,E:u,m:p,free:function(){return h._free(p)}};for(var m=function(O){x[O+1]={p:p+O*g,get v(){return u[p/g+O]}}},w=0;w<d;w++)m(w);return x}(t,e,i),o=N3(s),a=o[0],c=o.slice(1);if(!r.apply(void 0,x0(c.map(function(l){return l.p}))))return a.free(),n;var f=c.map(function(l){return l.v});return a.free(),f}};function vi(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];n.forEach(function(r){t._free(r)})}function L5(){return function(t){var e=t.FPDF,n=t.docHandle;return e.j(n)}}function F5(t){return function(e){var n=e.module,i=e.docHandle,r=e.FPDF,s=new TextEncoder().encode(t),o=n._malloc(s.length);n.HEAPU8.set(s,o);var a=r.K(i,o,s.length);return n._free(o),a}}function N5(t){return function(e){var n=e.module,i=e.FPDF,r=e.docHandle,s=new TextEncoder().encode(t),o=n._malloc(s.length);n.HEAPU8.set(s,o);var a=i.ne(r,o,s.length);return n._free(o),a}}function B5(){return function(t){for(var e=t.module,n=t.FPDF,i=t.docHandle,r=e._malloc(4),s=n.V(i,r),o=e.HEAP32[r>>2],a=[],c=0;c<o;c++){var f={},l=s+32*c>>2;f.index=e.HEAP32[l],f.parent=e.HEAP32[l+1],f.page=e.HEAP32[l+2],f.level=e.HEAP32[l+3];var d=e.HEAP32[l+4],h=e.HEAP32[l+5],u=4*d,g=new ArrayBuffer(u);new Uint8Array(g).set(e.HEAPU8.subarray(h,h+u)),f.children=new Uint32Array(g);var p=e.HEAP32[l+6],x=e.HEAP32[l+7],m=new Uint8Array(new ArrayBuffer(p));m.set(e.HEAPU8.subarray(x,x+p)),f.title=new TextDecoder().decode(m),a.push(f)}return e._free(r),n.ee(s,o),a}}function Y5(){return function(t){var e=t.module,n=t.FPDF,i=t.docHandle,r=e._malloc(4),s=n.te(i,r),o=e.HEAP32[r>>2],a=new Uint8Array(new ArrayBuffer(o));a.set(e.HEAPU8.subarray(s,s+o));var c=new TextDecoder().decode(a);return e._free(s),e._free(r),JSON.parse(c)}}function H5(){return function(t){var e=t.module,n=t.FPDF,i=t.docHandle,r=e._malloc(4),s=n.ae(i,r,!1),o=new Uint32Array(e.HEAPU32.buffer,r,1),a=new Uint8Array(e.HEAPU8.buffer,s,o[0]),c=new Uint8Array(o[0]);return c.set(a),e._free(s),e._free(r),c}}function Z5(t){return function(e){var n=e.module,i=e.FPDF,r=e.utils.getPagePtr(t),s=n._malloc(4),o=i.ce(r,s),a=n.HEAP32[s>>2],c=new Uint8Array(n.HEAPU8.buffer,o,a),f=new TextDecoder().decode(c);return n._free(o),n._free(s),JSON.parse(f)}}var z5=[0,90,180,270];function q5(t){var e=t.page,n=t.width,i=t.height,r=t.rotation;t.annotationMode;var s=t.bytesPerPixel,o=s===void 0?4:s,a=t.layers,c=t.watermark,f=c===void 0?0:c,l=t.withoutTexts,d=l!==void 0&&l;return function(h){var u=h.module,g=h.FPDF,p=h.utils,x=h.docHandle;r=z5.indexOf(r);var m=n*i*o,w=u._malloc(m);if(a){var O=new TextEncoder().encode(JSON.stringify(a)),k=u._malloc(O.length);u.HEAPU8.set(O,k),g.xe(x,e,n,i,r,k,O.length,f,w,d),u._free(k)}else{var E=p.getPagePtr(e);g.Se(E,n,i,r,f,w,d)}var D=new Uint8ClampedArray(m);return D.set(new Uint8ClampedArray(u.HEAPU8.buffer,w,m)),u._free(w),D}}function $5(t,e){return function(n){var i=n.module,r=n.FPDF,s=n.docHandle;return T5(U5,2,[-1,-1],i)(function(o,a){return r.u(s,t,o,a)}).map(function(o){return parseInt(o)*e})}}function G5(t){return function(e){var n=e.FPDF,i=e.utils,r=e.module,s=i.getPagePtr(t),o=r._malloc(16),a=n.R(s,o),c=n.P(s),f=n.I(s),l=n.je(s),d=new Float32Array(4);return d.set(new Float32Array(r.HEAPF32.buffer,o,4)),r._free(o),l!==1&&l!==3||(c=f),a?{rotate:90*l,ref:null,userUnit:1,view:[d[0],c-d[1],d[2],c-d[3]]}:null}}function X5(){return function(t){var e=t.FPDF,n=t.docHandle,i=e._e(n);return["UseNone","UseOutlines","UseThumbs","FullScreen","UseOC","UseAttachments"][i=i===-1?0:i]}}function W5(){return function(t){for(var e=t.FPDF,n=t.docHandle,i=t.module,r=e.j(n),s=[],o=0;o<r;o+=1){var a=e.k(n,o);if(a>0){var c=i._malloc(a);e.k(n,o,c,a);var f=new Uint8Array(i.HEAPU8.buffer,c,a-2);s.push(new TextDecoder("utf-16le").decode(f)),i._free(c)}else s.push("")}return s}}function V5(){return function(t){var e=t.FPDF,n=t.docHandle,i=t.module,r=t.docPtr,s=t.docLength,o={};["Title","Author","Subject","Keywords","Creator","Producer","CreationDate","ModDate","Trapped"].forEach(function(h){var u=e.D(n,h),g=i._malloc(u);e.D(n,h,g,u);var p=new Uint8Array(i.HEAPU8.buffer,g,u-2);o[h]=h==="Trapped"?{name:new TextDecoder("utf-16le").decode(p)}:new TextDecoder("utf-16le").decode(p),i._free(g)});var a=e.L(r,s),c=e.Y(n),f=e.S(n),l=i._malloc(4),d="";return e.T(n,l)&&(d=new Int32Array(i.HEAP32.buffer,l,1)[0],d/=10,d=String(d)),i._free(l),Yb(Yb({},o),{},{IsLinearized:Boolean(a),IsSignaturesPresent:c>0,IsXFAPresent:f>0,PDFFormatVersion:d,IsCollectionPresent:!1,IsAcroFormPresent:!1,Language:null})}}function K5(t,e){return function(n){var i=n.module,r=n.FPDF,s=n.utils.getPDFluxTextPage(t),o=i._malloc(8);r.Re(s,e,o);var a=new Int32Array(2);return a.set(new Int32Array(i.HEAP32.buffer,o,2)),i._free(o),a}}function Q5(t){return function(e){var n=e.module,i=e.FPDF;t="".concat(t,"\0");var r=new TextEncoder().encode(t),s=n._malloc(r.length);n.HEAPU8.set(r,s);var o=i.Ae(s);return n._free(s),o}}function J5(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:20;return function(i){var r=i.module,s=i.FPDF,o=i.utils,a=o.getPDFluxTextPage(t),c=o.getTextSegment();if(!c)return[e,e+1];var f=r._malloc(8);s.Me(a,c,e,n,.5,f);var l=new Int32Array(2);return l.set(new Int32Array(r.HEAP32.buffer,f,2)),r._free(f),l}}function e6(t,e){return function(n){var i=n.module,r=n.FPDF,s=n.utils,o=i._malloc(8),a=i._malloc(8),c=i._malloc(8),f=i._malloc(8),l=s.getTextPtr(t),d=[];if(r.W(l,e,o,c,f,a)){var h=new Float64Array(i.HEAPF64.buffer,o,1),u=new Float64Array(i.HEAPF64.buffer,a,1),g=new Float64Array(i.HEAPF64.buffer,c,1),p=new Float64Array(i.HEAPF64.buffer,f,1);d.push(h[0],u[0],g[0],p[0]),vi(i,o,a,c,f)}return d}}function t6(t,e,n){return function(i){for(var r=i.module,s=i.FPDF,o=i.utils.getPDFluxTextPage(t),a=[],c=r._malloc(4*e*8),f=s.re(o,n,e,c),l=new Float64Array(r.HEAPF64.buffer,c,4*e),d=0;d<4*f;d+=4)a.push([l[d],l[d+1],l[d+2],l[d+3]]);return vi(r,c),a}}function n6(t,e,n){return function(i){for(var r=i.module,s=i.FPDF,o=i.utils.getPDFluxTextPage(t),a=[],c=r._malloc(4*e*8),f=s.he(o,n,e,c),l=new Float64Array(r.HEAPF64.buffer,c,4*e),d=0;d<4*f;d+=4)a.push([l[d],l[d+1],l[d+2],l[d+3]]);return vi(r,c),a}}function a6(t,e,n){var i=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return function(r){var s=r.module,o=r.FPDF,a=r.utils.getPDFluxTextPage(t),c=4*(e+1),f=s._malloc(c);o.ge(a,n,e,!0,f,i);var l=new Uint8Array(s.HEAPU8.buffer,f,c);try{var d=l.indexOf(0);return new TextDecoder("utf-8").decode(l.slice(0,d))}catch(h){return console.error(h),""}finally{vi(s,f)}}}var i6=new TextDecoder("utf-16");function r6(t,e){return function(n){var i=n.FPDF,r=n.utils,s=n.module,o=r.getPDFluxPage(t),a=vo(e,4),c=a[0],f=a[1],l=a[2],d=a[3],h=s._malloc(4),u=i.ue(o,c,f,l,d,h),g=new Int32Array(s.HEAP32.buffer,h,1)[0]||0,p=new Uint8Array(s.HEAP32.buffer,u,g),x="";return g>0&&u>0&&(x=new TextDecoder().decode(p)),x}}function s6(t,e){return function(n){var i=n.FPDF,r=n.utils,s=n.module,o=r.getTextPtr(t),a=vo(e,4),c=a[0],f=a[1],l=a[2],d=a[3],h=i.C(o,c,f,l,d),u="";if(h>0){var g=4*h,p=s._malloc(g);i.C(o,c,f,l,d,p,g);var x=new Uint8Array(s.HEAPU8.buffer,p,g);x=x.slice(0,x.byteLength/2),vi(s,p),u=i6.decode(x)}return u}}function o6(t,e,n,i,r){return function(s){var o=s.module,a=s.FPDF,c=s.utils.getPDFluxTextPage(t),f=o._malloc(8);a.be(c,e,n,i,r,f);var l=new Int32Array(2);l.set(new Int32Array(o.HEAP32.buffer,f,2)),vi(o,f);var d=vo(l,2),h=d[0],u=d[1];return h===-1&&(h=u),u===-1&&(u=h),[h,u]}}function c6(t,e,n,i,r){return function(s){var o=s.module,a=s.FPDF,c=s.utils.getPDFluxTextPage(t),f=o._malloc(8);a.de(c,f,e,n,i,r);var l=new Int32Array(2);l.set(new Int32Array(o.HEAP32.buffer,f,2)),vi(o,f);var d=vo(l,2),h=d[0],u=d[1];return h===-1&&(h=u),u===-1&&(u=h),[h,u]}}function f6(t,e,n){return function(i){var r=i.module,s=i.FPDF,o=i.utils.getPDFluxTextPage(t),a=r._malloc(4),c=s.me(o,e,n,a),f=new Int32Array(r.HEAP32.buffer,a,1),l=new Int32Array(f[0]);return f[0]>0&&l.set(new Int32Array(r.HEAP32.buffer,c,f[0])),vi(r,c,a),l}}function l6(t){return function(e){var n=e.FPDF,i=e.utils.getPDFluxTextPage(t);return n.Ie(i)}}function d6(t,e){return function(n){var i=n.module,r=n.FPDF,s=n.utils.getPDFluxTextPage(t),o=i._malloc(8);r.Ye(s,e,o);var a=new Int32Array(2);return a.set(new Int32Array(i.HEAP32.buffer,o,2)),vi(i,o),a}}function h6(t){return function(e){var n=e.utils,i=e.FPDF,r=n.getPDFluxDoc(),s=i.fe(r,t),o=i.Te(s);return i.Ue(r,t),o}}function u6(){return function(t){var e=t.module,n=e._malloc(4),i=e._export_js_get_font_list(n),r=new Uint32Array(e.HEAP32.buffer,n,4)[0],s=new Uint8Array(e.HEAP8.buffer,i,r),o=new TextDecoder().decode(s);return e._free(n),e._free(i),o}}function b6(){return function(t){var e=t.module,n=t.FPDF,i=t.docHandle,r=e._malloc(4),s=n.Fe(i,r),o=e.HEAP32[r>>2],a=new Uint8Array(new ArrayBuffer(o));a.set(e.HEAPU8.subarray(s,s+o));var c=new TextDecoder().decode(a);return e._free(s),e._free(r),JSON.parse(c)}}function fd(t,e){for(var n=0;e.HEAPU8[t+n];)n++;var i=new Uint8Array(n);i.set(e.HEAPU8.subarray(t,t+n));var r=new TextDecoder().decode(i);return e._free(t),JSON.parse(r)}function g6(t,e){return function(n){var i=n.module,r=n.FPDF,s=n.utils,o=s.getPDFluxDoc(),a=s.getPDFluxTextPage(t),c=r.Ne(o,a,e);return c?fd(c,i):null}}function p6(t){return function(e){var n=e.module,i=e.FPDF;e.utils;var r=new TextEncoder().encode(t),s=n._malloc(r.length);n.HEAPU8.set(r,s);var o=n._malloc(4),a=i.He(i.textSegment,s,r.length,o),c=n.HEAP32[o>>2],f=new Uint8Array(new ArrayBuffer(c));f.set(n.HEAPU8.subarray(a,a+c));var l=new TextDecoder().decode(f);return n._free(a),n._free(o),n._free(s),l}}function m6(t,e,n){return function(i){var r=i.module,s=i.FPDF,o=i.utils.getPagePtr(t),a=s.Ce(o,e,n),c=s.Xe(a);return c?fd(c,r):null}}function x6(t){return function(e){var n=e.FPDF,i=e.utils.getPagePtr(t);return n.le(i)}}function y6(t){return function(e){var n=e.module,i=e.FPDF,r=e.docHandle,s=i.Qe(r,t);return s?fd(s,n):null}}function w6(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(c,f){if(c){if(typeof c=="string")return Hb(c,f);var l=Object.prototype.toString.call(c).slice(8,-1);if(l==="Object"&&c.constructor&&(l=c.constructor.name),l==="Map"||l==="Set")return Array.from(c);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return Hb(c,f)}}(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(c){throw c},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,o=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var c=n.next();return o=c.done,c},e:function(c){a=!0,s=c},f:function(){try{o||n.return==null||n.return()}finally{if(a)throw s}}}}function Hb(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ld(t){var e=new XMLHttpRequest;if(e.open("GET",t,!1),e.overrideMimeType("text/plain; charset=x-user-defined"),e.send(null),e.status===200)return Array.from(e.responseText).map(function(n){return 255&n.charCodeAt(0)})}var Zb={cacheSize:5,_recentKeys:[],data:new Map,addToCache:function(t,e){if(this._recentKeys.push(t),this._recentKeys.length>this.cacheSize&&this._recentKeys.shift(),this.data.size===this.cacheSize){var n,i=w6(this.data);try{for(i.s();!(n=i.n()).done;){var r=vo(n.value,1)[0];if(!this._recentKeys.includes(r)){this.data.delete(r);break}}}catch(s){i.e(s)}finally{i.f()}}this.data.set(t,e)},readFromCache:function(t){return this.data.get(t)}},_6=new TextEncoder;function O6(t){return t.useBrowserApi?"@useBrowserApi".concat(t.path,":").concat(t.name,":80:0:").concat(t.size,":0:0:0"):"@".concat(t.path,":").concat(t.name,":80:0:").concat(t.size,":0:0:0")}function zb(t,e){return t.startsWith("useBrowserApi")?"":e.readFileSync(t)}function dd(t,e,n){var i=e._malloc(t.byteLength);e.HEAPU8.set(t,i);var r=new Uint8Array(4);return r[3]=t.length>>24&255,r[2]=t.length>>16&255,r[1]=t.length>>8&255,r[0]=t.length>>0&255,e.HEAPU8.set(r,n),i}var k6=function(){function t(){Wi(this,t)}return Vi(t,[{key:"getFontList",value:function(e,n){var i=Array.from("NODATA").map(function(r){return r.charCodeAt(0)});return dd(Uint8Array.from(i),e,n)}},{key:"getFontData",value:function(){}}]),t}(),P6=function(){function t(e){Wi(this,t),this.systemFontsData=e.systemFontsData,this.options=e}return Vi(t,[{key:"getFontHostServer",value:function(){return this.options.fontHostServer||"https://fonts.paodingai.com"}},{key:"getFontList",value:function(e,n){if(this.systemFontsData)return dd(function(o){for(var a=[],c=0;c<o.length;c+=1){var f=O6(o[c]);a.push("".concat(f,`
|
|
9
|
+
`))}return _6.encode(a.join(""))}(this.systemFontsData),e,n);var i,r=this.options.systemFontListURL||"".concat(this.getFontHostServer(),"/fonts.info");try{i=ld(r)}catch(o){console.error(o)}if(i){var s=i;return s instanceof Uint8Array||(s=Uint8Array.from(i)),dd(s,e,n)}return 0}},{key:"getFontData",value:function(e,n,i,r,s,o,a,c){var f=function(O){return new TextDecoder().decode(O)}(new Uint8Array(e.HEAP8.buffer,i,r)),l=f.replace(/^@/,""),d=Zb.readFromCache(l);if(d)e.HEAPU8.set(d,s);else{var h,u=!1;try{var g=f.startsWith("@");if(g&&this.systemFontsData){var p=this.systemFontsData.find(function(O){return O.path===l});p!=null&&p.dataBuffer?h={buffer:p.dataBuffer}:p!=null&&p.path&&(h=zb(l,n))}else if(g&&e.isDesktopEnv)if(l.includes("@")){var x=ld(l.replace("@","://"));x&&(h=Uint8Array.from(x))}else h=zb(l,n);else{var m=ld("".concat(this.getFontHostServer()).concat(l));m&&(h=Uint8Array.from(m))}}catch(O){console.error(O),u=!0,h=new Uint8Array(a)}var w=new Uint8Array(h.buffer,o,a);u||Zb.addToCache(l,w),e.HEAPU8.set(w,s)}}}]),t}();function v6(t){return t.disableExternalFont?new k6:new P6(t)}function A6(t){return v6(t)}function qb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function $b(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?qb(Object(n),!0).forEach(function(i){Xn(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qb(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function zo(t,e){(function(n,i){if(i.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function qo(t,e,n){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return n}var S0=null;typeof importScripts=="function"&&(S0=self);function E6(t,e){return function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return new Proxy(n,{get:function(o,a,c){var f=Reflect.get.apply(Reflect,arguments);if(typeof f!="function")return f;var l=function(){var d="".concat(a,"(").concat(Array.from(arguments),")");r&&r.before&&typeof r.before=="function"&&r.before(d);var h=f.bind(o).apply(void 0,arguments);return s&&"call ".concat(a,"(").concat(Array.from(arguments),") => ").concat(h),r&&r.after&&typeof r.after=="function"&&r.after(d),h};return i==="all"||Array.isArray(i)&&i.indexOf(a)>=0?l:f.bind(o)}})}(t,"all",{before:function(n){"before ".concat(n,", memory:"),"".concat(Nb(e.asm.memory.buffer.byteLength),"M")},after:function(n){"after ".concat(n,", memory:"),"".concat(Nb(e.asm.memory.buffer.byteLength),"M")}},!1)}var Gb={create:function(t){return Xi(Yn.mark(function e(){var n,i;return Yn.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,C5(t);case 2:return n=r.sent,i=M5(n),t.wasmDebug&&(i=E6(i,n)),n.FPDF=i,n.FPDF.i(),n.$docCount=0,r.abrupt("return",n);case 9:case"end":return r.stop()}},e)}))()}},j6=function(){function t(){Wi(this,t),this.commands=this.buildCommands()}return Vi(t,[{key:"buildCommands",value:function(){return(e=Object.create(null)).getPageCount=L5,e.getPageSize=$5,e.getPageInfo=G5,e.getPageMode=X5,e.getPageLabels=W5,e.getMetadata=V5,e.setDocBookmarks=F5,e.setDocAnnotations=N5,e.getDocAnnotations=Y5,e.getDocBookmarks=B5,e.saveDocument=H5,e.getPageAnnotations=Z5,e.getPageImageData=q5,e.getExpandSentenceIndexRange=K5,e.getSentenceCountInText=Q5,e.getExpandWordIndexRange=J5,e.getCharBox=e6,e.getTextRects=t6,e.getCharRects=n6,e.getTextContent=a6,e.getTextInRect=s6,e.getTextInRectWithoutLineBreak=r6,e.getCharIndexNearPoint=o6,e.getCharIndexInRect=c6,e.getNeighborIndexes=f6,e.getCharCount=l6,e.getElementBlockIndexRange=d6,e.getDocLayers=b6,e.getCharStyle=g6,e.getColorAtPoint=m6,e.getPageRotation=x6,e.getIndirectObject=y6,e.getWordSegmentation=p6,e.isScannedPage=h6,e.getFontListText=u6,e;var e}},{key:"getCommand",value:function(e){return this.commands[e]}}]),t}(),D6=function(){function t(n){Wi(this,t),Xn(this,"modules",new Set),this.factory=n}var e;return Vi(t,[{key:"distribute",value:(e=Xi(Yn.mark(function n(i){var r,s;return Yn.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(!(r=Array.from(this.modules).filter(function(a){return a.$docCount<4})).length){o.next=3;break}return o.abrupt("return",r.shift());case 3:return o.next=5,this.factory.create(i);case 5:return s=o.sent,this.modules.add(s),o.abrupt("return",s);case 8:case"end":return o.stop()}},n,this)})),function(n){return e.apply(this,arguments)})},{key:"add",value:function(n){this.modules.add(n)}}]),t}(),I6=function(){function t(e){Wi(this,t),this.page=e,this.ptr=null,this.pdfluxPtr=null}return Vi(t,[{key:"pageIndex",get:function(){return this.page.index}},{key:"doc",get:function(){return this.page.doc}},{key:"load",value:function(e){var n=e.FPDF;if(this.ptr)return this.ptr;var i=this.page.load({FPDF:n}),r=n.N(i);return this.ptr=r,r}},{key:"loadPDFluxPageText",value:function(e,n){var i=this.pdfluxPtr;if(i)return i;var r,s,o=n.module,a=n.FPDF,c=this.page.elementBlocks,f=c.flat(),l=this.page.loadPDFluxPage(n),d=0,h=0;if(f.length){r=o._malloc(8*f.length),o.HEAPF64.set(f,r/8);var u=this.page.pageBlockOutlines;if(u.length){var g=u.flat();d=o._malloc(8*g.length),o.HEAPF64.set(g,d/8),h=u.length}s=a.oe(l,r,c.length,d,h,!1)}else if(e){var p=o._malloc(4),x=a.ke(this.doc.pdfluxDoc);r=a.Le(l,p,x);var m=new Int32Array(1);m.set(new Int32Array(o.HEAP32.buffer,p,1)),s=a.oe(l,r,m[0]/4,d,h,!0)}else s=a.oe(l,0,0,d,h,!1);return this.pdfluxPtr=s,r&&o._free(r),d&&o._free(d),s}},{key:"closePdfiumTextPage",value:function(e){var n=e.FPDF;this.pdfluxPtr&&(n.Oe(this.pdfluxPtr),this.pdfluxPtr=null)}},{key:"destroy",value:function(e){this.ptr&&(this.closePdfiumTextPage(e),e.FPDF.H(this.ptr),this.ptr=null)}}]),t}(),S6=function(){function t(e,n){Wi(this,t),this.index=e,this.ptr=null,this.pdfluxPtr=null,this.doc=n,this.text=new I6(this)}return Vi(t,[{key:"pdfluxDoc",get:function(){return this.doc.pdfluxDoc}},{key:"elementBlocks",get:function(){return this.elementBlockInfos.map(function(e){return e.outline})}},{key:"elementBlockInfos",get:function(){return this.doc.getPageElementBlocks(this.index).filter(function(e){return e.type!=="PAGE_BLOCK_ITEM"})}},{key:"pageBlockOutlines",get:function(){return this.doc.getPageElementBlocks(this.index).filter(function(e){return e.type==="PAGE_BLOCK_ITEM"}).map(function(e){return e.outline})}},{key:"load",value:function(e){var n=e.FPDF;if(this.ptr)return this.ptr;var i=n.M(this.doc.handle,this.index);if(!i)throw new Error("page is not found at index ".concat(this.index));return this.ptr=i,i}},{key:"loadPDFluxPage",value:function(e){this.pdfluxDoc||this.doc.loadPDFluxDoc(e);var n=e.FPDF,i=this.pdfluxPtr;return i||(i=n.fe(this.pdfluxDoc,this.index),this.pdfluxPtr=i,i)}},{key:"closePDFluxPage",value:function(e){var n=e.FPDF;this.pdfluxPtr&&(n.Ue(this.pdfluxDoc,this.index),this.pdfluxPtr=null)}},{key:"destroy",value:function(e){this.ptr&&(this.closePDFluxPage(e),e.FPDF.A(this.ptr),this.ptr=null,this.text.destroy(e))}}]),t}(),Xb=new WeakSet,Wb=new WeakSet,C6=function(){function t(e,n){var i,r;Wi(this,t),zo(this,Wb),zo(this,Xb),Xn(this,"pages",new Map),Xn(this,"elementBlocks",new Map),Xn(this,"scannedResult",new Map),Xn(this,"length",0),this.destroyed=!1,this.ptr=null,this.handle=null,this.pdfluxDoc=null,this.sdk=n,this.isRangeSupported=e.isRangeSupported,this.messageHandler=e.messageHandler,this.enableWordSegmentation=(i=e.enableWordSegmentation)!==null&&i!==void 0&&i,this.config=$b({selectTextUseRoughElement:!0},(r=e.config)!==null&&r!==void 0?r:{}),this.length=e.data.byteLength,this.keepInvisibleText=e.keepInvisibleText,this._isLazyMode=Boolean(e.url),this._isLazyMode&&e.enableLoadLinearizedPdf&&console.warn("Conflict options, `enableLoadLinearizedPdf` will be ignored in lazyload mode!")}return Vi(t,[{key:"context",get:function(){return this.sdk.executeContexts.get(this.docId)}},{key:"pagesCount",get:function(){if(!this._pagesCount){var e=function(n){var i=n.FPDF,r=n.docHandle;return i.j(r)};this._pagesCount=e(this.context)}return this._pagesCount}},{key:"lastError",get:function(){return function(e){var n=e.l(),i=e.tt;switch(n){case i.SUCCESS:return"success";case i.UNKNOWN:return"unknown error";case i.FILE:return"file not found or could not be opened";case i.FORMAT:return"file not in PDF format or corrupted";case i.PASSWORD:return"password required or incorrect password";case i.SECURITY:return"unsupported security scheme";case i.PAGE:return"page not found or content error";default:return"unknown error"}}(this.context.FPDF)}},{key:"docId",get:function(){return this.ptr}},{key:"setDataPtr",value:function(e){var n=e.module,i=e.data;if(e.enableLoadLinearizedPdf||!this._isLazyMode){var r=n._malloc(i.byteLength);return n.HEAPU8.set(i,r),void(this.ptr=r)}this.ptr=n._malloc(10)}},{key:"setHandle",value:function(e){var n=e.module,i=e.size,r=e.enableLoadLinearizedPdf,s=e.password,o=e.url,a=e.docId;if(this._isLazyMode){var c="lazyPDF".concat(a,".pdf"),f=n.FS_createLazyFile("/",c,o,!0,!1),l="/".concat(f.name),d=n._malloc(4*l.length);return n.HEAPU8.set(new TextEncoder().encode(l),d),void(this.handle=n.FPDF.o(d,s))}this.handle=r?n.FPDF.g(this.ptr,i,s):n.FPDF.h(this.ptr,i,s)}},{key:"setElementBlock",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];this.elementBlocks.set(e,n),this.cleanPage(e)}},{key:"getPageElementBlocks",value:function(e){return this.elementBlocks.get(e)||[]}},{key:"setConfigItem",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.selectTextUseRoughElement!==void 0&&e.selectTextUseRoughElement!==this.config.selectTextUseRoughElement&&this.clearPDFluxTextPages(),Object.assign(this.config,e)}},{key:"executeCommand",value:function(e){var n=qo(this,Wb,M6).call(this,e);if(n!==void 0)return n;var i=this.sdk.executeCommand($b({docId:this.docId},e));return qo(this,Xb,R6).call(this,e,i),i}},{key:"destroy",value:function(){this.destroyed=!0;var e=this.context;this.cleanPages(e),this.clearPDFluxDoc(e),e.module._free(this.ptr),e.module.$docCount-=1,e.FPDF.O(this.handle),this.sdk.handleDocDestroy(this.docId)}},{key:"loadTextSegment",value:function(e){if(e&&(this.getChars=e),this.enableWordSegmentation){var n=this.context,i=n.FPDF,r=n.module;if(i.textSegment)return i.textSegment;if(this.getChars){var s=this.getChars(),o=r._malloc(s.length);r.HEAPU8.set(s,o),i.textSegment=i.we(o),r._free(o)}return i.textSegment}}},{key:"clearTextSegment",value:function(e){var n=e.FPDF;n.textSegment&&(n.De(n.textSegment),n.textSegment=null)}},{key:"loadPDFluxDoc",value:function(e){var n=e.docHandle,i=e.keepInvisibleText,r=e.FPDF;this.pdfluxDoc=r.se(n,0,!1,!1,0,!1,!0,!1,!1,i)}},{key:"clearPDFluxDoc",value:function(e){var n=e.FPDF;this.pdfluxDoc&&(n.ie(this.pdfluxDoc),this.pdfluxDoc=null)}},{key:"clearPDFluxTextPages",value:function(e){this.pages.forEach(function(n){n.closePDFluxPage(e)})}},{key:"loadPage",value:function(e){var n=this.pages.get(e);return n||(n=new S6(e,this),this.pages.set(e,n),n)}},{key:"cleanPage",value:function(e){var n=this.pages.get(e);if(n){var i=this.context;return n.destroy(i),this.pages.delete(e),!0}return!1}},{key:"cleanPages",value:function(e){this.pages.forEach(function(n){n.destroy(e)}),this.pages.clear()}}]),t}();function R6(t,e){var n=t.name,i=t.args;if(n==="isScannedPage"){var r=i[0];this.scannedResult.set(r,e)}}function M6(t){var e=t.name,n=t.args;if(e==="isScannedPage"){var i=n[0];if(this.scannedResult.has(i))return this.scannedResult.get(i)}}var Vb=new WeakSet,Kb=new WeakSet,Qb=new WeakSet,U6=function(){function t(){Wi(this,t),zo(this,Qb),zo(this,Kb),zo(this,Vb),Xn(this,"factory",Gb),Xn(this,"executeContexts",new Map),Xn(this,"commandsManager",new j6),Xn(this,"modules",new Map),Xn(this,"docs",new Map),Xn(this,"distributor",new D6(Gb)),Xn(this,"commandStacks",[]),Xn(this,"loadingCapability",null)}var e;return Vi(t,[{key:"loadDocument",value:(e=Xi(Yn.mark(function n(i){var r,s,o,a,c;return Yn.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(!this.loadingCapability){f.next=3;break}return f.next=3,this.loadingCapability.promise;case 3:return r=R5(),s=new C6(i,this),f.prev=5,f.next=8,qo(this,Qb,F6).call(this,i.moduleOptions);case 8:o=f.sent,this.loadingCapability=r,o.$docCount+=1,s.setDataPtr({module:o,data:i.data,enableLoadLinearizedPdf:i.enableLoadLinearizedPdf}),this.modules.set(s.ptr,o),this.docs.set(s.ptr,s),this.setupModule(o),s.setHandle({module:o,size:i.data.byteLength,enableLoadLinearizedPdf:i.enableLoadLinearizedPdf,password:i.password||"",url:i.url||"",docId:i._docId}),f.next=22;break;case 18:throw f.prev=18,f.t0=f.catch(5),r.reject(f.t0),f.t0;case 22:return a=s.ptr,c=qo(this,Vb,T6).call(this,s,o),this.executeContexts.set(a,c),r.resolve(s),this.loadingCapability=null,f.abrupt("return",s);case 28:case"end":return f.stop()}},n,this,[[5,18]])})),function(n){return e.apply(this,arguments)})},{key:"hasLoadedModules",value:function(){return this.distributor.modules.size>0}},{key:"setupModule",value:function(n){var i=this;if(!n.setRangeData){n.setRangeData=function(o,a,c){var f=i.docs.get(o);if(f){var l=f.isRangeSupported,d=f.messageHandler;if(l){var h=n.getRangeData(d,{start:a,end:a+c});n.HEAPU8.set(h,f.ptr+a)}}};var r=n.fontUtils;if(!r){var s={disableExternalFont:n.disableExternalFont,isDesktopEnv:n.isDesktopEnv};S0&&(s.systemFontListURL=S0.systemFontListURL||"",s.fontHostServer=S0.fontHostServer||""),r=A6(s)}n.getExternalFontList=function(o){return function(a){return r.getFontList.call(r,o,a)}},n.getExternalFontData=function(o,a){return function(c,f,l,d,h,u){return r.getFontData.call(r,o,a,c,f,l,d,h,u)}}}}},{key:"executeCommand",value:function(n){if(this.commandStacks.length>0)throw new Error("Nested command call is forbidden!");var i,r=n.name,s=n.getCommand,o=n.docId,a=n.args;i=r?this.commandsManager.getCommand(r).apply(void 0,x0(a)):s();var c=this.executeContexts.get(o);try{return this.commandStacks.push(n),i(c)}finally{this.commandStacks.shift()}}},{key:"getMemorySize",value:function(n){var i;return(i=n.asm.memory.buffer.byteLength)!==null&&i!==void 0?i:0}},{key:"handleDocDestroy",value:function(n){this.executeContexts.delete(n),this.docs.delete(n),this.modules.delete(n)}}]),t}();function T6(t,e){var n=this,i=t.docId,r=t.handle,s=t.ptr,o=t.length,a=t.keepInvisibleText,c=qo(this,Kb,L6).call(this,i);return{module:e,FPDF:e.FPDF,docPtr:s,docLength:o,docHandle:r,utils:c,keepInvisibleText:a,commandExecutor:{execute:function(f){var l=f.getCommand;return n.executeCommand({docId:i,getCommand:l})}}}}function L6(t){var e=this;return{getPagePtr:function(n){var i=e.executeContexts.get(t);return e.docs.get(t).loadPage(n).load(i)},getTextPtr:function(n){var i=e.executeContexts.get(t);return e.docs.get(t).loadPage(n).text.load(i)},getPDFluxPage:function(n){var i=e.executeContexts.get(t);return e.docs.get(t).loadPage(n).loadPDFluxPage(i)},getPDFluxTextPage:function(n){var i=e.executeContexts.get(t),r=e.docs.get(t),s=r.loadPage(n,i),o=r.config.selectTextUseRoughElement;return s.text.loadPDFluxPageText(o,i)},getElementBlocks:function(){},getTextSegment:function(){return e.docs.get(t).loadTextSegment()},getPDFluxDoc:function(){var n=e.executeContexts.get(t),i=e.docs.get(t);return i.pdfluxDoc||i.loadPDFluxDoc(n),i.pdfluxDoc}}}function F6(t){return Jb.apply(this,arguments)}function Jb(){return(Jb=Xi(Yn.mark(function t(e){var n;return Yn.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,this.distributor.distribute(e);case 2:return n=i.sent,i.abrupt("return",n);case 4:case"end":return i.stop()}},t,this)}))).apply(this,arguments)}function e2(t){return t2.apply(this,arguments)}function t2(){return(t2=Xi(Yn.mark(function t(e){var n,i;return Yn.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,fetch(e);case 2:if(!(n=r.sent).ok){r.next=8;break}return r.next=6,n.arrayBuffer();case 6:return i=r.sent,r.abrupt("return",S5.inflate(i));case 8:return r.abrupt("return",null);case 9:case"end":return r.stop()}},t)}))).apply(this,arguments)}var Lr=new U6,Fr=null;function n2(t){return a2.apply(this,arguments)}function a2(){return(a2=Xi(Yn.mark(function t(e){return Yn.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(Fr){n.next=4;break}return n.next=3,e2(e);case 3:Fr=n.sent;case 4:return n.abrupt("return",Fr);case 5:case"end":return n.stop()}},t)}))).apply(this,arguments)}var N6=0,B6={loadDocument:function(t){var e=this;return Xi(Yn.mark(function n(){return Yn.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(i.prev=0,!(t.locateFile&&t.locateFile().includes(".wasm.gz"))){i.next=8;break}return i.next=5,n2(t.locateFile());case 5:Fr=i.sent,t.wasmBinary=Fr,delete t.locateFile;case 8:return t._docId=e.docId,i.abrupt("return",Lr.loadDocument(t));case 12:i.prev=12,i.t0=i.catch(0),i.t0;case 15:case"end":return i.stop()}},n,null,[[0,12]])}))()},get docId(){return N6+=1},preloadWasmModule:function(t){return Xi(Yn.mark(function e(){var n;return Yn.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(Lr.hasLoadedModules()){i.next=12;break}if(!(t.locateFile&&t.locateFile().includes(".wasm.gz"))){i.next=8;break}return i.next=5,n2(t.locateFile());case 5:Fr=i.sent,t.wasmBinary=Fr,delete t.locateFile;case 8:return i.next=10,Lr.factory.create(t);case 10:return n=i.sent,i.abrupt("return",Lr.distributor.add(n));case 12:case"end":return i.stop()}},e)}))()},destroy:function(){Lr.distributor.modules.clear(),Lr.modules.clear(),x0(Lr.docs.values()).forEach(function(t){t.destroy()})}};const Y6=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser"),Nr=[.001,0,0,.001,0,0],Ai=1.35,C0=.35,i2=C0/Ai,Vn={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256},r2="pdfjs_internal_editor_",ci={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15,POPUP:16,SIGNATURE:101,COMMENT:102},s2={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},o2={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},_n={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},gn={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},hd={GROUP:"Group",REPLY:"R"},Tt={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},$a={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},Cs={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},c2={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},H6={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},Z6={O:"PageOpen",C:"PageClose"},$o={ERRORS:0,WARNINGS:1,INFOS:5},M={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93,rawFillPath:94},fn={moveTo:0,lineTo:1,curveTo:2,closePath:3},f2={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let R0=$o.WARNINGS;function l2(t){Number.isInteger(t)&&(R0=t)}function z6(){return R0}function st(t){R0>=$o.INFOS&&`${t}`}function L(t){R0>=$o.WARNINGS&&`${t}`}function ht(t){throw new Error(t)}function On(t,e){t||ht(e)}function q6(t){switch(t?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function M0(t,e=null,n=null){if(!t)return null;if(n&&typeof t=="string"&&(n.addDefaultProtocol&&t.startsWith("www.")&&t.match(/\./g)?.length>=2&&(t=`http://${t}`),n.tryConvertEncoding))try{t=Wo(t)}catch{}const i=e?URL.parse(t,e):URL.parse(t);return q6(i)?i:null}function ge(t,e,n,i=!1){return Object.defineProperty(t,e,{value:n,enumerable:!i,configurable:!0,writable:!1}),n}const Kn=function(){function e(n,i){this.message=n,this.name=i}return e.prototype=new Error,e.constructor=e,e}();class Go extends Kn{constructor(e,n){super(e,"PasswordException"),this.code=n}}class ud extends Kn{constructor(e,n){super(e,"UnknownErrorException"),this.details=n}}class Xo extends Kn{constructor(e){super(e,"InvalidPDFException")}}class d2 extends Kn{constructor(e,n,i){super(e,"ResponseException"),this.status=n,this.missing=i}}class re extends Kn{constructor(e){super(e,"FormatError")}}class In extends Kn{constructor(e){super(e,"AbortException")}}function la(t){(typeof t!="object"||t?.length===void 0)&&ht("Invalid argument for bytesToString");const e=t.length,n=8192;if(e<n)return String.fromCharCode.apply(null,t);const i=[];for(let r=0;r<e;r+=n){const s=Math.min(r+n,e),o=t.subarray(r,s);i.push(String.fromCharCode.apply(null,o))}return i.join("")}function Sn(t){typeof t!="string"&&ht("Invalid argument for stringToBytes");const e=t.length,n=new Uint8Array(e);for(let i=0;i<e;++i)n[i]=t.charCodeAt(i)&255;return n}function Cn(t){return String.fromCharCode(t>>24&255,t>>16&255,t>>8&255,t&255)}function bd(t){return Object.keys(t).length}function $6(){const t=new Uint8Array(4);return t[0]=1,new Uint32Array(t.buffer,0,1)[0]===1}function G6(){try{return new Function(""),!0}catch{return!1}}class da{static get isLittleEndian(){return ge(this,"isLittleEndian",$6())}static get isEvalSupported(){return ge(this,"isEvalSupported",G6())}static get isOffscreenCanvasSupported(){return ge(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get isImageDecoderSupported(){return ge(this,"isImageDecoderSupported",typeof ImageDecoder<"u")}static get platform(){const{platform:e,userAgent:n}=navigator;return ge(this,"platform",{isAndroid:n.includes("Android"),isLinux:e.includes("Linux"),isMac:e.includes("Mac"),isWindows:e.includes("Win"),isFirefox:n.includes("Firefox")})}static get isCSSRoundSupported(){return ge(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}const Rs=Array.from(Array(256).keys(),t=>t.toString(16).padStart(2,"0"));class wt{static makeHexColor(e,n,i){return`#${Rs[e]}${Rs[n]}${Rs[i]}`}static domMatrixToTransform(e){return[e.a,e.b,e.c,e.d,e.e,e.f]}static scaleMinMax(e,n){let i;e[0]?(e[0]<0&&(i=n[0],n[0]=n[2],n[2]=i),n[0]*=e[0],n[2]*=e[0],e[3]<0&&(i=n[1],n[1]=n[3],n[3]=i),n[1]*=e[3],n[3]*=e[3]):(i=n[0],n[0]=n[1],n[1]=i,i=n[2],n[2]=n[3],n[3]=i,e[1]<0&&(i=n[1],n[1]=n[3],n[3]=i),n[1]*=e[1],n[3]*=e[1],e[2]<0&&(i=n[0],n[0]=n[2],n[2]=i),n[0]*=e[2],n[2]*=e[2]),n[0]+=e[4],n[1]+=e[5],n[2]+=e[4],n[3]+=e[5]}static transform(e,n){return[e[0]*n[0]+e[2]*n[1],e[1]*n[0]+e[3]*n[1],e[0]*n[2]+e[2]*n[3],e[1]*n[2]+e[3]*n[3],e[0]*n[4]+e[2]*n[5]+e[4],e[1]*n[4]+e[3]*n[5]+e[5]]}static multiplyByDOMMatrix(e,n){return[e[0]*n.a+e[2]*n.b,e[1]*n.a+e[3]*n.b,e[0]*n.c+e[2]*n.d,e[1]*n.c+e[3]*n.d,e[0]*n.e+e[2]*n.f+e[4],e[1]*n.e+e[3]*n.f+e[5]]}static applyTransform(e,n,i=0){const r=e[i],s=e[i+1];e[i]=r*n[0]+s*n[2]+n[4],e[i+1]=r*n[1]+s*n[3]+n[5]}static applyTransformToBezier(e,n,i=0){const r=n[0],s=n[1],o=n[2],a=n[3],c=n[4],f=n[5];for(let l=0;l<6;l+=2){const d=e[i+l],h=e[i+l+1];e[i+l]=d*r+h*o+c,e[i+l+1]=d*s+h*a+f}}static applyInverseTransform(e,n){const i=e[0],r=e[1],s=n[0]*n[3]-n[1]*n[2];e[0]=(i*n[3]-r*n[2]+n[2]*n[5]-n[4]*n[3])/s,e[1]=(-i*n[1]+r*n[0]+n[4]*n[1]-n[5]*n[0])/s}static axialAlignedBoundingBox(e,n,i){const r=n[0],s=n[1],o=n[2],a=n[3],c=n[4],f=n[5],l=e[0],d=e[1],h=e[2],u=e[3];let g=r*l+c,p=g,x=r*h+c,m=x,w=a*d+f,O=w,k=a*u+f,E=k;if(s!==0||o!==0){const D=s*l,v=s*h,S=o*d,C=o*u;g+=S,m+=S,x+=C,p+=C,w+=D,E+=D,k+=v,O+=v}i[0]=Math.min(i[0],g,x,p,m),i[1]=Math.min(i[1],w,k,O,E),i[2]=Math.max(i[2],g,x,p,m),i[3]=Math.max(i[3],w,k,O,E)}static inverseTransform(e){const n=e[0]*e[3]-e[1]*e[2];return[e[3]/n,-e[1]/n,-e[2]/n,e[0]/n,(e[2]*e[5]-e[4]*e[3])/n,(e[4]*e[1]-e[5]*e[0])/n]}static singularValueDecompose2dScale(e,n){const i=e[0],r=e[1],s=e[2],o=e[3],a=i**2+r**2,c=i*s+r*o,f=s**2+o**2,l=(a+f)/2,d=Math.sqrt(l**2-(a*f-c**2));n[0]=Math.sqrt(l+d||1),n[1]=Math.sqrt(l-d||1)}static normalizeRect(e){const n=e.slice(0);return e[0]>e[2]&&(n[0]=e[2],n[2]=e[0]),e[1]>e[3]&&(n[1]=e[3],n[3]=e[1]),n}static intersect(e,n){const i=Math.max(Math.min(e[0],e[2]),Math.min(n[0],n[2])),r=Math.min(Math.max(e[0],e[2]),Math.max(n[0],n[2]));if(i>r)return null;const s=Math.max(Math.min(e[1],e[3]),Math.min(n[1],n[3])),o=Math.min(Math.max(e[1],e[3]),Math.max(n[1],n[3]));return s>o?null:[i,s,r,o]}static pointBoundingBox(e,n,i){i[0]=Math.min(i[0],e),i[1]=Math.min(i[1],n),i[2]=Math.max(i[2],e),i[3]=Math.max(i[3],n)}static rectBoundingBox(e,n,i,r,s){s[0]=Math.min(s[0],e,i),s[1]=Math.min(s[1],n,r),s[2]=Math.max(s[2],e,i),s[3]=Math.max(s[3],n,r)}static#e(e,n,i,r,s,o,a,c,f,l){if(f<=0||f>=1)return;const d=1-f,h=f*f,u=h*f,g=d*(d*(d*e+3*f*n)+3*h*i)+u*r,p=d*(d*(d*s+3*f*o)+3*h*a)+u*c;l[0]=Math.min(l[0],g),l[1]=Math.min(l[1],p),l[2]=Math.max(l[2],g),l[3]=Math.max(l[3],p)}static#t(e,n,i,r,s,o,a,c,f,l,d,h){if(Math.abs(f)<1e-12){Math.abs(l)>=1e-12&&this.#e(e,n,i,r,s,o,a,c,-d/l,h);return}const u=l**2-4*d*f;if(u<0)return;const g=Math.sqrt(u),p=2*f;this.#e(e,n,i,r,s,o,a,c,(-l+g)/p,h),this.#e(e,n,i,r,s,o,a,c,(-l-g)/p,h)}static bezierBoundingBox(e,n,i,r,s,o,a,c,f){f[0]=Math.min(f[0],e,a),f[1]=Math.min(f[1],n,c),f[2]=Math.max(f[2],e,a),f[3]=Math.max(f[3],n,c),this.#t(e,i,s,a,n,r,o,c,3*(-e+3*(i-s)+a),6*(e-2*i+s),3*(i-e),f),this.#t(e,i,s,a,n,r,o,c,3*(-n+3*(r-o)+c),6*(n-2*r+o),3*(r-n),f)}}const X6=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function mt(t,e=!1){if(t[0]>="ï"){let i;if(t[0]==="þ"&&t[1]==="ÿ"?(i="utf-16be",t.length%2===1&&(t=t.slice(0,-1))):t[0]==="ÿ"&&t[1]==="þ"?(i="utf-16le",t.length%2===1&&(t=t.slice(0,-1))):t[0]==="ï"&&t[1]==="»"&&t[2]==="¿"&&(i="utf-8"),i)try{const r=new TextDecoder(i,{fatal:!0}),s=Sn(t),o=r.decode(s);return e||!o.includes("\x1B")?o:o.replaceAll(/\x1b[^\x1b]*(?:\x1b|$)/g,"")}catch(r){L(`stringToPDFString: "${r}".`)}}const n=[];for(let i=0,r=t.length;i<r;i++){const s=t.charCodeAt(i);if(!e&&s===27){for(;++i<r&&t.charCodeAt(i)!==27;);continue}const o=X6[s];n.push(o?String.fromCharCode(o):t.charAt(i))}return n.join("")}function Wo(t){return decodeURIComponent(escape(t))}function gd(t){return unescape(encodeURIComponent(t))}function Vo(t,e){if(t.length!==e.length)return!1;for(let n=0,i=t.length;n<i;n++)if(t[n]!==e[n])return!1;return!0}function Br(t=new Date){return t instanceof Date||(t=new Date(t)),[t.getUTCFullYear().toString(),(t.getUTCMonth()+1).toString().padStart(2,"0"),t.getUTCDate().toString().padStart(2,"0"),t.getUTCHours().toString().padStart(2,"0"),t.getUTCMinutes().toString().padStart(2,"0"),t.getUTCSeconds().toString().padStart(2,"0")].join("")}let pd=null,h2=null;function W6(t){return pd||(pd=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,h2=new Map([["ſt","ſt"]])),t.replaceAll(pd,(e,n,i)=>n?n.normalize("NFKC"):h2.get(i))}const V6="pdfjs_internal_id_";function K6(t,e,n){if(!Array.isArray(n)||n.length<2)return!1;const[i,r,...s]=n;if(!t(i)&&!Number.isInteger(i)||!e(r))return!1;const o=s.length;let a=!0;switch(r.name){case"XYZ":if(o<2||o>3)return!1;break;case"Fit":case"FitB":return o===0;case"FitH":case"FitBH":case"FitV":case"FitBV":if(o>1)return!1;break;case"FitR":if(o!==4)return!1;a=!1;break;default:return!1}for(const c of s)if(!(typeof c=="number"||a&&c===null))return!1;return!0}function kn(t,e,n){return Math.min(Math.max(t,e),n)}function u2(t){return Uint8Array.prototype.toHex?t.toHex():Array.from(t,e=>Rs[e]).join("")}function Q6(t){return Uint8Array.fromBase64?Uint8Array.fromBase64(t):Sn(atob(t))}typeof Promise.try!="function"&&(Promise.try=function(t,...e){return new Promise(n=>{n(t(...e))})}),typeof Math.sumPrecise!="function"&&(Math.sumPrecise=function(t){return t.reduce((e,n)=>e+n,0)});const J6=Symbol("CIRCULAR_REF"),Pn=Symbol("EOF");let b2=Object.create(null),g2=Object.create(null),U0=Object.create(null);function ep(){b2=Object.create(null),g2=Object.create(null),U0=Object.create(null)}class le{constructor(e){this.name=e}static get(e){return g2[e]||=new le(e)}}class cn{constructor(e){this.cmd=e}static get(e){return b2[e]||=new cn(e)}}const p2=function(){return p2};class q{constructor(e=null){this._map=new Map,this.xref=e,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=p2}assignXref(e){this.xref=e}get size(){return this._map.size}get(e,n,i){let r=this._map.get(e);return r===void 0&&n!==void 0&&(r=this._map.get(n),r===void 0&&i!==void 0&&(r=this._map.get(i))),r instanceof ke&&this.xref?this.xref.fetch(r,this.suppressEncryption):r}async getAsync(e,n,i){let r=this._map.get(e);return r===void 0&&n!==void 0&&(r=this._map.get(n),r===void 0&&i!==void 0&&(r=this._map.get(i))),r instanceof ke&&this.xref?this.xref.fetchAsync(r,this.suppressEncryption):r}getArray(e,n,i){let r=this._map.get(e);if(r===void 0&&n!==void 0&&(r=this._map.get(n),r===void 0&&i!==void 0&&(r=this._map.get(i))),r instanceof ke&&this.xref&&(r=this.xref.fetch(r,this.suppressEncryption)),Array.isArray(r)){r=r.slice();for(let s=0,o=r.length;s<o;s++)r[s]instanceof ke&&this.xref&&(r[s]=this.xref.fetch(r[s],this.suppressEncryption))}return r}getRaw(e){return this._map.get(e)}getKeys(){return[...this._map.keys()]}getRawValues(){return[...this._map.values()]}set(e,n){this._map.set(e,n)}setIfNotExists(e,n){this.has(e)||this.set(e,n)}setIfNumber(e,n){typeof n=="number"&&this.set(e,n)}setIfArray(e,n){(Array.isArray(n)||ArrayBuffer.isView(n))&&this.set(e,n)}setIfDefined(e,n){n!=null&&this.set(e,n)}setIfName(e,n){typeof n=="string"?this.set(e,le.get(n)):n instanceof le&&this.set(e,n)}has(e){return this._map.has(e)}*[Symbol.iterator](){for(const[e,n]of this._map)yield[e,n instanceof ke&&this.xref?this.xref.fetch(n,this.suppressEncryption):n]}static get empty(){const e=new q(null);return e.set=(n,i)=>{ht("Should not call `set` on the empty dictionary.")},ge(this,"empty",e)}static merge({xref:e,dictArray:n,mergeSubDicts:i=!1}){const r=new q(e),s=new Map;for(const o of n)if(o instanceof q)for(const[a,c]of o._map){let f=s.get(a);if(f===void 0)f=[],s.set(a,f);else if(!i||!(c instanceof q))continue;f.push(c)}for(const[o,a]of s){if(a.length===1||!(a[0]instanceof q)){r._map.set(o,a[0]);continue}const c=new q(e);for(const f of a)for(const[l,d]of f._map)c._map.has(l)||c._map.set(l,d);c.size>0&&r._map.set(o,c)}return s.clear(),r.size>0?r:q.empty}clone(){const e=new q(this.xref);for(const n of this.getKeys())e.set(n,this.getRaw(n));return e}delete(e){delete this._map[e]}}class ke{constructor(e,n){this.num=e,this.gen=n}toString(){return this.gen===0?`${this.num}R`:`${this.num}R${this.gen}`}static fromString(e){const n=U0[e];if(n)return n;const i=/^(\d+)R(\d*)$/.exec(e);return!i||i[1]==="0"?null:U0[e]=new ke(parseInt(i[1]),i[2]?parseInt(i[2]):0)}static get(e,n){const i=n===0?`${e}R`:`${e}R${n}`;return U0[i]||=new ke(e,n)}}class tn{constructor(e=null){this._set=new Set(e?._set)}has(e){return this._set.has(e.toString())}put(e){this._set.add(e.toString())}remove(e){this._set.delete(e.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}class ha{constructor(){this._map=new Map}get size(){return this._map.size}get(e){return this._map.get(e.toString())}has(e){return this._map.has(e.toString())}put(e,n){this._map.set(e.toString(),n)}putAlias(e,n){this._map.set(e.toString(),this.get(n))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}*values(){yield*this._map.values()}*items(){for(const[e,n]of this._map)yield[ke.fromString(e),n]}}function zt(t,e){return t instanceof le&&(e===void 0||t.name===e)}function pn(t,e){return t instanceof cn&&(e===void 0||t.cmd===e)}function m2(t,e){return t instanceof q&&(e===void 0||zt(t.get("Type"),e))}function T0(t,e){return t.num===e.num&&t.gen===e.gen}class at{get length(){ht("Abstract getter `length` accessed")}get isEmpty(){ht("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return ge(this,"isDataLoaded",!0)}getByte(){ht("Abstract method `getByte` called")}getBytes(e){ht("Abstract method `getBytes` called")}async getImageData(e,n){return this.getBytes(e,n)}async asyncGetBytes(){ht("Abstract method `asyncGetBytes` called")}get isAsync(){return!1}get isAsyncDecoder(){return!1}get canAsyncDecodeImageFromBuffer(){return!1}async getTransferableImage(){return null}peekByte(){const e=this.getByte();return e!==-1&&this.pos--,e}peekBytes(e){const n=this.getBytes(e);return this.pos-=n.length,n}getUint16(){const e=this.getByte(),n=this.getByte();return e===-1||n===-1?-1:(e<<8)+n}getInt32(){const e=this.getByte(),n=this.getByte(),i=this.getByte(),r=this.getByte();return(e<<24)+(n<<16)+(i<<8)+r}getByteRange(e,n){ht("Abstract method `getByteRange` called")}getString(e){return la(this.getBytes(e))}skip(e){this.pos+=e||1}reset(){ht("Abstract method `reset` called")}moveStart(){ht("Abstract method `moveStart` called")}makeSubStream(e,n,i=null){ht("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}const x2=/^[1-9]\.\d$/,md=2**31-1,tp=-(2**31),Ga=[1,0,0,1,0,0],xd=["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"],yd=["ExtGState","Font","Properties","XObject"];function Nt(t){let e;return function(){return t&&(e=Object.create(null),t(e),t=null),e}}class Ut extends Kn{constructor(e,n){super(`Missing data [${e}, ${n})`,"MissingDataException"),this.begin=e,this.end=n}}class wd extends Kn{constructor(e){super(e,"ParserEOFException")}}class nr extends Kn{constructor(e){super(e,"XRefEntryException")}}class Ms extends Kn{constructor(e){super(e,"XRefParseException")}}function y2(t){const e=t.length;if(e===0)return new Uint8Array(0);if(e===1)return new Uint8Array(t[0]);let n=0;for(let s=0;s<e;s++)n+=t[s].byteLength;const i=new Uint8Array(n);let r=0;for(let s=0;s<e;s++){const o=new Uint8Array(t[s]);i.set(o,r),r+=o.byteLength}return i}async function _d(t){const e=await fetch(t);if(!e.ok)throw new Error(`Failed to fetch file "${t}" with "${e.statusText}".`);return new Uint8Array(await e.arrayBuffer())}function Ra({dict:t,key:e,getArray:n=!1,stopWhenFound:i=!0}){let r;const s=new tn;for(;t instanceof q&&!(t.objId&&s.has(t.objId));){t.objId&&s.put(t.objId);const o=n?t.getArray(e):t.get(e);if(o!==void 0){if(i)return o;(r||=[]).push(o)}t=t.get("Parent")}return r}function np(t,e,n){const i=new tn,r=t,s={dict:null,ref:null};for(;t instanceof q&&!i.has(e)&&(i.put(e),!t.has("T"));){if(e=t.getRaw("Parent"),!(e instanceof ke))return s;t=n.fetch(e)}return t instanceof q&&t!==r&&(s.dict=t,s.ref=e),s}const Od=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function ap(t,e=!1){On(Number.isInteger(t)&&t>0,"The number should be a positive integer.");const n="M".repeat(t/1e3|0)+Od[t%1e3/100|0]+Od[10+(t%100/10|0)]+Od[20+t%10];return e?n.toLowerCase():n}function kd(t){return t>0?Math.ceil(Math.log2(t)):0}function fi(t,e){return t[e]<<24>>24}function Ei(t,e){return(t[e]<<24|t[e+1]<<16)>>16}function ft(t,e){return t[e]<<8|t[e+1]}function jt(t,e){return(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}function wa(t){return t===32||t===9||t===13||t===10}function ip(t,e){return Array.isArray(t)&&(e===null||t.length===e)&&t.every(n=>typeof n=="boolean")}function Qn(t,e){return Array.isArray(t)?(e===null||t.length===e)&&t.every(n=>typeof n=="number"):ArrayBuffer.isView(t)&&!(t instanceof BigInt64Array||t instanceof BigUint64Array)&&(e===null||t.length===e)}function ar(t,e){return Qn(t,6)?t:e}function Pd(t,e){return Qn(t,4)?t:e}function ji(t,e){return Qn(t,4)?wt.normalizeRect(t):e}function w2(t){const e=/(.+)\[(\d+)\]$/;return t.split(".").map(n=>{const i=n.match(e);return i?{name:i[1],pos:parseInt(i[2],10)}:{name:n,pos:0}})}function vd(t){const e=[];let n=0;for(let i=0,r=t.length;i<r;i++){const s=t.charCodeAt(i);(s<33||s>126||s===35||s===40||s===41||s===60||s===62||s===91||s===93||s===123||s===125||s===47||s===37)&&(n<i&&e.push(t.substring(n,i)),e.push(`#${s.toString(16)}`),n=i+1)}return e.length===0?t:(n<t.length&&e.push(t.substring(n,t.length)),e.join(""))}function Us(t){return t.replaceAll(/([()\\\n\r])/g,e=>e===`
|
|
10
|
+
`?"\\n":e==="\r"?"\\r":`\\${e}`)}function L0(t,e,n,i){if(!t)return;let r=null;if(t instanceof ke){if(i.has(t))return;r=t,i.put(r),t=e.fetch(t)}if(Array.isArray(t))for(const s of t)L0(s,e,n,i);else if(t instanceof q){if(zt(t.get("S"),"JavaScript")){const s=t.get("JS");let o;s instanceof at?o=s.getString():typeof s=="string"&&(o=s),o&&=mt(o,!0).replaceAll("\0",""),o&&n.push(o.trim())}L0(t.getRaw("Next"),e,n,i)}r&&i.remove(r)}function F0(t,e,n){const i=Object.create(null),r=Ra({dict:e,key:"AA",stopWhenFound:!1});if(r)for(let s=r.length-1;s>=0;s--){const o=r[s];if(o instanceof q)for(const a of o.getKeys()){const c=n[a];if(!c)continue;const f=o.getRaw(a),l=new tn,d=[];L0(f,t,d,l),d.length>0&&(i[c]=d)}}if(e.has("A")){const s=e.get("A"),o=new tn,a=[];L0(s,t,a,o),a.length>0&&(i.Action=a)}return bd(i)>0?i:null}const rp={60:"<",62:">",38:"&",34:""",39:"'"};function*sp(t){for(let e=0,n=t.length;e<n;e++){const i=t.codePointAt(e);i>55295&&(i<57344||i>65533)&&e++,yield i}}function Ts(t){const e=[];let n=0;for(let i=0,r=t.length;i<r;i++){const s=t.codePointAt(i);if(32<=s&&s<=126){const o=rp[s];o&&(n<i&&e.push(t.substring(n,i)),e.push(o),n=i+1)}else n<i&&e.push(t.substring(n,i)),e.push(`&#x${s.toString(16).toUpperCase()};`),s>55295&&(s<57344||s>65533)&&i++,n=i+1}return e.length===0?t:(n<t.length&&e.push(t.substring(n,t.length)),e.join(""))}function Ad(t,e=!1){const n=/^("|').*("|')$/.exec(t);if(n&&n[1]===n[2]){if(new RegExp(`[^\\\\]${n[1]}`).test(t.slice(1,-1)))return e&&L(`FontFamily contains unescaped ${n[1]}: ${t}.`),!1}else for(const i of t.split(/[ \t]+/))if(/^(\d|(-(\d|-)))/.test(i)||!/^[\w-\\]+$/.test(i))return e&&L(`FontFamily contains invalid <custom-ident>: ${t}.`),!1;return!0}function op(t){const e="14",n="400",i=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),{fontFamily:r,fontWeight:s,italicAngle:o}=t;if(!Ad(r,!0))return!1;const a=s?s.toString():"";t.fontWeight=i.has(a)?a:n;const c=parseFloat(o);return t.italicAngle=isNaN(c)||c<-90||c>90?e:o.toString(),!0}function _2(t){const e=["app.launchURL","window.open","xfa.host.gotoURL"],i=new RegExp("^\\s*("+e.join("|").replaceAll(".","\\.")+`)\\((?:'|")([^'"]*)(?:'|")(?:,\\s*(\\w+)\\)|\\))`,"i").exec(t);return i?.[2]?{url:i[2],newWindow:i[1]==="app.launchURL"&&i[3]==="true"}:null}function ut(t){if(Number.isInteger(t))return t.toString();const e=Math.round(t*100);return e%100===0?(e/100).toString():e%10===0?t.toFixed(1):t.toFixed(2)}function O2(t){if(!t)return null;const e=new Map;for(const[n,i]of t){if(!n.startsWith(r2))continue;let r=e.get(i.pageIndex);r||(r=[],e.set(i.pageIndex,r)),r.push(i)}return e.size>0?e:null}function _a(t){return t==null||cp(t)?t:k2(t,!0)}function cp(t){return typeof t!="string"?!1:!t||/^[\x00-\x7F]*$/.test(t)}function fp(t){const e=[];for(let n=0,i=t.length;n<i;n++){const r=t.charCodeAt(n);e.push(Rs[r>>8&255],Rs[r&255])}return e.join("")}function k2(t,e=!1){const n=[];e&&n.push("þÿ");for(let i=0,r=t.length;i<r;i++){const s=t.charCodeAt(i);n.push(String.fromCharCode(s>>8&255),String.fromCharCode(s&255))}return n.join("")}function N0(t,e,n){switch(t){case 90:return[0,1,-1,0,e,0];case 180:return[-1,0,0,-1,e,n];case 270:return[0,-1,1,0,0,n];default:throw new Error("Invalid rotation")}}function P2(t){return Math.ceil(Math.ceil(Math.log2(1+t))/8)}class vn{static#e=null;static _memory=null;static _mustAddAlpha=!1;static _destBuffer=null;static _destOffset=0;static _destLength=0;static _cssColor="";static _makeHexColor=null;static get _memoryArray(){const e=this.#e;return e?.byteLength?e:this.#e=new Uint8Array(this._memory.buffer)}}function lp(t,e){const{_mustAddAlpha:n,_destBuffer:i,_destOffset:r,_destLength:s,_memoryArray:o}=vn;if(e===s){i.set(o.subarray(t,t+e),r);return}if(n)for(let a=t,c=t+e,f=r;a<c;a+=3,f+=4)i[f]=o[a],i[f+1]=o[a+1],i[f+2]=o[a+2],i[f+3]=255;else for(let a=t,c=t+e,f=r;a<c;a+=3,f+=4)i[f]=o[a],i[f+1]=o[a+1],i[f+2]=o[a+2]}function dp(t){const{_destBuffer:e,_destOffset:n,_memoryArray:i}=vn;e[n]=i[t],e[n+1]=i[t+1],e[n+2]=i[t+2]}function hp(t){const{_memoryArray:e}=vn;vn._cssColor=vn._makeHexColor(e[t],e[t+1],e[t+2])}let Jn;const v2=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&v2.decode();let Ko=null;function A2(){return(Ko===null||Ko.byteLength===0)&&(Ko=new Uint8Array(Jn.memory.buffer)),Ko}function up(t,e){return t=t>>>0,v2.decode(A2().subarray(t,t+e))}let Ed=0;function E2(t,e){const n=e(t.length*1,1)>>>0;return A2().set(t,n/1),Ed=t.length,n}function bp(t,e){const n=E2(e,Jn.__wbindgen_malloc),i=Ed;Jn.qcms_convert_array(t,n,i)}function gp(t,e,n){Jn.qcms_convert_one(t,e,n)}function pp(t,e,n,i,r){Jn.qcms_convert_three(t,e,n,i,r)}function mp(t,e,n,i,r,s){Jn.qcms_convert_four(t,e,n,i,r,s)}function xp(t,e,n){const i=E2(t,Jn.__wbindgen_malloc),r=Ed;return Jn.qcms_transformer_from_memory(i,r,e,n)>>>0}function yp(t){Jn.qcms_drop_transformer(t)}const jd=Object.freeze({RGB8:0,0:"RGB8",RGBA8:1,1:"RGBA8",BGRA8:2,2:"BGRA8",Gray8:3,3:"Gray8",GrayA8:4,4:"GrayA8",CMYK:5,5:"CMYK"}),wp=Object.freeze({Perceptual:0,0:"Perceptual",RelativeColorimetric:1,1:"RelativeColorimetric",Saturation:2,2:"Saturation",AbsoluteColorimetric:3,3:"AbsoluteColorimetric"});function _p(){const t={};return t.wbg={},t.wbg.__wbg_copyresult_b08ee7d273f295dd=function(e,n){lp(e>>>0,n>>>0)},t.wbg.__wbg_copyrgb_d60ce17bb05d9b67=function(e){dp(e>>>0)},t.wbg.__wbg_makecssRGB_893bf0cd9fdb302d=function(e){hp(e>>>0)},t.wbg.__wbindgen_init_externref_table=function(){const e=Jn.__wbindgen_export_0,n=e.grow(4);e.set(0,void 0),e.set(n+0,void 0),e.set(n+1,null),e.set(n+2,!0),e.set(n+3,!1)},t.wbg.__wbindgen_throw=function(e,n){throw new Error(up(e,n))},t}function Op(t,e){return Jn=t.exports,Ko=null,Jn.__wbindgen_start(),Jn}function kp(t){if(Jn!==void 0)return Jn;typeof t<"u"&&(Object.getPrototypeOf(t)===Object.prototype?{module:t}=t:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const e=_p();t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t));const n=new WebAssembly.Instance(t,e);return Op(n)}function Pp(t,e,n,i,r,s,o){o=o!==1?0:o;const c=n/r,f=i/s;let l=0,d;const h=new Uint16Array(r),u=n*3;for(let g=0;g<r;g++)h[g]=Math.floor(g*c)*3;for(let g=0;g<s;g++){const p=Math.floor(g*f)*u;for(let x=0;x<r;x++)d=p+h[x],e[l++]=t[d++],e[l++]=t[d++],e[l++]=t[d++],l+=o}}function vp(t,e,n,i,r,s,o){const a=n/r,c=i/s;let f=0;const l=new Uint16Array(r);if(o===1){for(let g=0;g<r;g++)l[g]=Math.floor(g*a);const d=new Uint32Array(t.buffer),h=new Uint32Array(e.buffer),u=da.isLittleEndian?16777215:4294967040;for(let g=0;g<s;g++){const p=d.subarray(Math.floor(g*c)*n);for(let x=0;x<r;x++)h[f++]|=p[l[x]]&u}}else{const h=n*4;for(let u=0;u<r;u++)l[u]=Math.floor(u*a)*4;for(let u=0;u<s;u++){const g=t.subarray(Math.floor(u*c)*h);for(let p=0;p<r;p++){const x=l[p];e[f++]=g[x],e[f++]=g[x+1],e[f++]=g[x+2]}}}}function Ap(t,e,n){if(n===1){const i=new Uint32Array(t.buffer),r=new Uint32Array(e.buffer),s=da.isLittleEndian?16777215:4294967040;for(let o=0,a=i.length;o<a;o++)r[o]|=i[o]&s}else{let i=0;for(let r=0,s=t.length;r<s;r+=4)e[i++]=t[r],e[i++]=t[r+1],e[i++]=t[r+2]}}class An{static#e=new Uint8ClampedArray(3);constructor(e,n){this.name=e,this.numComps=n}getRgb(e,n,i=new Uint8ClampedArray(3)){return this.getRgbItem(e,n,i,0),i}getRgbHex(e,n){const i=this.getRgb(e,n,An.#e);return wt.makeHexColor(i[0],i[1],i[2])}getRgbItem(e,n,i,r){ht("Should not call ColorSpace.getRgbItem")}getRgbBuffer(e,n,i,r,s,o,a){ht("Should not call ColorSpace.getRgbBuffer")}getOutputLength(e,n){ht("Should not call ColorSpace.getOutputLength")}isPassthrough(e){return!1}isDefaultDecode(e,n){return An.isDefaultDecode(e,this.numComps)}fillRgb(e,n,i,r,s,o,a,c,f){const l=n*i;let d=null;const h=1<<a,u=i!==s||n!==r;if(this.isPassthrough(a))d=c;else if(this.numComps===1&&l>h&&this.name!=="DeviceGray"&&this.name!=="DeviceRGB"){const g=a<=8?new Uint8Array(h):new Uint16Array(h);for(let x=0;x<h;x++)g[x]=x;const p=new Uint8ClampedArray(h*3);if(this.getRgbBuffer(g,0,h,p,0,a,0),u){d=new Uint8Array(l*3);let x=0;for(let m=0;m<l;++m){const w=c[m]*3;d[x++]=p[w],d[x++]=p[w+1],d[x++]=p[w+2]}}else{let x=0;for(let m=0;m<l;++m){const w=c[m]*3;e[x++]=p[w],e[x++]=p[w+1],e[x++]=p[w+2],x+=f}}}else u?(d=new Uint8ClampedArray(l*3),this.getRgbBuffer(c,0,l,d,0,a,0)):this.getRgbBuffer(c,0,r*o,e,0,a,f);if(d)if(u)Pp(d,e,n,i,r,s,f);else{let g=0,p=0;for(let x=0,m=r*o;x<m;x++)e[g++]=d[p++],e[g++]=d[p++],e[g++]=d[p++],g+=f}}get usesZeroToOneRange(){return ge(this,"usesZeroToOneRange",!0)}static isDefaultDecode(e,n){if(!Array.isArray(e))return!0;if(n*2!==e.length)return L("The decode map is not the correct length"),!0;for(let i=0,r=e.length;i<r;i+=2)if(e[i]!==0||e[i+1]!==1)return!1;return!0}}class Ep extends An{constructor(e,n,i){super("Alternate",e),this.base=n,this.tintFn=i,this.tmpBuf=new Float32Array(n.numComps)}getRgbItem(e,n,i,r){const s=this.tmpBuf;this.tintFn(e,n,s,0),this.base.getRgbItem(s,0,i,r)}getRgbBuffer(e,n,i,r,s,o,a){const c=this.tintFn,f=this.base,l=1/((1<<o)-1),d=f.numComps,h=f.usesZeroToOneRange,u=(f.isPassthrough(8)||!h)&&a===0;let g=u?s:0;const p=u?r:new Uint8ClampedArray(d*i),x=this.numComps,m=new Float32Array(x),w=new Float32Array(d);let O,k;for(O=0;O<i;O++){for(k=0;k<x;k++)m[k]=e[n++]*l;if(c(m,0,w,0),h)for(k=0;k<d;k++)p[g++]=w[k]*255;else f.getRgbItem(w,0,p,g),g+=d}u||f.getRgbBuffer(p,0,i,r,s,8,a)}getOutputLength(e,n){return this.base.getOutputLength(e*this.base.numComps/this.numComps,n)}}class j2 extends An{constructor(e){super("Pattern",null),this.base=e}isDefaultDecode(e,n){ht("Should not call PatternCS.isDefaultDecode")}}class jp extends An{constructor(e,n,i){super("Indexed",1),this.base=e,this.highVal=n;const r=e.numComps*(n+1);if(this.lookup=new Uint8Array(r),i instanceof at){const s=i.getBytes(r);this.lookup.set(s)}else if(typeof i=="string")for(let s=0;s<r;++s)this.lookup[s]=i.charCodeAt(s)&255;else throw new re(`IndexedCS - unrecognized lookup table: ${i}`)}getRgbItem(e,n,i,r){const{base:s,highVal:o,lookup:a}=this,c=kn(Math.round(e[n]),0,o)*s.numComps;s.getRgbBuffer(a,c,1,i,r,8,0)}getRgbBuffer(e,n,i,r,s,o,a){const{base:c,highVal:f,lookup:l}=this,{numComps:d}=c,h=c.getOutputLength(d,a);for(let u=0;u<i;++u){const g=kn(Math.round(e[n++]),0,f)*d;c.getRgbBuffer(l,g,1,r,s,8,a),s+=h}}getOutputLength(e,n){return this.base.getOutputLength(e*this.base.numComps,n)}isDefaultDecode(e,n){return Array.isArray(e)?e.length!==2?(L("Decode map length is not correct"),!0):!Number.isInteger(n)||n<1?(L("Bits per component is not correct"),!0):e[0]===0&&e[1]===(1<<n)-1:!0}}class Dp extends An{constructor(){super("DeviceGray",1)}getRgbItem(e,n,i,r){const s=e[n]*255;i[r]=i[r+1]=i[r+2]=s}getRgbBuffer(e,n,i,r,s,o,a){const c=255/((1<<o)-1);let f=n,l=s;for(let d=0;d<i;++d){const h=c*e[f++];r[l++]=h,r[l++]=h,r[l++]=h,l+=a}}getOutputLength(e,n){return e*(3+n)}}class Ip extends An{constructor(){super("DeviceRGB",3)}getRgbItem(e,n,i,r){i[r]=e[n]*255,i[r+1]=e[n+1]*255,i[r+2]=e[n+2]*255}getRgbBuffer(e,n,i,r,s,o,a){if(o===8&&a===0){r.set(e.subarray(n,n+i*3),s);return}const c=255/((1<<o)-1);let f=n,l=s;for(let d=0;d<i;++d)r[l++]=c*e[f++],r[l++]=c*e[f++],r[l++]=c*e[f++],l+=a}getOutputLength(e,n){return e*(3+n)/3|0}isPassthrough(e){return e===8}}class Sp extends An{constructor(){super("DeviceRGBA",4)}getOutputLength(e,n){return e*4}isPassthrough(e){return e===8}fillRgb(e,n,i,r,s,o,a,c,f){i!==s||n!==r?vp(c,e,n,i,r,s,f):Ap(c,e,f)}}class D2 extends An{constructor(){super("DeviceCMYK",4)}#e(e,n,i,r,s){const o=e[n]*i,a=e[n+1]*i,c=e[n+2]*i,f=e[n+3]*i;r[s]=255+o*(-4.387332384609988*o+54.48615194189176*a+18.82290502165302*c+212.25662451639585*f+-285.2331026137004)+a*(1.7149763477362134*a-5.6096736904047315*c+-17.873870861415444*f-5.497006427196366)+c*(-2.5217340131683033*c-21.248923337353073*f+17.5119270841813)+f*(-21.86122147463605*f-189.48180835922747),r[s+1]=255+o*(8.841041422036149*o+60.118027045597366*a+6.871425592049007*c+31.159100130055922*f+-79.2970844816548)+a*(-15.310361306967817*a+17.575251261109482*c+131.35250912493976*f-190.9453302588951)+c*(4.444339102852739*c+9.8632861493405*f-24.86741582555878)+f*(-20.737325471181034*f-187.80453709719578),r[s+2]=255+o*(.8842522430003296*o+8.078677503112928*a+30.89978309703729*c-.23883238689178934*f+-14.183576799673286)+a*(10.49593273432072*a+63.02378494754052*c+50.606957656360734*f-112.23884253719248)+c*(.03296041114873217*c+115.60384449646641*f+-193.58209356861505)+f*(-22.33816807309886*f-180.12613974708367)}getRgbItem(e,n,i,r){this.#e(e,n,1,i,r)}getRgbBuffer(e,n,i,r,s,o,a){const c=1/((1<<o)-1);for(let f=0;f<i;f++)this.#e(e,n,c,r,s),n+=4,s+=3+a}getOutputLength(e,n){return e/4*(3+n)|0}}class Cp extends An{constructor(e,n,i){if(super("CalGray",1),!e)throw new re("WhitePoint missing - required for color space CalGray");if([this.XW,this.YW,this.ZW]=e,[this.XB,this.YB,this.ZB]=n||[0,0,0],this.G=i||1,this.XW<0||this.ZW<0||this.YW!==1)throw new re(`Invalid WhitePoint components for ${this.name}, no fallback available`);(this.XB<0||this.YB<0||this.ZB<0)&&(st(`Invalid BlackPoint for ${this.name}, falling back to default.`),this.XB=this.YB=this.ZB=0),(this.XB!==0||this.YB!==0||this.ZB!==0)&&L(`${this.name}, BlackPoint: XB: ${this.XB}, YB: ${this.YB}, ZB: ${this.ZB}, only default values are supported.`),this.G<1&&(st(`Invalid Gamma: ${this.G} for ${this.name}, falling back to default.`),this.G=1)}#e(e,n,i,r,s){const a=(e[n]*s)**this.G,c=this.YW*a,f=Math.max(295.8*c**.3333333333333333-40.8,0);i[r]=f,i[r+1]=f,i[r+2]=f}getRgbItem(e,n,i,r){this.#e(e,n,i,r,1)}getRgbBuffer(e,n,i,r,s,o,a){const c=1/((1<<o)-1);for(let f=0;f<i;++f)this.#e(e,n,r,s,c),n+=1,s+=3+a}getOutputLength(e,n){return e*(3+n)}}class Hn extends An{static#e=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]);static#t=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]);static#n=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]);static#a=new Float32Array([1,1,1]);static#i=new Float32Array(3);static#s=new Float32Array(3);static#o=new Float32Array(3);static#r=((8+16)/116)**3/8;constructor(e,n,i,r){if(super("CalRGB",3),!e)throw new re("WhitePoint missing - required for color space CalRGB");const[s,o,a]=this.whitePoint=e,[c,f,l]=this.blackPoint=n||new Float32Array(3);if([this.GR,this.GG,this.GB]=i||new Float32Array([1,1,1]),[this.MXA,this.MYA,this.MZA,this.MXB,this.MYB,this.MZB,this.MXC,this.MYC,this.MZC]=r||new Float32Array([1,0,0,0,1,0,0,0,1]),s<0||a<0||o!==1)throw new re(`Invalid WhitePoint components for ${this.name}, no fallback available`);(c<0||f<0||l<0)&&(st(`Invalid BlackPoint for ${this.name} [${c}, ${f}, ${l}], falling back to default.`),this.blackPoint=new Float32Array(3)),(this.GR<0||this.GG<0||this.GB<0)&&(st(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ${this.name}, falling back to default.`),this.GR=this.GG=this.GB=1)}#c(e,n,i){i[0]=e[0]*n[0]+e[1]*n[1]+e[2]*n[2],i[1]=e[3]*n[0]+e[4]*n[1]+e[5]*n[2],i[2]=e[6]*n[0]+e[7]*n[1]+e[8]*n[2]}#f(e,n,i){i[0]=n[0]*1/e[0],i[1]=n[1]*1/e[1],i[2]=n[2]*1/e[2]}#l(e,n,i){i[0]=n[0]*.95047/e[0],i[1]=n[1]*1/e[1],i[2]=n[2]*1.08883/e[2]}#h(e){return e<=.0031308?kn(12.92*e,0,1):e>=.99554525?1:kn((1+.055)*e**(1/2.4)-.055,0,1)}#d(e){return e<0?-this.#d(-e):e>8?((e+16)/116)**3:e*Hn.#r}#b(e,n,i){if(e[0]===0&&e[1]===0&&e[2]===0){i[0]=n[0],i[1]=n[1],i[2]=n[2];return}const r=this.#d(0),s=r,o=this.#d(e[0]),a=r,c=this.#d(e[1]),f=r,l=this.#d(e[2]),d=(1-s)/(1-o),h=1-d,u=(1-a)/(1-c),g=1-u,p=(1-f)/(1-l),x=1-p;i[0]=n[0]*d+h,i[1]=n[1]*u+g,i[2]=n[2]*p+x}#g(e,n,i){if(e[0]===1&&e[2]===1){i[0]=n[0],i[1]=n[1],i[2]=n[2];return}const r=i;this.#c(Hn.#e,n,r);const s=Hn.#i;this.#f(e,r,s),this.#c(Hn.#t,s,i)}#p(e,n,i){const r=i;this.#c(Hn.#e,n,r);const s=Hn.#i;this.#l(e,r,s),this.#c(Hn.#t,s,i)}#u(e,n,i,r,s){const o=kn(e[n]*s,0,1),a=kn(e[n+1]*s,0,1),c=kn(e[n+2]*s,0,1),f=o===1?1:o**this.GR,l=a===1?1:a**this.GG,d=c===1?1:c**this.GB,h=this.MXA*f+this.MXB*l+this.MXC*d,u=this.MYA*f+this.MYB*l+this.MYC*d,g=this.MZA*f+this.MZB*l+this.MZC*d,p=Hn.#s;p[0]=h,p[1]=u,p[2]=g;const x=Hn.#o;this.#g(this.whitePoint,p,x);const m=Hn.#s;this.#b(this.blackPoint,x,m);const w=Hn.#o;this.#p(Hn.#a,m,w);const O=Hn.#s;this.#c(Hn.#n,w,O),i[r]=this.#h(O[0])*255,i[r+1]=this.#h(O[1])*255,i[r+2]=this.#h(O[2])*255}getRgbItem(e,n,i,r){this.#u(e,n,i,r,1)}getRgbBuffer(e,n,i,r,s,o,a){const c=1/((1<<o)-1);for(let f=0;f<i;++f)this.#u(e,n,r,s,c),n+=3,s+=3+a}getOutputLength(e,n){return e*(3+n)/3|0}}class Rp extends An{constructor(e,n,i){if(super("Lab",3),!e)throw new re("WhitePoint missing - required for color space Lab");if([this.XW,this.YW,this.ZW]=e,[this.amin,this.amax,this.bmin,this.bmax]=i||[-100,100,-100,100],[this.XB,this.YB,this.ZB]=n||[0,0,0],this.XW<0||this.ZW<0||this.YW!==1)throw new re("Invalid WhitePoint components, no fallback available");(this.XB<0||this.YB<0||this.ZB<0)&&(st("Invalid BlackPoint, falling back to default"),this.XB=this.YB=this.ZB=0),(this.amin>this.amax||this.bmin>this.bmax)&&(st("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}#e(e){return e>=6/29?e**3:108/841*(e-4/29)}#t(e,n,i,r){return i+e*(r-i)/n}#n(e,n,i,r,s){let o=e[n],a=e[n+1],c=e[n+2];i!==!1&&(o=this.#t(o,i,0,100),a=this.#t(a,i,this.amin,this.amax),c=this.#t(c,i,this.bmin,this.bmax)),a>this.amax?a=this.amax:a<this.amin&&(a=this.amin),c>this.bmax?c=this.bmax:c<this.bmin&&(c=this.bmin);const f=(o+16)/116,l=f+a/500,d=f-c/200,h=this.XW*this.#e(l),u=this.YW*this.#e(f),g=this.ZW*this.#e(d);let p,x,m;this.ZW<1?(p=h*3.1339+u*-1.617+g*-.4906,x=h*-.9785+u*1.916+g*.0333,m=h*.072+u*-.229+g*1.4057):(p=h*3.2406+u*-1.5372+g*-.4986,x=h*-.9689+u*1.8758+g*.0415,m=h*.0557+u*-.204+g*1.057),r[s]=Math.sqrt(p)*255,r[s+1]=Math.sqrt(x)*255,r[s+2]=Math.sqrt(m)*255}getRgbItem(e,n,i,r){this.#n(e,n,!1,i,r)}getRgbBuffer(e,n,i,r,s,o,a){const c=(1<<o)-1;for(let f=0;f<i;f++)this.#n(e,n,c,r,s),n+=3,s+=3+a}getOutputLength(e,n){return e*(3+n)/3|0}isDefaultDecode(e,n){return!0}get usesZeroToOneRange(){return ge(this,"usesZeroToOneRange",!1)}}function I2(t){const e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),e.response}class Di extends An{#e;#t;static#n=!0;static#a=null;static#i=null;constructor(e,n,i){if(!Di.isUsable)throw new Error("No ICC color space support");super(n,i);let r;switch(i){case 1:r=jd.Gray8,this.#t=(s,o,a)=>gp(this.#e,s[o]*255,a);break;case 3:r=jd.RGB8,this.#t=(s,o,a)=>pp(this.#e,s[o]*255,s[o+1]*255,s[o+2]*255,a);break;case 4:r=jd.CMYK,this.#t=(s,o,a)=>mp(this.#e,s[o]*255,s[o+1]*255,s[o+2]*255,s[o+3]*255,a);break;default:throw new Error(`Unsupported number of components: ${i}`)}if(this.#e=xp(e,r,wp.Perceptual),!this.#e)throw new Error("Failed to create ICC color space");Di.#i||=new FinalizationRegistry(s=>{yp(s)}),Di.#i.register(this,this.#e)}getRgbHex(e,n){return this.#t(e,n,!0),vn._cssColor}getRgbItem(e,n,i,r){vn._destBuffer=i,vn._destOffset=r,vn._destLength=3,this.#t(e,n,!1),vn._destBuffer=null}getRgbBuffer(e,n,i,r,s,o,a){if(e=e.subarray(n,n+i*this.numComps),o!==8){const c=255/((1<<o)-1);for(let f=0,l=e.length;f<l;f++)e[f]*=c}vn._mustAddAlpha=a&&r.buffer===e.buffer,vn._destBuffer=r,vn._destOffset=s,vn._destLength=i*(3+a),bp(this.#e,e),vn._mustAddAlpha=!1,vn._destBuffer=null}getOutputLength(e,n){return e/this.numComps*(3+n)|0}static setOptions({useWasm:e,useWorkerFetch:n,wasmUrl:i}){if(!n){this.#n=!1;return}this.#n=e,this.#a=i}static get isUsable(){let e=!1;if(this.#n)if(this.#a)try{this._module=kp({module:I2(`${this.#a}qcms_bg.wasm`)}),e=!!this._module,vn._memory=this._module.memory,vn._makeHexColor=wt.makeHexColor}catch(n){L(`ICCBased color space: "${n}".`)}else L("No ICC color space support due to missing `wasmUrl` API option");return ge(this,"isUsable",e)}}class Qo extends Di{static#e;constructor(){const e=new Uint8Array(I2(`${Qo.#e}CGATS001Compat-v2-micro.icc`));super(e,"DeviceCMYK",4)}static setOptions({iccUrl:e}){this.#e=e}static get isUsable(){let e=!1;return Di.isUsable&&(this.#e?e=!0:L("No CMYK ICC profile support due to missing `iccUrl` API option")),ge(this,"isUsable",e)}}class qt extends at{constructor(e,n,i,r){super(),this.bytes=e instanceof Uint8Array?e:new Uint8Array(e),this.start=n||0,this.pos=this.start,this.end=n+i||this.bytes.length,this.dict=r}get length(){return this.end-this.start}get isEmpty(){return this.length===0}getByte(){return this.pos>=this.end?-1:this.bytes[this.pos++]}getBytes(e){const n=this.bytes,i=this.pos,r=this.end;if(!e)return n.subarray(i,r);let s=i+e;return s>r&&(s=r),this.pos=s,n.subarray(i,s)}getByteRange(e,n){return e<0&&(e=0),n>this.end&&(n=this.end),this.bytes.subarray(e,n)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(e,n,i=null){return new qt(this.bytes.buffer,e,n,i)}}class ea extends qt{constructor(e){super(Sn(e))}}class Dd extends qt{constructor(){super(new Uint8Array(0))}}class S2 extends qt{constructor(e,n,i){super(new Uint8Array(e),0,e,null),this.chunkSize=n,this._loadedChunks=new Set,this.numChunks=Math.ceil(e/n),this.manager=i,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1}getMissingChunks(){const e=[];for(let n=0,i=this.numChunks;n<i;++n)this._loadedChunks.has(n)||e.push(n);return e}get numChunksLoaded(){return this._loadedChunks.size}get isDataLoaded(){return this.numChunksLoaded===this.numChunks}onReceiveData(e,n){const i=this.chunkSize;if(e%i!==0)throw new Error(`Bad begin offset: ${e}`);const r=e+n.byteLength;if(r%i!==0&&r!==this.bytes.length)throw new Error(`Bad end offset: ${r}`);this.bytes.set(new Uint8Array(n),e);const s=Math.floor(e/i),o=Math.floor((r-1)/i)+1;for(let a=s;a<o;++a)this._loadedChunks.add(a)}onReceiveProgressiveData(e){let n=this.progressiveDataLength;const i=Math.floor(n/this.chunkSize);this.bytes.set(new Uint8Array(e),n),n+=e.byteLength,this.progressiveDataLength=n;const r=n>=this.end?this.numChunks:Math.floor(n/this.chunkSize);for(let s=i;s<r;++s)this._loadedChunks.add(s)}ensureByte(e){if(e<this.progressiveDataLength)return;const n=Math.floor(e/this.chunkSize);if(!(n>this.numChunks)&&n!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(n))throw new Ut(e,e+1);this.lastSuccessfulEnsureByteChunk=n}}ensureRange(e,n){if(e>=n||n<=this.progressiveDataLength)return;const i=Math.floor(e/this.chunkSize);if(i>this.numChunks)return;const r=Math.min(Math.floor((n-1)/this.chunkSize)+1,this.numChunks);for(let s=i;s<r;++s)if(!this._loadedChunks.has(s))throw new Ut(e,n)}nextEmptyChunk(e){const n=this.numChunks;for(let i=0;i<n;++i){const r=(e+i)%n;if(!this._loadedChunks.has(r))return r}return null}hasChunk(e){return this._loadedChunks.has(e)}getByte(){const e=this.pos;return e>=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}getBytes(e){const n=this.bytes,i=this.pos,r=this.end;if(!e)return r>this.progressiveDataLength&&this.ensureRange(i,r),n.subarray(i,r);let s=i+e;return s>r&&(s=r),s>this.progressiveDataLength&&this.ensureRange(i,s),this.pos=s,n.subarray(i,s)}getByteRange(e,n){return e<0&&(e=0),n>this.end&&(n=this.end),n>this.progressiveDataLength&&this.ensureRange(e,n),this.bytes.subarray(e,n)}makeSubStream(e,n,i=null){n?e+n>this.progressiveDataLength&&this.ensureRange(e,e+n):e>=this.progressiveDataLength&&this.ensureByte(e);function r(){}r.prototype=Object.create(this),r.prototype.getMissingChunks=function(){const o=this.chunkSize,a=Math.floor(this.start/o),c=Math.floor((this.end-1)/o)+1,f=[];for(let l=a;l<c;++l)this._loadedChunks.has(l)||f.push(l);return f},Object.defineProperty(r.prototype,"isDataLoaded",{get(){return this.numChunksLoaded===this.numChunks?!0:this.getMissingChunks().length===0},configurable:!0});const s=new r;return s.pos=s.start=e,s.end=e+n||this.end,s.dict=i,s}getBaseStreams(){return[this]}}class Jo{constructor(e,n){this.length=n.length,this.chunkSize=n.rangeChunkSize,n.useCustomStream||(this.stream=new S2(this.length,this.chunkSize,this)),this.pdfNetworkStream=e,this.disableAutoFetch=n.disableAutoFetch,this.msgHandler=n.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=Promise.withResolvers()}sendRequest(e,n){const i=this.pdfNetworkStream.getRangeReader(e,n);i.isStreamingSupported||(i.onProgress=this.onProgress.bind(this));let r=[],s=0;return new Promise((o,a)=>{const c=({value:f,done:l})=>{try{if(l){const d=y2(r);r=null,o(d);return}s+=f.byteLength,i.isStreamingSupported&&this.onProgress({loaded:s}),r.push(f),i.read().then(c,a)}catch(d){a(d)}};i.read().then(c,a)}).then(o=>{this.aborted||this.onReceiveData({chunk:o,begin:e})})}requestAllChunks(e=!1){if(!e){const n=this.stream.getMissingChunks();this._requestChunks(n)}return this._loadedStreamCapability.promise}_requestChunks(e){const n=this.currRequestId++,i=new Set;this._chunksNeededByRequest.set(n,i);for(const o of e)this.stream.hasChunk(o)||i.add(o);if(i.size===0)return Promise.resolve();const r=Promise.withResolvers();this._promisesByRequest.set(n,r);const s=[];for(const o of i){let a=this._requestsByChunk.get(o);a||(a=[],this._requestsByChunk.set(o,a),s.push(o)),a.push(n)}if(s.length>0){const o=this.groupChunks(s);for(const a of o){const c=a.beginChunk*this.chunkSize,f=Math.min(a.endChunk*this.chunkSize,this.length);this.sendRequest(c,f).catch(r.reject)}}return r.promise.catch(o=>{if(!this.aborted)throw o})}getStream(){return this.stream}requestRange(e,n){n=Math.min(n,this.length);const i=this.getBeginChunk(e),r=this.getEndChunk(n),s=[];for(let o=i;o<r;++o)s.push(o);return this._requestChunks(s)}requestRanges(e=[]){const n=[];for(const i of e){const r=this.getBeginChunk(i.begin),s=this.getEndChunk(i.end);for(let o=r;o<s;++o)n.includes(o)||n.push(o)}return n.sort((i,r)=>i-r),this._requestChunks(n)}groupChunks(e){const n=[];let i=-1,r=-1;for(let s=0,o=e.length;s<o;++s){const a=e[s];i<0&&(i=a),r>=0&&r+1!==a&&(n.push({beginChunk:i,endChunk:r+1}),i=a),s+1===e.length&&n.push({beginChunk:i,endChunk:a+1}),r=a}return n}getChunksNeededToRequest(e){const n=[];for(const r of e){const s=this.getBeginChunk(r.begin),o=this.getEndChunk(r.end);for(let a=s;a<o;++a)n.includes(a)||n.push(a)}n.sort(function(r,s){return r-s});const i=new Set;for(const r of n)this.stream.hasChunk(r)||i.add(r);return Array.from(i)}onProgress(e){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+e.loaded,total:this.length})}onReceiveData(e){const n=e.chunk,i=e.begin===void 0,r=i?this.progressiveDataLength:e.begin,s=r+n.byteLength,o=Math.floor(r/this.chunkSize),a=s<this.length?Math.floor(s/this.chunkSize):Math.ceil(s/this.chunkSize);i?(this.stream.onReceiveProgressiveData(n),this.progressiveDataLength=s):this.stream.onReceiveData(r,n),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);const c=[];for(let f=o;f<a;++f){const l=this._requestsByChunk.get(f);if(l){this._requestsByChunk.delete(f);for(const d of l){const h=this._chunksNeededByRequest.get(d);h.has(f)&&h.delete(f),!(h.size>0)&&c.push(d)}}}if(!this.disableAutoFetch&&this._requestsByChunk.size===0){let f;if(this.stream.numChunksLoaded===1){const l=this.stream.numChunks-1;this.stream.hasChunk(l)||(f=l)}else f=this.stream.nextEmptyChunk(a);Number.isInteger(f)&&this._requestChunks([f])}for(const f of c){const l=this._promisesByRequest.get(f);this._promisesByRequest.delete(f),l.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}onError(e){this._loadedStreamCapability.reject(e)}getBeginChunk(e){return Math.floor(e/this.chunkSize)}getEndChunk(e){return Math.floor((e-1)/this.chunkSize)+1}abort(e){this.aborted=!0,this.pdfNetworkStream?.cancelAllRequests(e);for(const n of this._promisesByRequest.values())n.reject(e)}}function C2(t){switch(t.kind){case _n.GRAYSCALE_1BPP:return Id(t);case _n.RGB_24BPP:return Mp(t)}return null}function Id({src:t,srcPos:e=0,dest:n,width:i,height:r,nonBlackColor:s=4294967295,inverseDecode:o=!1}){const a=da.isLittleEndian?4278190080:255,[c,f]=o?[s,a]:[a,s],l=i>>3,d=i&7,h=t.length;n=new Uint32Array(n.buffer);let u=0;for(let g=0;g<r;g++){for(const x=e+l;e<x;e++){const m=e<h?t[e]:255;n[u++]=m&128?f:c,n[u++]=m&64?f:c,n[u++]=m&32?f:c,n[u++]=m&16?f:c,n[u++]=m&8?f:c,n[u++]=m&4?f:c,n[u++]=m&2?f:c,n[u++]=m&1?f:c}if(d===0)continue;const p=e<h?t[e++]:255;for(let x=0;x<d;x++)n[u++]=p&1<<7-x?f:c}return{srcPos:e,destPos:u}}function Mp({src:t,srcPos:e=0,dest:n,destPos:i=0,width:r,height:s}){let o=0;const a=r*s*3,c=a>>2,f=new Uint32Array(t.buffer,e,c);if(da.isLittleEndian){for(;o<c-2;o+=3,i+=4){const l=f[o],d=f[o+1],h=f[o+2];n[i]=l|4278190080,n[i+1]=l>>>24|d<<8|4278190080,n[i+2]=d>>>16|h<<16|4278190080,n[i+3]=h>>>8|4278190080}for(let l=o*4,d=e+a;l<d;l+=3)n[i++]=t[l]|t[l+1]<<8|t[l+2]<<16|4278190080}else{for(;o<c-2;o+=3,i+=4){const l=f[o],d=f[o+1],h=f[o+2];n[i]=l|255,n[i+1]=l<<24|d>>>8|255,n[i+2]=d<<16|h>>>16|255,n[i+3]=h<<8|255}for(let l=o*4,d=e+a;l<d;l+=3)n[i++]=t[l]<<24|t[l+1]<<16|t[l+2]<<8|255}return{srcPos:e+a,destPos:i}}function Up(t,e){if(da.isLittleEndian)for(let n=0,i=t.length;n<i;n++)e[n]=t[n]*65793|4278190080;else for(let n=0,i=t.length;n<i;n++)e[n]=t[n]*16843008|255}const R2=2048,Tp=65537,M2=128;class ua{static#e=R2;static#t=da.isImageDecoderSupported;constructor(e,n){this._imgData=e,this._isMask=n}static get canUseImageDecoder(){return ge(this,"canUseImageDecoder",this.#t?ImageDecoder.isTypeSupported("image/bmp"):Promise.resolve(!1))}static needsToBeResized(e,n){if(e<=this.#e&&n<=this.#e)return!1;const{MAX_DIM:i}=this;if(e>i||n>i)return!0;const r=e*n;if(this._hasMaxArea)return r>this.MAX_AREA;if(r<this.#e**2)return!1;if(this._areGoodDims(e,n))return this.#e=Math.max(this.#e,Math.floor(Math.sqrt(e*n))),!1;this.#e=this._guessMax(this.#e,i,M2,0);const s=this.MAX_AREA=this.#e**2;return r>s}static getReducePowerForJPX(e,n,i){const r=e*n,s=2**30/(i*4);if(!this.needsToBeResized(e,n))return r>s?Math.ceil(Math.log2(r/s)):0;const{MAX_DIM:o,MAX_AREA:a}=this,c=Math.max(e/o,n/o,Math.sqrt(r/Math.min(s,a)));return Math.ceil(Math.log2(c))}static get MAX_DIM(){return ge(this,"MAX_DIM",this._guessMax(R2,Tp,0,1))}static get MAX_AREA(){return this._hasMaxArea=!0,ge(this,"MAX_AREA",this._guessMax(this.#e,this.MAX_DIM,M2,0)**2)}static set MAX_AREA(e){e>=0&&(this._hasMaxArea=!0,ge(this,"MAX_AREA",e))}static setOptions({canvasMaxAreaInBytes:e=-1,isImageDecoderSupported:n=!1}){this._hasMaxArea||(this.MAX_AREA=e>>2),this.#t=n}static _areGoodDims(e,n){try{const i=new OffscreenCanvas(e,n),r=i.getContext("2d");r.fillRect(0,0,1,1);const s=r.getImageData(0,0,1,1).data[3];return i.width=i.height=1,s!==0}catch{return!1}}static _guessMax(e,n,i,r){for(;e+i+1<n;){const s=Math.floor((e+n)/2),o=r||s;this._areGoodDims(s,o)?e=s:n=s}return e}static async createImage(e,n=!1){return new ua(e,n)._createImage()}async _createImage(){const{_imgData:e}=this,{width:n,height:i}=e;if(n*i*4>md){const w=this.#n();if(w)return w}const r=this._encodeBMP();let s,o;await ua.canUseImageDecoder?(s=new ImageDecoder({data:r,type:"image/bmp",preferAnimation:!1,transfer:[r.buffer]}),o=s.decode().catch(w=>(L(`BMP image decoding failed: ${w}`),createImageBitmap(new Blob([this._encodeBMP().buffer],{type:"image/bmp"})))).finally(()=>{s.close()})):o=createImageBitmap(new Blob([r.buffer],{type:"image/bmp"}));const{MAX_AREA:a,MAX_DIM:c}=ua,f=Math.max(n/c,i/c,Math.sqrt(n*i/a)),l=Math.max(f,2),d=Math.round(10*(f+1.25))/10/l,h=Math.floor(Math.log2(d)),u=new Array(h+2).fill(2);u[0]=l,u.splice(-1,1,d/(1<<h));let g=n,p=i;const x=await o;let m=x.image||x;for(const w of u){const O=g,k=p;g=Math.floor(g/w)-1,p=Math.floor(p/w)-1;const E=new OffscreenCanvas(g,p);E.getContext("2d").drawImage(m,0,0,O,k,0,0,g,p),m.close(),m=E.transferToImageBitmap()}return e.data=null,e.bitmap=m,e.width=g,e.height=p,e}#n(){const{_imgData:e}=this,{data:n,width:i,height:r,kind:s}=e,o=i*r*4,a=Math.ceil(Math.log2(o/md)),c=i>>a,f=r>>a;let l,d=r;try{l=new Uint8Array(o)}catch{let k=Math.floor(Math.log2(o+1));for(;;)try{l=new Uint8Array(2**k-1);break}catch{k-=1}d=Math.floor((2**k-1)/(i*4));const E=i*d*4;E<l.length&&(l=new Uint8Array(E))}const h=new Uint32Array(l.buffer),u=new Uint32Array(c*f);let g=0,p=0;const x=Math.ceil(r/d),m=r%d===0?r:r%d;for(let k=0;k<x;k++){const E=k<x-1?d:m;({srcPos:g}=C2({kind:s,src:n,dest:h,width:i,height:E,inverseDecode:this._isMask,srcPos:g}));for(let D=0,v=E>>a;D<v;D++){const S=h.subarray((D<<a)*i);for(let C=0;C<c;C++)u[p++]=S[C<<a]}}if(ua.needsToBeResized(c,f))return e.data=u,e.width=c,e.height=f,e.kind=_n.RGBA_32BPP,null;const w=new OffscreenCanvas(c,f);return w.getContext("2d",{willReadFrequently:!0}).putImageData(new ImageData(new Uint8ClampedArray(u.buffer),c,f),0,0),e.data=null,e.bitmap=w.transferToImageBitmap(),e.width=c,e.height=f,e}_encodeBMP(){const{width:e,height:n,kind:i}=this._imgData;let r=this._imgData.data,s,o=new Uint8Array(0),a=o,c=0;switch(i){case _n.GRAYSCALE_1BPP:{s=1,o=new Uint8Array(this._isMask?[255,255,255,255,0,0,0,0]:[0,0,0,0,255,255,255,255]);const p=e+7>>3,x=p+3&-4;if(p!==x){const m=new Uint8Array(x*n);let w=0;for(let O=0,k=n*p;O<k;O+=p,w+=x)m.set(r.subarray(O,O+p),w);r=m}break}case _n.RGB_24BPP:{if(s=24,e&3){const p=3*e,x=p+3&-4,m=x-p,w=new Uint8Array(x*n);let O=0;for(let k=0,E=n*p;k<E;k+=p){const D=r.subarray(k,k+p);for(let v=0;v<p;v+=3)w[O++]=D[v+2],w[O++]=D[v+1],w[O++]=D[v];O+=m}r=w}else for(let p=0,x=r.length;p<x;p+=3){const m=r[p];r[p]=r[p+2],r[p+2]=m}break}case _n.RGBA_32BPP:s=32,c=3,a=new Uint8Array(4+4+4+4+52);const g=new DataView(a.buffer);da.isLittleEndian?(g.setUint32(0,255,!0),g.setUint32(4,65280,!0),g.setUint32(8,16711680,!0),g.setUint32(12,4278190080,!0)):(g.setUint32(0,4278190080,!0),g.setUint32(4,16711680,!0),g.setUint32(8,65280,!0),g.setUint32(12,255,!0));break;default:throw new Error("invalid format")}let f=0;const l=40+a.length,d=14+l+o.length+r.length,h=new Uint8Array(d),u=new DataView(h.buffer);return u.setUint16(f,19778,!0),f+=2,u.setUint32(f,d,!0),f+=4,u.setUint32(f,0,!0),f+=4,u.setUint32(f,14+l+o.length,!0),f+=4,u.setUint32(f,l,!0),f+=4,u.setInt32(f,e,!0),f+=4,u.setInt32(f,-n,!0),f+=4,u.setUint16(f,1,!0),f+=2,u.setUint16(f,s,!0),f+=2,u.setUint32(f,c,!0),f+=4,u.setUint32(f,0,!0),f+=4,u.setInt32(f,0,!0),f+=4,u.setInt32(f,0,!0),f+=4,u.setUint32(f,o.length/4,!0),f+=4,u.setUint32(f,0,!0),f+=4,h.set(a,f),f+=a.length,h.set(o,f),f+=o.length,h.set(r,f),h}}const Lp=new Uint8Array(0);class ta extends at{constructor(e){if(super(),this._rawMinBufferLength=e||0,this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=Lp,this.minBufferLength=512,e)for(;this.minBufferLength<e;)this.minBufferLength*=2}get isEmpty(){for(;!this.eof&&this.bufferLength===0;)this.readBlock();return this.bufferLength===0}ensureBuffer(e){const n=this.buffer;if(e<=n.byteLength)return n;let i=this.minBufferLength;for(;i<e;)i*=2;const r=new Uint8Array(i);return r.set(n),this.buffer=r}getByte(){const e=this.pos;for(;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}getBytes(e,n=null){const i=this.pos;let r;if(e){for(this.ensureBuffer(i+e),r=i+e;!this.eof&&this.bufferLength<r;)this.readBlock(n);const s=this.bufferLength;r>s&&(r=s)}else{for(;!this.eof;)this.readBlock(n);r=this.bufferLength}return this.pos=r,this.buffer.subarray(i,r)}async getImageData(e,n){if(!this.canAsyncDecodeImageFromBuffer)return this.isAsyncDecoder?this.decodeImage(null,n):this.getBytes(e,n);const i=await this.stream.asyncGetBytes();return this.decodeImage(i,n)}reset(){this.pos=0}makeSubStream(e,n,i=null){if(n===void 0)for(;!this.eof;)this.readBlock();else{const r=e+n;for(;this.bufferLength<=r&&!this.eof;)this.readBlock()}return new qt(this.buffer,e,n,i)}getBaseStreams(){return this.str?this.str.getBaseStreams():null}}class Fp extends ta{constructor(e,n=null){e=e.filter(r=>r instanceof at);let i=0;for(const r of e)i+=r instanceof ta?r._rawMinBufferLength:r.length;super(i),this.streams=e,this._onError=n}readBlock(){const e=this.streams;if(e.length===0){this.eof=!0;return}const n=e.shift();let i;try{i=n.getBytes()}catch(a){if(this._onError){this._onError(a,n.dict?.objId);return}throw a}const r=this.bufferLength,s=r+i.length;this.ensureBuffer(s).set(i,r),this.bufferLength=s}getBaseStreams(){const e=[];for(const n of this.streams){const i=n.getBaseStreams();i&&e.push(...i)}return e.length>0?e:null}}class _t{static parse({cs:e,xref:n,resources:i=null,pdfFunctionFactory:r,globalColorSpaceCache:s,localColorSpaceCache:o,asyncIfNotCached:a=!1}){const c={xref:n,resources:i,pdfFunctionFactory:r,globalColorSpaceCache:s,localColorSpaceCache:o};let f,l,d;if(e instanceof ke){l=e;const h=s.getByRef(l)||o.getByRef(l);if(h)return h;e=n.fetch(e)}if(e instanceof le){f=e.name;const h=o.getByName(f);if(h)return h}try{d=this.#t(e,c)}catch(h){if(a&&!(h instanceof Ut))return Promise.reject(h);throw h}return(f||l)&&(o.set(f,l,d),l&&s.set(null,l,d)),a?Promise.resolve(d):d}static#e(e,n){const{globalColorSpaceCache:i}=n;let r;if(e instanceof ke){r=e;const o=i.getByRef(r);if(o)return o}const s=this.#t(e,n);return r&&i.set(null,r,s),s}static#t(e,n){const{xref:i,resources:r,pdfFunctionFactory:s,globalColorSpaceCache:o}=n;if(e=i.fetchIfRef(e),e instanceof le)switch(e.name){case"G":case"DeviceGray":return this.gray;case"RGB":case"DeviceRGB":return this.rgb;case"DeviceRGBA":return this.rgba;case"CMYK":case"DeviceCMYK":return this.cmyk;case"Pattern":return new j2(null);default:if(r instanceof q){const a=r.get("ColorSpace");if(a instanceof q){const c=a.get(e.name);if(c){if(c instanceof le)return this.#t(c,n);e=c;break}}}return L(`Unrecognized ColorSpace: ${e.name}`),this.gray}if(Array.isArray(e)){const a=i.fetchIfRef(e[0]).name;let c,f,l,d,h,u;switch(a){case"G":case"DeviceGray":return this.gray;case"RGB":case"DeviceRGB":return this.rgb;case"CMYK":case"DeviceCMYK":return this.cmyk;case"CalGray":return c=i.fetchIfRef(e[1]),d=c.getArray("WhitePoint"),h=c.getArray("BlackPoint"),u=c.get("Gamma"),new Cp(d,h,u);case"CalRGB":c=i.fetchIfRef(e[1]),d=c.getArray("WhitePoint"),h=c.getArray("BlackPoint"),u=c.getArray("Gamma");const g=c.getArray("Matrix");return new Hn(d,h,u,g);case"ICCBased":const p=e[1]instanceof ke;if(p){const S=o.getByRef(e[1]);if(S)return S}const x=i.fetchIfRef(e[1]),m=x.dict;if(f=m.get("N"),Di.isUsable)try{const S=new Di(x.getBytes(),"ICCBased",f);return p&&o.set(null,e[1],S),S}catch(S){if(S instanceof Ut)throw S;L(`ICCBased color space (${e[1]}): "${S}".`)}const w=m.getRaw("Alternate");if(w){const S=this.#e(w,n);if(S.numComps===f)return S;L("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(f===1)return this.gray;if(f===3)return this.rgb;if(f===4)return this.cmyk;break;case"Pattern":return l=e[1]||null,l&&(l=this.#e(l,n)),new j2(l);case"I":case"Indexed":l=this.#e(e[1],n);const O=kn(i.fetchIfRef(e[2]),0,255),k=i.fetchIfRef(e[3]);return new jp(l,O,k);case"Separation":case"DeviceN":const E=i.fetchIfRef(e[1]);f=Array.isArray(E)?E.length:1,l=this.#e(e[2],n);const D=s.create(e[3]);return new Ep(f,l,D);case"Lab":c=i.fetchIfRef(e[1]),d=c.getArray("WhitePoint"),h=c.getArray("BlackPoint");const v=c.getArray("Range");return new Rp(d,h,v);default:return L(`Unimplemented ColorSpace object: ${a}`),this.gray}}return L(`Unrecognized ColorSpace object: ${e}`),this.gray}static get gray(){return ge(this,"gray",new Dp)}static get rgb(){return ge(this,"rgb",new Ip)}static get rgba(){return ge(this,"rgba",new Sp)}static get cmyk(){if(Qo.isUsable)try{return ge(this,"cmyk",new Qo)}catch{L("CMYK fallback: DeviceCMYK")}return ge(this,"cmyk",new D2)}}class Ma extends Kn{constructor(e){super(e,"JpegError")}}class Sd extends Kn{constructor(e,n){super(e,"DNLMarkerError"),this.scanLines=n}}class U2 extends Kn{constructor(e){super(e,"EOIMarkerError")}}const ec=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),B0=4017,Y0=799,H0=3406,Z0=2276,z0=1567,q0=3784,Ls=5793,$0=2896;function Np(t,e){let n=0,i,r,s=16;for(;s>0&&!t[s-1];)s--;const o=[{children:[],index:0}];let a=o[0],c;for(i=0;i<s;i++){for(r=0;r<t[i];r++){for(a=o.pop(),a.children[a.index]=e[n];a.index>0;)a=o.pop();for(a.index++,o.push(a);o.length<=i;)o.push(c={children:[],index:0}),a.children[a.index]=c.children,a=c;n++}i+1<s&&(o.push(c={children:[],index:0}),a.children[a.index]=c.children,a=c)}return o[0].children}function Cd(t,e,n){return 64*((t.blocksPerLine+1)*e+n)}function Bp(t,e,n,i,r,s,o,a,c,f=!1){const l=n.mcusPerLine,d=n.progressive,h=e;let u=0,g=0;function p(){if(g>0)return g--,u>>g&1;if(u=t[e++],u===255){const N=t[e++];if(N){if(N===220&&f){e+=2;const J=ft(t,e);if(e+=2,J>0&&J!==n.scanLines)throw new Sd("Found DNL marker (0xFFDC) while parsing scan data",J)}else if(N===217){if(f){const J=T*(n.precision===8?8:0);if(J>0&&Math.round(n.scanLines/J)>=5)throw new Sd("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",J)}throw new U2("Found EOI marker (0xFFD9) while parsing scan data")}throw new Ma(`unexpected marker ${(u<<8|N).toString(16)}`)}}return g=7,u>>>7}function x(N){let J=N;for(;;){switch(J=J[p()],typeof J){case"number":return J;case"object":continue}throw new Ma("invalid huffman sequence")}}function m(N){let J=0;for(;N>0;)J=J<<1|p(),N--;return J}function w(N){if(N===1)return p()===1?1:-1;const J=m(N);return J>=1<<N-1?J:J+(-1<<N)+1}function O(N,J){const ce=x(N.huffmanTableDC),je=ce===0?0:w(ce);N.blockData[J]=N.pred+=je;let be=1;for(;be<64;){const se=x(N.huffmanTableAC),ve=se&15,De=se>>4;if(ve===0){if(De<15)break;be+=16;continue}be+=De;const Ve=ec[be];N.blockData[J+Ve]=w(ve),be++}}function k(N,J){const ce=x(N.huffmanTableDC),je=ce===0?0:w(ce)<<c;N.blockData[J]=N.pred+=je}function E(N,J){N.blockData[J]|=p()<<c}let D=0;function v(N,J){if(D>0){D--;return}let ce=s;const je=o;for(;ce<=je;){const be=x(N.huffmanTableAC),se=be&15,ve=be>>4;if(se===0){if(ve<15){D=m(ve)+(1<<ve)-1;break}ce+=16;continue}ce+=ve;const De=ec[ce];N.blockData[J+De]=w(se)*(1<<c),ce++}}let S=0,C;function R(N,J){let ce=s;const je=o;let be=0,se,ve;for(;ce<=je;){const De=J+ec[ce],Ve=N.blockData[De]<0?-1:1;switch(S){case 0:if(ve=x(N.huffmanTableAC),se=ve&15,be=ve>>4,se===0)be<15?(D=m(be)+(1<<be),S=4):(be=16,S=1);else{if(se!==1)throw new Ma("invalid ACn encoding");C=w(se),S=be?2:3}continue;case 1:case 2:N.blockData[De]?N.blockData[De]+=Ve*(p()<<c):(be--,be===0&&(S=S===2?3:0));break;case 3:N.blockData[De]?N.blockData[De]+=Ve*(p()<<c):(N.blockData[De]=C<<c,S=0);break;case 4:N.blockData[De]&&(N.blockData[De]+=Ve*(p()<<c));break}ce++}S===4&&(D--,D===0&&(S=0))}let T=0;function H(N,J,ce,je,be){const se=ce/l|0,ve=ce%l;T=se*N.v+je;const De=ve*N.h+be,Ve=Cd(N,T,De);J(N,Ve)}function $(N,J,ce){T=ce/N.blocksPerLine|0;const je=ce%N.blocksPerLine,be=Cd(N,T,je);J(N,be)}const W=i.length;let Y,Z,B,z,ee,X;d?s===0?X=a===0?k:E:X=a===0?v:R:X=O;let te=0,Ee;const Pe=W===1?i[0].blocksPerLine*i[0].blocksPerColumn:l*n.mcusPerColumn;let V,Q;for(;te<=Pe;){const N=r?Math.min(Pe-te,r):Pe;if(N>0){for(Z=0;Z<W;Z++)i[Z].pred=0;if(D=0,W===1)for(Y=i[0],ee=0;ee<N;ee++)$(Y,X,te),te++;else for(ee=0;ee<N;ee++){for(Z=0;Z<W;Z++)for(Y=i[Z],V=Y.h,Q=Y.v,B=0;B<Q;B++)for(z=0;z<V;z++)H(Y,X,te,B,z);te++}}if(g=0,Ee=G0(t,e),!Ee)break;if(Ee.invalid){const J=N>0?"unexpected":"excessive";L(`decodeScan - ${J} MCU data, current marker is: ${Ee.invalid}`),e=Ee.offset}if(Ee.marker>=65488&&Ee.marker<=65495)e+=2;else break}return e-h}function Yp(t,e,n){const i=t.quantizationTable,r=t.blockData;let s,o,a,c,f,l,d,h,u,g,p,x,m,w,O,k,E;if(!i)throw new Ma("missing required Quantization Table.");for(let D=0;D<64;D+=8){if(u=r[e+D],g=r[e+D+1],p=r[e+D+2],x=r[e+D+3],m=r[e+D+4],w=r[e+D+5],O=r[e+D+6],k=r[e+D+7],u*=i[D],!(g|p|x|m|w|O|k)){E=Ls*u+512>>10,n[D]=E,n[D+1]=E,n[D+2]=E,n[D+3]=E,n[D+4]=E,n[D+5]=E,n[D+6]=E,n[D+7]=E;continue}g*=i[D+1],p*=i[D+2],x*=i[D+3],m*=i[D+4],w*=i[D+5],O*=i[D+6],k*=i[D+7],s=Ls*u+128>>8,o=Ls*m+128>>8,a=p,c=O,f=$0*(g-k)+128>>8,h=$0*(g+k)+128>>8,l=x<<4,d=w<<4,s=s+o+1>>1,o=s-o,E=a*q0+c*z0+128>>8,a=a*z0-c*q0+128>>8,c=E,f=f+d+1>>1,d=f-d,h=h+l+1>>1,l=h-l,s=s+c+1>>1,c=s-c,o=o+a+1>>1,a=o-a,E=f*Z0+h*H0+2048>>12,f=f*H0-h*Z0+2048>>12,h=E,E=l*Y0+d*B0+2048>>12,l=l*B0-d*Y0+2048>>12,d=E,n[D]=s+h,n[D+7]=s-h,n[D+1]=o+d,n[D+6]=o-d,n[D+2]=a+l,n[D+5]=a-l,n[D+3]=c+f,n[D+4]=c-f}for(let D=0;D<8;++D){if(u=n[D],g=n[D+8],p=n[D+16],x=n[D+24],m=n[D+32],w=n[D+40],O=n[D+48],k=n[D+56],!(g|p|x|m|w|O|k)){E=Ls*u+8192>>14,E<-2040?E=0:E>=2024?E=255:E=E+2056>>4,r[e+D]=E,r[e+D+8]=E,r[e+D+16]=E,r[e+D+24]=E,r[e+D+32]=E,r[e+D+40]=E,r[e+D+48]=E,r[e+D+56]=E;continue}s=Ls*u+2048>>12,o=Ls*m+2048>>12,a=p,c=O,f=$0*(g-k)+2048>>12,h=$0*(g+k)+2048>>12,l=x,d=w,s=(s+o+1>>1)+4112,o=s-o,E=a*q0+c*z0+2048>>12,a=a*z0-c*q0+2048>>12,c=E,f=f+d+1>>1,d=f-d,h=h+l+1>>1,l=h-l,s=s+c+1>>1,c=s-c,o=o+a+1>>1,a=o-a,E=f*Z0+h*H0+2048>>12,f=f*H0-h*Z0+2048>>12,h=E,E=l*Y0+d*B0+2048>>12,l=l*B0-d*Y0+2048>>12,d=E,u=s+h,k=s-h,g=o+d,O=o-d,p=a+l,w=a-l,x=c+f,m=c-f,u<16?u=0:u>=4080?u=255:u>>=4,g<16?g=0:g>=4080?g=255:g>>=4,p<16?p=0:p>=4080?p=255:p>>=4,x<16?x=0:x>=4080?x=255:x>>=4,m<16?m=0:m>=4080?m=255:m>>=4,w<16?w=0:w>=4080?w=255:w>>=4,O<16?O=0:O>=4080?O=255:O>>=4,k<16?k=0:k>=4080?k=255:k>>=4,r[e+D]=u,r[e+D+8]=g,r[e+D+16]=p,r[e+D+24]=x,r[e+D+32]=m,r[e+D+40]=w,r[e+D+48]=O,r[e+D+56]=k}}function Hp(t,e){const n=e.blocksPerLine,i=e.blocksPerColumn,r=new Int16Array(64);for(let s=0;s<i;s++)for(let o=0;o<n;o++){const a=Cd(e,s,o);Yp(e,a,r)}return e.blockData}function G0(t,e,n=e){const i=t.length-1;let r=n<e?n:e;if(e>=i)return null;const s=ft(t,e);if(s>=65472&&s<=65534)return{invalid:null,marker:s,offset:e};let o=ft(t,r);for(;!(o>=65472&&o<=65534);){if(++r>=i)return null;o=ft(t,r)}return{invalid:s.toString(16),marker:o,offset:r}}function Zp(t){const e=Math.ceil(t.samplesPerLine/8/t.maxH),n=Math.ceil(t.scanLines/8/t.maxV);for(const i of t.components){const r=Math.ceil(Math.ceil(t.samplesPerLine/8)*i.h/t.maxH),s=Math.ceil(Math.ceil(t.scanLines/8)*i.v/t.maxV),o=e*i.h,c=64*(n*i.v)*(o+1);i.blockData=new Int16Array(c),i.blocksPerLine=r,i.blocksPerColumn=s}t.mcusPerLine=e,t.mcusPerColumn=n}function T2(t,e){const n=ft(t,e);e+=2;let i=e+n-2;const r=G0(t,i,e);r?.invalid&&(L("readDataBlock - incorrect length, current marker is: "+r.invalid),i=r.offset);const s=t.subarray(e,i);return{appData:s,oldOffset:e,newOffset:e+s.length}}function zp(t,e){const n=ft(t,e);e+=2;const i=e+n-2,r=G0(t,i,e);return r?.invalid?r.offset:i}class L2{constructor({decodeTransform:e=null,colorTransform:n=-1}={}){this._decodeTransform=e,this._colorTransform=n}static canUseImageDecoder(e,n=-1){let i=null,r=0,s=null,o=ft(e,r);if(r+=2,o!==65496)throw new Ma("SOI not found");o=ft(e,r),r+=2;e:for(;o!==65497;){switch(o){case 65505:const{appData:a,oldOffset:c,newOffset:f}=T2(e,r);if(r=f,a[0]===69&&a[1]===120&&a[2]===105&&a[3]===102&&a[4]===0&&a[5]===0){if(i)throw new Ma("Duplicate EXIF-blocks found.");i={exifStart:c+6,exifEnd:f}}o=ft(e,r),r+=2;continue;case 65472:case 65473:case 65474:s=e[r+(2+1+2+2)];break e;case 65535:e[r]!==255&&r--;break}r=zp(e,r),o=ft(e,r),r+=2}return s===4||s===3&&n===0?null:i||{}}parse(e,{dnlScanLines:n=null}={}){let i=0,r=null,s=null,o,a,c=0;const f=[],l=[],d=[];let h=ft(e,i);if(i+=2,h!==65496)throw new Ma("SOI not found");h=ft(e,i),i+=2;e:for(;h!==65497;){let u,g,p;switch(h){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:const{appData:x,newOffset:m}=T2(e,i);i=m,h===65504&&x[0]===74&&x[1]===70&&x[2]===73&&x[3]===70&&x[4]===0&&(r={version:{major:x[5],minor:x[6]},densityUnits:x[7],xDensity:x[8]<<8|x[9],yDensity:x[10]<<8|x[11],thumbWidth:x[12],thumbHeight:x[13],thumbData:x.subarray(14,14+3*x[12]*x[13])}),h===65518&&x[0]===65&&x[1]===100&&x[2]===111&&x[3]===98&&x[4]===101&&(s={version:x[5]<<8|x[6],flags0:x[7]<<8|x[8],flags1:x[9]<<8|x[10],transformCode:x[11]});break;case 65499:const w=ft(e,i);i+=2;const O=w+i-2;let k;for(;i<O;){const B=e[i++],z=new Uint16Array(64);if(B>>4)if(B>>4===1)for(g=0;g<64;g++)k=ec[g],z[k]=ft(e,i),i+=2;else throw new Ma("DQT - invalid table spec");else for(g=0;g<64;g++)k=ec[g],z[k]=e[i++];f[B&15]=z}break;case 65472:case 65473:case 65474:if(o)throw new Ma("Only single frame JPEGs supported");i+=2,o={},o.extended=h===65473,o.progressive=h===65474,o.precision=e[i++];const E=ft(e,i);i+=2,o.scanLines=n||E,o.samplesPerLine=ft(e,i),i+=2,o.components=[],o.componentIds={};const D=e[i++];let v=0,S=0;for(u=0;u<D;u++){const B=e[i],z=e[i+1]>>4,ee=e[i+1]&15;v<z&&(v=z),S<ee&&(S=ee);const X=e[i+2];p=o.components.push({h:z,v:ee,quantizationId:X,quantizationTable:null}),o.componentIds[B]=p-1,i+=3}o.maxH=v,o.maxV=S,Zp(o);break;case 65476:const C=ft(e,i);for(i+=2,u=2;u<C;){const B=e[i++],z=new Uint8Array(16);let ee=0;for(g=0;g<16;g++,i++)ee+=z[g]=e[i];const X=new Uint8Array(ee);for(g=0;g<ee;g++,i++)X[g]=e[i];u+=17+ee,(B>>4?l:d)[B&15]=Np(z,X)}break;case 65501:i+=2,a=ft(e,i),i+=2;break;case 65498:const R=++c===1&&!n;i+=2;const T=e[i++],H=[];for(u=0;u<T;u++){const B=e[i++],z=o.componentIds[B],ee=o.components[z];ee.index=B;const X=e[i++];ee.huffmanTableDC=d[X>>4],ee.huffmanTableAC=l[X&15],H.push(ee)}const $=e[i++],W=e[i++],Y=e[i++];try{const B=Bp(e,i,o,H,a,$,W,Y>>4,Y&15,R);i+=B}catch(B){if(B instanceof Sd)return L(`${B.message} -- attempting to re-parse the JPEG image.`),this.parse(e,{dnlScanLines:B.scanLines});if(B instanceof U2){L(`${B.message} -- ignoring the rest of the image data.`);break e}throw B}break;case 65500:i+=4;break;case 65535:e[i]!==255&&i--;break;default:const Z=G0(e,i-2,i-3);if(Z?.invalid){L("JpegImage.parse - unexpected data, current marker is: "+Z.invalid),i=Z.offset;break}if(!Z||i>=e.length-1){L("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new Ma("JpegImage.parse - unknown marker: "+h.toString(16))}h=ft(e,i),i+=2}if(!o)throw new Ma("JpegImage.parse - no frame data found.");this.width=o.samplesPerLine,this.height=o.scanLines,this.jfif=r,this.adobe=s,this.components=[];for(const u of o.components){const g=f[u.quantizationId];g&&(u.quantizationTable=g),this.components.push({index:u.index,output:Hp(o,u),scaleX:u.h/o.maxH,scaleY:u.v/o.maxV,blocksPerLine:u.blocksPerLine,blocksPerColumn:u.blocksPerColumn})}this.numComponents=this.components.length}_getLinearizedBlockData(e,n,i=!1){const r=this.width/e,s=this.height/n;let o,a,c,f,l,d,h,u,g,p,x=0,m;const w=this.components.length,O=e*n*w,k=new Uint8ClampedArray(O),E=new Uint32Array(e),D=4294967288;let v;for(h=0;h<w;h++){if(o=this.components[h],a=o.scaleX*r,c=o.scaleY*s,x=h,m=o.output,f=o.blocksPerLine+1<<3,a!==v){for(l=0;l<e;l++)u=0|l*a,E[l]=(u&D)<<3|u&7;v=a}for(d=0;d<n;d++)for(u=0|d*c,p=f*(u&D)|(u&7)<<3,l=0;l<e;l++)k[x]=m[p+E[l]],x+=w}let S=this._decodeTransform;if(!i&&w===4&&!S&&(S=new Int32Array([-256,255,-256,255,-256,255,-256,255])),S)for(h=0;h<O;)for(u=0,g=0;u<w;u++,h++,g+=2)k[h]=(k[h]*S[g]>>8)+S[g+1];return k}get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:this.numComponents===3?this._colorTransform===0?!1:!(this.components[0].index===82&&this.components[1].index===71&&this.components[2].index===66):this._colorTransform===1}_convertYccToRgb(e){let n,i,r;for(let s=0,o=e.length;s<o;s+=3)n=e[s],i=e[s+1],r=e[s+2],e[s]=n-179.456+1.402*r,e[s+1]=n+135.459-.344*i-.714*r,e[s+2]=n-226.816+1.772*i;return e}_convertYccToRgba(e,n){for(let i=0,r=0,s=e.length;i<s;i+=3,r+=4){const o=e[i],a=e[i+1],c=e[i+2];n[r]=o-179.456+1.402*c,n[r+1]=o+135.459-.344*a-.714*c,n[r+2]=o-226.816+1.772*a,n[r+3]=255}return n}_convertYcckToRgb(e){return this._convertYcckToCmyk(e),this._convertCmykToRgb(e)}_convertYcckToRgba(e){return this._convertYcckToCmyk(e),this._convertCmykToRgba(e)}_convertYcckToCmyk(e){let n,i,r;for(let s=0,o=e.length;s<o;s+=4)n=e[s],i=e[s+1],r=e[s+2],e[s]=434.456-n-1.402*r,e[s+1]=119.541-n+.344*i+.714*r,e[s+2]=481.816-n-1.772*i;return e}_convertCmykToRgb(e){const n=e.length/4;return _t.cmyk.getRgbBuffer(e,0,n,e,0,8,0),e.subarray(0,n*3)}_convertCmykToRgba(e){if(_t.cmyk.getRgbBuffer(e,0,e.length/4,e,0,8,1),_t.cmyk instanceof D2)for(let n=3,i=e.length;n<i;n+=4)e[n]=255;return e}getData({width:e,height:n,forceRGBA:i=!1,forceRGB:r=!1,isSourcePDF:s=!1}){if(this.numComponents>4)throw new Ma("Unsupported color mode");const o=this._getLinearizedBlockData(e,n,s);if(this.numComponents===1&&(i||r)){const a=o.length*(i?4:3),c=new Uint8ClampedArray(a);let f=0;if(i)Up(o,new Uint32Array(c.buffer));else for(const l of o)c[f++]=l,c[f++]=l,c[f++]=l;return c}else if(this.numComponents===3&&this._isColorConversionNeeded){if(i){const a=new Uint8ClampedArray(o.length/3*4);return this._convertYccToRgba(o,a)}return this._convertYccToRgb(o)}else if(this.numComponents===4){if(this._isColorConversionNeeded)return i?this._convertYcckToRgba(o):r?this._convertYcckToRgb(o):this._convertYcckToCmyk(o);if(i)return this._convertCmykToRgba(o);if(r)return this._convertCmykToRgb(o)}return o}}class Fs extends ta{static#e=da.isImageDecoderSupported;constructor(e,n,i){super(n),this.stream=e,this.dict=e.dict,this.maybeLength=n,this.params=i}static get canUseImageDecoder(){return ge(this,"canUseImageDecoder",this.#e?ImageDecoder.isTypeSupported("image/jpeg"):Promise.resolve(!1))}static setOptions({isImageDecoderSupported:e=!1}){this.#e=e}get bytes(){return ge(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){this.decodeImage()}get jpegOptions(){const e={decodeTransform:void 0,colorTransform:void 0},n=this.dict.getArray("D","Decode");if((this.forceRGBA||this.forceRGB)&&Array.isArray(n)){const i=this.dict.get("BPC","BitsPerComponent")||8,r=n.length,s=new Int32Array(r);let o=!1;const a=(1<<i)-1;for(let c=0;c<r;c+=2)s[c]=(n[c+1]-n[c])*256|0,s[c+1]=n[c]*a|0,(s[c]!==256||s[c+1]!==0)&&(o=!0);o&&(e.decodeTransform=s)}if(this.params instanceof q){const i=this.params.get("ColorTransform");Number.isInteger(i)&&(e.colorTransform=i)}return ge(this,"jpegOptions",e)}#t(e){for(let n=0,i=e.length-1;n<i;n++)if(e[n]===255&&e[n+1]===216){n>0&&(e=e.subarray(n));break}return e}decodeImage(e){if(this.eof)return this.buffer;e=this.#t(e||this.bytes);const n=new L2(this.jpegOptions);n.parse(e);const i=n.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB,isSourcePDF:!0});return this.buffer=i,this.bufferLength=i.length,this.eof=!0,this.buffer}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}async getTransferableImage(){if(!await Fs.canUseImageDecoder)return null;const e=this.jpegOptions;if(e.decodeTransform)return null;let n;try{const i=this.canAsyncDecodeImageFromBuffer&&await this.stream.asyncGetBytes()||this.bytes;if(!i)return null;let r=this.#t(i);const s=L2.canUseImageDecoder(r,e.colorTransform);return s?(s.exifStart&&(r=r.slice(),r.fill(0,s.exifStart,s.exifEnd)),n=new ImageDecoder({data:r,type:"image/jpeg",preferAnimation:!1}),(await n.decode()).image):null}catch(i){return L(`getTransferableImage - failed: "${i}".`),null}finally{n?.close()}}}var qp=(()=>async function(t={}){var e,n=t,i,r,s=new Promise((he,ye)=>{i=he,r=ye}),o="./this.program",a=(he,ye)=>{throw ye},c=document.currentScript&&document.currentScript.src||new URL("worker/pdflux.worker.js",document.baseURI).href,f="";try{f=new URL(".",c).href}catch{}var l=console.log.bind(console),d=console.error.bind(console),h,u=!1,g,p,x,m,w;function O(){var he=h.buffer;p=new Int8Array(he),x=new Uint8Array(he),m=new Int32Array(he),w=new Uint32Array(he),new BigInt64Array(he),new BigUint64Array(he)}function k(){if(n.preRun)for(typeof n.preRun=="function"&&(n.preRun=[n.preRun]);n.preRun.length;)ee(n.preRun.shift());Y(z)}function E(){za.t()}function D(){if(n.postRun)for(typeof n.postRun=="function"&&(n.postRun=[n.postRun]);n.postRun.length;)B(n.postRun.shift());Y(Z)}var v=0,S=null;function C(he){v++,n.monitorRunDependencies?.(v)}function R(he){if(v--,n.monitorRunDependencies?.(v),v==0&&S){var ye=S;S=null,ye()}}function T(he){n.onAbort?.(he),he="Aborted("+he+")",d(he),u=!0,he+=". Build with -sASSERTIONS for more info.";var ye=new WebAssembly.RuntimeError(he);throw r(ye),ye}function H(){return{a:Os}}async function $(){function he(Ce,tt){return za=Ce.exports,h=za.s,O(),R(),za}C();var ye=H();return new Promise((Ce,tt)=>{n.instantiateWasm(ye,(Te,pt)=>{Ce(he(Te))})})}class W{name="ExitStatus";constructor(ye){this.message=`Program terminated with exit(${ye})`,this.status=ye}}var Y=he=>{for(;he.length>0;)he.shift()(n)},Z=[],B=he=>Z.push(he),z=[],ee=he=>z.push(he),X=!0,te=()=>T(""),Ee=0,Pe=()=>{X=!1,Ee=0},V={},Q=he=>{if(he instanceof W||he=="unwind")return g;a(1,he)},N=()=>X||Ee>0,J=he=>{g=he,N()||(n.onExit?.(he),u=!0),a(he,new W(he))},ce=(he,ye)=>{g=he,J(he)},je=ce,be=()=>{if(!N())try{je(g)}catch(he){Q(he)}},se=he=>{if(!u)try{he(),be()}catch(ye){Q(ye)}},ve=()=>performance.now(),De=(he,ye)=>{if(V[he]&&(clearTimeout(V[he].id),delete V[he]),!ye)return 0;var Ce=setTimeout(()=>{delete V[he],se(()=>wl(he,ve()))},ye);return V[he]={id:Ce,timeout_ms:ye},0};function Ve(he,ye){he>>=2;const Ce=n.imageData=new Uint8ClampedArray(ye),tt=m.subarray(he,he+ye);Ce.set(tt)}function We(he,ye,Ce,tt){he>>=2,ye>>=2,Ce>>=2;const Te=n.imageData=new Uint8ClampedArray(tt*3),pt=m.subarray(he,he+tt),lt=m.subarray(ye,ye+tt),St=m.subarray(Ce,Ce+tt);for(let Ne=0;Ne<tt;Ne++)Te[3*Ne]=pt[Ne],Te[3*Ne+1]=lt[Ne],Te[3*Ne+2]=St[Ne]}function me(he,ye,Ce,tt,Te){he>>=2,ye>>=2,Ce>>=2,tt>>=2;const pt=n.imageData=new Uint8ClampedArray(Te*4),lt=m.subarray(he,he+Te),St=m.subarray(ye,ye+Te),Ne=m.subarray(Ce,Ce+Te),Po=m.subarray(tt,tt+Te);for(let Da=0;Da<Te;Da++)pt[4*Da]=lt[Da],pt[4*Da+1]=St[Da],pt[4*Da+2]=Ne[Da],pt[4*Da+3]=Po[Da]}var Ae=()=>2147483648,_e=(he,ye)=>Math.ceil(he/ye)*ye,Ye=he=>{var ye=h.buffer,Ce=(he-ye.byteLength+65535)/65536|0;try{return h.grow(Ce),O(),1}catch{}},Ie=he=>{var ye=x.length;he>>>=0;var Ce=Ae();if(he>Ce)return!1;for(var tt=1;tt<=4;tt*=2){var Te=ye*(1+.2/tt);Te=Math.min(Te,he+100663296);var pt=Math.min(Ce,_e(Math.max(he,Te),65536)),lt=Ye(pt);if(lt)return!0}return!1},Oe={},Me=()=>o||"./this.program",Ue=()=>{if(!Ue.strings){var he=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",ye={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:he,_:Me()};for(var Ce in Oe)Oe[Ce]===void 0?delete ye[Ce]:ye[Ce]=Oe[Ce];var tt=[];for(var Ce in ye)tt.push(`${Ce}=${ye[Ce]}`);Ue.strings=tt}return Ue.strings},ue=(he,ye,Ce,tt)=>{if(!(tt>0))return 0;for(var Te=Ce,pt=Ce+tt-1,lt=0;lt<he.length;++lt){var St=he.charCodeAt(lt);if(St>=55296&&St<=57343){var Ne=he.charCodeAt(++lt);St=65536+((St&1023)<<10)|Ne&1023}if(St<=127){if(Ce>=pt)break;ye[Ce++]=St}else if(St<=2047){if(Ce+1>=pt)break;ye[Ce++]=192|St>>6,ye[Ce++]=128|St&63}else if(St<=65535){if(Ce+2>=pt)break;ye[Ce++]=224|St>>12,ye[Ce++]=128|St>>6&63,ye[Ce++]=128|St&63}else{if(Ce+3>=pt)break;ye[Ce++]=240|St>>18,ye[Ce++]=128|St>>12&63,ye[Ce++]=128|St>>6&63,ye[Ce++]=128|St&63}}return ye[Ce]=0,Ce-Te},He=(he,ye,Ce)=>ue(he,x,ye,Ce),Ge=(he,ye)=>{var Ce=0,tt=0;for(var Te of Ue()){var pt=ye+Ce;w[he+tt>>2]=pt,Ce+=He(Te,pt,1/0)+1,tt+=4}return 0},qe=he=>{for(var ye=0,Ce=0;Ce<he.length;++Ce){var tt=he.charCodeAt(Ce);tt<=127?ye++:tt<=2047?ye+=2:tt>=55296&&tt<=57343?(ye+=4,++Ce):ye+=3}return ye},bt=(he,ye)=>{var Ce=Ue();w[he>>2]=Ce.length;var tt=0;for(var Te of Ce)tt+=qe(Te)+1;return w[ye>>2]=tt,0},Ht=he=>52;function xs(he,ye,Ce,tt){return 70}var Rt=[null,[],[]],b=typeof TextDecoder<"u"?new TextDecoder:void 0,Jt=(he,ye=0,Ce=NaN)=>{for(var tt=ye+Ce,Te=ye;he[Te]&&!(Te>=tt);)++Te;if(Te-ye>16&&he.buffer&&b)return b.decode(he.subarray(ye,Te));for(var pt="";ye<Te;){var lt=he[ye++];if(!(lt&128)){pt+=String.fromCharCode(lt);continue}var St=he[ye++]&63;if((lt&224)==192){pt+=String.fromCharCode((lt&31)<<6|St);continue}var Ne=he[ye++]&63;if((lt&240)==224?lt=(lt&15)<<12|St<<6|Ne:lt=(lt&7)<<18|St<<12|Ne<<6|he[ye++]&63,lt<65536)pt+=String.fromCharCode(lt);else{var Po=lt-65536;pt+=String.fromCharCode(55296|Po>>10,56320|Po&1023)}}return pt},Fn=(he,ye)=>{var Ce=Rt[he];ye===0||ye===10?((he===1?l:d)(Jt(Ce)),Ce.length=0):Ce.push(ye)},A=(he,ye)=>he?Jt(x,he,ye):"",_o=(he,ye,Ce,tt)=>{for(var Te=0,pt=0;pt<Ce;pt++){var lt=w[ye>>2],St=w[ye+4>>2];ye+=8;for(var Ne=0;Ne<St;Ne++)Fn(he,x[lt+Ne]);Te+=St}return w[tt>>2]=Te,0};function jr(he,ye){he>>=2;const Ce=n.imageData=new Uint8ClampedArray(ye*4),tt=m.subarray(he,he+ye);for(let Te=0;Te<ye;Te++)Ce[4*Te]=Ce[4*Te+1]=Ce[4*Te+2]=tt[Te],Ce[4*Te+3]=255}function ni(he,ye,Ce){he>>=2,ye>>=2;const tt=n.imageData=new Uint8ClampedArray(Ce*4),Te=m.subarray(he,he+Ce),pt=m.subarray(ye,ye+Ce);for(let lt=0;lt<Ce;lt++)tt[4*lt]=tt[4*lt+1]=tt[4*lt+2]=Te[lt],tt[4*lt+3]=pt[lt]}function ys(he){const ye=A(he);(n.warn||console.warn)(`OpenJPEG: ${ye}`)}function ws(he,ye,Ce,tt){he>>=2,ye>>=2,Ce>>=2;const Te=n.imageData=new Uint8ClampedArray(tt*4),pt=m.subarray(he,he+tt),lt=m.subarray(ye,ye+tt),St=m.subarray(Ce,Ce+tt);for(let Ne=0;Ne<tt;Ne++)Te[4*Ne]=pt[Ne],Te[4*Ne+1]=lt[Ne],Te[4*Ne+2]=St[Ne],Te[4*Ne+3]=255}function _s(he){const ye=A(he);n.errorMessages?n.errorMessages+=`
|
|
11
|
+
`+ye:n.errorMessages=ye}var Oo=(he,ye)=>{p.set(he,ye)};n.noExitRuntime&&(X=n.noExitRuntime),n.print&&(l=n.print),n.printErr&&(d=n.printErr),n.wasmBinary&&n.wasmBinary,n.arguments&&n.arguments,n.thisProgram&&(o=n.thisProgram),n.writeArrayToMemory=Oo;var Os={l:te,k:Pe,m:De,g:Ve,f:We,e:me,n:Ie,p:Ge,q:bt,b:Ht,o:xs,c:_o,r:jr,i:ni,d:ys,j:J,h:ws,a:_s},za=await $();za.t,n._malloc=za.u,n._free=za.v,n._jp2_decode=za.w;var wl=za.x;function ko(){if(v>0){S=ko;return}if(k(),v>0){S=ko;return}function he(){n.calledRun=!0,!u&&(E(),i(n),n.onRuntimeInitialized?.(),D())}n.setStatus?(n.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>n.setStatus(""),1),he()},1)):he()}function b0(){if(n.preInit)for(typeof n.preInit=="function"&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.shift()()}return b0(),ko(),e=s,e})();const $p=qp;class X0 extends Kn{constructor(e){super(e,"JpxError")}}class W0{static#e=null;static#t=null;static#n=null;static#a=!0;static#i=!0;static#s=null;static setOptions({handler:e,useWasm:n,useWorkerFetch:i,wasmUrl:r}){this.#a=n,this.#i=i,this.#s=r,i||(this.#t=e)}static async#o(e){const n=`${this.#s}openjpeg_nowasm_fallback.js`;let i=null;try{i=(await import(n)).default()}catch(r){L(`JpxImage#getJsModule: ${r}`)}e(i)}static async#r(e,n,i){const r="openjpeg.wasm";try{this.#e||(this.#i?this.#e=await _d(`${this.#s}${r}`):this.#e=await this.#t.sendWithPromise("FetchBinaryData",{type:"wasmFactory",filename:r}));const s=await WebAssembly.instantiate(this.#e,n);return i(s.instance)}catch(s){return L(`JpxImage#instantiateWasm: ${s}`),this.#o(e),null}finally{this.#t=null}}static async decode(e,{numComponents:n=4,isIndexedColormap:i=!1,smaskInData:r=!1,reducePower:s=0}={}){if(!this.#n){const{promise:c,resolve:f}=Promise.withResolvers(),l=[c];this.#a?l.push($p({warn:L,instantiateWasm:this.#r.bind(this,f)})):this.#o(f),this.#n=Promise.race(l)}const o=await this.#n;if(!o)throw new X0("OpenJPEG failed to initialize");let a;try{const c=e.length;if(a=o._malloc(c),o.writeArrayToMemory(e,a),o._jp2_decode(a,c,n>0?n:0,!!i,!!r,s)){const{errorMessages:d}=o;throw d?(delete o.errorMessages,new X0(d)):new X0("Unknown error")}const{imageData:l}=o;return o.imageData=null,l}finally{a&&o._free(a)}}static cleanup(){this.#n=null}static parseImageProperties(e){let n=e.getByte();for(;n>=0;){const i=n;if(n=e.getByte(),(i<<8|n)===65361){e.skip(4);const s=e.getInt32()>>>0,o=e.getInt32()>>>0,a=e.getInt32()>>>0,c=e.getInt32()>>>0;e.skip(16);const f=e.getUint16();return{width:s-a,height:o-c,bitsPerComponent:8,componentsCount:f}}}throw new X0("No size marker found in JPX stream")}}function tc(t,e,n,i,r){let s=t;for(let o=0,a=e.length-1;o<a;o++){const c=e[o];s=s[c]||=[]}s[e.at(-1)]={checkFn:n,iterateFn:i,processFn:r}}const Yr=[];tc(Yr,[M.save,M.transform,M.paintInlineImageXObject,M.restore],null,function(e,n){const i=e.fnArray,r=e.iCurr-3,s=(n-r)%4;switch(s){case 0:return i[n]===M.save;case 1:return i[n]===M.transform;case 2:return i[n]===M.paintInlineImageXObject;case 3:return i[n]===M.restore}throw new Error(`iterateInlineImageGroup - invalid pos: ${s}`)},function(e,n){const a=e.fnArray,c=e.argsArray,f=e.iCurr,l=f-3,d=f-2,h=f-1,u=Math.min(Math.floor((n-l)/4),200);if(u<10)return n-(n-l)%4;let g=0;const p=[];let x=0,m=1,w=1;for(let S=0;S<u;S++){const C=c[d+(S<<2)],R=c[h+(S<<2)][0];m+R.width>1e3&&(g=Math.max(g,m),w+=x+2*1,m=0,x=0),p.push({transform:C,x:m,y:w,w:R.width,h:R.height}),m+=R.width+2*1,x=Math.max(x,R.height)}const O=Math.max(g,m)+1,k=w+x+1,E=new Uint8Array(O*k*4),D=O<<2;for(let S=0;S<u;S++){const C=c[h+(S<<2)][0].data,R=p[S].w<<2;let T=0,H=p[S].x+p[S].y*O<<2;E.set(C.subarray(0,R),H-D);for(let $=0,W=p[S].h;$<W;$++)E.set(C.subarray(T,T+R),H),T+=R,H+=D;for(E.set(C.subarray(T-R,T),H);H>=0;)C[H-4]=C[H],C[H-3]=C[H+1],C[H-2]=C[H+2],C[H-1]=C[H+3],C[H+R]=C[H+R-4],C[H+R+1]=C[H+R-3],C[H+R+2]=C[H+R-2],C[H+R+3]=C[H+R-1],H-=D}const v={width:O,height:k};if(e.isOffscreenCanvasSupported){const S=new OffscreenCanvas(O,k);S.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(E.buffer),O,k),0,0),v.bitmap=S.transferToImageBitmap(),v.data=null}else v.kind=_n.RGBA_32BPP,v.data=E;return a.splice(l,u*4,M.paintInlineImageXObjectGroup),c.splice(l,u*4,[v,p]),l+1}),tc(Yr,[M.save,M.transform,M.paintImageMaskXObject,M.restore],null,function(e,n){const i=e.fnArray,r=e.iCurr-3,s=(n-r)%4;switch(s){case 0:return i[n]===M.save;case 1:return i[n]===M.transform;case 2:return i[n]===M.paintImageMaskXObject;case 3:return i[n]===M.restore}throw new Error(`iterateImageMaskGroup - invalid pos: ${s}`)},function(e,n){const o=e.fnArray,a=e.argsArray,c=e.iCurr,f=c-3,l=c-2,d=c-1;let h=Math.floor((n-f)/4);if(h<10)return n-(n-f)%4;let u=!1,g,p;const x=a[d][0],m=a[l][0],w=a[l][1],O=a[l][2],k=a[l][3];if(w===O){u=!0,g=l+4;let E=d+4;for(let D=1;D<h;D++,g+=4,E+=4)if(p=a[g],a[E][0]!==x||p[0]!==m||p[1]!==w||p[2]!==O||p[3]!==k){D<10?u=!1:h=D;break}}if(u){h=Math.min(h,1e3);const E=new Float32Array(h*2);g=l;for(let D=0;D<h;D++,g+=4)p=a[g],E[D<<1]=p[4],E[(D<<1)+1]=p[5];o.splice(f,h*4,M.paintImageMaskXObjectRepeat),a.splice(f,h*4,[x,m,w,O,k,E])}else{h=Math.min(h,100);const E=[];for(let D=0;D<h;D++){p=a[l+(D<<2)];const v=a[d+(D<<2)][0];E.push({data:v.data,width:v.width,height:v.height,interpolate:v.interpolate,count:v.count,transform:p})}o.splice(f,h*4,M.paintImageMaskXObjectGroup),a.splice(f,h*4,[E])}return f+1}),tc(Yr,[M.save,M.transform,M.paintImageXObject,M.restore],function(t){const e=t.argsArray,n=t.iCurr-2;return e[n][1]===0&&e[n][2]===0},function(e,n){const i=e.fnArray,r=e.argsArray,s=e.iCurr-3,o=(n-s)%4;switch(o){case 0:return i[n]===M.save;case 1:if(i[n]!==M.transform)return!1;const a=e.iCurr-2,c=r[a][0],f=r[a][3];return!(r[n][0]!==c||r[n][1]!==0||r[n][2]!==0||r[n][3]!==f);case 2:if(i[n]!==M.paintImageXObject)return!1;const l=e.iCurr-1,d=r[l][0];return r[n][0]===d;case 3:return i[n]===M.restore}throw new Error(`iterateImageGroup - invalid pos: ${o}`)},function(t,e){const r=t.fnArray,s=t.argsArray,o=t.iCurr,a=o-3,c=o-2,f=o-1,l=s[f][0],d=s[c][0],h=s[c][3],u=Math.min(Math.floor((e-a)/4),1e3);if(u<3)return e-(e-a)%4;const g=new Float32Array(u*2);let p=c;for(let m=0;m<u;m++,p+=4){const w=s[p];g[m<<1]=w[4],g[(m<<1)+1]=w[5]}const x=[l,d,h,g];return r.splice(a,u*4,M.paintImageXObjectRepeat),s.splice(a,u*4,x),a+1}),tc(Yr,[M.beginText,M.setFont,M.setTextMatrix,M.showText,M.endText],null,function(e,n){const i=e.fnArray,r=e.argsArray,s=e.iCurr-4,o=(n-s)%5;switch(o){case 0:return i[n]===M.beginText;case 1:return i[n]===M.setFont;case 2:return i[n]===M.setTextMatrix;case 3:if(i[n]!==M.showText)return!1;const a=e.iCurr-3,c=r[a][0],f=r[a][1];return!(r[n][0]!==c||r[n][1]!==f);case 4:return i[n]===M.endText}throw new Error(`iterateShowTextGroup - invalid pos: ${o}`)},function(t,e){const r=t.fnArray,s=t.argsArray,o=t.iCurr,a=o-4,c=o-3,f=o-2,l=o-1,d=o,h=s[c][0],u=s[c][1];let g=Math.min(Math.floor((e-a)/5),1e3);if(g<3)return e-(e-a)%5;let p=a;a>=4&&r[a-4]===r[c]&&r[a-3]===r[f]&&r[a-2]===r[l]&&r[a-1]===r[d]&&s[a-4][0]===h&&s[a-4][1]===u&&(g++,p-=5);let x=p+4;for(let m=1;m<g;m++)r.splice(x,3),s.splice(x,3),x+=2;return x+1}),tc(Yr,[M.save,M.transform,M.constructPath,M.restore],t=>{const e=t.argsArray,n=t.iCurr-1,i=e[n][0];if(i!==M.stroke&&i!==M.closeStroke&&i!==M.fillStroke&&i!==M.eoFillStroke&&i!==M.closeFillStroke&&i!==M.closeEOFillStroke)return!0;const r=t.iCurr-2,s=e[r];return s[0]===1&&s[1]===0&&s[2]===0&&s[3]===1},()=>!1,(t,e)=>{const{fnArray:n,argsArray:i}=t,r=t.iCurr,s=r-3,o=r-2,a=r-1,c=i[a],f=i[o],[,[l],d]=c;if(d){wt.scaleMinMax(f,d);for(let h=0,u=l.length;h<u;)switch(l[h++]){case fn.moveTo:case fn.lineTo:wt.applyTransform(l,f,h),h+=2;break;case fn.curveTo:wt.applyTransformToBezier(l,f,h),h+=6;break}}return n.splice(s,4,M.constructPath),i.splice(s,4,c),s+1});class F2{constructor(e){this.queue=e}_optimize(){}push(e,n){this.queue.fnArray.push(e),this.queue.argsArray.push(n),this._optimize()}flush(){}reset(){}}class Gp extends F2{constructor(e){super(e),this.state=null,this.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray,isOffscreenCanvasSupported:En.isOffscreenCanvasSupported},this.match=null,this.lastProcessed=0}_optimize(){const e=this.queue.fnArray;let n=this.lastProcessed,i=e.length,r=this.state,s=this.match;if(!r&&!s&&n+1===i&&!Yr[e[n]]){this.lastProcessed=i;return}const o=this.context;for(;n<i;){if(s){if((0,s.iterateFn)(o,n)){n++;continue}if(n=(0,s.processFn)(o,n+1),i=e.length,s=null,r=null,n>=i)break}if(r=(r||Yr)[e[n]],!r||Array.isArray(r)){n++;continue}if(o.iCurr=n,n++,r.checkFn&&!(0,r.checkFn)(o)){r=null;continue}s=r,r=null}this.state=r,this.match=s,this.lastProcessed=n}flush(){for(;this.match;){const e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e),this.match=null,this.state=null,this._optimize()}}reset(){this.state=null,this.match=null,this.lastProcessed=0}}class En{static CHUNK_SIZE=1e3;static CHUNK_SIZE_ABOUT=this.CHUNK_SIZE-5;static isOffscreenCanvasSupported=!1;constructor(e=0,n){this._streamSink=n,this.fnArray=[],this.argsArray=[],this.optimizer=n&&!(e&Vn.OPLIST)?new Gp(this):new F2(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=n?null:Promise.resolve()}static setOptions({isOffscreenCanvasSupported:e}){this.isOffscreenCanvasSupported=e}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(e,n){this.optimizer.push(e,n),this.weight++,this._streamSink&&(this.weight>=En.CHUNK_SIZE?this.flush():this.weight>=En.CHUNK_SIZE_ABOUT&&(e===M.restore||e===M.endText)&&this.flush())}addImageOps(e,n,i,r=!1){r&&(this.addOp(M.save),this.addOp(M.setGState,[[["SMask",!1]]])),i!==void 0&&this.addOp(M.beginMarkedContentProps,["OC",i]),this.addOp(e,n),i!==void 0&&this.addOp(M.endMarkedContent,[]),r&&this.addOp(M.restore)}addDependency(e){this.dependencies.has(e)||(this.dependencies.add(e),this.addOp(M.dependency,[e]))}addDependencies(e){for(const n of e)this.addDependency(n)}addOpList(e){if(!(e instanceof En)){L('addOpList - ignoring invalid "opList" parameter.');return}for(const n of e.dependencies)this.dependencies.add(n);for(let n=0,i=e.length;n<i;n++)this.addOp(e.fnArray[n],e.argsArray[n])}getIR(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}get _transfers(){const e=[],{fnArray:n,argsArray:i,length:r}=this;for(let s=0;s<r;s++)switch(n[s]){case M.paintInlineImageXObject:case M.paintInlineImageXObjectGroup:case M.paintImageMaskXObject:{const{bitmap:c,data:f}=i[s][0];(c||f?.buffer)&&e.push(c||f.buffer);break}case M.constructPath:{const[,[c],f]=i[s];c&&e.push(c.buffer,f.buffer);break}case M.paintFormXObjectBegin:const[o,a]=i[s];o&&e.push(o.buffer),a&&e.push(a.buffer);break;case M.setTextMatrix:e.push(i[s][0].buffer);break}return e}flush(e=!1,n=null){this.optimizer.flush();const i=this.length;this._totalLength+=i,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:e,separateAnnots:n,length:i},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}function Zn(t,e){let n=0;for(let i=0;i<=e;i++)n=n<<8|t[i];return n>>>0}function V0(t,e){return e===1?String.fromCharCode(t[0],t[1]):e===3?String.fromCharCode(t[0],t[1],t[2],t[3]):String.fromCharCode(...t.subarray(0,e+1))}function na(t,e,n){let i=0;for(let r=n;r>=0;r--)i+=t[r]+e[r],t[r]=i&255,i>>=8}function Hr(t,e){let n=1;for(let i=e;i>=0&&n>0;i--)n+=t[i],t[i]=n&255,n>>=8}const Ns=16,Xp=19;class Wp{constructor(e){this.buffer=e,this.pos=0,this.end=e.length,this.tmpBuf=new Uint8Array(Xp)}readByte(){return this.pos>=this.end?-1:this.buffer[this.pos++]}readNumber(){let e=0,n;do{const i=this.readByte();if(i<0)throw new re("unexpected EOF in bcmap");n=!(i&128),e=e<<7|i&127}while(!n);return e}readSigned(){const e=this.readNumber();return e&1?~(e>>>1):e>>>1}readHex(e,n){e.set(this.buffer.subarray(this.pos,this.pos+n+1)),this.pos+=n+1}readHexNumber(e,n){let i;const r=this.tmpBuf;let s=0;do{const f=this.readByte();if(f<0)throw new re("unexpected EOF in bcmap");i=!(f&128),r[s++]=f&127}while(!i);let o=n,a=0,c=0;for(;o>=0;){for(;c<8&&r.length>0;)a|=r[--s]<<c,c+=7;e[o]=a&255,o--,a>>=8,c-=8}}readHexSigned(e,n){this.readHexNumber(e,n);const i=e[n]&1?255:0;let r=0;for(let s=0;s<=n;s++)r=(r&1)<<8|e[s],e[s]=r>>1^i}readString(){const e=this.readNumber(),n=new Array(e);for(let i=0;i<e;i++)n[i]=this.readNumber();return String.fromCharCode(...n)}}class Vp{async process(e,n,i){const r=new Wp(e),s=r.readByte();n.vertical=!!(s&1);let o=null;const a=new Uint8Array(Ns),c=new Uint8Array(Ns),f=new Uint8Array(Ns),l=new Uint8Array(Ns),d=new Uint8Array(Ns);let h,u;for(;(u=r.readByte())>=0;){const g=u>>5;if(g===7){switch(u&31){case 0:r.readString();break;case 1:o=r.readString();break}continue}const p=!!(u&16),x=u&15;if(x+1>Ns)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const m=1,w=r.readNumber();switch(g){case 0:r.readHex(a,x),r.readHexNumber(c,x),na(c,a,x),n.addCodespaceRange(x+1,Zn(a,x),Zn(c,x));for(let O=1;O<w;O++)Hr(c,x),r.readHexNumber(a,x),na(a,c,x),r.readHexNumber(c,x),na(c,a,x),n.addCodespaceRange(x+1,Zn(a,x),Zn(c,x));break;case 1:r.readHex(a,x),r.readHexNumber(c,x),na(c,a,x),r.readNumber();for(let O=1;O<w;O++)Hr(c,x),r.readHexNumber(a,x),na(a,c,x),r.readHexNumber(c,x),na(c,a,x),r.readNumber();break;case 2:r.readHex(f,x),h=r.readNumber(),n.mapOne(Zn(f,x),h);for(let O=1;O<w;O++)Hr(f,x),p||(r.readHexNumber(d,x),na(f,d,x)),h=r.readSigned()+(h+1),n.mapOne(Zn(f,x),h);break;case 3:r.readHex(a,x),r.readHexNumber(c,x),na(c,a,x),h=r.readNumber(),n.mapCidRange(Zn(a,x),Zn(c,x),h);for(let O=1;O<w;O++)Hr(c,x),p?a.set(c):(r.readHexNumber(a,x),na(a,c,x)),r.readHexNumber(c,x),na(c,a,x),h=r.readNumber(),n.mapCidRange(Zn(a,x),Zn(c,x),h);break;case 4:r.readHex(f,m),r.readHex(l,x),n.mapOne(Zn(f,m),V0(l,x));for(let O=1;O<w;O++)Hr(f,m),p||(r.readHexNumber(d,m),na(f,d,m)),Hr(l,x),r.readHexSigned(d,x),na(l,d,x),n.mapOne(Zn(f,m),V0(l,x));break;case 5:r.readHex(a,m),r.readHexNumber(c,m),na(c,a,m),r.readHex(l,x),n.mapBfRange(Zn(a,m),Zn(c,m),V0(l,x));for(let O=1;O<w;O++)Hr(c,m),p?a.set(c):(r.readHexNumber(a,m),na(a,c,m)),r.readHexNumber(c,m),na(c,a,m),r.readHex(l,x),n.mapBfRange(Zn(a,m),Zn(c,m),V0(l,x));break;default:throw new Error(`BinaryCMapReader.process - unknown type: ${g}`)}}return o?i(o):n}}class Kp extends ta{constructor(e,n){n&&(n*=.8),super(n),this.str=e,this.dict=e.dict,this.input=new Uint8Array(5)}readBlock(){const r=this.str;let s=r.getByte();for(;wa(s);)s=r.getByte();if(s===-1||s===126){this.eof=!0;return}const o=this.bufferLength;let a,c;if(s===122){for(a=this.ensureBuffer(o+4),c=0;c<4;++c)a[o+c]=0;this.bufferLength+=4}else{const f=this.input;for(f[0]=s,c=1;c<5;++c){for(s=r.getByte();wa(s);)s=r.getByte();if(f[c]=s,s===-1||s===126)break}if(a=this.ensureBuffer(o+c-1),this.bufferLength+=c-1,c<5){for(;c<5;++c)f[c]=33+84;this.eof=!0}let l=0;for(c=0;c<5;++c)l=l*85+(f[c]-33);for(c=3;c>=0;--c)a[o+c]=l&255,l>>=8}}}class Qp extends ta{constructor(e,n){n&&(n*=.5),super(n),this.str=e,this.dict=e.dict,this.firstDigit=-1}readBlock(){const n=this.str.getBytes(8e3);if(!n.length){this.eof=!0;return}const i=n.length+1>>1,r=this.ensureBuffer(this.bufferLength+i);let s=this.bufferLength,o=this.firstDigit;for(const a of n){let c;if(a>=48&&a<=57)c=a&15;else if(a>=65&&a<=70||a>=97&&a<=102)c=(a&15)+9;else if(a===62){this.eof=!0;break}else continue;o<0?o=c:(r[s++]=o<<4|c,o=-1)}o>=0&&this.eof&&(r[s++]=o<<4,o=-1),this.firstDigit=o,this.bufferLength=s}}const Rd=-2,Ii=-1,Si=0,Rn=1,$e=2,Mn=3,Un=4,Md=5,Ud=6,N2=7,B2=8,Y2=[[-1,-1],[-1,-1],[7,B2],[7,N2],[6,Ud],[6,Ud],[6,Md],[6,Md],[4,Si],[4,Si],[4,Si],[4,Si],[4,Si],[4,Si],[4,Si],[4,Si],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Rn],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Un],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[3,Mn],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e],[1,$e]],H2=[[-1,-1],[12,Rd],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],Z2=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],z2=[[-1,-1],[-1,-1],[12,Rd],[12,Rd],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],q2=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],$2=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];class G2{constructor(e,n={}){if(typeof e?.next!="function")throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=e,this.eof=!1,this.encoding=n.K||0,this.eoline=n.EndOfLine||!1,this.byteAlign=n.EncodedByteAlign||!1,this.columns=n.Columns||1728,this.rows=n.Rows||0,this.eoblock=n.EndOfBlock??!0,this.black=n.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;let i;for(;(i=this._lookBits(12))===0;)this._eatBits(1);i===1&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}readNextChar(){if(this.eof)return-1;const e=this.refLine,n=this.codingLine,i=this.columns;let r,s,o,a;if(this.outputBits===0){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;this.err=!1;let f,l,d;if(this.nextLine2D){for(a=0;n[a]<i;++a)e[a]=n[a];for(e[a++]=i,e[a]=i,n[0]=0,this.codingPos=0,r=0,s=0;n[this.codingPos]<i;)switch(f=this._getTwoDimCode(),f){case Si:this._addPixels(e[r+1],s),e[r+1]<i&&(r+=2);break;case Rn:if(f=l=0,s){do f+=d=this._getBlackCode();while(d>=64);do l+=d=this._getWhiteCode();while(d>=64)}else{do f+=d=this._getWhiteCode();while(d>=64);do l+=d=this._getBlackCode();while(d>=64)}for(this._addPixels(n[this.codingPos]+f,s),n[this.codingPos]<i&&this._addPixels(n[this.codingPos]+l,s^1);e[r]<=n[this.codingPos]&&e[r]<i;)r+=2;break;case N2:if(this._addPixels(e[r]+3,s),s^=1,n[this.codingPos]<i)for(++r;e[r]<=n[this.codingPos]&&e[r]<i;)r+=2;break;case Md:if(this._addPixels(e[r]+2,s),s^=1,n[this.codingPos]<i)for(++r;e[r]<=n[this.codingPos]&&e[r]<i;)r+=2;break;case Mn:if(this._addPixels(e[r]+1,s),s^=1,n[this.codingPos]<i)for(++r;e[r]<=n[this.codingPos]&&e[r]<i;)r+=2;break;case $e:if(this._addPixels(e[r],s),s^=1,n[this.codingPos]<i)for(++r;e[r]<=n[this.codingPos]&&e[r]<i;)r+=2;break;case B2:if(this._addPixelsNeg(e[r]-3,s),s^=1,n[this.codingPos]<i)for(r>0?--r:++r;e[r]<=n[this.codingPos]&&e[r]<i;)r+=2;break;case Ud:if(this._addPixelsNeg(e[r]-2,s),s^=1,n[this.codingPos]<i)for(r>0?--r:++r;e[r]<=n[this.codingPos]&&e[r]<i;)r+=2;break;case Un:if(this._addPixelsNeg(e[r]-1,s),s^=1,n[this.codingPos]<i)for(r>0?--r:++r;e[r]<=n[this.codingPos]&&e[r]<i;)r+=2;break;case Ii:this._addPixels(i,0),this.eof=!0;break;default:st("bad 2d code"),this._addPixels(i,0),this.err=!0}}else for(n[0]=0,this.codingPos=0,s=0;n[this.codingPos]<i;){if(f=0,s)do f+=d=this._getBlackCode();while(d>=64);else do f+=d=this._getWhiteCode();while(d>=64);this._addPixels(n[this.codingPos]+f,s),s^=1}let h=!1;if(this.byteAlign&&(this.inputBits&=-8),!this.eoblock&&this.row===this.rows-1)this.rowsDone=!0;else{if(f=this._lookBits(12),this.eoline)for(;f!==Ii&&f!==1;)this._eatBits(1),f=this._lookBits(12);else for(;f===0;)this._eatBits(1),f=this._lookBits(12);f===1?(this._eatBits(12),h=!0):f===Ii&&(this.eof=!0)}if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&h&&this.byteAlign){if(f=this._lookBits(12),f===1){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(a=0;a<4;++a)f=this._lookBits(12),f!==1&&st("bad rtc code: "+f),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(f=this._lookBits(13),f===Ii)return this.eof=!0,-1;if(f>>1===1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(f&1))}this.outputBits=n[0]>0?n[this.codingPos=0]:n[this.codingPos=1],this.row++}let c;if(this.outputBits>=8)c=this.codingPos&1?0:255,this.outputBits-=8,this.outputBits===0&&n[this.codingPos]<i&&(this.codingPos++,this.outputBits=n[this.codingPos]-n[this.codingPos-1]);else{o=8,c=0;do{if(typeof this.outputBits!="number")throw new re('Invalid /CCITTFaxDecode data, "outputBits" must be a number.');this.outputBits>o?(c<<=o,this.codingPos&1||(c|=255>>8-o),this.outputBits-=o,o=0):(c<<=this.outputBits,this.codingPos&1||(c|=255>>8-this.outputBits),o-=this.outputBits,this.outputBits=0,n[this.codingPos]<i?(this.codingPos++,this.outputBits=n[this.codingPos]-n[this.codingPos-1]):o>0&&(c<<=o,o=0))}while(o)}return this.black&&(c^=255),c}_addPixels(e,n){const i=this.codingLine;let r=this.codingPos;e>i[r]&&(e>this.columns&&(st("row is wrong length"),this.err=!0,e=this.columns),r&1^n&&++r,i[r]=e),this.codingPos=r}_addPixelsNeg(e,n){const i=this.codingLine;let r=this.codingPos;if(e>i[r])e>this.columns&&(st("row is wrong length"),this.err=!0,e=this.columns),r&1^n&&++r,i[r]=e;else if(e<i[r]){for(e<0&&(st("invalid code"),this.err=!0,e=0);r>0&&e<i[r-1];)--r;i[r]=e}this.codingPos=r}_findTableCode(e,n,i,r){const s=r||0;for(let o=e;o<=n;++o){let a=this._lookBits(o);if(a===Ii)return[!0,1,!1];if(o<n&&(a<<=n-o),!s||a>=s){const c=i[a-s];if(c[0]===o)return this._eatBits(o),[!0,c[1],!0]}}return[!1,0,!1]}_getTwoDimCode(){let e=0,n;if(this.eoblock){if(e=this._lookBits(7),n=Y2[e],n?.[0]>0)return this._eatBits(n[0]),n[1]}else{const i=this._findTableCode(1,7,Y2);if(i[0]&&i[2])return i[1]}return st("Bad two dim code"),Ii}_getWhiteCode(){let e=0,n;if(this.eoblock){if(e=this._lookBits(12),e===Ii)return 1;if(n=e>>5?Z2[e>>3]:H2[e],n[0]>0)return this._eatBits(n[0]),n[1]}else{let i=this._findTableCode(1,9,Z2);if(i[0]||(i=this._findTableCode(11,12,H2),i[0]))return i[1]}return st("bad white code"),this._eatBits(1),1}_getBlackCode(){let e,n;if(this.eoblock){if(e=this._lookBits(13),e===Ii)return 1;if(e>>7?!(e>>9)&&e>>7?n=q2[(e>>1)-64]:n=$2[e>>7]:n=z2[e],n[0]>0)return this._eatBits(n[0]),n[1]}else{let i=this._findTableCode(2,6,$2);if(i[0]||(i=this._findTableCode(7,12,q2,64),i[0])||(i=this._findTableCode(10,13,z2),i[0]))return i[1]}return st("bad black code"),this._eatBits(1),1}_lookBits(e){let n;for(;this.inputBits<e;){if((n=this.source.next())===-1)return this.inputBits===0?Ii:this.inputBuf<<e-this.inputBits&65535>>16-e;this.inputBuf=this.inputBuf<<8|n,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e}_eatBits(e){(this.inputBits-=e)<0&&(this.inputBits=0)}}class Jp extends ta{constructor(e,n,i){super(n),this.str=e,this.dict=e.dict,i instanceof q||(i=q.empty);const r={next(){return e.getByte()}};this.ccittFaxDecoder=new G2(r,{K:i.get("K"),EndOfLine:i.get("EndOfLine"),EncodedByteAlign:i.get("EncodedByteAlign"),Columns:i.get("Columns"),Rows:i.get("Rows"),EndOfBlock:i.get("EndOfBlock"),BlackIs1:i.get("BlackIs1")})}readBlock(){for(;!this.eof;){const e=this.ccittFaxDecoder.readNextChar();if(e===-1){this.eof=!0;return}this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=e}}}const X2=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),em=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),tm=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),nm=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],am=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];class W2 extends ta{constructor(e,n){super(n),this.str=e,this.dict=e.dict;const i=e.getByte(),r=e.getByte();if(i===-1||r===-1)throw new re(`Invalid header in flate stream: ${i}, ${r}`);if((i&15)!==8)throw new re(`Unknown compression method in flate stream: ${i}, ${r}`);if(((i<<8)+r)%31!==0)throw new re(`Bad FCHECK in flate stream: ${i}, ${r}`);if(r&32)throw new re(`FDICT bit set in flate stream: ${i}, ${r}`);this.codeSize=0,this.codeBuf=0}async getImageData(e,n){const i=await this.asyncGetBytes();return i?i.length<=e?i:i.subarray(0,e):this.getBytes(e)}async asyncGetBytes(){this.str.reset();const e=this.str.getBytes();try{const{readable:n,writable:i}=new DecompressionStream("deflate"),r=i.getWriter();await r.ready,r.write(e).then(async()=>{await r.ready,await r.close()}).catch(()=>{});const s=[];let o=0;for await(const f of n)s.push(f),o+=f.byteLength;const a=new Uint8Array(o);let c=0;for(const f of s)a.set(f,c),c+=f.byteLength;return a}catch{return this.str=new qt(e,2,e.length,this.str.dict),this.reset(),null}}get isAsync(){return!0}getBits(e){const n=this.str;let i=this.codeSize,r=this.codeBuf,s;for(;i<e;){if((s=n.getByte())===-1)throw new re("Bad encoding in flate stream");r|=s<<i,i+=8}return s=r&(1<<e)-1,this.codeBuf=r>>e,this.codeSize=i-=e,s}getCode(e){const n=this.str,i=e[0],r=e[1];let s=this.codeSize,o=this.codeBuf,a;for(;s<r&&(a=n.getByte())!==-1;)o|=a<<s,s+=8;const c=i[o&(1<<r)-1],f=c>>16,l=c&65535;if(f<1||s<f)throw new re("Bad encoding in flate stream");return this.codeBuf=o>>f,this.codeSize=s-f,l}generateHuffmanTable(e){const n=e.length;let i=0,r;for(r=0;r<n;++r)e[r]>i&&(i=e[r]);const s=1<<i,o=new Int32Array(s);for(let a=1,c=0,f=2;a<=i;++a,c<<=1,f<<=1)for(let l=0;l<n;++l)if(e[l]===a){let d=0,h=c;for(r=0;r<a;++r)d=d<<1|h&1,h>>=1;for(r=d;r<s;r+=f)o[r]=a<<16|l;++c}return[o,i]}#e(e){st(e),this.eof=!0}readBlock(){let e,n,i;const r=this.str;try{n=this.getBits(3)}catch(f){this.#e(f.message);return}if(n&1&&(this.eof=!0),n>>=1,n===0){let f;if((f=r.getByte())===-1){this.#e("Bad block header in flate stream");return}let l=f;if((f=r.getByte())===-1){this.#e("Bad block header in flate stream");return}if(l|=f<<8,(f=r.getByte())===-1){this.#e("Bad block header in flate stream");return}let d=f;if((f=r.getByte())===-1){this.#e("Bad block header in flate stream");return}if(d|=f<<8,d!==(~l&65535)&&(l!==0||d!==0))throw new re("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;const h=this.bufferLength,u=h+l;if(e=this.ensureBuffer(u),this.bufferLength=u,l===0)r.peekByte()===-1&&(this.eof=!0);else{const g=r.getBytes(l);e.set(g,h),g.length<l&&(this.eof=!0)}return}let s,o;if(n===1)s=nm,o=am;else if(n===2){const f=this.getBits(5)+257,l=this.getBits(5)+1,d=this.getBits(4)+4,h=new Uint8Array(X2.length);let u;for(u=0;u<d;++u)h[X2[u]]=this.getBits(3);const g=this.generateHuffmanTable(h);i=0,u=0;const p=f+l,x=new Uint8Array(p);let m,w,O;for(;u<p;){const k=this.getCode(g);if(k===16)m=2,w=3,O=i;else if(k===17)m=3,w=3,O=i=0;else if(k===18)m=7,w=11,O=i=0;else{x[u++]=i=k;continue}let E=this.getBits(m)+w;for(;E-- >0;)x[u++]=O}s=this.generateHuffmanTable(x.subarray(0,f)),o=this.generateHuffmanTable(x.subarray(f,p))}else throw new re("Unknown block type in flate stream");e=this.buffer;let a=e?e.length:0,c=this.bufferLength;for(;;){let f=this.getCode(s);if(f<256){c+1>=a&&(e=this.ensureBuffer(c+1),a=e.length),e[c++]=f;continue}if(f===256){this.bufferLength=c;return}f-=257,f=em[f];let l=f>>16;l>0&&(l=this.getBits(l)),i=(f&65535)+l,f=this.getCode(o),f=tm[f],l=f>>16,l>0&&(l=this.getBits(l));const d=(f&65535)+l;c+i>=a&&(e=this.ensureBuffer(c+i),a=e.length);for(let h=0;h<i;++h,++c)e[c]=e[c-d]}}}const im=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];class rm{constructor(e,n,i){this.data=e,this.bp=n,this.dataEnd=i,this.chigh=e[n],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}byteIn(){const e=this.data;let n=this.bp;e[n]===255?e[n+1]>143?(this.clow+=65280,this.ct=8):(n++,this.clow+=e[n]<<9,this.ct=7,this.bp=n):(n++,this.clow+=n<this.dataEnd?e[n]<<8:65280,this.ct=8,this.bp=n),this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}readBit(e,n){let i=e[n]>>1,r=e[n]&1;const s=im[i],o=s.qe;let a,c=this.a-o;if(this.chigh<o)c<o?(c=o,a=r,i=s.nmps):(c=o,a=1^r,s.switchFlag===1&&(r=a),i=s.nlps);else{if(this.chigh-=o,c&32768)return this.a=c,r;c<o?(a=1^r,s.switchFlag===1&&(r=a),i=s.nlps):(a=r,i=s.nmps)}do this.ct===0&&this.byteIn(),c<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--;while(!(c&32768));return this.a=c,e[n]=i<<1|r,a}}class Bt extends Kn{constructor(e){super(e,"Jbig2Error")}}class sm{getContexts(e){return e in this?this[e]:this[e]=new Int8Array(1<<16)}}class nc{constructor(e,n,i){this.data=e,this.start=n,this.end=i}get decoder(){const e=new rm(this.data,this.start,this.end);return ge(this,"decoder",e)}get contextCache(){const e=new sm;return ge(this,"contextCache",e)}}function zn(t,e,n){const i=t.getContexts(e);let r=1;function s(f){let l=0;for(let d=0;d<f;d++){const h=n.readBit(i,r);r=r<256?r<<1|h:(r<<1|h)&511|256,l=l<<1|h}return l>>>0}const o=s(1),a=s(1)?s(1)?s(1)?s(1)?s(1)?s(32)+4436:s(12)+340:s(8)+84:s(6)+20:s(4)+4:s(2);let c;return o===0?c=a:a>0&&(c=-a),c>=tp&&c<=md?c:null}function V2(t,e,n){const i=t.getContexts("IAID");let r=1;for(let s=0;s<n;s++){const o=e.readBit(i,r);r=r<<1|o}return n<31?r&(1<<n)-1:r&2147483647}const K2=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],om=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],Q2=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],cm=[39717,1941,229,405],fm=[32,8];function lm(t,e,n){const i=n.decoder,r=n.contextCache.getContexts("GB"),s=[];let o,a,c,f,l,d,h;const u=31735;for(a=0;a<e;a++)for(l=s[a]=new Uint8Array(t),d=a<1?l:s[a-1],h=a<2?l:s[a-2],o=h[0]<<13|h[1]<<12|h[2]<<11|d[0]<<7|d[1]<<6|d[2]<<5|d[3]<<4,c=0;c<t;c++)l[c]=f=i.readBit(r,o),o=(o&u)<<1|(c+3<t?h[c+3]<<11:0)|(c+4<t?d[c+4]<<4:0)|f;return s}function K0(t,e,n,i,r,s,o,a){if(t){const Pe=new ac(a.data,a.start,a.end);return Td(Pe,e,n,!1)}if(i===0&&!s&&!r&&o.length===4&&o[0].x===3&&o[0].y===-1&&o[1].x===-3&&o[1].y===-1&&o[2].x===2&&o[2].y===-2&&o[3].x===-2&&o[3].y===-2)return lm(e,n,a);const c=!!s,f=om[i].concat(o);f.sort((Pe,V)=>Pe.y-V.y||Pe.x-V.x);const l=f.length,d=new Int8Array(l),h=new Int8Array(l),u=[];let g=0,p=0,x=0,m=0,w,O;for(O=0;O<l;O++)d[O]=f[O].x,h[O]=f[O].y,p=Math.min(p,f[O].x),x=Math.max(x,f[O].x),m=Math.min(m,f[O].y),O<l-1&&f[O].y===f[O+1].y&&f[O].x===f[O+1].x-1?g|=1<<l-1-O:u.push(O);const k=u.length,E=new Int8Array(k),D=new Int8Array(k),v=new Uint16Array(k);for(w=0;w<k;w++)O=u[w],E[w]=f[O].x,D[w]=f[O].y,v[w]=1<<l-1-O;const S=-p,C=-m,R=e-x,T=cm[i];let H=new Uint8Array(e);const $=[],W=a.decoder,Y=a.contextCache.getContexts("GB");let Z=0,B,z,ee,X=0,te,Ee;for(let Pe=0;Pe<n;Pe++){if(r){const V=W.readBit(Y,T);if(Z^=V,Z){$.push(H);continue}}for(H=new Uint8Array(H),$.push(H),B=0;B<e;B++){if(c&&s[Pe][B]){H[B]=0;continue}if(B>=S&&B<R&&Pe>=C)for(X=X<<1&g,O=0;O<k;O++)z=Pe+D[O],ee=B+E[O],te=$[z][ee],te&&(te=v[O],X|=te);else for(X=0,Ee=l-1,O=0;O<l;O++,Ee--)ee=B+d[O],ee>=0&&ee<e&&(z=Pe+h[O],z>=0&&(te=$[z][ee],te&&(X|=te<<Ee)));const V=W.readBit(Y,X);H[B]=V}}return $}function J2(t,e,n,i,r,s,o,a,c){let f=Q2[n].coding;n===0&&(f=f.concat([a[0]]));const l=f.length,d=new Int32Array(l),h=new Int32Array(l);let u;for(u=0;u<l;u++)d[u]=f[u].x,h[u]=f[u].y;let g=Q2[n].reference;n===0&&(g=g.concat([a[1]]));const p=g.length,x=new Int32Array(p),m=new Int32Array(p);for(u=0;u<p;u++)x[u]=g[u].x,m[u]=g[u].y;const w=i[0].length,O=i.length,k=fm[n],E=[],D=c.decoder,v=c.contextCache.getContexts("GR");let S=0;for(let C=0;C<e;C++){if(o){const T=D.readBit(v,k);if(S^=T,S)throw new Bt("prediction is not supported")}const R=new Uint8Array(t);E.push(R);for(let T=0;T<t;T++){let H,$,W=0;for(u=0;u<l;u++)H=C+h[u],$=T+d[u],H<0||$<0||$>=t?W<<=1:W=W<<1|E[H][$];for(u=0;u<p;u++)H=C+m[u]-s,$=T+x[u]-r,H<0||H>=O||$<0||$>=w?W<<=1:W=W<<1|i[H][$];const Y=D.readBit(v,W);R[T]=Y}}return E}function dm(t,e,n,i,r,s,o,a,c,f,l,d){if(t&&e)throw new Bt("symbol refinement with Huffman is not supported");const h=[];let u=0,g=kd(n.length+i);const p=l.decoder,x=l.contextCache;let m,w;for(t&&(m=rr(1),w=[],g=Math.max(g,1));h.length<i;){const C=t?s.tableDeltaHeight.decode(d):zn(x,"IADH",p);u+=C;let R=0,T=0;const H=t?w.length:0;for(;;){const $=t?s.tableDeltaWidth.decode(d):zn(x,"IADW",p);if($===null)break;R+=$,T+=R;let W;if(e){const Y=zn(x,"IAAI",p);if(Y>1)W=eg(t,e,R,u,0,Y,1,n.concat(h),g,0,0,1,0,s,c,f,l,0,d);else{const Z=V2(x,p,g),B=zn(x,"IARDX",p),z=zn(x,"IARDY",p),ee=Z<n.length?n[Z]:h[Z-n.length];W=J2(R,u,c,ee,B,z,!1,f,l)}h.push(W)}else t?w.push(R):(W=K0(!1,R,u,o,!1,null,a,l),h.push(W))}if(t&&!e){const $=s.tableBitmapSize.decode(d);d.byteAlign();let W;if($===0)W=km(d,T,u);else{const Z=d.end,B=d.position+$;d.end=B,W=Td(d,T,u,!1),d.end=Z,d.position=B}const Y=w.length;if(H===Y-1)h.push(W);else{let Z,B,z=0,ee,X,te;for(Z=H;Z<Y;Z++){for(X=w[Z],ee=z+X,te=[],B=0;B<u;B++)te.push(W[B].subarray(z,ee));h.push(te),z=ee}}}}const O=[],k=[];let E=!1,D,v;const S=n.length+i;for(;k.length<S;){let C=t?m.decode(d):zn(x,"IAEX",p);for(;C--;)k.push(E);E=!E}for(D=0,v=n.length;D<v;D++)k[D]&&O.push(n[D]);for(let C=0;C<i;D++,C++)k[D]&&O.push(h[C]);return O}function eg(t,e,n,i,r,s,o,a,c,f,l,d,h,u,g,p,x,m,w){if(t&&e)throw new Bt("refinement with Huffman is not supported");const O=[];let k,E;for(k=0;k<i;k++)E=new Uint8Array(n),r&&E.fill(r),O.push(E);const D=x.decoder,v=x.contextCache;let S=t?-u.tableDeltaT.decode(w):-zn(v,"IADT",D),C=0;for(k=0;k<s;){const R=t?u.tableDeltaT.decode(w):zn(v,"IADT",D);S+=R;const T=t?u.tableFirstS.decode(w):zn(v,"IAFS",D);C+=T;let H=C;do{let $=0;o>1&&($=t?w.readBits(m):zn(v,"IAIT",D));const W=o*S+$,Y=t?u.symbolIDTable.decode(w):V2(v,D,c),Z=e&&(t?w.readBit():zn(v,"IARI",D));let B=a[Y],z=B[0].length,ee=B.length;if(Z){const J=zn(v,"IARDW",D),ce=zn(v,"IARDH",D),je=zn(v,"IARDX",D),be=zn(v,"IARDY",D);z+=J,ee+=ce,B=J2(z,ee,g,B,(J>>1)+je,(ce>>1)+be,!1,p,x)}let X=0;f?d&1?X=ee-1:H+=ee-1:d>1?H+=z-1:X=z-1;const te=W-(d&1?0:ee-1),Ee=H-(d&2?z-1:0);let Pe,V,Q;if(f)for(Pe=0;Pe<ee;Pe++){if(E=O[Ee+Pe],!E)continue;Q=B[Pe];const J=Math.min(n-te,z);switch(h){case 0:for(V=0;V<J;V++)E[te+V]|=Q[V];break;case 2:for(V=0;V<J;V++)E[te+V]^=Q[V];break;default:throw new Bt(`operator ${h} is not supported`)}}else for(V=0;V<ee;V++)if(E=O[te+V],!!E)switch(Q=B[V],h){case 0:for(Pe=0;Pe<z;Pe++)E[Ee+Pe]|=Q[Pe];break;case 2:for(Pe=0;Pe<z;Pe++)E[Ee+Pe]^=Q[Pe];break;default:throw new Bt(`operator ${h} is not supported`)}k++;const N=t?u.tableDeltaS.decode(w):zn(v,"IADS",D);if(N===null)break;H+=X+N+l}while(!0)}return O}function hm(t,e,n,i,r,s){const o=[];t||(o.push({x:-e,y:0}),r===0&&o.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));const a=(i+1)*e,c=K0(t,a,n,r,!1,null,o,s),f=[];for(let l=0;l<=i;l++){const d=[],h=e*l,u=h+e;for(let g=0;g<n;g++)d.push(c[g].subarray(h,u));f.push(d)}return f}function um(t,e,n,i,r,s,o,a,c,f,l,d,h,u,g){if(o)throw new Bt("skip is not supported");if(a!==0)throw new Bt(`operator "${a}" is not supported in halftone region`);const x=[];let m,w,O;for(m=0;m<r;m++)O=new Uint8Array(i),s&&O.fill(s),x.push(O);const k=e.length,E=e[0],D=E[0].length,v=E.length,S=kd(k),C=[];t||(C.push({x:n<=1?3:2,y:-1}),n===0&&C.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));const R=[];let T,H;for(t&&(T=new ac(g.data,g.start,g.end)),m=S-1;m>=0;m--)t?H=Td(T,c,f,!0):H=K0(!1,c,f,n,!1,null,C,g),R[m]=H;let $,W,Y,Z,B,z,ee,X,te;for($=0;$<f;$++)for(W=0;W<c;W++){for(Y=0,Z=0,w=S-1;w>=0;w--)Y^=R[w][$][W],Z|=Y<<w;if(B=e[Z],z=l+$*u+W*h>>8,ee=d+$*h-W*u>>8,z>=0&&z+D<=i&&ee>=0&&ee+v<=r)for(m=0;m<v;m++)for(te=x[ee+m],X=B[m],w=0;w<D;w++)te[z+w]|=X[w];else{let Ee,Pe;for(m=0;m<v;m++)if(Pe=ee+m,!(Pe<0||Pe>=r))for(te=x[Pe],X=B[m],w=0;w<D;w++)Ee=z+w,Ee>=0&&Ee<i&&(te[Ee]|=X[w])}}return x}function bm(t,e){const n={};n.number=jt(t,e);const i=t[e+4],r=i&63;if(!K2[r])throw new Bt("invalid segment type: "+r);n.type=r,n.typeName=K2[r],n.deferredNonRetain=!!(i&128);const s=!!(i&64),o=t[e+5];let a=o>>5&7;const c=[o&31];let f=e+6;if(o===7){a=jt(t,f-1)&536870911,f+=3;let g=a+7>>3;for(c[0]=t[f++];--g>0;)c.push(t[f++])}else if(o===5||o===6)throw new Bt("invalid referred-to flags");n.retainBits=c;let l=4;n.number<=256?l=1:n.number<=65536&&(l=2);const d=[];let h,u;for(h=0;h<a;h++){let g;l===1?g=t[f]:l===2?g=ft(t,f):g=jt(t,f),d.push(g),f+=l}if(n.referredTo=d,s?(n.pageAssociation=jt(t,f),f+=4):n.pageAssociation=t[f++],n.length=jt(t,f),f+=4,n.length===4294967295)if(r===38){const g=Q0(t,f),x=!!(t[f+J0]&1),m=6,w=new Uint8Array(m);for(x||(w[0]=255,w[1]=172),w[2]=g.height>>>24&255,w[3]=g.height>>16&255,w[4]=g.height>>8&255,w[5]=g.height&255,h=f,u=t.length;h<u;h++){let O=0;for(;O<m&&w[O]===t[h+O];)O++;if(O===m){n.length=h+m;break}}if(n.length===4294967295)throw new Bt("segment end was not found")}else throw new Bt("invalid unknown segment length");return n.headerEnd=f,n}function gm(t,e,n,i){const r=[];let s=n;for(;s<i;){const o=bm(e,s);s=o.headerEnd;const a={header:o,data:e};if(t.randomAccess||(a.start=s,s+=o.length,a.end=s),r.push(a),o.type===51)break}if(t.randomAccess)for(let o=0,a=r.length;o<a;o++)r[o].start=s,s+=r[o].header.length,r[o].end=s;return r}function Q0(t,e){return{width:jt(t,e),height:jt(t,e+4),x:jt(t,e+8),y:jt(t,e+12),combinationOperator:t[e+16]&7}}const J0=17;function pm(t,e){const n=t.header,i=t.data,r=t.end;let s=t.start,o,a,c,f;switch(n.type){case 0:const d={},h=ft(i,s);if(d.huffman=!!(h&1),d.refinement=!!(h&2),d.huffmanDHSelector=h>>2&3,d.huffmanDWSelector=h>>4&3,d.bitmapSizeSelector=h>>6&1,d.aggregationInstancesSelector=h>>7&1,d.bitmapCodingContextUsed=!!(h&256),d.bitmapCodingContextRetained=!!(h&512),d.template=h>>10&3,d.refinementTemplate=h>>12&1,s+=2,!d.huffman){for(f=d.template===0?4:1,a=[],c=0;c<f;c++)a.push({x:fi(i,s),y:fi(i,s+1)}),s+=2;d.at=a}if(d.refinement&&!d.refinementTemplate){for(a=[],c=0;c<2;c++)a.push({x:fi(i,s),y:fi(i,s+1)}),s+=2;d.refinementAt=a}d.numberOfExportedSymbols=jt(i,s),s+=4,d.numberOfNewSymbols=jt(i,s),s+=4,o=[d,n.number,n.referredTo,i,s,r];break;case 6:case 7:const u={};u.info=Q0(i,s),s+=J0;const g=ft(i,s);if(s+=2,u.huffman=!!(g&1),u.refinement=!!(g&2),u.logStripSize=g>>2&3,u.stripSize=1<<u.logStripSize,u.referenceCorner=g>>4&3,u.transposed=!!(g&64),u.combinationOperator=g>>7&3,u.defaultPixelValue=g>>9&1,u.dsOffset=g<<17>>27,u.refinementTemplate=g>>15&1,u.huffman){const v=ft(i,s);s+=2,u.huffmanFS=v&3,u.huffmanDS=v>>2&3,u.huffmanDT=v>>4&3,u.huffmanRefinementDW=v>>6&3,u.huffmanRefinementDH=v>>8&3,u.huffmanRefinementDX=v>>10&3,u.huffmanRefinementDY=v>>12&3,u.huffmanRefinementSizeSelector=!!(v&16384)}if(u.refinement&&!u.refinementTemplate){for(a=[],c=0;c<2;c++)a.push({x:fi(i,s),y:fi(i,s+1)}),s+=2;u.refinementAt=a}u.numberOfSymbolInstances=jt(i,s),s+=4,o=[u,n.referredTo,i,s,r];break;case 16:const p={},x=i[s++];p.mmr=!!(x&1),p.template=x>>1&3,p.patternWidth=i[s++],p.patternHeight=i[s++],p.maxPatternIndex=jt(i,s),s+=4,o=[p,n.number,i,s,r];break;case 22:case 23:const m={};m.info=Q0(i,s),s+=J0;const w=i[s++];m.mmr=!!(w&1),m.template=w>>1&3,m.enableSkip=!!(w&8),m.combinationOperator=w>>4&7,m.defaultPixelValue=w>>7&1,m.gridWidth=jt(i,s),s+=4,m.gridHeight=jt(i,s),s+=4,m.gridOffsetX=jt(i,s)&4294967295,s+=4,m.gridOffsetY=jt(i,s)&4294967295,s+=4,m.gridVectorX=ft(i,s),s+=2,m.gridVectorY=ft(i,s),s+=2,o=[m,n.referredTo,i,s,r];break;case 38:case 39:const O={};O.info=Q0(i,s),s+=J0;const k=i[s++];if(O.mmr=!!(k&1),O.template=k>>1&3,O.prediction=!!(k&8),!O.mmr){for(f=O.template===0?4:1,a=[],c=0;c<f;c++)a.push({x:fi(i,s),y:fi(i,s+1)}),s+=2;O.at=a}o=[O,i,s,r];break;case 48:const E={width:jt(i,s),height:jt(i,s+4),resolutionX:jt(i,s+8),resolutionY:jt(i,s+12)};E.height===4294967295&&delete E.height;const D=i[s+16];ft(i,s+17),E.lossless=!!(D&1),E.refinement=!!(D&2),E.defaultPixelValue=D>>2&1,E.combinationOperator=D>>3&3,E.requiresBuffer=!!(D&32),E.combinationOperatorOverride=!!(D&64),o=[E];break;case 49:break;case 50:break;case 51:break;case 53:o=[n.number,i,s,r];break;case 62:break;default:throw new Bt(`segment type ${n.typeName}(${n.type}) is not implemented`)}const l="on"+n.typeName;l in e&&e[l].apply(e,o)}function mm(t,e){for(let n=0,i=t.length;n<i;n++)pm(t[n],e)}function xm(t){const e=new ym;for(let n=0,i=t.length;n<i;n++){const r=t[n],s=gm({},r.data,r.start,r.end);mm(s,e)}return e.buffer}class ym{onPageInformation(e){this.currentPageInfo=e;const n=e.width+7>>3,i=new Uint8ClampedArray(n*e.height);e.defaultPixelValue&&i.fill(255),this.buffer=i}drawBitmap(e,n){const i=this.currentPageInfo,r=e.width,s=e.height,o=i.width+7>>3,a=i.combinationOperatorOverride?e.combinationOperator:i.combinationOperator,c=this.buffer,f=128>>(e.x&7);let l=e.y*o+(e.x>>3),d,h,u,g;switch(a){case 0:for(d=0;d<s;d++){for(u=f,g=l,h=0;h<r;h++)n[d][h]&&(c[g]|=u),u>>=1,u||(u=128,g++);l+=o}break;case 2:for(d=0;d<s;d++){for(u=f,g=l,h=0;h<r;h++)n[d][h]&&(c[g]^=u),u>>=1,u||(u=128,g++);l+=o}break;default:throw new Bt(`operator ${a} is not supported`)}}onImmediateGenericRegion(e,n,i,r){const s=e.info,o=new nc(n,i,r),a=K0(e.mmr,s.width,s.height,e.template,e.prediction,null,e.at,o);this.drawBitmap(s,a)}onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion(...arguments)}onSymbolDictionary(e,n,i,r,s,o){let a,c;e.huffman&&(a=Om(e,i,this.customTables),c=new ac(r,s,o));let f=this.symbols;f||(this.symbols=f={});const l=[];for(const h of i){const u=f[h];u&&l.push(...u)}const d=new nc(r,s,o);f[n]=dm(e.huffman,e.refinement,l,e.numberOfNewSymbols,e.numberOfExportedSymbols,a,e.template,e.at,e.refinementTemplate,e.refinementAt,d,c)}onImmediateTextRegion(e,n,i,r,s){const o=e.info;let a,c;const f=this.symbols,l=[];for(const g of n){const p=f[g];p&&l.push(...p)}const d=kd(l.length);e.huffman&&(c=new ac(i,r,s),a=_m(e,n,this.customTables,l.length,c));const h=new nc(i,r,s),u=eg(e.huffman,e.refinement,o.width,o.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,l,d,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,a,e.refinementTemplate,e.refinementAt,h,e.logStripSize,c);this.drawBitmap(o,u)}onImmediateLosslessTextRegion(){this.onImmediateTextRegion(...arguments)}onPatternDictionary(e,n,i,r,s){let o=this.patterns;o||(this.patterns=o={});const a=new nc(i,r,s);o[n]=hm(e.mmr,e.patternWidth,e.patternHeight,e.maxPatternIndex,e.template,a)}onImmediateHalftoneRegion(e,n,i,r,s){const o=this.patterns[n[0]],a=e.info,c=new nc(i,r,s),f=um(e.mmr,o,e.template,a.width,a.height,e.defaultPixelValue,e.enableSkip,e.combinationOperator,e.gridWidth,e.gridHeight,e.gridOffsetX,e.gridOffsetY,e.gridVectorX,e.gridVectorY,c);this.drawBitmap(a,f)}onImmediateLosslessHalftoneRegion(){this.onImmediateHalftoneRegion(...arguments)}onTables(e,n,i,r){let s=this.customTables;s||(this.customTables=s={}),s[e]=wm(n,i,r)}}class ir{constructor(e){e.length===2?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=e[0],this.rangeLength=0,this.prefixCode=e[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=e[0],this.prefixLength=e[1],this.rangeLength=e[2],this.prefixCode=e[3],this.isLowerRange=e[4]==="lower")}}class ef{constructor(e){this.children=[],e?(this.isLeaf=!0,this.rangeLength=e.rangeLength,this.rangeLow=e.rangeLow,this.isLowerRange=e.isLowerRange,this.isOOB=e.isOOB):this.isLeaf=!1}buildTree(e,n){const i=e.prefixCode>>n&1;if(n<=0)this.children[i]=new ef(e);else{let r=this.children[i];r||(this.children[i]=r=new ef(null)),r.buildTree(e,n-1)}}decodeNode(e){if(this.isLeaf){if(this.isOOB)return null;const i=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-i:i)}const n=this.children[e.readBit()];if(!n)throw new Bt("invalid Huffman data");return n.decodeNode(e)}}class tf{constructor(e,n){n||this.assignPrefixCodes(e),this.rootNode=new ef(null);for(let i=0,r=e.length;i<r;i++){const s=e[i];s.prefixLength>0&&this.rootNode.buildTree(s,s.prefixLength-1)}}decode(e){return this.rootNode.decodeNode(e)}assignPrefixCodes(e){const n=e.length;let i=0;for(let l=0;l<n;l++)i=Math.max(i,e[l].prefixLength);const r=new Uint32Array(i+1);for(let l=0;l<n;l++)r[e[l].prefixLength]++;let s=1,o=0,a,c,f;for(r[0]=0;s<=i;){for(o=o+r[s-1]<<1,a=o,c=0;c<n;)f=e[c],f.prefixLength===s&&(f.prefixCode=a,a++),c++;s++}}}function wm(t,e,n){const i=t[e],r=jt(t,e+1)&4294967295,s=jt(t,e+5)&4294967295,o=new ac(t,e+9,n),a=(i>>1&7)+1,c=(i>>4&7)+1,f=[];let l,d,h=r;do l=o.readBits(a),d=o.readBits(c),f.push(new ir([h,l,d,0])),h+=1<<d;while(h<s);return l=o.readBits(a),f.push(new ir([r-1,l,32,0,"lower"])),l=o.readBits(a),f.push(new ir([s,l,32,0])),i&1&&(l=o.readBits(a),f.push(new ir([l,0]))),new tf(f,!1)}const tg={};function rr(t){let e=tg[t];if(e)return e;let n;switch(t){case 1:n=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:n=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,6,32,62],[6,63]];break;case 3:n=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:n=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:n=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:n=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:n=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:n=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:n=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:n=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:n=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:n=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:n=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:n=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:n=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new Bt(`standard table B.${t} does not exist`)}for(let i=0,r=n.length;i<r;i++)n[i]=new ir(n[i]);return e=new tf(n,!0),tg[t]=e,e}class ac{constructor(e,n,i){this.data=e,this.start=n,this.end=i,this.position=n,this.shift=-1,this.currentByte=0}readBit(){if(this.shift<0){if(this.position>=this.end)throw new Bt("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}const e=this.currentByte>>this.shift&1;return this.shift--,e}readBits(e){let n=0,i;for(i=e-1;i>=0;i--)n|=this.readBit()<<i;return n}byteAlign(){this.shift=-1}next(){return this.position>=this.end?-1:this.data[this.position++]}}function Zr(t,e,n){let i=0;for(let r=0,s=e.length;r<s;r++){const o=n[e[r]];if(o){if(t===i)return o;i++}}throw new Bt("can't find custom Huffman table")}function _m(t,e,n,i,r){const s=[];for(let h=0;h<=34;h++){const u=r.readBits(4);s.push(new ir([h,u,0,0]))}const o=new tf(s,!1);s.length=0;for(let h=0;h<i;){const u=o.decode(r);if(u>=32){let g,p,x;switch(u){case 32:if(h===0)throw new Bt("no previous value in symbol ID table");p=r.readBits(2)+3,g=s[h-1].prefixLength;break;case 33:p=r.readBits(3)+3,g=0;break;case 34:p=r.readBits(7)+11,g=0;break;default:throw new Bt("invalid code length in symbol ID table")}for(x=0;x<p;x++)s.push(new ir([h,g,0,0])),h++}else s.push(new ir([h,u,0,0])),h++}r.byteAlign();const a=new tf(s,!1);let c=0,f,l,d;switch(t.huffmanFS){case 0:case 1:f=rr(t.huffmanFS+6);break;case 3:f=Zr(c,e,n),c++;break;default:throw new Bt("invalid Huffman FS selector")}switch(t.huffmanDS){case 0:case 1:case 2:l=rr(t.huffmanDS+8);break;case 3:l=Zr(c,e,n),c++;break;default:throw new Bt("invalid Huffman DS selector")}switch(t.huffmanDT){case 0:case 1:case 2:d=rr(t.huffmanDT+11);break;case 3:d=Zr(c,e,n),c++;break;default:throw new Bt("invalid Huffman DT selector")}if(t.refinement)throw new Bt("refinement with Huffman is not supported");return{symbolIDTable:a,tableFirstS:f,tableDeltaS:l,tableDeltaT:d}}function Om(t,e,n){let i=0,r,s;switch(t.huffmanDHSelector){case 0:case 1:r=rr(t.huffmanDHSelector+4);break;case 3:r=Zr(i,e,n),i++;break;default:throw new Bt("invalid Huffman DH selector")}switch(t.huffmanDWSelector){case 0:case 1:s=rr(t.huffmanDWSelector+2);break;case 3:s=Zr(i,e,n),i++;break;default:throw new Bt("invalid Huffman DW selector")}let o,a;return t.bitmapSizeSelector?(o=Zr(i,e,n),i++):o=rr(1),t.aggregationInstancesSelector?a=Zr(i,e,n):a=rr(1),{tableDeltaHeight:r,tableDeltaWidth:s,tableBitmapSize:o,tableAggregateInstances:a}}function km(t,e,n){const i=[];for(let r=0;r<n;r++){const s=new Uint8Array(e);i.push(s);for(let o=0;o<e;o++)s[o]=t.readBit();t.byteAlign()}return i}function Td(t,e,n,i){const r={K:-1,Columns:e,Rows:n,BlackIs1:!0,EndOfBlock:i},s=new G2(t,r),o=[];let a,c=!1;for(let f=0;f<n;f++){const l=new Uint8Array(e);o.push(l);let d=-1;for(let h=0;h<e;h++)d<0&&(a=s.readNextChar(),a===-1&&(a=0,c=!0),d=7),l[h]=a>>d&1,d--}if(i&&!c)for(let l=0;l<5&&s.readNextChar()!==-1;l++);return o}class Pm{parseChunks(e){return xm(e)}parse(e){throw new Error("Not implemented: Jbig2Image.parse")}}class vm extends ta{constructor(e,n,i){super(n),this.stream=e,this.dict=e.dict,this.maybeLength=n,this.params=i}get bytes(){return ge(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){this.decodeImage()}decodeImage(e){if(this.eof)return this.buffer;e||=this.bytes;const n=new Pm,i=[];if(this.params instanceof q){const o=this.params.get("JBIG2Globals");if(o instanceof at){const a=o.getBytes();i.push({data:a,start:0,end:a.length})}}i.push({data:e,start:0,end:e.length});const r=n.parseChunks(i),s=r.length;for(let o=0;o<s;o++)r[o]^=255;return this.buffer=r,this.bufferLength=s,this.eof=!0,this.buffer}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}}class Am extends ta{constructor(e,n,i){super(n),this.stream=e,this.dict=e.dict,this.maybeLength=n,this.params=i}get bytes(){return ge(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(e){ht("JpxStream.readBlock")}get isAsyncDecoder(){return!0}async decodeImage(e,n){return this.eof?this.buffer:(e||=this.bytes,this.buffer=await W0.decode(e,n),this.bufferLength=this.buffer.length,this.eof=!0,this.buffer)}get canAsyncDecodeImageFromBuffer(){return this.stream.isAsync}}class ng extends ta{constructor(e,n,i){super(n),this.str=e,this.dict=e.dict,this.cachedData=0,this.bitsCached=0;const r=4096,s={earlyChange:i,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(r),dictionaryLengths:new Uint16Array(r),dictionaryPrevCodes:new Uint16Array(r),currentSequence:new Uint8Array(r),currentSequenceLength:0};for(let o=0;o<256;++o)s.dictionaryValues[o]=o,s.dictionaryLengths[o]=1;this.lzwState=s}readBits(e){let n=this.bitsCached,i=this.cachedData;for(;n<e;){const r=this.str.getByte();if(r===-1)return this.eof=!0,null;i=i<<8|r,n+=8}return this.bitsCached=n-=e,this.cachedData=i,this.lastCode=null,i>>>n&(1<<e)-1}readBlock(){let i=1024,r,s,o;const a=this.lzwState;if(!a)return;const c=a.earlyChange;let f=a.nextCode;const l=a.dictionaryValues,d=a.dictionaryLengths,h=a.dictionaryPrevCodes;let u=a.codeLength,g=a.prevCode;const p=a.currentSequence;let x=a.currentSequenceLength,m=0,w=this.bufferLength,O=this.ensureBuffer(this.bufferLength+i);for(r=0;r<512;r++){const k=this.readBits(u),E=x>0;if(k<256)p[0]=k,x=1;else if(k>=258)if(k<f)for(x=d[k],s=x-1,o=k;s>=0;s--)p[s]=l[o],o=h[o];else p[x++]=p[0];else if(k===256){u=9,f=258,x=0;continue}else{this.eof=!0,delete this.lzwState;break}if(E&&(h[f]=g,d[f]=d[g]+1,l[f]=p[0],f++,u=f+c&f+c-1?u:Math.min(Math.log(f+c)/.6931471805599453+1,12)|0),g=k,m+=x,i<m){do i+=512;while(i<m);O=this.ensureBuffer(this.bufferLength+i)}for(s=0;s<x;s++)O[w++]=p[s]}a.nextCode=f,a.codeLength=u,a.prevCode=g,a.currentSequenceLength=x,this.bufferLength=w}}class ag extends ta{constructor(e,n,i){if(super(n),!(i instanceof q))return e;const r=this.predictor=i.get("Predictor")||1;if(r<=1)return e;if(r!==2&&(r<10||r>15))throw new re(`Unsupported predictor: ${r}`);this.readBlock=r===2?this.readBlockTiff:this.readBlockPng,this.str=e,this.dict=e.dict;const s=this.colors=i.get("Colors")||1,o=this.bits=i.get("BPC","BitsPerComponent")||8,a=this.columns=i.get("Columns")||1;return this.pixBytes=s*o+7>>3,this.rowBytes=a*s*o+7>>3,this}readBlockTiff(){const e=this.rowBytes,n=this.bufferLength,i=this.ensureBuffer(n+e),r=this.bits,s=this.colors,o=this.str.getBytes(e);if(this.eof=!o.length,this.eof)return;let a=0,c=0,f=0,l=0,d=n,h;if(r===1&&s===1)for(h=0;h<e;++h){let u=o[h]^a;u^=u>>1,u^=u>>2,u^=u>>4,a=(u&1)<<7,i[d++]=u}else if(r===8){for(h=0;h<s;++h)i[d++]=o[h];for(;h<e;++h)i[d]=i[d-s]+o[h],d++}else if(r===16){const u=s*2;for(h=0;h<u;++h)i[d++]=o[h];for(;h<e;h+=2){const g=((o[h]&255)<<8)+(o[h+1]&255)+((i[d-u]&255)<<8)+(i[d-u+1]&255);i[d++]=g>>8&255,i[d++]=g&255}}else{const u=new Uint8Array(s+1),g=(1<<r)-1;let p=0,x=n;const m=this.columns;for(h=0;h<m;++h)for(let w=0;w<s;++w)f<r&&(a=a<<8|o[p++]&255,f+=8),u[w]=u[w]+(a>>f-r)&g,f-=r,c=c<<r|u[w],l+=r,l>=8&&(i[x++]=c>>l-8&255,l-=8);l>0&&(i[x++]=(c<<8-l)+(a&(1<<8-l)-1))}this.bufferLength+=e}readBlockPng(){const e=this.rowBytes,n=this.pixBytes,i=this.str.getByte(),r=this.str.getBytes(e);if(this.eof=!r.length,this.eof)return;const s=this.bufferLength,o=this.ensureBuffer(s+e);let a=o.subarray(s-e,s);a.length===0&&(a=new Uint8Array(e));let c,f=s,l,d;switch(i){case 0:for(c=0;c<e;++c)o[f++]=r[c];break;case 1:for(c=0;c<n;++c)o[f++]=r[c];for(;c<e;++c)o[f]=o[f-n]+r[c]&255,f++;break;case 2:for(c=0;c<e;++c)o[f++]=a[c]+r[c]&255;break;case 3:for(c=0;c<n;++c)o[f++]=(a[c]>>1)+r[c];for(;c<e;++c)o[f]=(a[c]+o[f-n]>>1)+r[c]&255,f++;break;case 4:for(c=0;c<n;++c)l=a[c],d=r[c],o[f++]=l+d;for(;c<e;++c){l=a[c];const h=a[c-n],u=o[f-n],g=u+l-h;let p=g-u;p<0&&(p=-p);let x=g-l;x<0&&(x=-x);let m=g-h;m<0&&(m=-m),d=r[c],p<=x&&p<=m?o[f++]=u+d:x<=m?o[f++]=l+d:o[f++]=h+d}break;default:throw new re(`Unsupported predictor: ${i}`)}this.bufferLength+=e}}class Em extends ta{constructor(e,n){super(n),this.str=e,this.dict=e.dict}readBlock(){const e=this.str.getBytes(2);if(!e||e.length<2||e[0]===128){this.eof=!0;return}let n,i=this.bufferLength,r=e[0];if(r<128){if(n=this.ensureBuffer(i+r+1),n[i++]=e[1],r>0){const s=this.str.getBytes(r);n.set(s,i),i+=r}}else r=257-r,n=this.ensureBuffer(i+r+1),n.fill(e[1],i,i+r),i+=r;this.bufferLength=i}}const jm=1e3;function Dm(t){const e=[],n=t.length;let i=0;for(;i<n-1;)e.push(t[i++]<<8|t[i++]);return i<n&&e.push(t[i]),n+"_"+String.fromCharCode.apply(null,e)}class sr{constructor({lexer:e,xref:n,allowStreams:i=!1,recoveryMode:r=!1}){this.lexer=e,this.xref=n,this.allowStreams=i,this.recoveryMode=r,this.imageCache=Object.create(null),this._imageId=0,this.refill()}refill(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}shift(){this.buf2 instanceof cn&&this.buf2.cmd==="ID"?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}tryShift(){try{return this.shift(),!0}catch(e){if(e instanceof Ut)throw e;return!1}}getObj(e=null){const n=this.buf1;if(this.shift(),n instanceof cn)switch(n.cmd){case"BI":return this.makeInlineImage(e);case"[":const i=[];for(;!pn(this.buf1,"]")&&this.buf1!==Pn;)i.push(this.getObj(e));if(this.buf1===Pn){if(this.recoveryMode)return i;throw new wd("End of file inside array.")}return this.shift(),i;case"<<":const r=new q(this.xref);for(;!pn(this.buf1,">>")&&this.buf1!==Pn;){if(!(this.buf1 instanceof le)){st("Malformed dictionary: key must be a name object"),this.shift();continue}const s=this.buf1.name;if(this.shift(),this.buf1===Pn)break;r.set(s,this.getObj(e))}if(this.buf1===Pn){if(this.recoveryMode)return r;throw new wd("End of file inside dictionary.")}return pn(this.buf2,"stream")?this.allowStreams?this.makeStream(r,e):r:(this.shift(),r);default:return n}if(Number.isInteger(n)){if(Number.isInteger(this.buf1)&&pn(this.buf2,"R")){const i=ke.get(n,this.buf1);return this.shift(),this.shift(),i}return n}return typeof n=="string"&&e?e.decryptString(n):n}findDefaultInlineStreamEnd(e){const{knownCommands:c}=this.lexer,f=e.pos,l=15;let d=0,h,u;for(;(h=e.getByte())!==-1;)if(d===0)d=h===69?1:0;else if(d===1)d=h===73?2:0;else if(h===32||h===10||h===13){u=e.pos;const p=e.peekBytes(l),x=p.length;if(x===0)break;for(let O=0;O<x;O++)if(h=p[O],!(h===0&&p[O+1]!==0)&&h!==10&&h!==13&&(h<32||h>127)){d=0;break}if(d!==2)continue;if(!c){L("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}const m=new Xa(new qt(e.peekBytes(5*l)),c);m._hexStringWarn=()=>{};let w=0;for(;;){const O=m.getObj();if(O===Pn){d=0;break}if(O instanceof cn){const k=c[O.cmd];if(k){if(k.variableArgs?w<=k.numArgs:w===k.numArgs)break}else{d=0;break}w=0;continue}w++}if(d===2)break}else d=0;h===-1&&(L("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),u&&(L('... trying to recover by using the last "EI" occurrence.'),e.skip(-(e.pos-u))));let g=4;return e.skip(-g),h=e.peekByte(),e.skip(g),wa(h)||g--,e.pos-g-f}findDCTDecodeInlineStreamEnd(e){const n=e.pos;let i=!1,r,s;for(;(r=e.getByte())!==-1;)if(r===255){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:i=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:s=e.getUint16(),s>2?e.skip(s-2):e.skip(-2);break}if(i)break}const o=e.pos-n;return r===-1?(L("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),e.skip(-o),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),o)}findASCII85DecodeInlineStreamEnd(e){const r=e.pos;let s;for(;(s=e.getByte())!==-1;)if(s===126){const a=e.pos;for(s=e.peekByte();wa(s);)e.skip(),s=e.peekByte();if(s===62){e.skip();break}if(e.pos>a){const c=e.peekBytes(2);if(c[0]===69&&c[1]===73)break}}const o=e.pos-r;return s===-1?(L("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-o),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),o)}findASCIIHexDecodeInlineStreamEnd(e){const i=e.pos;let r;for(;(r=e.getByte())!==-1&&r!==62;);const s=e.pos-i;return r===-1?(L("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-s),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),s)}inlineStreamSkipEI(e){let r=0,s;for(;(s=e.getByte())!==-1;)if(r===0)r=s===69?1:0;else if(r===1)r=s===73?2:0;else if(r===2)break}makeInlineImage(e){const n=this.lexer,i=n.stream,r=Object.create(null);let s;for(;!pn(this.buf1,"ID")&&this.buf1!==Pn;){if(!(this.buf1 instanceof le))throw new re("Dictionary key must be a name object");const u=this.buf1.name;if(this.shift(),this.buf1===Pn)break;r[u]=this.getObj(e)}n.beginInlineImagePos!==-1&&(s=i.pos-n.beginInlineImagePos);const o=this.xref.fetchIfRef(r.F||r.Filter);let a;if(o instanceof le)a=o.name;else if(Array.isArray(o)){const u=this.xref.fetchIfRef(o[0]);u instanceof le&&(a=u.name)}const c=i.pos;let f;switch(a){case"DCT":case"DCTDecode":f=this.findDCTDecodeInlineStreamEnd(i);break;case"A85":case"ASCII85Decode":f=this.findASCII85DecodeInlineStreamEnd(i);break;case"AHx":case"ASCIIHexDecode":f=this.findASCIIHexDecodeInlineStreamEnd(i);break;default:f=this.findDefaultInlineStreamEnd(i)}let l;if(f<jm&&s>0){const u=i.pos;i.pos=n.beginInlineImagePos,l=Dm(i.getBytes(s+f)),i.pos=u;const g=this.imageCache[l];if(g!==void 0)return this.buf2=cn.get("EI"),this.shift(),g.reset(),g}const d=new q(this.xref);for(const u in r)d.set(u,r[u]);let h=i.makeSubStream(c,f,d);return e&&(h=e.createStream(h,f)),h=this.filter(h,d,f),h.dict=d,l!==void 0&&(h.cacheKey=`inline_img_${++this._imageId}`,this.imageCache[l]=h),this.buf2=cn.get("EI"),this.shift(),h}#e(e){const{stream:n}=this.lexer;n.pos=e;const i=2048,r=9,s=new Uint8Array([101,110,100]),o=s.length,a=[new Uint8Array([115,116,114,101,97,109]),new Uint8Array([115,116,101,97,109]),new Uint8Array([115,116,114,101,97])],c=r-o;for(;n.pos<n.end;){const f=n.peekBytes(i),l=f.length-r;if(l<=0)break;let d=0;for(;d<l;){let h=0;for(;h<o&&f[d+h]===s[h];)h++;if(h>=o){let u=!1;for(const g of a){const p=g.length;let x=0;for(;x<p&&f[d+h+x]===g[x];)x++;if(x>=c){u=!0;break}if(x>=p){const m=f[d+h+x];wa(m)&&(st(`Found "${la([...s,...g])}" when searching for endstream command.`),u=!0);break}}if(u)return n.pos+=d,n.pos-e}d++}n.pos+=l}return-1}makeStream(e,n){const i=this.lexer;let r=i.stream;i.skipToNextLine();const s=r.pos-1;let o=e.get("Length");if(Number.isInteger(o)||(st(`Bad length "${o&&o.toString()}" in stream.`),o=0),r.pos=s+o,i.nextChar(),this.tryShift()&&pn(this.buf2,"endstream"))this.shift();else{if(o=this.#e(s),o<0)throw new re("Missing endstream command.");i.nextChar(),this.shift(),this.shift()}return this.shift(),r=r.makeSubStream(s,o,e),n&&(r=n.createStream(r,o)),r=this.filter(r,e,o),r.dict=e,r}filter(e,n,i){let r=n.get("F","Filter"),s=n.get("DP","DecodeParms");if(r instanceof le)return Array.isArray(s)&&L("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(e,r.name,i,s);let o=i;if(Array.isArray(r)){const a=r,c=s;for(let f=0,l=a.length;f<l;++f){if(r=this.xref.fetchIfRef(a[f]),!(r instanceof le))throw new re(`Bad filter name "${r}"`);s=null,Array.isArray(c)&&f in c&&(s=this.xref.fetchIfRef(c[f])),e=this.makeFilter(e,r.name,o,s),o=null}}return e}makeFilter(e,n,i,r){if(i===0)return L(`Empty "${n}" stream.`),new Dd;try{switch(n){case"Fl":case"FlateDecode":return r?new ag(new W2(e,i),i,r):new W2(e,i);case"LZW":case"LZWDecode":let s=1;return r?(r.has("EarlyChange")&&(s=r.get("EarlyChange")),new ag(new ng(e,i,s),i,r)):new ng(e,i,s);case"DCT":case"DCTDecode":return new Fs(e,i,r);case"JPX":case"JPXDecode":return new Am(e,i,r);case"A85":case"ASCII85Decode":return new Kp(e,i);case"AHx":case"ASCIIHexDecode":return new Qp(e,i);case"CCF":case"CCITTFaxDecode":return new Jp(e,i,r);case"RL":case"RunLengthDecode":return new Em(e,i);case"JBIG2Decode":return new vm(e,i,r)}return L(`Filter "${n}" is not supported.`),e}catch(s){if(s instanceof Ut)throw s;return L(`Invalid stream: "${s}"`),new Dd}}}const Bs=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Ld(t){return t>=48&&t<=57?t&15:t>=65&&t<=70||t>=97&&t<=102?(t&15)+9:-1}class Xa{constructor(e,n=null){this.stream=e,this.nextChar(),this.strBuf=[],this.knownCommands=n,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let e=this.currentChar,n=!1,i=0,r=1;if(e===45?(r=-1,e=this.nextChar(),e===45&&(e=this.nextChar())):e===43&&(e=this.nextChar()),e===10||e===13)do e=this.nextChar();while(e===10||e===13);if(e===46&&(i=10,e=this.nextChar()),e<48||e>57){const c=`Invalid number: ${String.fromCharCode(e)} (charCode ${e})`;if(wa(e)||e===40||e===60||e===-1)return st(`Lexer.getNumber - "${c}".`),0;throw new re(c)}let s=e-48,o=0,a=1;for(;(e=this.nextChar())>=0;)if(e>=48&&e<=57){const c=e-48;n?o=o*10+c:(i!==0&&(i*=10),s=s*10+c)}else if(e===46)if(i===0)i=1;else break;else if(e===45)L("Badly formatted number: minus sign in the middle");else if(e===69||e===101){if(e=this.peekChar(),e===43||e===45)a=e===45?-1:1,this.nextChar();else if(e<48||e>57)break;n=!0}else break;return i!==0&&(s/=i),n&&(s*=10**(a*o)),r*s}getString(){let e=1,n=!1;const i=this.strBuf;i.length=0;let r=this.nextChar();for(;;){let s=!1;switch(r|0){case-1:L("Unterminated string"),n=!0;break;case 40:++e,i.push("(");break;case 41:--e===0?(this.nextChar(),n=!0):i.push(")");break;case 92:switch(r=this.nextChar(),r){case-1:L("Unterminated string"),n=!0;break;case 110:i.push(`
|
|
12
|
+
`);break;case 114:i.push("\r");break;case 116:i.push(" ");break;case 98:i.push("\b");break;case 102:i.push("\f");break;case 92:case 40:case 41:i.push(String.fromCharCode(r));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let o=r&15;r=this.nextChar(),s=!0,r>=48&&r<=55&&(o=(o<<3)+(r&15),r=this.nextChar(),r>=48&&r<=55&&(s=!1,o=(o<<3)+(r&15))),i.push(String.fromCharCode(o));break;case 13:this.peekChar()===10&&this.nextChar();break;case 10:break;default:i.push(String.fromCharCode(r));break}break;default:i.push(String.fromCharCode(r));break}if(n)break;s||(r=this.nextChar())}return i.join("")}getName(){let e,n;const i=this.strBuf;for(i.length=0;(e=this.nextChar())>=0&&!Bs[e];)if(e===35){if(e=this.nextChar(),Bs[e]){L("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),i.push("#");break}const r=Ld(e);if(r!==-1){n=e,e=this.nextChar();const s=Ld(e);if(s===-1){if(L(`Lexer_getName: Illegal digit (${String.fromCharCode(e)}) in hexadecimal number.`),i.push("#",String.fromCharCode(n)),Bs[e])break;i.push(String.fromCharCode(e));continue}i.push(String.fromCharCode(r<<4|s))}else i.push("#",String.fromCharCode(e))}else i.push(String.fromCharCode(e));return i.length>127&&L(`Name token is longer than allowed by the spec: ${i.length}`),le.get(i.join(""))}_hexStringWarn(e){if(this._hexStringNumWarn++===5){L("getHexString - ignoring additional invalid characters.");return}this._hexStringNumWarn>5||L(`getHexString - ignoring invalid character: ${e}`)}getHexString(){const e=this.strBuf;e.length=0;let n=this.currentChar,i=-1,r=-1;for(this._hexStringNumWarn=0;;)if(n<0){L("Unterminated hex string");break}else if(n===62){this.nextChar();break}else if(Bs[n]===1){n=this.nextChar();continue}else r=Ld(n),r===-1?this._hexStringWarn(n):i===-1?i=r:(e.push(String.fromCharCode(i<<4|r)),i=-1),n=this.nextChar();return i!==-1&&e.push(String.fromCharCode(i<<4)),e.join("")}getObj(){let e=!1,n=this.currentChar;for(;;){if(n<0)return Pn;if(e)(n===10||n===13)&&(e=!1);else if(n===37)e=!0;else if(Bs[n]!==1)break;n=this.nextChar()}switch(n|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),cn.get("[");case 93:return this.nextChar(),cn.get("]");case 60:return n=this.nextChar(),n===60?(this.nextChar(),cn.get("<<")):this.getHexString();case 62:return n=this.nextChar(),n===62?(this.nextChar(),cn.get(">>")):cn.get(">");case 123:return this.nextChar(),cn.get("{");case 125:return this.nextChar(),cn.get("}");case 41:throw this.nextChar(),new re(`Illegal character: ${n}`)}let i=String.fromCharCode(n);if(n<32||n>127){const o=this.peekChar();if(o>=32&&o<=127)return this.nextChar(),cn.get(i)}const r=this.knownCommands;let s=r?.[i]!==void 0;for(;(n=this.nextChar())>=0&&!Bs[n];){const o=i+String.fromCharCode(n);if(s&&r[o]===void 0)break;if(i.length===128)throw new re(`Command token too long: ${i.length}`);i=o,s=r?.[i]!==void 0}return i==="true"?!0:i==="false"?!1:i==="null"?null:(i==="BI"&&(this.beginInlineImagePos=this.stream.pos),cn.get(i))}skipToNextLine(){let e=this.currentChar;for(;e>=0;){if(e===13){e=this.nextChar(),e===10&&this.nextChar();break}else if(e===10){this.nextChar();break}e=this.nextChar()}}}class Im{static create(e){function n(d,h,u=!1){const g=d.get(h);if(Number.isInteger(g)&&(u?g>=0:g>0))return g;throw new Error(`The "${h}" parameter in the linearization dictionary is invalid.`)}function i(d){const h=d.get("H");let u;if(Array.isArray(h)&&((u=h.length)===2||u===4)){for(let g=0;g<u;g++){const p=h[g];if(!(Number.isInteger(p)&&p>0))throw new Error(`Hint (${g}) in the linearization dictionary is invalid.`)}return h}throw new Error("Hint array in the linearization dictionary is invalid.")}const r=new sr({lexer:new Xa(e),xref:null}),s=r.getObj(),o=r.getObj(),a=r.getObj(),c=r.getObj();let f,l;if(Number.isInteger(s)&&Number.isInteger(o)&&pn(a,"obj")&&c instanceof q&&typeof(f=c.get("Linearized"))=="number"&&f>0){if((l=n(c,"L"))!==e.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.')}else return null;return{length:l,hints:i(c),objectNumberFirst:n(c,"O"),endFirst:n(c,"E"),numPages:n(c,"N"),mainXRefEntriesOffset:n(c,"T"),pageFirst:c.has("P")?n(c,"P",!0):0}}}const Sm=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],Fd=2**24-1;class Nd{constructor(e=!1){this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=e}addCodespaceRange(e,n,i){this.codespaceRanges[e-1].push(n,i),this.numCodespaceRanges++}mapCidRange(e,n,i){if(n-e>Fd)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=n;)this._map[e++]=i++}mapBfRange(e,n,i){if(n-e>Fd)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");const r=i.length-1;for(;e<=n;){this._map[e++]=i;const s=i.charCodeAt(r)+1;if(s>255){i=i.substring(0,r-1)+String.fromCharCode(i.charCodeAt(r-1)+1)+"\0";continue}i=i.substring(0,r)+String.fromCharCode(s)}}mapBfRangeToArray(e,n,i){if(n-e>Fd)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");const r=i.length;let s=0;for(;e<=n&&s<r;)this._map[e]=i[s++],++e}mapOne(e,n){this._map[e]=n}lookup(e){return this._map[e]}contains(e){return this._map[e]!==void 0}forEach(e){const n=this._map,i=n.length;if(i<=65536)for(let r=0;r<i;r++)n[r]!==void 0&&e(r,n[r]);else for(const r in n)e(r,n[r])}charCodeOf(e){const n=this._map;if(n.length<=65536)return n.indexOf(e);for(const i in n)if(n[i]===e)return i|0;return-1}getMap(){return this._map}readCharCode(e,n,i){let r=0;const s=this.codespaceRanges;for(let o=0,a=s.length;o<a;o++){r=(r<<8|e.charCodeAt(n+o))>>>0;const c=s[o];for(let f=0,l=c.length;f<l;){const d=c[f++],h=c[f++];if(r>=d&&r<=h){i.charcode=r,i.length=o+1;return}}}i.charcode=0,i.length=1}getCharCodeLength(e){const n=this.codespaceRanges;for(let i=0,r=n.length;i<r;i++){const s=n[i];for(let o=0,a=s.length;o<a;){const c=s[o++],f=s[o++];if(e>=c&&e<=f)return i+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if(!(this.name==="Identity-H"||this.name==="Identity-V")||this._map.length!==65536)return!1;for(let e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}class Ys extends Nd{constructor(e,n){super(),this.vertical=e,this.addCodespaceRange(n,0,65535)}mapCidRange(e,n,i){ht("should not call mapCidRange")}mapBfRange(e,n,i){ht("should not call mapBfRange")}mapBfRangeToArray(e,n,i){ht("should not call mapBfRangeToArray")}mapOne(e,n){ht("should not call mapCidOne")}lookup(e){return Number.isInteger(e)&&e<=65535?e:void 0}contains(e){return Number.isInteger(e)&&e<=65535}forEach(e){for(let n=0;n<=65535;n++)e(n,n)}charCodeOf(e){return Number.isInteger(e)&&e<=65535?e:-1}getMap(){const e=new Array(65536);for(let n=0;n<=65535;n++)e[n]=n;return e}get length(){return 65536}get isIdentityCMap(){ht("should not access .isIdentityCMap")}}function or(t){let e=0;for(let n=0;n<t.length;n++)e=e<<8|t.charCodeAt(n);return e>>>0}function zr(t){if(typeof t!="string")throw new re("Malformed CMap: expected string.")}function ig(t){if(!Number.isInteger(t))throw new re("Malformed CMap: expected int.")}function Cm(t,e){for(;;){let n=e.getObj();if(n===Pn)break;if(pn(n,"endbfchar"))return;zr(n);const i=or(n);n=e.getObj(),zr(n);const r=n;t.mapOne(i,r)}}function Rm(t,e){for(;;){let n=e.getObj();if(n===Pn)break;if(pn(n,"endbfrange"))return;zr(n);const i=or(n);n=e.getObj(),zr(n);const r=or(n);if(n=e.getObj(),Number.isInteger(n)||typeof n=="string"){const s=Number.isInteger(n)?String.fromCharCode(n):n;t.mapBfRange(i,r,s)}else if(pn(n,"[")){n=e.getObj();const s=[];for(;!pn(n,"]")&&n!==Pn;)s.push(n),n=e.getObj();t.mapBfRangeToArray(i,r,s)}else break}throw new re("Invalid bf range.")}function Mm(t,e){for(;;){let n=e.getObj();if(n===Pn)break;if(pn(n,"endcidchar"))return;zr(n);const i=or(n);n=e.getObj(),ig(n);const r=n;t.mapOne(i,r)}}function Um(t,e){for(;;){let n=e.getObj();if(n===Pn)break;if(pn(n,"endcidrange"))return;zr(n);const i=or(n);n=e.getObj(),zr(n);const r=or(n);n=e.getObj(),ig(n);const s=n;t.mapCidRange(i,r,s)}}function Tm(t,e){for(;;){let n=e.getObj();if(n===Pn)break;if(pn(n,"endcodespacerange"))return;if(typeof n!="string")break;const i=or(n);if(n=e.getObj(),typeof n!="string")break;const r=or(n);t.addCodespaceRange(n.length,i,r)}throw new re("Invalid codespace range.")}function Lm(t,e){const n=e.getObj();Number.isInteger(n)&&(t.vertical=!!n)}function Fm(t,e){const n=e.getObj();n instanceof le&&(t.name=n.name)}async function rg(t,e,n,i){let r,s;e:for(;;)try{const o=e.getObj();if(o===Pn)break;if(o instanceof le)o.name==="WMode"?Lm(t,e):o.name==="CMapName"&&Fm(t,e),r=o;else if(o instanceof cn)switch(o.cmd){case"endcmap":break e;case"usecmap":r instanceof le&&(s=r.name);break;case"begincodespacerange":Tm(t,e);break;case"beginbfchar":Cm(t,e);break;case"begincidchar":Mm(t,e);break;case"beginbfrange":Rm(t,e);break;case"begincidrange":Um(t,e);break}}catch(o){if(o instanceof Ut)throw o;L("Invalid cMap data: "+o);continue}return!i&&s&&(i=s),i?sg(t,n,i):t}async function sg(t,e,n){if(t.useCMap=await Bd(n,e),t.numCodespaceRanges===0){const i=t.useCMap.codespaceRanges;for(let r=0;r<i.length;r++)t.codespaceRanges[r]=i[r].slice();t.numCodespaceRanges=t.useCMap.numCodespaceRanges}return t.useCMap.forEach(function(i,r){t.contains(i)||t.mapOne(i,r)}),t}async function Bd(t,e){if(t==="Identity-H")return new Ys(!1,2);if(t==="Identity-V")return new Ys(!0,2);if(!Sm.includes(t))throw new Error("Unknown CMap name: "+t);if(!e)throw new Error("Built-in CMap parameters are not provided.");const{cMapData:n,isCompressed:i}=await e(t),r=new Nd(!0);if(i)return new Vp().process(n,r,o=>sg(r,e,o));const s=new Xa(new qt(n));return rg(r,s,e,null)}class nf{static async create({encoding:e,fetchBuiltInCMap:n,useCMap:i}){if(e instanceof le)return Bd(e.name,n);if(e instanceof at){const r=await rg(new Nd,new Xa(e),n,i);return r.isIdentityCMap?Bd(r.name,n):r}throw new Error("Encoding required.")}}const og=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],Nm=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""],Yd=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"],Ci=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""],ic=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"],Hd=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""],Zd=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];function rc(t){switch(t){case"WinAnsiEncoding":return ic;case"StandardEncoding":return Ci;case"MacRomanEncoding":return Yd;case"SymbolSetEncoding":return Hd;case"ZapfDingbatsEncoding":return Zd;case"ExpertEncoding":return og;case"MacExpertEncoding":return Nm;default:return null}}const li=Nt(function(t){t.A=65,t.AE=198,t.AEacute=508,t.AEmacron=482,t.AEsmall=63462,t.Aacute=193,t.Aacutesmall=63457,t.Abreve=258,t.Abreveacute=7854,t.Abrevecyrillic=1232,t.Abrevedotbelow=7862,t.Abrevegrave=7856,t.Abrevehookabove=7858,t.Abrevetilde=7860,t.Acaron=461,t.Acircle=9398,t.Acircumflex=194,t.Acircumflexacute=7844,t.Acircumflexdotbelow=7852,t.Acircumflexgrave=7846,t.Acircumflexhookabove=7848,t.Acircumflexsmall=63458,t.Acircumflextilde=7850,t.Acute=63177,t.Acutesmall=63412,t.Acyrillic=1040,t.Adblgrave=512,t.Adieresis=196,t.Adieresiscyrillic=1234,t.Adieresismacron=478,t.Adieresissmall=63460,t.Adotbelow=7840,t.Adotmacron=480,t.Agrave=192,t.Agravesmall=63456,t.Ahookabove=7842,t.Aiecyrillic=1236,t.Ainvertedbreve=514,t.Alpha=913,t.Alphatonos=902,t.Amacron=256,t.Amonospace=65313,t.Aogonek=260,t.Aring=197,t.Aringacute=506,t.Aringbelow=7680,t.Aringsmall=63461,t.Asmall=63329,t.Atilde=195,t.Atildesmall=63459,t.Aybarmenian=1329,t.B=66,t.Bcircle=9399,t.Bdotaccent=7682,t.Bdotbelow=7684,t.Becyrillic=1041,t.Benarmenian=1330,t.Beta=914,t.Bhook=385,t.Blinebelow=7686,t.Bmonospace=65314,t.Brevesmall=63220,t.Bsmall=63330,t.Btopbar=386,t.C=67,t.Caarmenian=1342,t.Cacute=262,t.Caron=63178,t.Caronsmall=63221,t.Ccaron=268,t.Ccedilla=199,t.Ccedillaacute=7688,t.Ccedillasmall=63463,t.Ccircle=9400,t.Ccircumflex=264,t.Cdot=266,t.Cdotaccent=266,t.Cedillasmall=63416,t.Chaarmenian=1353,t.Cheabkhasiancyrillic=1212,t.Checyrillic=1063,t.Chedescenderabkhasiancyrillic=1214,t.Chedescendercyrillic=1206,t.Chedieresiscyrillic=1268,t.Cheharmenian=1347,t.Chekhakassiancyrillic=1227,t.Cheverticalstrokecyrillic=1208,t.Chi=935,t.Chook=391,t.Circumflexsmall=63222,t.Cmonospace=65315,t.Coarmenian=1361,t.Csmall=63331,t.D=68,t.DZ=497,t.DZcaron=452,t.Daarmenian=1332,t.Dafrican=393,t.Dcaron=270,t.Dcedilla=7696,t.Dcircle=9401,t.Dcircumflexbelow=7698,t.Dcroat=272,t.Ddotaccent=7690,t.Ddotbelow=7692,t.Decyrillic=1044,t.Deicoptic=1006,t.Delta=8710,t.Deltagreek=916,t.Dhook=394,t.Dieresis=63179,t.DieresisAcute=63180,t.DieresisGrave=63181,t.Dieresissmall=63400,t.Digammagreek=988,t.Djecyrillic=1026,t.Dlinebelow=7694,t.Dmonospace=65316,t.Dotaccentsmall=63223,t.Dslash=272,t.Dsmall=63332,t.Dtopbar=395,t.Dz=498,t.Dzcaron=453,t.Dzeabkhasiancyrillic=1248,t.Dzecyrillic=1029,t.Dzhecyrillic=1039,t.E=69,t.Eacute=201,t.Eacutesmall=63465,t.Ebreve=276,t.Ecaron=282,t.Ecedillabreve=7708,t.Echarmenian=1333,t.Ecircle=9402,t.Ecircumflex=202,t.Ecircumflexacute=7870,t.Ecircumflexbelow=7704,t.Ecircumflexdotbelow=7878,t.Ecircumflexgrave=7872,t.Ecircumflexhookabove=7874,t.Ecircumflexsmall=63466,t.Ecircumflextilde=7876,t.Ecyrillic=1028,t.Edblgrave=516,t.Edieresis=203,t.Edieresissmall=63467,t.Edot=278,t.Edotaccent=278,t.Edotbelow=7864,t.Efcyrillic=1060,t.Egrave=200,t.Egravesmall=63464,t.Eharmenian=1335,t.Ehookabove=7866,t.Eightroman=8551,t.Einvertedbreve=518,t.Eiotifiedcyrillic=1124,t.Elcyrillic=1051,t.Elevenroman=8554,t.Emacron=274,t.Emacronacute=7702,t.Emacrongrave=7700,t.Emcyrillic=1052,t.Emonospace=65317,t.Encyrillic=1053,t.Endescendercyrillic=1186,t.Eng=330,t.Enghecyrillic=1188,t.Enhookcyrillic=1223,t.Eogonek=280,t.Eopen=400,t.Epsilon=917,t.Epsilontonos=904,t.Ercyrillic=1056,t.Ereversed=398,t.Ereversedcyrillic=1069,t.Escyrillic=1057,t.Esdescendercyrillic=1194,t.Esh=425,t.Esmall=63333,t.Eta=919,t.Etarmenian=1336,t.Etatonos=905,t.Eth=208,t.Ethsmall=63472,t.Etilde=7868,t.Etildebelow=7706,t.Euro=8364,t.Ezh=439,t.Ezhcaron=494,t.Ezhreversed=440,t.F=70,t.Fcircle=9403,t.Fdotaccent=7710,t.Feharmenian=1366,t.Feicoptic=996,t.Fhook=401,t.Fitacyrillic=1138,t.Fiveroman=8548,t.Fmonospace=65318,t.Fourroman=8547,t.Fsmall=63334,t.G=71,t.GBsquare=13191,t.Gacute=500,t.Gamma=915,t.Gammaafrican=404,t.Gangiacoptic=1002,t.Gbreve=286,t.Gcaron=486,t.Gcedilla=290,t.Gcircle=9404,t.Gcircumflex=284,t.Gcommaaccent=290,t.Gdot=288,t.Gdotaccent=288,t.Gecyrillic=1043,t.Ghadarmenian=1346,t.Ghemiddlehookcyrillic=1172,t.Ghestrokecyrillic=1170,t.Gheupturncyrillic=1168,t.Ghook=403,t.Gimarmenian=1331,t.Gjecyrillic=1027,t.Gmacron=7712,t.Gmonospace=65319,t.Grave=63182,t.Gravesmall=63328,t.Gsmall=63335,t.Gsmallhook=667,t.Gstroke=484,t.H=72,t.H18533=9679,t.H18543=9642,t.H18551=9643,t.H22073=9633,t.HPsquare=13259,t.Haabkhasiancyrillic=1192,t.Hadescendercyrillic=1202,t.Hardsigncyrillic=1066,t.Hbar=294,t.Hbrevebelow=7722,t.Hcedilla=7720,t.Hcircle=9405,t.Hcircumflex=292,t.Hdieresis=7718,t.Hdotaccent=7714,t.Hdotbelow=7716,t.Hmonospace=65320,t.Hoarmenian=1344,t.Horicoptic=1e3,t.Hsmall=63336,t.Hungarumlaut=63183,t.Hungarumlautsmall=63224,t.Hzsquare=13200,t.I=73,t.IAcyrillic=1071,t.IJ=306,t.IUcyrillic=1070,t.Iacute=205,t.Iacutesmall=63469,t.Ibreve=300,t.Icaron=463,t.Icircle=9406,t.Icircumflex=206,t.Icircumflexsmall=63470,t.Icyrillic=1030,t.Idblgrave=520,t.Idieresis=207,t.Idieresisacute=7726,t.Idieresiscyrillic=1252,t.Idieresissmall=63471,t.Idot=304,t.Idotaccent=304,t.Idotbelow=7882,t.Iebrevecyrillic=1238,t.Iecyrillic=1045,t.Ifraktur=8465,t.Igrave=204,t.Igravesmall=63468,t.Ihookabove=7880,t.Iicyrillic=1048,t.Iinvertedbreve=522,t.Iishortcyrillic=1049,t.Imacron=298,t.Imacroncyrillic=1250,t.Imonospace=65321,t.Iniarmenian=1339,t.Iocyrillic=1025,t.Iogonek=302,t.Iota=921,t.Iotaafrican=406,t.Iotadieresis=938,t.Iotatonos=906,t.Ismall=63337,t.Istroke=407,t.Itilde=296,t.Itildebelow=7724,t.Izhitsacyrillic=1140,t.Izhitsadblgravecyrillic=1142,t.J=74,t.Jaarmenian=1345,t.Jcircle=9407,t.Jcircumflex=308,t.Jecyrillic=1032,t.Jheharmenian=1355,t.Jmonospace=65322,t.Jsmall=63338,t.K=75,t.KBsquare=13189,t.KKsquare=13261,t.Kabashkircyrillic=1184,t.Kacute=7728,t.Kacyrillic=1050,t.Kadescendercyrillic=1178,t.Kahookcyrillic=1219,t.Kappa=922,t.Kastrokecyrillic=1182,t.Kaverticalstrokecyrillic=1180,t.Kcaron=488,t.Kcedilla=310,t.Kcircle=9408,t.Kcommaaccent=310,t.Kdotbelow=7730,t.Keharmenian=1364,t.Kenarmenian=1343,t.Khacyrillic=1061,t.Kheicoptic=998,t.Khook=408,t.Kjecyrillic=1036,t.Klinebelow=7732,t.Kmonospace=65323,t.Koppacyrillic=1152,t.Koppagreek=990,t.Ksicyrillic=1134,t.Ksmall=63339,t.L=76,t.LJ=455,t.LL=63167,t.Lacute=313,t.Lambda=923,t.Lcaron=317,t.Lcedilla=315,t.Lcircle=9409,t.Lcircumflexbelow=7740,t.Lcommaaccent=315,t.Ldot=319,t.Ldotaccent=319,t.Ldotbelow=7734,t.Ldotbelowmacron=7736,t.Liwnarmenian=1340,t.Lj=456,t.Ljecyrillic=1033,t.Llinebelow=7738,t.Lmonospace=65324,t.Lslash=321,t.Lslashsmall=63225,t.Lsmall=63340,t.M=77,t.MBsquare=13190,t.Macron=63184,t.Macronsmall=63407,t.Macute=7742,t.Mcircle=9410,t.Mdotaccent=7744,t.Mdotbelow=7746,t.Menarmenian=1348,t.Mmonospace=65325,t.Msmall=63341,t.Mturned=412,t.Mu=924,t.N=78,t.NJ=458,t.Nacute=323,t.Ncaron=327,t.Ncedilla=325,t.Ncircle=9411,t.Ncircumflexbelow=7754,t.Ncommaaccent=325,t.Ndotaccent=7748,t.Ndotbelow=7750,t.Nhookleft=413,t.Nineroman=8552,t.Nj=459,t.Njecyrillic=1034,t.Nlinebelow=7752,t.Nmonospace=65326,t.Nowarmenian=1350,t.Nsmall=63342,t.Ntilde=209,t.Ntildesmall=63473,t.Nu=925,t.O=79,t.OE=338,t.OEsmall=63226,t.Oacute=211,t.Oacutesmall=63475,t.Obarredcyrillic=1256,t.Obarreddieresiscyrillic=1258,t.Obreve=334,t.Ocaron=465,t.Ocenteredtilde=415,t.Ocircle=9412,t.Ocircumflex=212,t.Ocircumflexacute=7888,t.Ocircumflexdotbelow=7896,t.Ocircumflexgrave=7890,t.Ocircumflexhookabove=7892,t.Ocircumflexsmall=63476,t.Ocircumflextilde=7894,t.Ocyrillic=1054,t.Odblacute=336,t.Odblgrave=524,t.Odieresis=214,t.Odieresiscyrillic=1254,t.Odieresissmall=63478,t.Odotbelow=7884,t.Ogoneksmall=63227,t.Ograve=210,t.Ogravesmall=63474,t.Oharmenian=1365,t.Ohm=8486,t.Ohookabove=7886,t.Ohorn=416,t.Ohornacute=7898,t.Ohorndotbelow=7906,t.Ohorngrave=7900,t.Ohornhookabove=7902,t.Ohorntilde=7904,t.Ohungarumlaut=336,t.Oi=418,t.Oinvertedbreve=526,t.Omacron=332,t.Omacronacute=7762,t.Omacrongrave=7760,t.Omega=8486,t.Omegacyrillic=1120,t.Omegagreek=937,t.Omegaroundcyrillic=1146,t.Omegatitlocyrillic=1148,t.Omegatonos=911,t.Omicron=927,t.Omicrontonos=908,t.Omonospace=65327,t.Oneroman=8544,t.Oogonek=490,t.Oogonekmacron=492,t.Oopen=390,t.Oslash=216,t.Oslashacute=510,t.Oslashsmall=63480,t.Osmall=63343,t.Ostrokeacute=510,t.Otcyrillic=1150,t.Otilde=213,t.Otildeacute=7756,t.Otildedieresis=7758,t.Otildesmall=63477,t.P=80,t.Pacute=7764,t.Pcircle=9413,t.Pdotaccent=7766,t.Pecyrillic=1055,t.Peharmenian=1354,t.Pemiddlehookcyrillic=1190,t.Phi=934,t.Phook=420,t.Pi=928,t.Piwrarmenian=1363,t.Pmonospace=65328,t.Psi=936,t.Psicyrillic=1136,t.Psmall=63344,t.Q=81,t.Qcircle=9414,t.Qmonospace=65329,t.Qsmall=63345,t.R=82,t.Raarmenian=1356,t.Racute=340,t.Rcaron=344,t.Rcedilla=342,t.Rcircle=9415,t.Rcommaaccent=342,t.Rdblgrave=528,t.Rdotaccent=7768,t.Rdotbelow=7770,t.Rdotbelowmacron=7772,t.Reharmenian=1360,t.Rfraktur=8476,t.Rho=929,t.Ringsmall=63228,t.Rinvertedbreve=530,t.Rlinebelow=7774,t.Rmonospace=65330,t.Rsmall=63346,t.Rsmallinverted=641,t.Rsmallinvertedsuperior=694,t.S=83,t.SF010000=9484,t.SF020000=9492,t.SF030000=9488,t.SF040000=9496,t.SF050000=9532,t.SF060000=9516,t.SF070000=9524,t.SF080000=9500,t.SF090000=9508,t.SF100000=9472,t.SF110000=9474,t.SF190000=9569,t.SF200000=9570,t.SF210000=9558,t.SF220000=9557,t.SF230000=9571,t.SF240000=9553,t.SF250000=9559,t.SF260000=9565,t.SF270000=9564,t.SF280000=9563,t.SF360000=9566,t.SF370000=9567,t.SF380000=9562,t.SF390000=9556,t.SF400000=9577,t.SF410000=9574,t.SF420000=9568,t.SF430000=9552,t.SF440000=9580,t.SF450000=9575,t.SF460000=9576,t.SF470000=9572,t.SF480000=9573,t.SF490000=9561,t.SF500000=9560,t.SF510000=9554,t.SF520000=9555,t.SF530000=9579,t.SF540000=9578,t.Sacute=346,t.Sacutedotaccent=7780,t.Sampigreek=992,t.Scaron=352,t.Scarondotaccent=7782,t.Scaronsmall=63229,t.Scedilla=350,t.Schwa=399,t.Schwacyrillic=1240,t.Schwadieresiscyrillic=1242,t.Scircle=9416,t.Scircumflex=348,t.Scommaaccent=536,t.Sdotaccent=7776,t.Sdotbelow=7778,t.Sdotbelowdotaccent=7784,t.Seharmenian=1357,t.Sevenroman=8550,t.Shaarmenian=1351,t.Shacyrillic=1064,t.Shchacyrillic=1065,t.Sheicoptic=994,t.Shhacyrillic=1210,t.Shimacoptic=1004,t.Sigma=931,t.Sixroman=8549,t.Smonospace=65331,t.Softsigncyrillic=1068,t.Ssmall=63347,t.Stigmagreek=986,t.T=84,t.Tau=932,t.Tbar=358,t.Tcaron=356,t.Tcedilla=354,t.Tcircle=9417,t.Tcircumflexbelow=7792,t.Tcommaaccent=354,t.Tdotaccent=7786,t.Tdotbelow=7788,t.Tecyrillic=1058,t.Tedescendercyrillic=1196,t.Tenroman=8553,t.Tetsecyrillic=1204,t.Theta=920,t.Thook=428,t.Thorn=222,t.Thornsmall=63486,t.Threeroman=8546,t.Tildesmall=63230,t.Tiwnarmenian=1359,t.Tlinebelow=7790,t.Tmonospace=65332,t.Toarmenian=1337,t.Tonefive=444,t.Tonesix=388,t.Tonetwo=423,t.Tretroflexhook=430,t.Tsecyrillic=1062,t.Tshecyrillic=1035,t.Tsmall=63348,t.Twelveroman=8555,t.Tworoman=8545,t.U=85,t.Uacute=218,t.Uacutesmall=63482,t.Ubreve=364,t.Ucaron=467,t.Ucircle=9418,t.Ucircumflex=219,t.Ucircumflexbelow=7798,t.Ucircumflexsmall=63483,t.Ucyrillic=1059,t.Udblacute=368,t.Udblgrave=532,t.Udieresis=220,t.Udieresisacute=471,t.Udieresisbelow=7794,t.Udieresiscaron=473,t.Udieresiscyrillic=1264,t.Udieresisgrave=475,t.Udieresismacron=469,t.Udieresissmall=63484,t.Udotbelow=7908,t.Ugrave=217,t.Ugravesmall=63481,t.Uhookabove=7910,t.Uhorn=431,t.Uhornacute=7912,t.Uhorndotbelow=7920,t.Uhorngrave=7914,t.Uhornhookabove=7916,t.Uhorntilde=7918,t.Uhungarumlaut=368,t.Uhungarumlautcyrillic=1266,t.Uinvertedbreve=534,t.Ukcyrillic=1144,t.Umacron=362,t.Umacroncyrillic=1262,t.Umacrondieresis=7802,t.Umonospace=65333,t.Uogonek=370,t.Upsilon=933,t.Upsilon1=978,t.Upsilonacutehooksymbolgreek=979,t.Upsilonafrican=433,t.Upsilondieresis=939,t.Upsilondieresishooksymbolgreek=980,t.Upsilonhooksymbol=978,t.Upsilontonos=910,t.Uring=366,t.Ushortcyrillic=1038,t.Usmall=63349,t.Ustraightcyrillic=1198,t.Ustraightstrokecyrillic=1200,t.Utilde=360,t.Utildeacute=7800,t.Utildebelow=7796,t.V=86,t.Vcircle=9419,t.Vdotbelow=7806,t.Vecyrillic=1042,t.Vewarmenian=1358,t.Vhook=434,t.Vmonospace=65334,t.Voarmenian=1352,t.Vsmall=63350,t.Vtilde=7804,t.W=87,t.Wacute=7810,t.Wcircle=9420,t.Wcircumflex=372,t.Wdieresis=7812,t.Wdotaccent=7814,t.Wdotbelow=7816,t.Wgrave=7808,t.Wmonospace=65335,t.Wsmall=63351,t.X=88,t.Xcircle=9421,t.Xdieresis=7820,t.Xdotaccent=7818,t.Xeharmenian=1341,t.Xi=926,t.Xmonospace=65336,t.Xsmall=63352,t.Y=89,t.Yacute=221,t.Yacutesmall=63485,t.Yatcyrillic=1122,t.Ycircle=9422,t.Ycircumflex=374,t.Ydieresis=376,t.Ydieresissmall=63487,t.Ydotaccent=7822,t.Ydotbelow=7924,t.Yericyrillic=1067,t.Yerudieresiscyrillic=1272,t.Ygrave=7922,t.Yhook=435,t.Yhookabove=7926,t.Yiarmenian=1349,t.Yicyrillic=1031,t.Yiwnarmenian=1362,t.Ymonospace=65337,t.Ysmall=63353,t.Ytilde=7928,t.Yusbigcyrillic=1130,t.Yusbigiotifiedcyrillic=1132,t.Yuslittlecyrillic=1126,t.Yuslittleiotifiedcyrillic=1128,t.Z=90,t.Zaarmenian=1334,t.Zacute=377,t.Zcaron=381,t.Zcaronsmall=63231,t.Zcircle=9423,t.Zcircumflex=7824,t.Zdot=379,t.Zdotaccent=379,t.Zdotbelow=7826,t.Zecyrillic=1047,t.Zedescendercyrillic=1176,t.Zedieresiscyrillic=1246,t.Zeta=918,t.Zhearmenian=1338,t.Zhebrevecyrillic=1217,t.Zhecyrillic=1046,t.Zhedescendercyrillic=1174,t.Zhedieresiscyrillic=1244,t.Zlinebelow=7828,t.Zmonospace=65338,t.Zsmall=63354,t.Zstroke=437,t.a=97,t.aabengali=2438,t.aacute=225,t.aadeva=2310,t.aagujarati=2694,t.aagurmukhi=2566,t.aamatragurmukhi=2622,t.aarusquare=13059,t.aavowelsignbengali=2494,t.aavowelsigndeva=2366,t.aavowelsigngujarati=2750,t.abbreviationmarkarmenian=1375,t.abbreviationsigndeva=2416,t.abengali=2437,t.abopomofo=12570,t.abreve=259,t.abreveacute=7855,t.abrevecyrillic=1233,t.abrevedotbelow=7863,t.abrevegrave=7857,t.abrevehookabove=7859,t.abrevetilde=7861,t.acaron=462,t.acircle=9424,t.acircumflex=226,t.acircumflexacute=7845,t.acircumflexdotbelow=7853,t.acircumflexgrave=7847,t.acircumflexhookabove=7849,t.acircumflextilde=7851,t.acute=180,t.acutebelowcmb=791,t.acutecmb=769,t.acutecomb=769,t.acutedeva=2388,t.acutelowmod=719,t.acutetonecmb=833,t.acyrillic=1072,t.adblgrave=513,t.addakgurmukhi=2673,t.adeva=2309,t.adieresis=228,t.adieresiscyrillic=1235,t.adieresismacron=479,t.adotbelow=7841,t.adotmacron=481,t.ae=230,t.aeacute=509,t.aekorean=12624,t.aemacron=483,t.afii00208=8213,t.afii08941=8356,t.afii10017=1040,t.afii10018=1041,t.afii10019=1042,t.afii10020=1043,t.afii10021=1044,t.afii10022=1045,t.afii10023=1025,t.afii10024=1046,t.afii10025=1047,t.afii10026=1048,t.afii10027=1049,t.afii10028=1050,t.afii10029=1051,t.afii10030=1052,t.afii10031=1053,t.afii10032=1054,t.afii10033=1055,t.afii10034=1056,t.afii10035=1057,t.afii10036=1058,t.afii10037=1059,t.afii10038=1060,t.afii10039=1061,t.afii10040=1062,t.afii10041=1063,t.afii10042=1064,t.afii10043=1065,t.afii10044=1066,t.afii10045=1067,t.afii10046=1068,t.afii10047=1069,t.afii10048=1070,t.afii10049=1071,t.afii10050=1168,t.afii10051=1026,t.afii10052=1027,t.afii10053=1028,t.afii10054=1029,t.afii10055=1030,t.afii10056=1031,t.afii10057=1032,t.afii10058=1033,t.afii10059=1034,t.afii10060=1035,t.afii10061=1036,t.afii10062=1038,t.afii10063=63172,t.afii10064=63173,t.afii10065=1072,t.afii10066=1073,t.afii10067=1074,t.afii10068=1075,t.afii10069=1076,t.afii10070=1077,t.afii10071=1105,t.afii10072=1078,t.afii10073=1079,t.afii10074=1080,t.afii10075=1081,t.afii10076=1082,t.afii10077=1083,t.afii10078=1084,t.afii10079=1085,t.afii10080=1086,t.afii10081=1087,t.afii10082=1088,t.afii10083=1089,t.afii10084=1090,t.afii10085=1091,t.afii10086=1092,t.afii10087=1093,t.afii10088=1094,t.afii10089=1095,t.afii10090=1096,t.afii10091=1097,t.afii10092=1098,t.afii10093=1099,t.afii10094=1100,t.afii10095=1101,t.afii10096=1102,t.afii10097=1103,t.afii10098=1169,t.afii10099=1106,t.afii10100=1107,t.afii10101=1108,t.afii10102=1109,t.afii10103=1110,t.afii10104=1111,t.afii10105=1112,t.afii10106=1113,t.afii10107=1114,t.afii10108=1115,t.afii10109=1116,t.afii10110=1118,t.afii10145=1039,t.afii10146=1122,t.afii10147=1138,t.afii10148=1140,t.afii10192=63174,t.afii10193=1119,t.afii10194=1123,t.afii10195=1139,t.afii10196=1141,t.afii10831=63175,t.afii10832=63176,t.afii10846=1241,t.afii299=8206,t.afii300=8207,t.afii301=8205,t.afii57381=1642,t.afii57388=1548,t.afii57392=1632,t.afii57393=1633,t.afii57394=1634,t.afii57395=1635,t.afii57396=1636,t.afii57397=1637,t.afii57398=1638,t.afii57399=1639,t.afii57400=1640,t.afii57401=1641,t.afii57403=1563,t.afii57407=1567,t.afii57409=1569,t.afii57410=1570,t.afii57411=1571,t.afii57412=1572,t.afii57413=1573,t.afii57414=1574,t.afii57415=1575,t.afii57416=1576,t.afii57417=1577,t.afii57418=1578,t.afii57419=1579,t.afii57420=1580,t.afii57421=1581,t.afii57422=1582,t.afii57423=1583,t.afii57424=1584,t.afii57425=1585,t.afii57426=1586,t.afii57427=1587,t.afii57428=1588,t.afii57429=1589,t.afii57430=1590,t.afii57431=1591,t.afii57432=1592,t.afii57433=1593,t.afii57434=1594,t.afii57440=1600,t.afii57441=1601,t.afii57442=1602,t.afii57443=1603,t.afii57444=1604,t.afii57445=1605,t.afii57446=1606,t.afii57448=1608,t.afii57449=1609,t.afii57450=1610,t.afii57451=1611,t.afii57452=1612,t.afii57453=1613,t.afii57454=1614,t.afii57455=1615,t.afii57456=1616,t.afii57457=1617,t.afii57458=1618,t.afii57470=1607,t.afii57505=1700,t.afii57506=1662,t.afii57507=1670,t.afii57508=1688,t.afii57509=1711,t.afii57511=1657,t.afii57512=1672,t.afii57513=1681,t.afii57514=1722,t.afii57519=1746,t.afii57534=1749,t.afii57636=8362,t.afii57645=1470,t.afii57658=1475,t.afii57664=1488,t.afii57665=1489,t.afii57666=1490,t.afii57667=1491,t.afii57668=1492,t.afii57669=1493,t.afii57670=1494,t.afii57671=1495,t.afii57672=1496,t.afii57673=1497,t.afii57674=1498,t.afii57675=1499,t.afii57676=1500,t.afii57677=1501,t.afii57678=1502,t.afii57679=1503,t.afii57680=1504,t.afii57681=1505,t.afii57682=1506,t.afii57683=1507,t.afii57684=1508,t.afii57685=1509,t.afii57686=1510,t.afii57687=1511,t.afii57688=1512,t.afii57689=1513,t.afii57690=1514,t.afii57694=64298,t.afii57695=64299,t.afii57700=64331,t.afii57705=64287,t.afii57716=1520,t.afii57717=1521,t.afii57718=1522,t.afii57723=64309,t.afii57793=1460,t.afii57794=1461,t.afii57795=1462,t.afii57796=1467,t.afii57797=1464,t.afii57798=1463,t.afii57799=1456,t.afii57800=1458,t.afii57801=1457,t.afii57802=1459,t.afii57803=1474,t.afii57804=1473,t.afii57806=1465,t.afii57807=1468,t.afii57839=1469,t.afii57841=1471,t.afii57842=1472,t.afii57929=700,t.afii61248=8453,t.afii61289=8467,t.afii61352=8470,t.afii61573=8236,t.afii61574=8237,t.afii61575=8238,t.afii61664=8204,t.afii63167=1645,t.afii64937=701,t.agrave=224,t.agujarati=2693,t.agurmukhi=2565,t.ahiragana=12354,t.ahookabove=7843,t.aibengali=2448,t.aibopomofo=12574,t.aideva=2320,t.aiecyrillic=1237,t.aigujarati=2704,t.aigurmukhi=2576,t.aimatragurmukhi=2632,t.ainarabic=1593,t.ainfinalarabic=65226,t.aininitialarabic=65227,t.ainmedialarabic=65228,t.ainvertedbreve=515,t.aivowelsignbengali=2504,t.aivowelsigndeva=2376,t.aivowelsigngujarati=2760,t.akatakana=12450,t.akatakanahalfwidth=65393,t.akorean=12623,t.alef=1488,t.alefarabic=1575,t.alefdageshhebrew=64304,t.aleffinalarabic=65166,t.alefhamzaabovearabic=1571,t.alefhamzaabovefinalarabic=65156,t.alefhamzabelowarabic=1573,t.alefhamzabelowfinalarabic=65160,t.alefhebrew=1488,t.aleflamedhebrew=64335,t.alefmaddaabovearabic=1570,t.alefmaddaabovefinalarabic=65154,t.alefmaksuraarabic=1609,t.alefmaksurafinalarabic=65264,t.alefmaksurainitialarabic=65267,t.alefmaksuramedialarabic=65268,t.alefpatahhebrew=64302,t.alefqamatshebrew=64303,t.aleph=8501,t.allequal=8780,t.alpha=945,t.alphatonos=940,t.amacron=257,t.amonospace=65345,t.ampersand=38,t.ampersandmonospace=65286,t.ampersandsmall=63270,t.amsquare=13250,t.anbopomofo=12578,t.angbopomofo=12580,t.angbracketleft=12296,t.angbracketright=12297,t.angkhankhuthai=3674,t.angle=8736,t.anglebracketleft=12296,t.anglebracketleftvertical=65087,t.anglebracketright=12297,t.anglebracketrightvertical=65088,t.angleleft=9001,t.angleright=9002,t.angstrom=8491,t.anoteleia=903,t.anudattadeva=2386,t.anusvarabengali=2434,t.anusvaradeva=2306,t.anusvaragujarati=2690,t.aogonek=261,t.apaatosquare=13056,t.aparen=9372,t.apostrophearmenian=1370,t.apostrophemod=700,t.apple=63743,t.approaches=8784,t.approxequal=8776,t.approxequalorimage=8786,t.approximatelyequal=8773,t.araeaekorean=12686,t.araeakorean=12685,t.arc=8978,t.arighthalfring=7834,t.aring=229,t.aringacute=507,t.aringbelow=7681,t.arrowboth=8596,t.arrowdashdown=8675,t.arrowdashleft=8672,t.arrowdashright=8674,t.arrowdashup=8673,t.arrowdblboth=8660,t.arrowdbldown=8659,t.arrowdblleft=8656,t.arrowdblright=8658,t.arrowdblup=8657,t.arrowdown=8595,t.arrowdownleft=8601,t.arrowdownright=8600,t.arrowdownwhite=8681,t.arrowheaddownmod=709,t.arrowheadleftmod=706,t.arrowheadrightmod=707,t.arrowheadupmod=708,t.arrowhorizex=63719,t.arrowleft=8592,t.arrowleftdbl=8656,t.arrowleftdblstroke=8653,t.arrowleftoverright=8646,t.arrowleftwhite=8678,t.arrowright=8594,t.arrowrightdblstroke=8655,t.arrowrightheavy=10142,t.arrowrightoverleft=8644,t.arrowrightwhite=8680,t.arrowtableft=8676,t.arrowtabright=8677,t.arrowup=8593,t.arrowupdn=8597,t.arrowupdnbse=8616,t.arrowupdownbase=8616,t.arrowupleft=8598,t.arrowupleftofdown=8645,t.arrowupright=8599,t.arrowupwhite=8679,t.arrowvertex=63718,t.asciicircum=94,t.asciicircummonospace=65342,t.asciitilde=126,t.asciitildemonospace=65374,t.ascript=593,t.ascriptturned=594,t.asmallhiragana=12353,t.asmallkatakana=12449,t.asmallkatakanahalfwidth=65383,t.asterisk=42,t.asteriskaltonearabic=1645,t.asteriskarabic=1645,t.asteriskmath=8727,t.asteriskmonospace=65290,t.asterisksmall=65121,t.asterism=8258,t.asuperior=63209,t.asymptoticallyequal=8771,t.at=64,t.atilde=227,t.atmonospace=65312,t.atsmall=65131,t.aturned=592,t.aubengali=2452,t.aubopomofo=12576,t.audeva=2324,t.augujarati=2708,t.augurmukhi=2580,t.aulengthmarkbengali=2519,t.aumatragurmukhi=2636,t.auvowelsignbengali=2508,t.auvowelsigndeva=2380,t.auvowelsigngujarati=2764,t.avagrahadeva=2365,t.aybarmenian=1377,t.ayin=1506,t.ayinaltonehebrew=64288,t.ayinhebrew=1506,t.b=98,t.babengali=2476,t.backslash=92,t.backslashmonospace=65340,t.badeva=2348,t.bagujarati=2732,t.bagurmukhi=2604,t.bahiragana=12400,t.bahtthai=3647,t.bakatakana=12496,t.bar=124,t.barmonospace=65372,t.bbopomofo=12549,t.bcircle=9425,t.bdotaccent=7683,t.bdotbelow=7685,t.beamedsixteenthnotes=9836,t.because=8757,t.becyrillic=1073,t.beharabic=1576,t.behfinalarabic=65168,t.behinitialarabic=65169,t.behiragana=12409,t.behmedialarabic=65170,t.behmeeminitialarabic=64671,t.behmeemisolatedarabic=64520,t.behnoonfinalarabic=64621,t.bekatakana=12505,t.benarmenian=1378,t.bet=1489,t.beta=946,t.betasymbolgreek=976,t.betdagesh=64305,t.betdageshhebrew=64305,t.bethebrew=1489,t.betrafehebrew=64332,t.bhabengali=2477,t.bhadeva=2349,t.bhagujarati=2733,t.bhagurmukhi=2605,t.bhook=595,t.bihiragana=12403,t.bikatakana=12499,t.bilabialclick=664,t.bindigurmukhi=2562,t.birusquare=13105,t.blackcircle=9679,t.blackdiamond=9670,t.blackdownpointingtriangle=9660,t.blackleftpointingpointer=9668,t.blackleftpointingtriangle=9664,t.blacklenticularbracketleft=12304,t.blacklenticularbracketleftvertical=65083,t.blacklenticularbracketright=12305,t.blacklenticularbracketrightvertical=65084,t.blacklowerlefttriangle=9699,t.blacklowerrighttriangle=9698,t.blackrectangle=9644,t.blackrightpointingpointer=9658,t.blackrightpointingtriangle=9654,t.blacksmallsquare=9642,t.blacksmilingface=9787,t.blacksquare=9632,t.blackstar=9733,t.blackupperlefttriangle=9700,t.blackupperrighttriangle=9701,t.blackuppointingsmalltriangle=9652,t.blackuppointingtriangle=9650,t.blank=9251,t.blinebelow=7687,t.block=9608,t.bmonospace=65346,t.bobaimaithai=3610,t.bohiragana=12412,t.bokatakana=12508,t.bparen=9373,t.bqsquare=13251,t.braceex=63732,t.braceleft=123,t.braceleftbt=63731,t.braceleftmid=63730,t.braceleftmonospace=65371,t.braceleftsmall=65115,t.bracelefttp=63729,t.braceleftvertical=65079,t.braceright=125,t.bracerightbt=63742,t.bracerightmid=63741,t.bracerightmonospace=65373,t.bracerightsmall=65116,t.bracerighttp=63740,t.bracerightvertical=65080,t.bracketleft=91,t.bracketleftbt=63728,t.bracketleftex=63727,t.bracketleftmonospace=65339,t.bracketlefttp=63726,t.bracketright=93,t.bracketrightbt=63739,t.bracketrightex=63738,t.bracketrightmonospace=65341,t.bracketrighttp=63737,t.breve=728,t.brevebelowcmb=814,t.brevecmb=774,t.breveinvertedbelowcmb=815,t.breveinvertedcmb=785,t.breveinverteddoublecmb=865,t.bridgebelowcmb=810,t.bridgeinvertedbelowcmb=826,t.brokenbar=166,t.bstroke=384,t.bsuperior=63210,t.btopbar=387,t.buhiragana=12406,t.bukatakana=12502,t.bullet=8226,t.bulletinverse=9688,t.bulletoperator=8729,t.bullseye=9678,t.c=99,t.caarmenian=1390,t.cabengali=2458,t.cacute=263,t.cadeva=2330,t.cagujarati=2714,t.cagurmukhi=2586,t.calsquare=13192,t.candrabindubengali=2433,t.candrabinducmb=784,t.candrabindudeva=2305,t.candrabindugujarati=2689,t.capslock=8682,t.careof=8453,t.caron=711,t.caronbelowcmb=812,t.caroncmb=780,t.carriagereturn=8629,t.cbopomofo=12568,t.ccaron=269,t.ccedilla=231,t.ccedillaacute=7689,t.ccircle=9426,t.ccircumflex=265,t.ccurl=597,t.cdot=267,t.cdotaccent=267,t.cdsquare=13253,t.cedilla=184,t.cedillacmb=807,t.cent=162,t.centigrade=8451,t.centinferior=63199,t.centmonospace=65504,t.centoldstyle=63394,t.centsuperior=63200,t.chaarmenian=1401,t.chabengali=2459,t.chadeva=2331,t.chagujarati=2715,t.chagurmukhi=2587,t.chbopomofo=12564,t.cheabkhasiancyrillic=1213,t.checkmark=10003,t.checyrillic=1095,t.chedescenderabkhasiancyrillic=1215,t.chedescendercyrillic=1207,t.chedieresiscyrillic=1269,t.cheharmenian=1395,t.chekhakassiancyrillic=1228,t.cheverticalstrokecyrillic=1209,t.chi=967,t.chieuchacirclekorean=12919,t.chieuchaparenkorean=12823,t.chieuchcirclekorean=12905,t.chieuchkorean=12618,t.chieuchparenkorean=12809,t.chochangthai=3594,t.chochanthai=3592,t.chochingthai=3593,t.chochoethai=3596,t.chook=392,t.cieucacirclekorean=12918,t.cieucaparenkorean=12822,t.cieuccirclekorean=12904,t.cieuckorean=12616,t.cieucparenkorean=12808,t.cieucuparenkorean=12828,t.circle=9675,t.circlecopyrt=169,t.circlemultiply=8855,t.circleot=8857,t.circleplus=8853,t.circlepostalmark=12342,t.circlewithlefthalfblack=9680,t.circlewithrighthalfblack=9681,t.circumflex=710,t.circumflexbelowcmb=813,t.circumflexcmb=770,t.clear=8999,t.clickalveolar=450,t.clickdental=448,t.clicklateral=449,t.clickretroflex=451,t.club=9827,t.clubsuitblack=9827,t.clubsuitwhite=9831,t.cmcubedsquare=13220,t.cmonospace=65347,t.cmsquaredsquare=13216,t.coarmenian=1409,t.colon=58,t.colonmonetary=8353,t.colonmonospace=65306,t.colonsign=8353,t.colonsmall=65109,t.colontriangularhalfmod=721,t.colontriangularmod=720,t.comma=44,t.commaabovecmb=787,t.commaaboverightcmb=789,t.commaaccent=63171,t.commaarabic=1548,t.commaarmenian=1373,t.commainferior=63201,t.commamonospace=65292,t.commareversedabovecmb=788,t.commareversedmod=701,t.commasmall=65104,t.commasuperior=63202,t.commaturnedabovecmb=786,t.commaturnedmod=699,t.compass=9788,t.congruent=8773,t.contourintegral=8750,t.control=8963,t.controlACK=6,t.controlBEL=7,t.controlBS=8,t.controlCAN=24,t.controlCR=13,t.controlDC1=17,t.controlDC2=18,t.controlDC3=19,t.controlDC4=20,t.controlDEL=127,t.controlDLE=16,t.controlEM=25,t.controlENQ=5,t.controlEOT=4,t.controlESC=27,t.controlETB=23,t.controlETX=3,t.controlFF=12,t.controlFS=28,t.controlGS=29,t.controlHT=9,t.controlLF=10,t.controlNAK=21,t.controlNULL=0,t.controlRS=30,t.controlSI=15,t.controlSO=14,t.controlSOT=2,t.controlSTX=1,t.controlSUB=26,t.controlSYN=22,t.controlUS=31,t.controlVT=11,t.copyright=169,t.copyrightsans=63721,t.copyrightserif=63193,t.cornerbracketleft=12300,t.cornerbracketlefthalfwidth=65378,t.cornerbracketleftvertical=65089,t.cornerbracketright=12301,t.cornerbracketrighthalfwidth=65379,t.cornerbracketrightvertical=65090,t.corporationsquare=13183,t.cosquare=13255,t.coverkgsquare=13254,t.cparen=9374,t.cruzeiro=8354,t.cstretched=663,t.curlyand=8911,t.curlyor=8910,t.currency=164,t.cyrBreve=63185,t.cyrFlex=63186,t.cyrbreve=63188,t.cyrflex=63189,t.d=100,t.daarmenian=1380,t.dabengali=2470,t.dadarabic=1590,t.dadeva=2342,t.dadfinalarabic=65214,t.dadinitialarabic=65215,t.dadmedialarabic=65216,t.dagesh=1468,t.dageshhebrew=1468,t.dagger=8224,t.daggerdbl=8225,t.dagujarati=2726,t.dagurmukhi=2598,t.dahiragana=12384,t.dakatakana=12480,t.dalarabic=1583,t.dalet=1491,t.daletdagesh=64307,t.daletdageshhebrew=64307,t.dalethebrew=1491,t.dalfinalarabic=65194,t.dammaarabic=1615,t.dammalowarabic=1615,t.dammatanaltonearabic=1612,t.dammatanarabic=1612,t.danda=2404,t.dargahebrew=1447,t.dargalefthebrew=1447,t.dasiapneumatacyrilliccmb=1157,t.dblGrave=63187,t.dblanglebracketleft=12298,t.dblanglebracketleftvertical=65085,t.dblanglebracketright=12299,t.dblanglebracketrightvertical=65086,t.dblarchinvertedbelowcmb=811,t.dblarrowleft=8660,t.dblarrowright=8658,t.dbldanda=2405,t.dblgrave=63190,t.dblgravecmb=783,t.dblintegral=8748,t.dbllowline=8215,t.dbllowlinecmb=819,t.dbloverlinecmb=831,t.dblprimemod=698,t.dblverticalbar=8214,t.dblverticallineabovecmb=782,t.dbopomofo=12553,t.dbsquare=13256,t.dcaron=271,t.dcedilla=7697,t.dcircle=9427,t.dcircumflexbelow=7699,t.dcroat=273,t.ddabengali=2465,t.ddadeva=2337,t.ddagujarati=2721,t.ddagurmukhi=2593,t.ddalarabic=1672,t.ddalfinalarabic=64393,t.dddhadeva=2396,t.ddhabengali=2466,t.ddhadeva=2338,t.ddhagujarati=2722,t.ddhagurmukhi=2594,t.ddotaccent=7691,t.ddotbelow=7693,t.decimalseparatorarabic=1643,t.decimalseparatorpersian=1643,t.decyrillic=1076,t.degree=176,t.dehihebrew=1453,t.dehiragana=12391,t.deicoptic=1007,t.dekatakana=12487,t.deleteleft=9003,t.deleteright=8998,t.delta=948,t.deltaturned=397,t.denominatorminusonenumeratorbengali=2552,t.dezh=676,t.dhabengali=2471,t.dhadeva=2343,t.dhagujarati=2727,t.dhagurmukhi=2599,t.dhook=599,t.dialytikatonos=901,t.dialytikatonoscmb=836,t.diamond=9830,t.diamondsuitwhite=9826,t.dieresis=168,t.dieresisacute=63191,t.dieresisbelowcmb=804,t.dieresiscmb=776,t.dieresisgrave=63192,t.dieresistonos=901,t.dihiragana=12386,t.dikatakana=12482,t.dittomark=12291,t.divide=247,t.divides=8739,t.divisionslash=8725,t.djecyrillic=1106,t.dkshade=9619,t.dlinebelow=7695,t.dlsquare=13207,t.dmacron=273,t.dmonospace=65348,t.dnblock=9604,t.dochadathai=3598,t.dodekthai=3604,t.dohiragana=12393,t.dokatakana=12489,t.dollar=36,t.dollarinferior=63203,t.dollarmonospace=65284,t.dollaroldstyle=63268,t.dollarsmall=65129,t.dollarsuperior=63204,t.dong=8363,t.dorusquare=13094,t.dotaccent=729,t.dotaccentcmb=775,t.dotbelowcmb=803,t.dotbelowcomb=803,t.dotkatakana=12539,t.dotlessi=305,t.dotlessj=63166,t.dotlessjstrokehook=644,t.dotmath=8901,t.dottedcircle=9676,t.doubleyodpatah=64287,t.doubleyodpatahhebrew=64287,t.downtackbelowcmb=798,t.downtackmod=725,t.dparen=9375,t.dsuperior=63211,t.dtail=598,t.dtopbar=396,t.duhiragana=12389,t.dukatakana=12485,t.dz=499,t.dzaltone=675,t.dzcaron=454,t.dzcurl=677,t.dzeabkhasiancyrillic=1249,t.dzecyrillic=1109,t.dzhecyrillic=1119,t.e=101,t.eacute=233,t.earth=9793,t.ebengali=2447,t.ebopomofo=12572,t.ebreve=277,t.ecandradeva=2317,t.ecandragujarati=2701,t.ecandravowelsigndeva=2373,t.ecandravowelsigngujarati=2757,t.ecaron=283,t.ecedillabreve=7709,t.echarmenian=1381,t.echyiwnarmenian=1415,t.ecircle=9428,t.ecircumflex=234,t.ecircumflexacute=7871,t.ecircumflexbelow=7705,t.ecircumflexdotbelow=7879,t.ecircumflexgrave=7873,t.ecircumflexhookabove=7875,t.ecircumflextilde=7877,t.ecyrillic=1108,t.edblgrave=517,t.edeva=2319,t.edieresis=235,t.edot=279,t.edotaccent=279,t.edotbelow=7865,t.eegurmukhi=2575,t.eematragurmukhi=2631,t.efcyrillic=1092,t.egrave=232,t.egujarati=2703,t.eharmenian=1383,t.ehbopomofo=12573,t.ehiragana=12360,t.ehookabove=7867,t.eibopomofo=12575,t.eight=56,t.eightarabic=1640,t.eightbengali=2542,t.eightcircle=9319,t.eightcircleinversesansserif=10129,t.eightdeva=2414,t.eighteencircle=9329,t.eighteenparen=9349,t.eighteenperiod=9369,t.eightgujarati=2798,t.eightgurmukhi=2670,t.eighthackarabic=1640,t.eighthangzhou=12328,t.eighthnotebeamed=9835,t.eightideographicparen=12839,t.eightinferior=8328,t.eightmonospace=65304,t.eightoldstyle=63288,t.eightparen=9339,t.eightperiod=9359,t.eightpersian=1784,t.eightroman=8567,t.eightsuperior=8312,t.eightthai=3672,t.einvertedbreve=519,t.eiotifiedcyrillic=1125,t.ekatakana=12456,t.ekatakanahalfwidth=65396,t.ekonkargurmukhi=2676,t.ekorean=12628,t.elcyrillic=1083,t.element=8712,t.elevencircle=9322,t.elevenparen=9342,t.elevenperiod=9362,t.elevenroman=8570,t.ellipsis=8230,t.ellipsisvertical=8942,t.emacron=275,t.emacronacute=7703,t.emacrongrave=7701,t.emcyrillic=1084,t.emdash=8212,t.emdashvertical=65073,t.emonospace=65349,t.emphasismarkarmenian=1371,t.emptyset=8709,t.enbopomofo=12579,t.encyrillic=1085,t.endash=8211,t.endashvertical=65074,t.endescendercyrillic=1187,t.eng=331,t.engbopomofo=12581,t.enghecyrillic=1189,t.enhookcyrillic=1224,t.enspace=8194,t.eogonek=281,t.eokorean=12627,t.eopen=603,t.eopenclosed=666,t.eopenreversed=604,t.eopenreversedclosed=606,t.eopenreversedhook=605,t.eparen=9376,t.epsilon=949,t.epsilontonos=941,t.equal=61,t.equalmonospace=65309,t.equalsmall=65126,t.equalsuperior=8316,t.equivalence=8801,t.erbopomofo=12582,t.ercyrillic=1088,t.ereversed=600,t.ereversedcyrillic=1101,t.escyrillic=1089,t.esdescendercyrillic=1195,t.esh=643,t.eshcurl=646,t.eshortdeva=2318,t.eshortvowelsigndeva=2374,t.eshreversedloop=426,t.eshsquatreversed=645,t.esmallhiragana=12359,t.esmallkatakana=12455,t.esmallkatakanahalfwidth=65386,t.estimated=8494,t.esuperior=63212,t.eta=951,t.etarmenian=1384,t.etatonos=942,t.eth=240,t.etilde=7869,t.etildebelow=7707,t.etnahtafoukhhebrew=1425,t.etnahtafoukhlefthebrew=1425,t.etnahtahebrew=1425,t.etnahtalefthebrew=1425,t.eturned=477,t.eukorean=12641,t.euro=8364,t.evowelsignbengali=2503,t.evowelsigndeva=2375,t.evowelsigngujarati=2759,t.exclam=33,t.exclamarmenian=1372,t.exclamdbl=8252,t.exclamdown=161,t.exclamdownsmall=63393,t.exclammonospace=65281,t.exclamsmall=63265,t.existential=8707,t.ezh=658,t.ezhcaron=495,t.ezhcurl=659,t.ezhreversed=441,t.ezhtail=442,t.f=102,t.fadeva=2398,t.fagurmukhi=2654,t.fahrenheit=8457,t.fathaarabic=1614,t.fathalowarabic=1614,t.fathatanarabic=1611,t.fbopomofo=12552,t.fcircle=9429,t.fdotaccent=7711,t.feharabic=1601,t.feharmenian=1414,t.fehfinalarabic=65234,t.fehinitialarabic=65235,t.fehmedialarabic=65236,t.feicoptic=997,t.female=9792,t.ff=64256,t.f_f=64256,t.ffi=64259,t.f_f_i=64259,t.ffl=64260,t.f_f_l=64260,t.fi=64257,t.f_i=64257,t.fifteencircle=9326,t.fifteenparen=9346,t.fifteenperiod=9366,t.figuredash=8210,t.filledbox=9632,t.filledrect=9644,t.finalkaf=1498,t.finalkafdagesh=64314,t.finalkafdageshhebrew=64314,t.finalkafhebrew=1498,t.finalmem=1501,t.finalmemhebrew=1501,t.finalnun=1503,t.finalnunhebrew=1503,t.finalpe=1507,t.finalpehebrew=1507,t.finaltsadi=1509,t.finaltsadihebrew=1509,t.firsttonechinese=713,t.fisheye=9673,t.fitacyrillic=1139,t.five=53,t.fivearabic=1637,t.fivebengali=2539,t.fivecircle=9316,t.fivecircleinversesansserif=10126,t.fivedeva=2411,t.fiveeighths=8541,t.fivegujarati=2795,t.fivegurmukhi=2667,t.fivehackarabic=1637,t.fivehangzhou=12325,t.fiveideographicparen=12836,t.fiveinferior=8325,t.fivemonospace=65301,t.fiveoldstyle=63285,t.fiveparen=9336,t.fiveperiod=9356,t.fivepersian=1781,t.fiveroman=8564,t.fivesuperior=8309,t.fivethai=3669,t.fl=64258,t.f_l=64258,t.florin=402,t.fmonospace=65350,t.fmsquare=13209,t.fofanthai=3615,t.fofathai=3613,t.fongmanthai=3663,t.forall=8704,t.four=52,t.fourarabic=1636,t.fourbengali=2538,t.fourcircle=9315,t.fourcircleinversesansserif=10125,t.fourdeva=2410,t.fourgujarati=2794,t.fourgurmukhi=2666,t.fourhackarabic=1636,t.fourhangzhou=12324,t.fourideographicparen=12835,t.fourinferior=8324,t.fourmonospace=65300,t.fournumeratorbengali=2551,t.fouroldstyle=63284,t.fourparen=9335,t.fourperiod=9355,t.fourpersian=1780,t.fourroman=8563,t.foursuperior=8308,t.fourteencircle=9325,t.fourteenparen=9345,t.fourteenperiod=9365,t.fourthai=3668,t.fourthtonechinese=715,t.fparen=9377,t.fraction=8260,t.franc=8355,t.g=103,t.gabengali=2455,t.gacute=501,t.gadeva=2327,t.gafarabic=1711,t.gaffinalarabic=64403,t.gafinitialarabic=64404,t.gafmedialarabic=64405,t.gagujarati=2711,t.gagurmukhi=2583,t.gahiragana=12364,t.gakatakana=12460,t.gamma=947,t.gammalatinsmall=611,t.gammasuperior=736,t.gangiacoptic=1003,t.gbopomofo=12557,t.gbreve=287,t.gcaron=487,t.gcedilla=291,t.gcircle=9430,t.gcircumflex=285,t.gcommaaccent=291,t.gdot=289,t.gdotaccent=289,t.gecyrillic=1075,t.gehiragana=12370,t.gekatakana=12466,t.geometricallyequal=8785,t.gereshaccenthebrew=1436,t.gereshhebrew=1523,t.gereshmuqdamhebrew=1437,t.germandbls=223,t.gershayimaccenthebrew=1438,t.gershayimhebrew=1524,t.getamark=12307,t.ghabengali=2456,t.ghadarmenian=1394,t.ghadeva=2328,t.ghagujarati=2712,t.ghagurmukhi=2584,t.ghainarabic=1594,t.ghainfinalarabic=65230,t.ghaininitialarabic=65231,t.ghainmedialarabic=65232,t.ghemiddlehookcyrillic=1173,t.ghestrokecyrillic=1171,t.gheupturncyrillic=1169,t.ghhadeva=2394,t.ghhagurmukhi=2650,t.ghook=608,t.ghzsquare=13203,t.gihiragana=12366,t.gikatakana=12462,t.gimarmenian=1379,t.gimel=1490,t.gimeldagesh=64306,t.gimeldageshhebrew=64306,t.gimelhebrew=1490,t.gjecyrillic=1107,t.glottalinvertedstroke=446,t.glottalstop=660,t.glottalstopinverted=662,t.glottalstopmod=704,t.glottalstopreversed=661,t.glottalstopreversedmod=705,t.glottalstopreversedsuperior=740,t.glottalstopstroke=673,t.glottalstopstrokereversed=674,t.gmacron=7713,t.gmonospace=65351,t.gohiragana=12372,t.gokatakana=12468,t.gparen=9378,t.gpasquare=13228,t.gradient=8711,t.grave=96,t.gravebelowcmb=790,t.gravecmb=768,t.gravecomb=768,t.gravedeva=2387,t.gravelowmod=718,t.gravemonospace=65344,t.gravetonecmb=832,t.greater=62,t.greaterequal=8805,t.greaterequalorless=8923,t.greatermonospace=65310,t.greaterorequivalent=8819,t.greaterorless=8823,t.greateroverequal=8807,t.greatersmall=65125,t.gscript=609,t.gstroke=485,t.guhiragana=12368,t.guillemotleft=171,t.guillemotright=187,t.guilsinglleft=8249,t.guilsinglright=8250,t.gukatakana=12464,t.guramusquare=13080,t.gysquare=13257,t.h=104,t.haabkhasiancyrillic=1193,t.haaltonearabic=1729,t.habengali=2489,t.hadescendercyrillic=1203,t.hadeva=2361,t.hagujarati=2745,t.hagurmukhi=2617,t.haharabic=1581,t.hahfinalarabic=65186,t.hahinitialarabic=65187,t.hahiragana=12399,t.hahmedialarabic=65188,t.haitusquare=13098,t.hakatakana=12495,t.hakatakanahalfwidth=65418,t.halantgurmukhi=2637,t.hamzaarabic=1569,t.hamzalowarabic=1569,t.hangulfiller=12644,t.hardsigncyrillic=1098,t.harpoonleftbarbup=8636,t.harpoonrightbarbup=8640,t.hasquare=13258,t.hatafpatah=1458,t.hatafpatah16=1458,t.hatafpatah23=1458,t.hatafpatah2f=1458,t.hatafpatahhebrew=1458,t.hatafpatahnarrowhebrew=1458,t.hatafpatahquarterhebrew=1458,t.hatafpatahwidehebrew=1458,t.hatafqamats=1459,t.hatafqamats1b=1459,t.hatafqamats28=1459,t.hatafqamats34=1459,t.hatafqamatshebrew=1459,t.hatafqamatsnarrowhebrew=1459,t.hatafqamatsquarterhebrew=1459,t.hatafqamatswidehebrew=1459,t.hatafsegol=1457,t.hatafsegol17=1457,t.hatafsegol24=1457,t.hatafsegol30=1457,t.hatafsegolhebrew=1457,t.hatafsegolnarrowhebrew=1457,t.hatafsegolquarterhebrew=1457,t.hatafsegolwidehebrew=1457,t.hbar=295,t.hbopomofo=12559,t.hbrevebelow=7723,t.hcedilla=7721,t.hcircle=9431,t.hcircumflex=293,t.hdieresis=7719,t.hdotaccent=7715,t.hdotbelow=7717,t.he=1492,t.heart=9829,t.heartsuitblack=9829,t.heartsuitwhite=9825,t.hedagesh=64308,t.hedageshhebrew=64308,t.hehaltonearabic=1729,t.heharabic=1607,t.hehebrew=1492,t.hehfinalaltonearabic=64423,t.hehfinalalttwoarabic=65258,t.hehfinalarabic=65258,t.hehhamzaabovefinalarabic=64421,t.hehhamzaaboveisolatedarabic=64420,t.hehinitialaltonearabic=64424,t.hehinitialarabic=65259,t.hehiragana=12408,t.hehmedialaltonearabic=64425,t.hehmedialarabic=65260,t.heiseierasquare=13179,t.hekatakana=12504,t.hekatakanahalfwidth=65421,t.hekutaarusquare=13110,t.henghook=615,t.herutusquare=13113,t.het=1495,t.hethebrew=1495,t.hhook=614,t.hhooksuperior=689,t.hieuhacirclekorean=12923,t.hieuhaparenkorean=12827,t.hieuhcirclekorean=12909,t.hieuhkorean=12622,t.hieuhparenkorean=12813,t.hihiragana=12402,t.hikatakana=12498,t.hikatakanahalfwidth=65419,t.hiriq=1460,t.hiriq14=1460,t.hiriq21=1460,t.hiriq2d=1460,t.hiriqhebrew=1460,t.hiriqnarrowhebrew=1460,t.hiriqquarterhebrew=1460,t.hiriqwidehebrew=1460,t.hlinebelow=7830,t.hmonospace=65352,t.hoarmenian=1392,t.hohipthai=3627,t.hohiragana=12411,t.hokatakana=12507,t.hokatakanahalfwidth=65422,t.holam=1465,t.holam19=1465,t.holam26=1465,t.holam32=1465,t.holamhebrew=1465,t.holamnarrowhebrew=1465,t.holamquarterhebrew=1465,t.holamwidehebrew=1465,t.honokhukthai=3630,t.hookabovecomb=777,t.hookcmb=777,t.hookpalatalizedbelowcmb=801,t.hookretroflexbelowcmb=802,t.hoonsquare=13122,t.horicoptic=1001,t.horizontalbar=8213,t.horncmb=795,t.hotsprings=9832,t.house=8962,t.hparen=9379,t.hsuperior=688,t.hturned=613,t.huhiragana=12405,t.huiitosquare=13107,t.hukatakana=12501,t.hukatakanahalfwidth=65420,t.hungarumlaut=733,t.hungarumlautcmb=779,t.hv=405,t.hyphen=45,t.hypheninferior=63205,t.hyphenmonospace=65293,t.hyphensmall=65123,t.hyphensuperior=63206,t.hyphentwo=8208,t.i=105,t.iacute=237,t.iacyrillic=1103,t.ibengali=2439,t.ibopomofo=12583,t.ibreve=301,t.icaron=464,t.icircle=9432,t.icircumflex=238,t.icyrillic=1110,t.idblgrave=521,t.ideographearthcircle=12943,t.ideographfirecircle=12939,t.ideographicallianceparen=12863,t.ideographiccallparen=12858,t.ideographiccentrecircle=12965,t.ideographicclose=12294,t.ideographiccomma=12289,t.ideographiccommaleft=65380,t.ideographiccongratulationparen=12855,t.ideographiccorrectcircle=12963,t.ideographicearthparen=12847,t.ideographicenterpriseparen=12861,t.ideographicexcellentcircle=12957,t.ideographicfestivalparen=12864,t.ideographicfinancialcircle=12950,t.ideographicfinancialparen=12854,t.ideographicfireparen=12843,t.ideographichaveparen=12850,t.ideographichighcircle=12964,t.ideographiciterationmark=12293,t.ideographiclaborcircle=12952,t.ideographiclaborparen=12856,t.ideographicleftcircle=12967,t.ideographiclowcircle=12966,t.ideographicmedicinecircle=12969,t.ideographicmetalparen=12846,t.ideographicmoonparen=12842,t.ideographicnameparen=12852,t.ideographicperiod=12290,t.ideographicprintcircle=12958,t.ideographicreachparen=12867,t.ideographicrepresentparen=12857,t.ideographicresourceparen=12862,t.ideographicrightcircle=12968,t.ideographicsecretcircle=12953,t.ideographicselfparen=12866,t.ideographicsocietyparen=12851,t.ideographicspace=12288,t.ideographicspecialparen=12853,t.ideographicstockparen=12849,t.ideographicstudyparen=12859,t.ideographicsunparen=12848,t.ideographicsuperviseparen=12860,t.ideographicwaterparen=12844,t.ideographicwoodparen=12845,t.ideographiczero=12295,t.ideographmetalcircle=12942,t.ideographmooncircle=12938,t.ideographnamecircle=12948,t.ideographsuncircle=12944,t.ideographwatercircle=12940,t.ideographwoodcircle=12941,t.ideva=2311,t.idieresis=239,t.idieresisacute=7727,t.idieresiscyrillic=1253,t.idotbelow=7883,t.iebrevecyrillic=1239,t.iecyrillic=1077,t.ieungacirclekorean=12917,t.ieungaparenkorean=12821,t.ieungcirclekorean=12903,t.ieungkorean=12615,t.ieungparenkorean=12807,t.igrave=236,t.igujarati=2695,t.igurmukhi=2567,t.ihiragana=12356,t.ihookabove=7881,t.iibengali=2440,t.iicyrillic=1080,t.iideva=2312,t.iigujarati=2696,t.iigurmukhi=2568,t.iimatragurmukhi=2624,t.iinvertedbreve=523,t.iishortcyrillic=1081,t.iivowelsignbengali=2496,t.iivowelsigndeva=2368,t.iivowelsigngujarati=2752,t.ij=307,t.ikatakana=12452,t.ikatakanahalfwidth=65394,t.ikorean=12643,t.ilde=732,t.iluyhebrew=1452,t.imacron=299,t.imacroncyrillic=1251,t.imageorapproximatelyequal=8787,t.imatragurmukhi=2623,t.imonospace=65353,t.increment=8710,t.infinity=8734,t.iniarmenian=1387,t.integral=8747,t.integralbottom=8993,t.integralbt=8993,t.integralex=63733,t.integraltop=8992,t.integraltp=8992,t.intersection=8745,t.intisquare=13061,t.invbullet=9688,t.invcircle=9689,t.invsmileface=9787,t.iocyrillic=1105,t.iogonek=303,t.iota=953,t.iotadieresis=970,t.iotadieresistonos=912,t.iotalatin=617,t.iotatonos=943,t.iparen=9380,t.irigurmukhi=2674,t.ismallhiragana=12355,t.ismallkatakana=12451,t.ismallkatakanahalfwidth=65384,t.issharbengali=2554,t.istroke=616,t.isuperior=63213,t.iterationhiragana=12445,t.iterationkatakana=12541,t.itilde=297,t.itildebelow=7725,t.iubopomofo=12585,t.iucyrillic=1102,t.ivowelsignbengali=2495,t.ivowelsigndeva=2367,t.ivowelsigngujarati=2751,t.izhitsacyrillic=1141,t.izhitsadblgravecyrillic=1143,t.j=106,t.jaarmenian=1393,t.jabengali=2460,t.jadeva=2332,t.jagujarati=2716,t.jagurmukhi=2588,t.jbopomofo=12560,t.jcaron=496,t.jcircle=9433,t.jcircumflex=309,t.jcrossedtail=669,t.jdotlessstroke=607,t.jecyrillic=1112,t.jeemarabic=1580,t.jeemfinalarabic=65182,t.jeeminitialarabic=65183,t.jeemmedialarabic=65184,t.jeharabic=1688,t.jehfinalarabic=64395,t.jhabengali=2461,t.jhadeva=2333,t.jhagujarati=2717,t.jhagurmukhi=2589,t.jheharmenian=1403,t.jis=12292,t.jmonospace=65354,t.jparen=9381,t.jsuperior=690,t.k=107,t.kabashkircyrillic=1185,t.kabengali=2453,t.kacute=7729,t.kacyrillic=1082,t.kadescendercyrillic=1179,t.kadeva=2325,t.kaf=1499,t.kafarabic=1603,t.kafdagesh=64315,t.kafdageshhebrew=64315,t.kaffinalarabic=65242,t.kafhebrew=1499,t.kafinitialarabic=65243,t.kafmedialarabic=65244,t.kafrafehebrew=64333,t.kagujarati=2709,t.kagurmukhi=2581,t.kahiragana=12363,t.kahookcyrillic=1220,t.kakatakana=12459,t.kakatakanahalfwidth=65398,t.kappa=954,t.kappasymbolgreek=1008,t.kapyeounmieumkorean=12657,t.kapyeounphieuphkorean=12676,t.kapyeounpieupkorean=12664,t.kapyeounssangpieupkorean=12665,t.karoriisquare=13069,t.kashidaautoarabic=1600,t.kashidaautonosidebearingarabic=1600,t.kasmallkatakana=12533,t.kasquare=13188,t.kasraarabic=1616,t.kasratanarabic=1613,t.kastrokecyrillic=1183,t.katahiraprolongmarkhalfwidth=65392,t.kaverticalstrokecyrillic=1181,t.kbopomofo=12558,t.kcalsquare=13193,t.kcaron=489,t.kcedilla=311,t.kcircle=9434,t.kcommaaccent=311,t.kdotbelow=7731,t.keharmenian=1412,t.kehiragana=12369,t.kekatakana=12465,t.kekatakanahalfwidth=65401,t.kenarmenian=1391,t.kesmallkatakana=12534,t.kgreenlandic=312,t.khabengali=2454,t.khacyrillic=1093,t.khadeva=2326,t.khagujarati=2710,t.khagurmukhi=2582,t.khaharabic=1582,t.khahfinalarabic=65190,t.khahinitialarabic=65191,t.khahmedialarabic=65192,t.kheicoptic=999,t.khhadeva=2393,t.khhagurmukhi=2649,t.khieukhacirclekorean=12920,t.khieukhaparenkorean=12824,t.khieukhcirclekorean=12906,t.khieukhkorean=12619,t.khieukhparenkorean=12810,t.khokhaithai=3586,t.khokhonthai=3589,t.khokhuatthai=3587,t.khokhwaithai=3588,t.khomutthai=3675,t.khook=409,t.khorakhangthai=3590,t.khzsquare=13201,t.kihiragana=12365,t.kikatakana=12461,t.kikatakanahalfwidth=65399,t.kiroguramusquare=13077,t.kiromeetorusquare=13078,t.kirosquare=13076,t.kiyeokacirclekorean=12910,t.kiyeokaparenkorean=12814,t.kiyeokcirclekorean=12896,t.kiyeokkorean=12593,t.kiyeokparenkorean=12800,t.kiyeoksioskorean=12595,t.kjecyrillic=1116,t.klinebelow=7733,t.klsquare=13208,t.kmcubedsquare=13222,t.kmonospace=65355,t.kmsquaredsquare=13218,t.kohiragana=12371,t.kohmsquare=13248,t.kokaithai=3585,t.kokatakana=12467,t.kokatakanahalfwidth=65402,t.kooposquare=13086,t.koppacyrillic=1153,t.koreanstandardsymbol=12927,t.koroniscmb=835,t.kparen=9382,t.kpasquare=13226,t.ksicyrillic=1135,t.ktsquare=13263,t.kturned=670,t.kuhiragana=12367,t.kukatakana=12463,t.kukatakanahalfwidth=65400,t.kvsquare=13240,t.kwsquare=13246,t.l=108,t.labengali=2482,t.lacute=314,t.ladeva=2354,t.lagujarati=2738,t.lagurmukhi=2610,t.lakkhangyaothai=3653,t.lamaleffinalarabic=65276,t.lamalefhamzaabovefinalarabic=65272,t.lamalefhamzaaboveisolatedarabic=65271,t.lamalefhamzabelowfinalarabic=65274,t.lamalefhamzabelowisolatedarabic=65273,t.lamalefisolatedarabic=65275,t.lamalefmaddaabovefinalarabic=65270,t.lamalefmaddaaboveisolatedarabic=65269,t.lamarabic=1604,t.lambda=955,t.lambdastroke=411,t.lamed=1500,t.lameddagesh=64316,t.lameddageshhebrew=64316,t.lamedhebrew=1500,t.lamfinalarabic=65246,t.lamhahinitialarabic=64714,t.laminitialarabic=65247,t.lamjeeminitialarabic=64713,t.lamkhahinitialarabic=64715,t.lamlamhehisolatedarabic=65010,t.lammedialarabic=65248,t.lammeemhahinitialarabic=64904,t.lammeeminitialarabic=64716,t.largecircle=9711,t.lbar=410,t.lbelt=620,t.lbopomofo=12556,t.lcaron=318,t.lcedilla=316,t.lcircle=9435,t.lcircumflexbelow=7741,t.lcommaaccent=316,t.ldot=320,t.ldotaccent=320,t.ldotbelow=7735,t.ldotbelowmacron=7737,t.leftangleabovecmb=794,t.lefttackbelowcmb=792,t.less=60,t.lessequal=8804,t.lessequalorgreater=8922,t.lessmonospace=65308,t.lessorequivalent=8818,t.lessorgreater=8822,t.lessoverequal=8806,t.lesssmall=65124,t.lezh=622,t.lfblock=9612,t.lhookretroflex=621,t.lira=8356,t.liwnarmenian=1388,t.lj=457,t.ljecyrillic=1113,t.ll=63168,t.lladeva=2355,t.llagujarati=2739,t.llinebelow=7739,t.llladeva=2356,t.llvocalicbengali=2529,t.llvocalicdeva=2401,t.llvocalicvowelsignbengali=2531,t.llvocalicvowelsigndeva=2403,t.lmiddletilde=619,t.lmonospace=65356,t.lmsquare=13264,t.lochulathai=3628,t.logicaland=8743,t.logicalnot=172,t.logicalnotreversed=8976,t.logicalor=8744,t.lolingthai=3621,t.longs=383,t.lowlinecenterline=65102,t.lowlinecmb=818,t.lowlinedashed=65101,t.lozenge=9674,t.lparen=9383,t.lslash=322,t.lsquare=8467,t.lsuperior=63214,t.ltshade=9617,t.luthai=3622,t.lvocalicbengali=2444,t.lvocalicdeva=2316,t.lvocalicvowelsignbengali=2530,t.lvocalicvowelsigndeva=2402,t.lxsquare=13267,t.m=109,t.mabengali=2478,t.macron=175,t.macronbelowcmb=817,t.macroncmb=772,t.macronlowmod=717,t.macronmonospace=65507,t.macute=7743,t.madeva=2350,t.magujarati=2734,t.magurmukhi=2606,t.mahapakhhebrew=1444,t.mahapakhlefthebrew=1444,t.mahiragana=12414,t.maichattawalowleftthai=63637,t.maichattawalowrightthai=63636,t.maichattawathai=3659,t.maichattawaupperleftthai=63635,t.maieklowleftthai=63628,t.maieklowrightthai=63627,t.maiekthai=3656,t.maiekupperleftthai=63626,t.maihanakatleftthai=63620,t.maihanakatthai=3633,t.maitaikhuleftthai=63625,t.maitaikhuthai=3655,t.maitholowleftthai=63631,t.maitholowrightthai=63630,t.maithothai=3657,t.maithoupperleftthai=63629,t.maitrilowleftthai=63634,t.maitrilowrightthai=63633,t.maitrithai=3658,t.maitriupperleftthai=63632,t.maiyamokthai=3654,t.makatakana=12510,t.makatakanahalfwidth=65423,t.male=9794,t.mansyonsquare=13127,t.maqafhebrew=1470,t.mars=9794,t.masoracirclehebrew=1455,t.masquare=13187,t.mbopomofo=12551,t.mbsquare=13268,t.mcircle=9436,t.mcubedsquare=13221,t.mdotaccent=7745,t.mdotbelow=7747,t.meemarabic=1605,t.meemfinalarabic=65250,t.meeminitialarabic=65251,t.meemmedialarabic=65252,t.meemmeeminitialarabic=64721,t.meemmeemisolatedarabic=64584,t.meetorusquare=13133,t.mehiragana=12417,t.meizierasquare=13182,t.mekatakana=12513,t.mekatakanahalfwidth=65426,t.mem=1502,t.memdagesh=64318,t.memdageshhebrew=64318,t.memhebrew=1502,t.menarmenian=1396,t.merkhahebrew=1445,t.merkhakefulahebrew=1446,t.merkhakefulalefthebrew=1446,t.merkhalefthebrew=1445,t.mhook=625,t.mhzsquare=13202,t.middledotkatakanahalfwidth=65381,t.middot=183,t.mieumacirclekorean=12914,t.mieumaparenkorean=12818,t.mieumcirclekorean=12900,t.mieumkorean=12609,t.mieumpansioskorean=12656,t.mieumparenkorean=12804,t.mieumpieupkorean=12654,t.mieumsioskorean=12655,t.mihiragana=12415,t.mikatakana=12511,t.mikatakanahalfwidth=65424,t.minus=8722,t.minusbelowcmb=800,t.minuscircle=8854,t.minusmod=727,t.minusplus=8723,t.minute=8242,t.miribaarusquare=13130,t.mirisquare=13129,t.mlonglegturned=624,t.mlsquare=13206,t.mmcubedsquare=13219,t.mmonospace=65357,t.mmsquaredsquare=13215,t.mohiragana=12418,t.mohmsquare=13249,t.mokatakana=12514,t.mokatakanahalfwidth=65427,t.molsquare=13270,t.momathai=3617,t.moverssquare=13223,t.moverssquaredsquare=13224,t.mparen=9384,t.mpasquare=13227,t.mssquare=13235,t.msuperior=63215,t.mturned=623,t.mu=181,t.mu1=181,t.muasquare=13186,t.muchgreater=8811,t.muchless=8810,t.mufsquare=13196,t.mugreek=956,t.mugsquare=13197,t.muhiragana=12416,t.mukatakana=12512,t.mukatakanahalfwidth=65425,t.mulsquare=13205,t.multiply=215,t.mumsquare=13211,t.munahhebrew=1443,t.munahlefthebrew=1443,t.musicalnote=9834,t.musicalnotedbl=9835,t.musicflatsign=9837,t.musicsharpsign=9839,t.mussquare=13234,t.muvsquare=13238,t.muwsquare=13244,t.mvmegasquare=13241,t.mvsquare=13239,t.mwmegasquare=13247,t.mwsquare=13245,t.n=110,t.nabengali=2472,t.nabla=8711,t.nacute=324,t.nadeva=2344,t.nagujarati=2728,t.nagurmukhi=2600,t.nahiragana=12394,t.nakatakana=12490,t.nakatakanahalfwidth=65413,t.napostrophe=329,t.nasquare=13185,t.nbopomofo=12555,t.nbspace=160,t.ncaron=328,t.ncedilla=326,t.ncircle=9437,t.ncircumflexbelow=7755,t.ncommaaccent=326,t.ndotaccent=7749,t.ndotbelow=7751,t.nehiragana=12397,t.nekatakana=12493,t.nekatakanahalfwidth=65416,t.newsheqelsign=8362,t.nfsquare=13195,t.ngabengali=2457,t.ngadeva=2329,t.ngagujarati=2713,t.ngagurmukhi=2585,t.ngonguthai=3591,t.nhiragana=12435,t.nhookleft=626,t.nhookretroflex=627,t.nieunacirclekorean=12911,t.nieunaparenkorean=12815,t.nieuncieuckorean=12597,t.nieuncirclekorean=12897,t.nieunhieuhkorean=12598,t.nieunkorean=12596,t.nieunpansioskorean=12648,t.nieunparenkorean=12801,t.nieunsioskorean=12647,t.nieuntikeutkorean=12646,t.nihiragana=12395,t.nikatakana=12491,t.nikatakanahalfwidth=65414,t.nikhahitleftthai=63641,t.nikhahitthai=3661,t.nine=57,t.ninearabic=1641,t.ninebengali=2543,t.ninecircle=9320,t.ninecircleinversesansserif=10130,t.ninedeva=2415,t.ninegujarati=2799,t.ninegurmukhi=2671,t.ninehackarabic=1641,t.ninehangzhou=12329,t.nineideographicparen=12840,t.nineinferior=8329,t.ninemonospace=65305,t.nineoldstyle=63289,t.nineparen=9340,t.nineperiod=9360,t.ninepersian=1785,t.nineroman=8568,t.ninesuperior=8313,t.nineteencircle=9330,t.nineteenparen=9350,t.nineteenperiod=9370,t.ninethai=3673,t.nj=460,t.njecyrillic=1114,t.nkatakana=12531,t.nkatakanahalfwidth=65437,t.nlegrightlong=414,t.nlinebelow=7753,t.nmonospace=65358,t.nmsquare=13210,t.nnabengali=2467,t.nnadeva=2339,t.nnagujarati=2723,t.nnagurmukhi=2595,t.nnnadeva=2345,t.nohiragana=12398,t.nokatakana=12494,t.nokatakanahalfwidth=65417,t.nonbreakingspace=160,t.nonenthai=3603,t.nonuthai=3609,t.noonarabic=1606,t.noonfinalarabic=65254,t.noonghunnaarabic=1722,t.noonghunnafinalarabic=64415,t.nooninitialarabic=65255,t.noonjeeminitialarabic=64722,t.noonjeemisolatedarabic=64587,t.noonmedialarabic=65256,t.noonmeeminitialarabic=64725,t.noonmeemisolatedarabic=64590,t.noonnoonfinalarabic=64653,t.notcontains=8716,t.notelement=8713,t.notelementof=8713,t.notequal=8800,t.notgreater=8815,t.notgreaternorequal=8817,t.notgreaternorless=8825,t.notidentical=8802,t.notless=8814,t.notlessnorequal=8816,t.notparallel=8742,t.notprecedes=8832,t.notsubset=8836,t.notsucceeds=8833,t.notsuperset=8837,t.nowarmenian=1398,t.nparen=9385,t.nssquare=13233,t.nsuperior=8319,t.ntilde=241,t.nu=957,t.nuhiragana=12396,t.nukatakana=12492,t.nukatakanahalfwidth=65415,t.nuktabengali=2492,t.nuktadeva=2364,t.nuktagujarati=2748,t.nuktagurmukhi=2620,t.numbersign=35,t.numbersignmonospace=65283,t.numbersignsmall=65119,t.numeralsigngreek=884,t.numeralsignlowergreek=885,t.numero=8470,t.nun=1504,t.nundagesh=64320,t.nundageshhebrew=64320,t.nunhebrew=1504,t.nvsquare=13237,t.nwsquare=13243,t.nyabengali=2462,t.nyadeva=2334,t.nyagujarati=2718,t.nyagurmukhi=2590,t.o=111,t.oacute=243,t.oangthai=3629,t.obarred=629,t.obarredcyrillic=1257,t.obarreddieresiscyrillic=1259,t.obengali=2451,t.obopomofo=12571,t.obreve=335,t.ocandradeva=2321,t.ocandragujarati=2705,t.ocandravowelsigndeva=2377,t.ocandravowelsigngujarati=2761,t.ocaron=466,t.ocircle=9438,t.ocircumflex=244,t.ocircumflexacute=7889,t.ocircumflexdotbelow=7897,t.ocircumflexgrave=7891,t.ocircumflexhookabove=7893,t.ocircumflextilde=7895,t.ocyrillic=1086,t.odblacute=337,t.odblgrave=525,t.odeva=2323,t.odieresis=246,t.odieresiscyrillic=1255,t.odotbelow=7885,t.oe=339,t.oekorean=12634,t.ogonek=731,t.ogonekcmb=808,t.ograve=242,t.ogujarati=2707,t.oharmenian=1413,t.ohiragana=12362,t.ohookabove=7887,t.ohorn=417,t.ohornacute=7899,t.ohorndotbelow=7907,t.ohorngrave=7901,t.ohornhookabove=7903,t.ohorntilde=7905,t.ohungarumlaut=337,t.oi=419,t.oinvertedbreve=527,t.okatakana=12458,t.okatakanahalfwidth=65397,t.okorean=12631,t.olehebrew=1451,t.omacron=333,t.omacronacute=7763,t.omacrongrave=7761,t.omdeva=2384,t.omega=969,t.omega1=982,t.omegacyrillic=1121,t.omegalatinclosed=631,t.omegaroundcyrillic=1147,t.omegatitlocyrillic=1149,t.omegatonos=974,t.omgujarati=2768,t.omicron=959,t.omicrontonos=972,t.omonospace=65359,t.one=49,t.onearabic=1633,t.onebengali=2535,t.onecircle=9312,t.onecircleinversesansserif=10122,t.onedeva=2407,t.onedotenleader=8228,t.oneeighth=8539,t.onefitted=63196,t.onegujarati=2791,t.onegurmukhi=2663,t.onehackarabic=1633,t.onehalf=189,t.onehangzhou=12321,t.oneideographicparen=12832,t.oneinferior=8321,t.onemonospace=65297,t.onenumeratorbengali=2548,t.oneoldstyle=63281,t.oneparen=9332,t.oneperiod=9352,t.onepersian=1777,t.onequarter=188,t.oneroman=8560,t.onesuperior=185,t.onethai=3665,t.onethird=8531,t.oogonek=491,t.oogonekmacron=493,t.oogurmukhi=2579,t.oomatragurmukhi=2635,t.oopen=596,t.oparen=9386,t.openbullet=9702,t.option=8997,t.ordfeminine=170,t.ordmasculine=186,t.orthogonal=8735,t.oshortdeva=2322,t.oshortvowelsigndeva=2378,t.oslash=248,t.oslashacute=511,t.osmallhiragana=12361,t.osmallkatakana=12457,t.osmallkatakanahalfwidth=65387,t.ostrokeacute=511,t.osuperior=63216,t.otcyrillic=1151,t.otilde=245,t.otildeacute=7757,t.otildedieresis=7759,t.oubopomofo=12577,t.overline=8254,t.overlinecenterline=65098,t.overlinecmb=773,t.overlinedashed=65097,t.overlinedblwavy=65100,t.overlinewavy=65099,t.overscore=175,t.ovowelsignbengali=2507,t.ovowelsigndeva=2379,t.ovowelsigngujarati=2763,t.p=112,t.paampssquare=13184,t.paasentosquare=13099,t.pabengali=2474,t.pacute=7765,t.padeva=2346,t.pagedown=8671,t.pageup=8670,t.pagujarati=2730,t.pagurmukhi=2602,t.pahiragana=12401,t.paiyannoithai=3631,t.pakatakana=12497,t.palatalizationcyrilliccmb=1156,t.palochkacyrillic=1216,t.pansioskorean=12671,t.paragraph=182,t.parallel=8741,t.parenleft=40,t.parenleftaltonearabic=64830,t.parenleftbt=63725,t.parenleftex=63724,t.parenleftinferior=8333,t.parenleftmonospace=65288,t.parenleftsmall=65113,t.parenleftsuperior=8317,t.parenlefttp=63723,t.parenleftvertical=65077,t.parenright=41,t.parenrightaltonearabic=64831,t.parenrightbt=63736,t.parenrightex=63735,t.parenrightinferior=8334,t.parenrightmonospace=65289,t.parenrightsmall=65114,t.parenrightsuperior=8318,t.parenrighttp=63734,t.parenrightvertical=65078,t.partialdiff=8706,t.paseqhebrew=1472,t.pashtahebrew=1433,t.pasquare=13225,t.patah=1463,t.patah11=1463,t.patah1d=1463,t.patah2a=1463,t.patahhebrew=1463,t.patahnarrowhebrew=1463,t.patahquarterhebrew=1463,t.patahwidehebrew=1463,t.pazerhebrew=1441,t.pbopomofo=12550,t.pcircle=9439,t.pdotaccent=7767,t.pe=1508,t.pecyrillic=1087,t.pedagesh=64324,t.pedageshhebrew=64324,t.peezisquare=13115,t.pefinaldageshhebrew=64323,t.peharabic=1662,t.peharmenian=1402,t.pehebrew=1508,t.pehfinalarabic=64343,t.pehinitialarabic=64344,t.pehiragana=12410,t.pehmedialarabic=64345,t.pekatakana=12506,t.pemiddlehookcyrillic=1191,t.perafehebrew=64334,t.percent=37,t.percentarabic=1642,t.percentmonospace=65285,t.percentsmall=65130,t.period=46,t.periodarmenian=1417,t.periodcentered=183,t.periodhalfwidth=65377,t.periodinferior=63207,t.periodmonospace=65294,t.periodsmall=65106,t.periodsuperior=63208,t.perispomenigreekcmb=834,t.perpendicular=8869,t.perthousand=8240,t.peseta=8359,t.pfsquare=13194,t.phabengali=2475,t.phadeva=2347,t.phagujarati=2731,t.phagurmukhi=2603,t.phi=966,t.phi1=981,t.phieuphacirclekorean=12922,t.phieuphaparenkorean=12826,t.phieuphcirclekorean=12908,t.phieuphkorean=12621,t.phieuphparenkorean=12812,t.philatin=632,t.phinthuthai=3642,t.phisymbolgreek=981,t.phook=421,t.phophanthai=3614,t.phophungthai=3612,t.phosamphaothai=3616,t.pi=960,t.pieupacirclekorean=12915,t.pieupaparenkorean=12819,t.pieupcieuckorean=12662,t.pieupcirclekorean=12901,t.pieupkiyeokkorean=12658,t.pieupkorean=12610,t.pieupparenkorean=12805,t.pieupsioskiyeokkorean=12660,t.pieupsioskorean=12612,t.pieupsiostikeutkorean=12661,t.pieupthieuthkorean=12663,t.pieuptikeutkorean=12659,t.pihiragana=12404,t.pikatakana=12500,t.pisymbolgreek=982,t.piwrarmenian=1411,t.planckover2pi=8463,t.planckover2pi1=8463,t.plus=43,t.plusbelowcmb=799,t.pluscircle=8853,t.plusminus=177,t.plusmod=726,t.plusmonospace=65291,t.plussmall=65122,t.plussuperior=8314,t.pmonospace=65360,t.pmsquare=13272,t.pohiragana=12413,t.pointingindexdownwhite=9759,t.pointingindexleftwhite=9756,t.pointingindexrightwhite=9758,t.pointingindexupwhite=9757,t.pokatakana=12509,t.poplathai=3611,t.postalmark=12306,t.postalmarkface=12320,t.pparen=9387,t.precedes=8826,t.prescription=8478,t.primemod=697,t.primereversed=8245,t.product=8719,t.projective=8965,t.prolongedkana=12540,t.propellor=8984,t.propersubset=8834,t.propersuperset=8835,t.proportion=8759,t.proportional=8733,t.psi=968,t.psicyrillic=1137,t.psilipneumatacyrilliccmb=1158,t.pssquare=13232,t.puhiragana=12407,t.pukatakana=12503,t.pvsquare=13236,t.pwsquare=13242,t.q=113,t.qadeva=2392,t.qadmahebrew=1448,t.qafarabic=1602,t.qaffinalarabic=65238,t.qafinitialarabic=65239,t.qafmedialarabic=65240,t.qamats=1464,t.qamats10=1464,t.qamats1a=1464,t.qamats1c=1464,t.qamats27=1464,t.qamats29=1464,t.qamats33=1464,t.qamatsde=1464,t.qamatshebrew=1464,t.qamatsnarrowhebrew=1464,t.qamatsqatanhebrew=1464,t.qamatsqatannarrowhebrew=1464,t.qamatsqatanquarterhebrew=1464,t.qamatsqatanwidehebrew=1464,t.qamatsquarterhebrew=1464,t.qamatswidehebrew=1464,t.qarneyparahebrew=1439,t.qbopomofo=12561,t.qcircle=9440,t.qhook=672,t.qmonospace=65361,t.qof=1511,t.qofdagesh=64327,t.qofdageshhebrew=64327,t.qofhebrew=1511,t.qparen=9388,t.quarternote=9833,t.qubuts=1467,t.qubuts18=1467,t.qubuts25=1467,t.qubuts31=1467,t.qubutshebrew=1467,t.qubutsnarrowhebrew=1467,t.qubutsquarterhebrew=1467,t.qubutswidehebrew=1467,t.question=63,t.questionarabic=1567,t.questionarmenian=1374,t.questiondown=191,t.questiondownsmall=63423,t.questiongreek=894,t.questionmonospace=65311,t.questionsmall=63295,t.quotedbl=34,t.quotedblbase=8222,t.quotedblleft=8220,t.quotedblmonospace=65282,t.quotedblprime=12318,t.quotedblprimereversed=12317,t.quotedblright=8221,t.quoteleft=8216,t.quoteleftreversed=8219,t.quotereversed=8219,t.quoteright=8217,t.quoterightn=329,t.quotesinglbase=8218,t.quotesingle=39,t.quotesinglemonospace=65287,t.r=114,t.raarmenian=1404,t.rabengali=2480,t.racute=341,t.radeva=2352,t.radical=8730,t.radicalex=63717,t.radoverssquare=13230,t.radoverssquaredsquare=13231,t.radsquare=13229,t.rafe=1471,t.rafehebrew=1471,t.ragujarati=2736,t.ragurmukhi=2608,t.rahiragana=12425,t.rakatakana=12521,t.rakatakanahalfwidth=65431,t.ralowerdiagonalbengali=2545,t.ramiddlediagonalbengali=2544,t.ramshorn=612,t.ratio=8758,t.rbopomofo=12566,t.rcaron=345,t.rcedilla=343,t.rcircle=9441,t.rcommaaccent=343,t.rdblgrave=529,t.rdotaccent=7769,t.rdotbelow=7771,t.rdotbelowmacron=7773,t.referencemark=8251,t.reflexsubset=8838,t.reflexsuperset=8839,t.registered=174,t.registersans=63720,t.registerserif=63194,t.reharabic=1585,t.reharmenian=1408,t.rehfinalarabic=65198,t.rehiragana=12428,t.rekatakana=12524,t.rekatakanahalfwidth=65434,t.resh=1512,t.reshdageshhebrew=64328,t.reshhebrew=1512,t.reversedtilde=8765,t.reviahebrew=1431,t.reviamugrashhebrew=1431,t.revlogicalnot=8976,t.rfishhook=638,t.rfishhookreversed=639,t.rhabengali=2525,t.rhadeva=2397,t.rho=961,t.rhook=637,t.rhookturned=635,t.rhookturnedsuperior=693,t.rhosymbolgreek=1009,t.rhotichookmod=734,t.rieulacirclekorean=12913,t.rieulaparenkorean=12817,t.rieulcirclekorean=12899,t.rieulhieuhkorean=12608,t.rieulkiyeokkorean=12602,t.rieulkiyeoksioskorean=12649,t.rieulkorean=12601,t.rieulmieumkorean=12603,t.rieulpansioskorean=12652,t.rieulparenkorean=12803,t.rieulphieuphkorean=12607,t.rieulpieupkorean=12604,t.rieulpieupsioskorean=12651,t.rieulsioskorean=12605,t.rieulthieuthkorean=12606,t.rieultikeutkorean=12650,t.rieulyeorinhieuhkorean=12653,t.rightangle=8735,t.righttackbelowcmb=793,t.righttriangle=8895,t.rihiragana=12426,t.rikatakana=12522,t.rikatakanahalfwidth=65432,t.ring=730,t.ringbelowcmb=805,t.ringcmb=778,t.ringhalfleft=703,t.ringhalfleftarmenian=1369,t.ringhalfleftbelowcmb=796,t.ringhalfleftcentered=723,t.ringhalfright=702,t.ringhalfrightbelowcmb=825,t.ringhalfrightcentered=722,t.rinvertedbreve=531,t.rittorusquare=13137,t.rlinebelow=7775,t.rlongleg=636,t.rlonglegturned=634,t.rmonospace=65362,t.rohiragana=12429,t.rokatakana=12525,t.rokatakanahalfwidth=65435,t.roruathai=3619,t.rparen=9389,t.rrabengali=2524,t.rradeva=2353,t.rragurmukhi=2652,t.rreharabic=1681,t.rrehfinalarabic=64397,t.rrvocalicbengali=2528,t.rrvocalicdeva=2400,t.rrvocalicgujarati=2784,t.rrvocalicvowelsignbengali=2500,t.rrvocalicvowelsigndeva=2372,t.rrvocalicvowelsigngujarati=2756,t.rsuperior=63217,t.rtblock=9616,t.rturned=633,t.rturnedsuperior=692,t.ruhiragana=12427,t.rukatakana=12523,t.rukatakanahalfwidth=65433,t.rupeemarkbengali=2546,t.rupeesignbengali=2547,t.rupiah=63197,t.ruthai=3620,t.rvocalicbengali=2443,t.rvocalicdeva=2315,t.rvocalicgujarati=2699,t.rvocalicvowelsignbengali=2499,t.rvocalicvowelsigndeva=2371,t.rvocalicvowelsigngujarati=2755,t.s=115,t.sabengali=2488,t.sacute=347,t.sacutedotaccent=7781,t.sadarabic=1589,t.sadeva=2360,t.sadfinalarabic=65210,t.sadinitialarabic=65211,t.sadmedialarabic=65212,t.sagujarati=2744,t.sagurmukhi=2616,t.sahiragana=12373,t.sakatakana=12469,t.sakatakanahalfwidth=65403,t.sallallahoualayhewasallamarabic=65018,t.samekh=1505,t.samekhdagesh=64321,t.samekhdageshhebrew=64321,t.samekhhebrew=1505,t.saraaathai=3634,t.saraaethai=3649,t.saraaimaimalaithai=3652,t.saraaimaimuanthai=3651,t.saraamthai=3635,t.saraathai=3632,t.saraethai=3648,t.saraiileftthai=63622,t.saraiithai=3637,t.saraileftthai=63621,t.saraithai=3636,t.saraothai=3650,t.saraueeleftthai=63624,t.saraueethai=3639,t.saraueleftthai=63623,t.sarauethai=3638,t.sarauthai=3640,t.sarauuthai=3641,t.sbopomofo=12569,t.scaron=353,t.scarondotaccent=7783,t.scedilla=351,t.schwa=601,t.schwacyrillic=1241,t.schwadieresiscyrillic=1243,t.schwahook=602,t.scircle=9442,t.scircumflex=349,t.scommaaccent=537,t.sdotaccent=7777,t.sdotbelow=7779,t.sdotbelowdotaccent=7785,t.seagullbelowcmb=828,t.second=8243,t.secondtonechinese=714,t.section=167,t.seenarabic=1587,t.seenfinalarabic=65202,t.seeninitialarabic=65203,t.seenmedialarabic=65204,t.segol=1462,t.segol13=1462,t.segol1f=1462,t.segol2c=1462,t.segolhebrew=1462,t.segolnarrowhebrew=1462,t.segolquarterhebrew=1462,t.segoltahebrew=1426,t.segolwidehebrew=1462,t.seharmenian=1405,t.sehiragana=12379,t.sekatakana=12475,t.sekatakanahalfwidth=65406,t.semicolon=59,t.semicolonarabic=1563,t.semicolonmonospace=65307,t.semicolonsmall=65108,t.semivoicedmarkkana=12444,t.semivoicedmarkkanahalfwidth=65439,t.sentisquare=13090,t.sentosquare=13091,t.seven=55,t.sevenarabic=1639,t.sevenbengali=2541,t.sevencircle=9318,t.sevencircleinversesansserif=10128,t.sevendeva=2413,t.seveneighths=8542,t.sevengujarati=2797,t.sevengurmukhi=2669,t.sevenhackarabic=1639,t.sevenhangzhou=12327,t.sevenideographicparen=12838,t.seveninferior=8327,t.sevenmonospace=65303,t.sevenoldstyle=63287,t.sevenparen=9338,t.sevenperiod=9358,t.sevenpersian=1783,t.sevenroman=8566,t.sevensuperior=8311,t.seventeencircle=9328,t.seventeenparen=9348,t.seventeenperiod=9368,t.seventhai=3671,t.sfthyphen=173,t.shaarmenian=1399,t.shabengali=2486,t.shacyrillic=1096,t.shaddaarabic=1617,t.shaddadammaarabic=64609,t.shaddadammatanarabic=64606,t.shaddafathaarabic=64608,t.shaddakasraarabic=64610,t.shaddakasratanarabic=64607,t.shade=9618,t.shadedark=9619,t.shadelight=9617,t.shademedium=9618,t.shadeva=2358,t.shagujarati=2742,t.shagurmukhi=2614,t.shalshelethebrew=1427,t.shbopomofo=12565,t.shchacyrillic=1097,t.sheenarabic=1588,t.sheenfinalarabic=65206,t.sheeninitialarabic=65207,t.sheenmedialarabic=65208,t.sheicoptic=995,t.sheqel=8362,t.sheqelhebrew=8362,t.sheva=1456,t.sheva115=1456,t.sheva15=1456,t.sheva22=1456,t.sheva2e=1456,t.shevahebrew=1456,t.shevanarrowhebrew=1456,t.shevaquarterhebrew=1456,t.shevawidehebrew=1456,t.shhacyrillic=1211,t.shimacoptic=1005,t.shin=1513,t.shindagesh=64329,t.shindageshhebrew=64329,t.shindageshshindot=64300,t.shindageshshindothebrew=64300,t.shindageshsindot=64301,t.shindageshsindothebrew=64301,t.shindothebrew=1473,t.shinhebrew=1513,t.shinshindot=64298,t.shinshindothebrew=64298,t.shinsindot=64299,t.shinsindothebrew=64299,t.shook=642,t.sigma=963,t.sigma1=962,t.sigmafinal=962,t.sigmalunatesymbolgreek=1010,t.sihiragana=12375,t.sikatakana=12471,t.sikatakanahalfwidth=65404,t.siluqhebrew=1469,t.siluqlefthebrew=1469,t.similar=8764,t.sindothebrew=1474,t.siosacirclekorean=12916,t.siosaparenkorean=12820,t.sioscieuckorean=12670,t.sioscirclekorean=12902,t.sioskiyeokkorean=12666,t.sioskorean=12613,t.siosnieunkorean=12667,t.siosparenkorean=12806,t.siospieupkorean=12669,t.siostikeutkorean=12668,t.six=54,t.sixarabic=1638,t.sixbengali=2540,t.sixcircle=9317,t.sixcircleinversesansserif=10127,t.sixdeva=2412,t.sixgujarati=2796,t.sixgurmukhi=2668,t.sixhackarabic=1638,t.sixhangzhou=12326,t.sixideographicparen=12837,t.sixinferior=8326,t.sixmonospace=65302,t.sixoldstyle=63286,t.sixparen=9337,t.sixperiod=9357,t.sixpersian=1782,t.sixroman=8565,t.sixsuperior=8310,t.sixteencircle=9327,t.sixteencurrencydenominatorbengali=2553,t.sixteenparen=9347,t.sixteenperiod=9367,t.sixthai=3670,t.slash=47,t.slashmonospace=65295,t.slong=383,t.slongdotaccent=7835,t.smileface=9786,t.smonospace=65363,t.sofpasuqhebrew=1475,t.softhyphen=173,t.softsigncyrillic=1100,t.sohiragana=12381,t.sokatakana=12477,t.sokatakanahalfwidth=65407,t.soliduslongoverlaycmb=824,t.solidusshortoverlaycmb=823,t.sorusithai=3625,t.sosalathai=3624,t.sosothai=3595,t.sosuathai=3626,t.space=32,t.spacehackarabic=32,t.spade=9824,t.spadesuitblack=9824,t.spadesuitwhite=9828,t.sparen=9390,t.squarebelowcmb=827,t.squarecc=13252,t.squarecm=13213,t.squarediagonalcrosshatchfill=9641,t.squarehorizontalfill=9636,t.squarekg=13199,t.squarekm=13214,t.squarekmcapital=13262,t.squareln=13265,t.squarelog=13266,t.squaremg=13198,t.squaremil=13269,t.squaremm=13212,t.squaremsquared=13217,t.squareorthogonalcrosshatchfill=9638,t.squareupperlefttolowerrightfill=9639,t.squareupperrighttolowerleftfill=9640,t.squareverticalfill=9637,t.squarewhitewithsmallblack=9635,t.srsquare=13275,t.ssabengali=2487,t.ssadeva=2359,t.ssagujarati=2743,t.ssangcieuckorean=12617,t.ssanghieuhkorean=12677,t.ssangieungkorean=12672,t.ssangkiyeokkorean=12594,t.ssangnieunkorean=12645,t.ssangpieupkorean=12611,t.ssangsioskorean=12614,t.ssangtikeutkorean=12600,t.ssuperior=63218,t.sterling=163,t.sterlingmonospace=65505,t.strokelongoverlaycmb=822,t.strokeshortoverlaycmb=821,t.subset=8834,t.subsetnotequal=8842,t.subsetorequal=8838,t.succeeds=8827,t.suchthat=8715,t.suhiragana=12377,t.sukatakana=12473,t.sukatakanahalfwidth=65405,t.sukunarabic=1618,t.summation=8721,t.sun=9788,t.superset=8835,t.supersetnotequal=8843,t.supersetorequal=8839,t.svsquare=13276,t.syouwaerasquare=13180,t.t=116,t.tabengali=2468,t.tackdown=8868,t.tackleft=8867,t.tadeva=2340,t.tagujarati=2724,t.tagurmukhi=2596,t.taharabic=1591,t.tahfinalarabic=65218,t.tahinitialarabic=65219,t.tahiragana=12383,t.tahmedialarabic=65220,t.taisyouerasquare=13181,t.takatakana=12479,t.takatakanahalfwidth=65408,t.tatweelarabic=1600,t.tau=964,t.tav=1514,t.tavdages=64330,t.tavdagesh=64330,t.tavdageshhebrew=64330,t.tavhebrew=1514,t.tbar=359,t.tbopomofo=12554,t.tcaron=357,t.tccurl=680,t.tcedilla=355,t.tcheharabic=1670,t.tchehfinalarabic=64379,t.tchehinitialarabic=64380,t.tchehmedialarabic=64381,t.tcircle=9443,t.tcircumflexbelow=7793,t.tcommaaccent=355,t.tdieresis=7831,t.tdotaccent=7787,t.tdotbelow=7789,t.tecyrillic=1090,t.tedescendercyrillic=1197,t.teharabic=1578,t.tehfinalarabic=65174,t.tehhahinitialarabic=64674,t.tehhahisolatedarabic=64524,t.tehinitialarabic=65175,t.tehiragana=12390,t.tehjeeminitialarabic=64673,t.tehjeemisolatedarabic=64523,t.tehmarbutaarabic=1577,t.tehmarbutafinalarabic=65172,t.tehmedialarabic=65176,t.tehmeeminitialarabic=64676,t.tehmeemisolatedarabic=64526,t.tehnoonfinalarabic=64627,t.tekatakana=12486,t.tekatakanahalfwidth=65411,t.telephone=8481,t.telephoneblack=9742,t.telishagedolahebrew=1440,t.telishaqetanahebrew=1449,t.tencircle=9321,t.tenideographicparen=12841,t.tenparen=9341,t.tenperiod=9361,t.tenroman=8569,t.tesh=679,t.tet=1496,t.tetdagesh=64312,t.tetdageshhebrew=64312,t.tethebrew=1496,t.tetsecyrillic=1205,t.tevirhebrew=1435,t.tevirlefthebrew=1435,t.thabengali=2469,t.thadeva=2341,t.thagujarati=2725,t.thagurmukhi=2597,t.thalarabic=1584,t.thalfinalarabic=65196,t.thanthakhatlowleftthai=63640,t.thanthakhatlowrightthai=63639,t.thanthakhatthai=3660,t.thanthakhatupperleftthai=63638,t.theharabic=1579,t.thehfinalarabic=65178,t.thehinitialarabic=65179,t.thehmedialarabic=65180,t.thereexists=8707,t.therefore=8756,t.theta=952,t.theta1=977,t.thetasymbolgreek=977,t.thieuthacirclekorean=12921,t.thieuthaparenkorean=12825,t.thieuthcirclekorean=12907,t.thieuthkorean=12620,t.thieuthparenkorean=12811,t.thirteencircle=9324,t.thirteenparen=9344,t.thirteenperiod=9364,t.thonangmonthothai=3601,t.thook=429,t.thophuthaothai=3602,t.thorn=254,t.thothahanthai=3607,t.thothanthai=3600,t.thothongthai=3608,t.thothungthai=3606,t.thousandcyrillic=1154,t.thousandsseparatorarabic=1644,t.thousandsseparatorpersian=1644,t.three=51,t.threearabic=1635,t.threebengali=2537,t.threecircle=9314,t.threecircleinversesansserif=10124,t.threedeva=2409,t.threeeighths=8540,t.threegujarati=2793,t.threegurmukhi=2665,t.threehackarabic=1635,t.threehangzhou=12323,t.threeideographicparen=12834,t.threeinferior=8323,t.threemonospace=65299,t.threenumeratorbengali=2550,t.threeoldstyle=63283,t.threeparen=9334,t.threeperiod=9354,t.threepersian=1779,t.threequarters=190,t.threequartersemdash=63198,t.threeroman=8562,t.threesuperior=179,t.threethai=3667,t.thzsquare=13204,t.tihiragana=12385,t.tikatakana=12481,t.tikatakanahalfwidth=65409,t.tikeutacirclekorean=12912,t.tikeutaparenkorean=12816,t.tikeutcirclekorean=12898,t.tikeutkorean=12599,t.tikeutparenkorean=12802,t.tilde=732,t.tildebelowcmb=816,t.tildecmb=771,t.tildecomb=771,t.tildedoublecmb=864,t.tildeoperator=8764,t.tildeoverlaycmb=820,t.tildeverticalcmb=830,t.timescircle=8855,t.tipehahebrew=1430,t.tipehalefthebrew=1430,t.tippigurmukhi=2672,t.titlocyrilliccmb=1155,t.tiwnarmenian=1407,t.tlinebelow=7791,t.tmonospace=65364,t.toarmenian=1385,t.tohiragana=12392,t.tokatakana=12488,t.tokatakanahalfwidth=65412,t.tonebarextrahighmod=741,t.tonebarextralowmod=745,t.tonebarhighmod=742,t.tonebarlowmod=744,t.tonebarmidmod=743,t.tonefive=445,t.tonesix=389,t.tonetwo=424,t.tonos=900,t.tonsquare=13095,t.topatakthai=3599,t.tortoiseshellbracketleft=12308,t.tortoiseshellbracketleftsmall=65117,t.tortoiseshellbracketleftvertical=65081,t.tortoiseshellbracketright=12309,t.tortoiseshellbracketrightsmall=65118,t.tortoiseshellbracketrightvertical=65082,t.totaothai=3605,t.tpalatalhook=427,t.tparen=9391,t.trademark=8482,t.trademarksans=63722,t.trademarkserif=63195,t.tretroflexhook=648,t.triagdn=9660,t.triaglf=9668,t.triagrt=9658,t.triagup=9650,t.ts=678,t.tsadi=1510,t.tsadidagesh=64326,t.tsadidageshhebrew=64326,t.tsadihebrew=1510,t.tsecyrillic=1094,t.tsere=1461,t.tsere12=1461,t.tsere1e=1461,t.tsere2b=1461,t.tserehebrew=1461,t.tserenarrowhebrew=1461,t.tserequarterhebrew=1461,t.tserewidehebrew=1461,t.tshecyrillic=1115,t.tsuperior=63219,t.ttabengali=2463,t.ttadeva=2335,t.ttagujarati=2719,t.ttagurmukhi=2591,t.tteharabic=1657,t.ttehfinalarabic=64359,t.ttehinitialarabic=64360,t.ttehmedialarabic=64361,t.tthabengali=2464,t.tthadeva=2336,t.tthagujarati=2720,t.tthagurmukhi=2592,t.tturned=647,t.tuhiragana=12388,t.tukatakana=12484,t.tukatakanahalfwidth=65410,t.tusmallhiragana=12387,t.tusmallkatakana=12483,t.tusmallkatakanahalfwidth=65391,t.twelvecircle=9323,t.twelveparen=9343,t.twelveperiod=9363,t.twelveroman=8571,t.twentycircle=9331,t.twentyhangzhou=21316,t.twentyparen=9351,t.twentyperiod=9371,t.two=50,t.twoarabic=1634,t.twobengali=2536,t.twocircle=9313,t.twocircleinversesansserif=10123,t.twodeva=2408,t.twodotenleader=8229,t.twodotleader=8229,t.twodotleadervertical=65072,t.twogujarati=2792,t.twogurmukhi=2664,t.twohackarabic=1634,t.twohangzhou=12322,t.twoideographicparen=12833,t.twoinferior=8322,t.twomonospace=65298,t.twonumeratorbengali=2549,t.twooldstyle=63282,t.twoparen=9333,t.twoperiod=9353,t.twopersian=1778,t.tworoman=8561,t.twostroke=443,t.twosuperior=178,t.twothai=3666,t.twothirds=8532,t.u=117,t.uacute=250,t.ubar=649,t.ubengali=2441,t.ubopomofo=12584,t.ubreve=365,t.ucaron=468,t.ucircle=9444,t.ucircumflex=251,t.ucircumflexbelow=7799,t.ucyrillic=1091,t.udattadeva=2385,t.udblacute=369,t.udblgrave=533,t.udeva=2313,t.udieresis=252,t.udieresisacute=472,t.udieresisbelow=7795,t.udieresiscaron=474,t.udieresiscyrillic=1265,t.udieresisgrave=476,t.udieresismacron=470,t.udotbelow=7909,t.ugrave=249,t.ugujarati=2697,t.ugurmukhi=2569,t.uhiragana=12358,t.uhookabove=7911,t.uhorn=432,t.uhornacute=7913,t.uhorndotbelow=7921,t.uhorngrave=7915,t.uhornhookabove=7917,t.uhorntilde=7919,t.uhungarumlaut=369,t.uhungarumlautcyrillic=1267,t.uinvertedbreve=535,t.ukatakana=12454,t.ukatakanahalfwidth=65395,t.ukcyrillic=1145,t.ukorean=12636,t.umacron=363,t.umacroncyrillic=1263,t.umacrondieresis=7803,t.umatragurmukhi=2625,t.umonospace=65365,t.underscore=95,t.underscoredbl=8215,t.underscoremonospace=65343,t.underscorevertical=65075,t.underscorewavy=65103,t.union=8746,t.universal=8704,t.uogonek=371,t.uparen=9392,t.upblock=9600,t.upperdothebrew=1476,t.upsilon=965,t.upsilondieresis=971,t.upsilondieresistonos=944,t.upsilonlatin=650,t.upsilontonos=973,t.uptackbelowcmb=797,t.uptackmod=724,t.uragurmukhi=2675,t.uring=367,t.ushortcyrillic=1118,t.usmallhiragana=12357,t.usmallkatakana=12453,t.usmallkatakanahalfwidth=65385,t.ustraightcyrillic=1199,t.ustraightstrokecyrillic=1201,t.utilde=361,t.utildeacute=7801,t.utildebelow=7797,t.uubengali=2442,t.uudeva=2314,t.uugujarati=2698,t.uugurmukhi=2570,t.uumatragurmukhi=2626,t.uuvowelsignbengali=2498,t.uuvowelsigndeva=2370,t.uuvowelsigngujarati=2754,t.uvowelsignbengali=2497,t.uvowelsigndeva=2369,t.uvowelsigngujarati=2753,t.v=118,t.vadeva=2357,t.vagujarati=2741,t.vagurmukhi=2613,t.vakatakana=12535,t.vav=1493,t.vavdagesh=64309,t.vavdagesh65=64309,t.vavdageshhebrew=64309,t.vavhebrew=1493,t.vavholam=64331,t.vavholamhebrew=64331,t.vavvavhebrew=1520,t.vavyodhebrew=1521,t.vcircle=9445,t.vdotbelow=7807,t.vecyrillic=1074,t.veharabic=1700,t.vehfinalarabic=64363,t.vehinitialarabic=64364,t.vehmedialarabic=64365,t.vekatakana=12537,t.venus=9792,t.verticalbar=124,t.verticallineabovecmb=781,t.verticallinebelowcmb=809,t.verticallinelowmod=716,t.verticallinemod=712,t.vewarmenian=1406,t.vhook=651,t.vikatakana=12536,t.viramabengali=2509,t.viramadeva=2381,t.viramagujarati=2765,t.visargabengali=2435,t.visargadeva=2307,t.visargagujarati=2691,t.vmonospace=65366,t.voarmenian=1400,t.voicediterationhiragana=12446,t.voicediterationkatakana=12542,t.voicedmarkkana=12443,t.voicedmarkkanahalfwidth=65438,t.vokatakana=12538,t.vparen=9393,t.vtilde=7805,t.vturned=652,t.vuhiragana=12436,t.vukatakana=12532,t.w=119,t.wacute=7811,t.waekorean=12633,t.wahiragana=12431,t.wakatakana=12527,t.wakatakanahalfwidth=65436,t.wakorean=12632,t.wasmallhiragana=12430,t.wasmallkatakana=12526,t.wattosquare=13143,t.wavedash=12316,t.wavyunderscorevertical=65076,t.wawarabic=1608,t.wawfinalarabic=65262,t.wawhamzaabovearabic=1572,t.wawhamzaabovefinalarabic=65158,t.wbsquare=13277,t.wcircle=9446,t.wcircumflex=373,t.wdieresis=7813,t.wdotaccent=7815,t.wdotbelow=7817,t.wehiragana=12433,t.weierstrass=8472,t.wekatakana=12529,t.wekorean=12638,t.weokorean=12637,t.wgrave=7809,t.whitebullet=9702,t.whitecircle=9675,t.whitecircleinverse=9689,t.whitecornerbracketleft=12302,t.whitecornerbracketleftvertical=65091,t.whitecornerbracketright=12303,t.whitecornerbracketrightvertical=65092,t.whitediamond=9671,t.whitediamondcontainingblacksmalldiamond=9672,t.whitedownpointingsmalltriangle=9663,t.whitedownpointingtriangle=9661,t.whiteleftpointingsmalltriangle=9667,t.whiteleftpointingtriangle=9665,t.whitelenticularbracketleft=12310,t.whitelenticularbracketright=12311,t.whiterightpointingsmalltriangle=9657,t.whiterightpointingtriangle=9655,t.whitesmallsquare=9643,t.whitesmilingface=9786,t.whitesquare=9633,t.whitestar=9734,t.whitetelephone=9743,t.whitetortoiseshellbracketleft=12312,t.whitetortoiseshellbracketright=12313,t.whiteuppointingsmalltriangle=9653,t.whiteuppointingtriangle=9651,t.wihiragana=12432,t.wikatakana=12528,t.wikorean=12639,t.wmonospace=65367,t.wohiragana=12434,t.wokatakana=12530,t.wokatakanahalfwidth=65382,t.won=8361,t.wonmonospace=65510,t.wowaenthai=3623,t.wparen=9394,t.wring=7832,t.wsuperior=695,t.wturned=653,t.wynn=447,t.x=120,t.xabovecmb=829,t.xbopomofo=12562,t.xcircle=9447,t.xdieresis=7821,t.xdotaccent=7819,t.xeharmenian=1389,t.xi=958,t.xmonospace=65368,t.xparen=9395,t.xsuperior=739,t.y=121,t.yaadosquare=13134,t.yabengali=2479,t.yacute=253,t.yadeva=2351,t.yaekorean=12626,t.yagujarati=2735,t.yagurmukhi=2607,t.yahiragana=12420,t.yakatakana=12516,t.yakatakanahalfwidth=65428,t.yakorean=12625,t.yamakkanthai=3662,t.yasmallhiragana=12419,t.yasmallkatakana=12515,t.yasmallkatakanahalfwidth=65388,t.yatcyrillic=1123,t.ycircle=9448,t.ycircumflex=375,t.ydieresis=255,t.ydotaccent=7823,t.ydotbelow=7925,t.yeharabic=1610,t.yehbarreearabic=1746,t.yehbarreefinalarabic=64431,t.yehfinalarabic=65266,t.yehhamzaabovearabic=1574,t.yehhamzaabovefinalarabic=65162,t.yehhamzaaboveinitialarabic=65163,t.yehhamzaabovemedialarabic=65164,t.yehinitialarabic=65267,t.yehmedialarabic=65268,t.yehmeeminitialarabic=64733,t.yehmeemisolatedarabic=64600,t.yehnoonfinalarabic=64660,t.yehthreedotsbelowarabic=1745,t.yekorean=12630,t.yen=165,t.yenmonospace=65509,t.yeokorean=12629,t.yeorinhieuhkorean=12678,t.yerahbenyomohebrew=1450,t.yerahbenyomolefthebrew=1450,t.yericyrillic=1099,t.yerudieresiscyrillic=1273,t.yesieungkorean=12673,t.yesieungpansioskorean=12675,t.yesieungsioskorean=12674,t.yetivhebrew=1434,t.ygrave=7923,t.yhook=436,t.yhookabove=7927,t.yiarmenian=1397,t.yicyrillic=1111,t.yikorean=12642,t.yinyang=9775,t.yiwnarmenian=1410,t.ymonospace=65369,t.yod=1497,t.yoddagesh=64313,t.yoddageshhebrew=64313,t.yodhebrew=1497,t.yodyodhebrew=1522,t.yodyodpatahhebrew=64287,t.yohiragana=12424,t.yoikorean=12681,t.yokatakana=12520,t.yokatakanahalfwidth=65430,t.yokorean=12635,t.yosmallhiragana=12423,t.yosmallkatakana=12519,t.yosmallkatakanahalfwidth=65390,t.yotgreek=1011,t.yoyaekorean=12680,t.yoyakorean=12679,t.yoyakthai=3618,t.yoyingthai=3597,t.yparen=9396,t.ypogegrammeni=890,t.ypogegrammenigreekcmb=837,t.yr=422,t.yring=7833,t.ysuperior=696,t.ytilde=7929,t.yturned=654,t.yuhiragana=12422,t.yuikorean=12684,t.yukatakana=12518,t.yukatakanahalfwidth=65429,t.yukorean=12640,t.yusbigcyrillic=1131,t.yusbigiotifiedcyrillic=1133,t.yuslittlecyrillic=1127,t.yuslittleiotifiedcyrillic=1129,t.yusmallhiragana=12421,t.yusmallkatakana=12517,t.yusmallkatakanahalfwidth=65389,t.yuyekorean=12683,t.yuyeokorean=12682,t.yyabengali=2527,t.yyadeva=2399,t.z=122,t.zaarmenian=1382,t.zacute=378,t.zadeva=2395,t.zagurmukhi=2651,t.zaharabic=1592,t.zahfinalarabic=65222,t.zahinitialarabic=65223,t.zahiragana=12374,t.zahmedialarabic=65224,t.zainarabic=1586,t.zainfinalarabic=65200,t.zakatakana=12470,t.zaqefgadolhebrew=1429,t.zaqefqatanhebrew=1428,t.zarqahebrew=1432,t.zayin=1494,t.zayindagesh=64310,t.zayindageshhebrew=64310,t.zayinhebrew=1494,t.zbopomofo=12567,t.zcaron=382,t.zcircle=9449,t.zcircumflex=7825,t.zcurl=657,t.zdot=380,t.zdotaccent=380,t.zdotbelow=7827,t.zecyrillic=1079,t.zedescendercyrillic=1177,t.zedieresiscyrillic=1247,t.zehiragana=12380,t.zekatakana=12476,t.zero=48,t.zeroarabic=1632,t.zerobengali=2534,t.zerodeva=2406,t.zerogujarati=2790,t.zerogurmukhi=2662,t.zerohackarabic=1632,t.zeroinferior=8320,t.zeromonospace=65296,t.zerooldstyle=63280,t.zeropersian=1776,t.zerosuperior=8304,t.zerothai=3664,t.zerowidthjoiner=65279,t.zerowidthnonjoiner=8204,t.zerowidthspace=8203,t.zeta=950,t.zhbopomofo=12563,t.zhearmenian=1386,t.zhebrevecyrillic=1218,t.zhecyrillic=1078,t.zhedescendercyrillic=1175,t.zhedieresiscyrillic=1245,t.zihiragana=12376,t.zikatakana=12472,t.zinorhebrew=1454,t.zlinebelow=7829,t.zmonospace=65370,t.zohiragana=12382,t.zokatakana=12478,t.zparen=9397,t.zretroflexhook=656,t.zstroke=438,t.zuhiragana=12378,t.zukatakana=12474,t[".notdef"]=0,t.angbracketleftbig=9001,t.angbracketleftBig=9001,t.angbracketleftbigg=9001,t.angbracketleftBigg=9001,t.angbracketrightBig=9002,t.angbracketrightbig=9002,t.angbracketrightBigg=9002,t.angbracketrightbigg=9002,t.arrowhookleft=8618,t.arrowhookright=8617,t.arrowlefttophalf=8636,t.arrowleftbothalf=8637,t.arrownortheast=8599,t.arrownorthwest=8598,t.arrowrighttophalf=8640,t.arrowrightbothalf=8641,t.arrowsoutheast=8600,t.arrowsouthwest=8601,t.backslashbig=8726,t.backslashBig=8726,t.backslashBigg=8726,t.backslashbigg=8726,t.bardbl=8214,t.bracehtipdownleft=65079,t.bracehtipdownright=65079,t.bracehtipupleft=65080,t.bracehtipupright=65080,t.braceleftBig=123,t.braceleftbig=123,t.braceleftbigg=123,t.braceleftBigg=123,t.bracerightBig=125,t.bracerightbig=125,t.bracerightbigg=125,t.bracerightBigg=125,t.bracketleftbig=91,t.bracketleftBig=91,t.bracketleftbigg=91,t.bracketleftBigg=91,t.bracketrightBig=93,t.bracketrightbig=93,t.bracketrightbigg=93,t.bracketrightBigg=93,t.ceilingleftbig=8968,t.ceilingleftBig=8968,t.ceilingleftBigg=8968,t.ceilingleftbigg=8968,t.ceilingrightbig=8969,t.ceilingrightBig=8969,t.ceilingrightbigg=8969,t.ceilingrightBigg=8969,t.circledotdisplay=8857,t.circledottext=8857,t.circlemultiplydisplay=8855,t.circlemultiplytext=8855,t.circleplusdisplay=8853,t.circleplustext=8853,t.contintegraldisplay=8750,t.contintegraltext=8750,t.coproductdisplay=8720,t.coproducttext=8720,t.floorleftBig=8970,t.floorleftbig=8970,t.floorleftbigg=8970,t.floorleftBigg=8970,t.floorrightbig=8971,t.floorrightBig=8971,t.floorrightBigg=8971,t.floorrightbigg=8971,t.hatwide=770,t.hatwider=770,t.hatwidest=770,t.intercal=7488,t.integraldisplay=8747,t.integraltext=8747,t.intersectiondisplay=8898,t.intersectiontext=8898,t.logicalanddisplay=8743,t.logicalandtext=8743,t.logicalordisplay=8744,t.logicalortext=8744,t.parenleftBig=40,t.parenleftbig=40,t.parenleftBigg=40,t.parenleftbigg=40,t.parenrightBig=41,t.parenrightbig=41,t.parenrightBigg=41,t.parenrightbigg=41,t.prime=8242,t.productdisplay=8719,t.producttext=8719,t.radicalbig=8730,t.radicalBig=8730,t.radicalBigg=8730,t.radicalbigg=8730,t.radicalbt=8730,t.radicaltp=8730,t.radicalvertex=8730,t.slashbig=47,t.slashBig=47,t.slashBigg=47,t.slashbigg=47,t.summationdisplay=8721,t.summationtext=8721,t.tildewide=732,t.tildewider=732,t.tildewidest=732,t.uniondisplay=8899,t.unionmultidisplay=8846,t.unionmultitext=8846,t.unionsqdisplay=8852,t.unionsqtext=8852,t.uniontext=8899,t.vextenddouble=8741,t.vextendsingle=8739}),Bm=Nt(function(t){t.space=32,t.a1=9985,t.a2=9986,t.a202=9987,t.a3=9988,t.a4=9742,t.a5=9990,t.a119=9991,t.a118=9992,t.a117=9993,t.a11=9755,t.a12=9758,t.a13=9996,t.a14=9997,t.a15=9998,t.a16=9999,t.a105=1e4,t.a17=10001,t.a18=10002,t.a19=10003,t.a20=10004,t.a21=10005,t.a22=10006,t.a23=10007,t.a24=10008,t.a25=10009,t.a26=10010,t.a27=10011,t.a28=10012,t.a6=10013,t.a7=10014,t.a8=10015,t.a9=10016,t.a10=10017,t.a29=10018,t.a30=10019,t.a31=10020,t.a32=10021,t.a33=10022,t.a34=10023,t.a35=9733,t.a36=10025,t.a37=10026,t.a38=10027,t.a39=10028,t.a40=10029,t.a41=10030,t.a42=10031,t.a43=10032,t.a44=10033,t.a45=10034,t.a46=10035,t.a47=10036,t.a48=10037,t.a49=10038,t.a50=10039,t.a51=10040,t.a52=10041,t.a53=10042,t.a54=10043,t.a55=10044,t.a56=10045,t.a57=10046,t.a58=10047,t.a59=10048,t.a60=10049,t.a61=10050,t.a62=10051,t.a63=10052,t.a64=10053,t.a65=10054,t.a66=10055,t.a67=10056,t.a68=10057,t.a69=10058,t.a70=10059,t.a71=9679,t.a72=10061,t.a73=9632,t.a74=10063,t.a203=10064,t.a75=10065,t.a204=10066,t.a76=9650,t.a77=9660,t.a78=9670,t.a79=10070,t.a81=9687,t.a82=10072,t.a83=10073,t.a84=10074,t.a97=10075,t.a98=10076,t.a99=10077,t.a100=10078,t.a101=10081,t.a102=10082,t.a103=10083,t.a104=10084,t.a106=10085,t.a107=10086,t.a108=10087,t.a112=9827,t.a111=9830,t.a110=9829,t.a109=9824,t.a120=9312,t.a121=9313,t.a122=9314,t.a123=9315,t.a124=9316,t.a125=9317,t.a126=9318,t.a127=9319,t.a128=9320,t.a129=9321,t.a130=10102,t.a131=10103,t.a132=10104,t.a133=10105,t.a134=10106,t.a135=10107,t.a136=10108,t.a137=10109,t.a138=10110,t.a139=10111,t.a140=10112,t.a141=10113,t.a142=10114,t.a143=10115,t.a144=10116,t.a145=10117,t.a146=10118,t.a147=10119,t.a148=10120,t.a149=10121,t.a150=10122,t.a151=10123,t.a152=10124,t.a153=10125,t.a154=10126,t.a155=10127,t.a156=10128,t.a157=10129,t.a158=10130,t.a159=10131,t.a160=10132,t.a161=8594,t.a163=8596,t.a164=8597,t.a196=10136,t.a165=10137,t.a192=10138,t.a166=10139,t.a167=10140,t.a168=10141,t.a169=10142,t.a170=10143,t.a171=10144,t.a172=10145,t.a173=10146,t.a162=10147,t.a174=10148,t.a175=10149,t.a176=10150,t.a177=10151,t.a178=10152,t.a179=10153,t.a193=10154,t.a180=10155,t.a199=10156,t.a181=10157,t.a200=10158,t.a182=10159,t.a201=10161,t.a183=10162,t.a184=10163,t.a197=10164,t.a185=10165,t.a194=10166,t.a198=10167,t.a186=10168,t.a195=10169,t.a187=10170,t.a188=10171,t.a189=10172,t.a190=10173,t.a191=10174,t.a89=10088,t.a90=10089,t.a93=10090,t.a94=10091,t.a91=10092,t.a92=10093,t.a205=10094,t.a85=10095,t.a206=10096,t.a86=10097,t.a87=10098,t.a88=10099,t.a95=10100,t.a96=10101,t[".notdef"]=0}),Ym=Nt(function(t){t[63721]=169,t[63193]=169,t[63720]=174,t[63194]=174,t[63722]=8482,t[63195]=8482,t[63729]=9127,t[63730]=9128,t[63731]=9129,t[63740]=9131,t[63741]=9132,t[63742]=9133,t[63726]=9121,t[63727]=9122,t[63728]=9123,t[63737]=9124,t[63738]=9125,t[63739]=9126,t[63723]=9115,t[63724]=9116,t[63725]=9117,t[63734]=9118,t[63735]=9119,t[63736]=9120});function Hm(t){return t>=65520&&t<=65535?0:t>=62976&&t<=63743?Ym()[t]||t:t===173?45:t}function Hs(t,e){let n=e[t];if(n!==void 0)return n;if(!t)return-1;if(t[0]==="u"){const i=t.length;let r;if(i===7&&t[1]==="n"&&t[2]==="i")r=t.substring(3);else if(i>=5&&i<=7)r=t.substring(1);else return-1;if(r===r.toUpperCase()&&(n=parseInt(r,16),n>=0))return n}return-1}const zd=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];function Zm(t,e=-1){if(e!==-1){const n=zd[e];for(let i=0,r=n.length;i<r;i+=2)if(t>=n[i]&&t<=n[i+1])return e}for(let n=0,i=zd.length;n<i;n++){const r=zd[n];for(let s=0,o=r.length;s<o;s+=2)if(t>=r[s]&&t<=r[s+1])return n}return-1}const zm=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),qd=new Map;function qm(t){const e=qd.get(t);if(e)return e;const n=t.match(zm),i={isWhitespace:!!n?.[1],isZeroWidthDiacritic:!!n?.[2],isInvisibleFormatMark:!!n?.[3]};return qd.set(t,i),i}function $m(){qd.clear()}const Zs=!0,Ua={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144},cg=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function fg(t,e){if(e[t]!==void 0)return t;const n=Hs(t,e);if(n!==-1){for(const i in e)if(e[i]===n)return i}return st("Unable to recover a standard glyph name for: "+t),t}function lg(t,e,n){const i=Object.create(null);let r,s,o;const a=!!(t.flags&Ua.Symbolic);if(t.isInternalFont)for(o=e,s=0;s<o.length;s++)r=n.indexOf(o[s]),i[s]=r>=0?r:0;else if(t.baseEncodingName)for(o=rc(t.baseEncodingName),s=0;s<o.length;s++)r=n.indexOf(o[s]),i[s]=r>=0?r:0;else if(a)for(s in e)i[s]=e[s];else for(o=Ci,s=0;s<o.length;s++)r=n.indexOf(o[s]),i[s]=r>=0?r:0;const c=t.differences;let f;if(c)for(s in c){const l=c[s];if(r=n.indexOf(l),r===-1){f||(f=li());const d=fg(l,f);d!==l&&(r=n.indexOf(d))}i[s]=r>=0?r:0}return i}function sc(t){return t.replaceAll(/[,_]/g,"-").replaceAll(/\s/g,"")}const Gm=Nt(t=>{t[8211]=65074,t[8212]=65073,t[8229]=65072,t[8230]=65049,t[12289]=65041,t[12290]=65042,t[12296]=65087,t[12297]=65088,t[12298]=65085,t[12299]=65086,t[12300]=65089,t[12301]=65090,t[12302]=65091,t[12303]=65092,t[12304]=65083,t[12305]=65084,t[12308]=65081,t[12309]=65082,t[12310]=65047,t[12311]=65048,t[65103]=65076,t[65281]=65045,t[65288]=65077,t[65289]=65078,t[65292]=65040,t[65306]=65043,t[65307]=65044,t[65311]=65046,t[65339]=65095,t[65341]=65096,t[65343]=65075,t[65371]=65079,t[65373]=65080}),dg=1e3;function Xm({data:t,width:e,height:n}){if(e>dg||n>dg)return null;const i=1e3,r=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),s=e+1,o=new Uint8Array(s*(n+1));let a,c,f;const l=e+7&-8,d=new Uint8Array(l*n);let h=0;for(const D of t){let v=128;for(;v>0;)d[h++]=D&v?0:255,v>>=1}let u=0;for(h=0,d[h]!==0&&(o[0]=1,++u),c=1;c<e;c++)d[h]!==d[h+1]&&(o[c]=d[h]?2:1,++u),h++;for(d[h]!==0&&(o[c]=2,++u),a=1;a<n;a++){h=a*l,f=a*s,d[h-l]!==d[h]&&(o[f]=d[h]?1:8,++u);let D=(d[h]?4:0)+(d[h-l]?8:0);for(c=1;c<e;c++)D=(D>>2)+(d[h+1]?4:0)+(d[h-l+1]?8:0),r[D]&&(o[f+c]=r[D],++u),h++;if(d[h-l]!==d[h]&&(o[f+c]=d[h]?2:4,++u),u>i)return null}for(h=l*(n-1),f=a*s,d[h]!==0&&(o[f]=8,++u),c=1;c<e;c++)d[h]!==d[h+1]&&(o[f+c]=d[h]?4:8,++u),h++;if(d[h]!==0&&(o[f+c]=4,++u),u>i)return null;const g=new Int32Array([0,s,-1,0,-s,0,0,0,1]),p=[],{a:x,b:m,c:w,d:O,e:k,f:E}=new DOMMatrix().scaleSelf(1/e,-1/n).translateSelf(0,-n);for(a=0;u&&a<=n;a++){let D=a*s;const v=D+e;for(;D<v&&!o[D];)D++;if(D===v)continue;let S=D%s,C=a;p.push(fn.moveTo,x*S+w*C+k,m*S+O*C+E);const R=D;let T=o[D];do{const H=g[T];do D+=H;while(!o[D]);const $=o[D];$!==5&&$!==10?(T=$,o[D]=0):(T=$&51*T>>4,o[D]&=T>>2|T<<2),S=D%s,C=D/s|0,p.push(fn.lineTo,x*S+w*C+k,m*S+O*C+E),o[D]||--u}while(R!==D);--a}return[M.rawFillPath,[new Float32Array(p)],new Float32Array([0,0,e,n])]}const Wm=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],Vm=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],Km=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"],Qm=10,af=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],rf=391,zs=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],Jm=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(t,e){t[e-2]=t[e-2]+t[e-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(t,e){t[e-2]=t[e-2]-t[e-1]}},{id:"div",min:2,stackDelta:-1,stackFn(t,e){t[e-2]=t[e-2]/t[e-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(t,e){t[e-1]=-t[e-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(t,e){t[e-2]=t[e-2]*t[e-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];class $d{constructor(e,n,i){this.bytes=e.getBytes(),this.properties=n,this.seacAnalysisEnabled=!!i}parse(){const e=this.properties,n=new hg;this.cff=n;const i=this.parseHeader(),r=this.parseIndex(i.endPos),s=this.parseIndex(r.endPos),o=this.parseIndex(s.endPos),a=this.parseIndex(o.endPos),c=this.parseDict(s.obj.get(0)),f=this.createDict(oc,c,n.strings);n.header=i.obj,n.names=this.parseNameIndex(r.obj),n.strings=this.parseStringIndex(o.obj),n.topDict=f,n.globalSubrIndex=a.obj,this.parsePrivateDict(n.topDict),n.isCIDFont=f.hasName("ROS");const l=f.getByName("CharStrings"),d=this.parseIndex(l).obj,h=f.getByName("FontMatrix");h&&(e.fontMatrix=h);const u=f.getByName("FontBBox");u&&(e.ascent=Math.max(u[3],u[1]),e.descent=Math.min(u[1],u[3]),e.ascentScaled=!0);let g,p;if(n.isCIDFont){const m=this.parseIndex(f.getByName("FDArray")).obj;for(let w=0,O=m.count;w<O;++w){const k=m.get(w),E=this.createDict(oc,this.parseDict(k),n.strings);this.parsePrivateDict(E),n.fdArray.push(E)}p=null,g=this.parseCharsets(f.getByName("charset"),d.count,n.strings,!0),n.fdSelect=this.parseFDSelect(f.getByName("FDSelect"),d.count)}else g=this.parseCharsets(f.getByName("charset"),d.count,n.strings,!1),p=this.parseEncoding(f.getByName("Encoding"),e,n.strings,g.charset);n.charset=g,n.encoding=p;const x=this.parseCharStrings({charStrings:d,localSubrIndex:f.privateDict.subrsIndex,globalSubrIndex:a.obj,fdSelect:n.fdSelect,fdArray:n.fdArray,privateDict:f.privateDict});return n.charStrings=x.charStrings,n.seacs=x.seacs,n.widths=x.widths,n}parseHeader(){let e=this.bytes;const n=e.length;let i=0;for(;i<n&&e[i]!==1;)++i;if(i>=n)throw new re("Invalid CFF header");i!==0&&(st("cff data is shifted"),e=e.subarray(i),this.bytes=e);const r=e[0],s=e[1],o=e[2],a=e[3];return{obj:new ug(r,s,o,a),endPos:o}}parseDict(e){let n=0;function i(){let c=e[n++];return c===30?r():c===28?(c=Ei(e,n),n+=2,c):c===29?(c=e[n++],c=c<<8|e[n++],c=c<<8|e[n++],c=c<<8|e[n++],c):c>=32&&c<=246?c-139:c>=247&&c<=250?(c-247)*256+e[n++]+108:c>=251&&c<=254?-((c-251)*256)-e[n++]-108:(L('CFFParser_parseDict: "'+c+'" is a reserved command.'),NaN)}function r(){let c="";const l=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],d=e.length;for(;n<d;){const h=e[n++],u=h>>4,g=h&15;if(u===15||(c+=l[u],g===15))break;c+=l[g]}return parseFloat(c)}let s=[];const o=[];n=0;const a=e.length;for(;n<a;){let c=e[n];c<=21?(c===12&&(c=c<<8|e[++n]),o.push([c,s]),s=[],++n):s.push(i())}return o}parseIndex(e){const n=new cr,i=this.bytes,r=i[e++]<<8|i[e++],s=[];let o=e,a,c;if(r!==0){const f=i[e++],l=e+(r+1)*f-1;for(a=0,c=r+1;a<c;++a){let d=0;for(let h=0;h<f;++h)d<<=8,d+=i[e++];s.push(l+d)}o=s[r]}for(a=0,c=s.length-1;a<c;++a){const f=s[a],l=s[a+1];n.add(i.subarray(f,l))}return{obj:n,endPos:o}}parseNameIndex(e){const n=[];for(let i=0,r=e.count;i<r;++i){const s=e.get(i);n.push(la(s))}return n}parseStringIndex(e){const n=new Gd;for(let i=0,r=e.count;i<r;++i){const s=e.get(i);n.add(la(s))}return n}createDict(e,n,i){const r=new e(i);for(const[s,o]of n)r.setByKey(s,o);return r}parseCharString(e,n,i,r){if(!n||e.callDepth>Qm)return!1;let s=e.stackSize;const o=e.stack;let a=n.length;for(let c=0;c<a;){const f=n[c++];let l=null;if(f===12){const d=n[c++];d===0?(n[c-2]=139,n[c-1]=22,s=0):l=Jm[d]}else if(f===28)o[s]=Ei(n,c),c+=2,s++;else if(f===14){if(s>=4&&(s-=4,this.seacAnalysisEnabled))return e.seac=o.slice(s,s+4),!1;l=zs[f]}else if(f>=32&&f<=246)o[s]=f-139,s++;else if(f>=247&&f<=254)o[s]=f<251?(f-247<<8)+n[c]+108:-(f-251<<8)-n[c]-108,c++,s++;else if(f===255)o[s]=(n[c]<<24|n[c+1]<<16|n[c+2]<<8|n[c+3])/65536,c+=4,s++;else if(f===19||f===20){if(e.hints+=s>>1,e.hints===0){n.copyWithin(c-1,c,-1),c-=1,a-=1;continue}c+=e.hints+7>>3,s%=2,l=zs[f]}else if(f===10||f===29){const d=f===10?i:r;if(!d)return l=zs[f],L("Missing subrsIndex for "+l.id),!1;let h=32768;d.count<1240?h=107:d.count<33900&&(h=1131);const u=o[--s]+h;if(u<0||u>=d.count||isNaN(u))return l=zs[f],L("Out of bounds subrIndex for "+l.id),!1;if(e.stackSize=s,e.callDepth++,!this.parseCharString(e,d.get(u),i,r))return!1;e.callDepth--,s=e.stackSize;continue}else{if(f===11)return e.stackSize=s,!0;if(f===0&&c===n.length)n[c-1]=14,l=zs[14];else if(f===9){n.copyWithin(c-1,c,-1),c-=1,a-=1;continue}else l=zs[f]}if(l){if(l.stem&&(e.hints+=s>>1,f===3||f===23?e.hasVStems=!0:e.hasVStems&&(f===1||f===18)&&(L("CFF stem hints are in wrong order"),n[c-1]=f===1?3:23)),"min"in l&&!e.undefStack&&s<l.min)return L("Not enough parameters for "+l.id+"; actual: "+s+", expected: "+l.min),s===0?(n[c-1]=14,!0):!1;e.firstStackClearing&&l.stackClearing&&(e.firstStackClearing=!1,s-=l.min,s>=2&&l.stem?s%=2:s>1&&L("Found too many parameters for stack-clearing command"),s>0&&(e.width=o[s-1])),"stackDelta"in l?("stackFn"in l&&l.stackFn(o,s),s+=l.stackDelta):l.stackClearing?s=0:l.resetStack?(s=0,e.undefStack=!1):l.undefStack&&(s=0,e.undefStack=!0,e.firstStackClearing=!1)}}return a<n.length&&n.fill(14,a),e.stackSize=s,!0}parseCharStrings({charStrings:e,localSubrIndex:n,globalSubrIndex:i,fdSelect:r,fdArray:s,privateDict:o}){const a=[],c=[],f=e.count;for(let l=0;l<f;l++){const d=e.get(l),h={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1};let u=!0,g=null,p=o;if(r&&s.length){const x=r.getFDIndex(l);x===-1&&(L("Glyph index is not in fd select."),u=!1),x>=s.length&&(L("Invalid fd index for glyph index."),u=!1),u&&(p=s[x].privateDict,g=p.subrsIndex)}else n&&(g=n);if(u&&(u=this.parseCharString(h,d,g,i)),h.width!==null){const x=p.getByName("nominalWidthX");c[l]=x+h.width}else{const x=p.getByName("defaultWidthX");c[l]=x}h.seac!==null&&(a[l]=h.seac),u||e.set(l,new Uint8Array([14]))}return{charStrings:e,seacs:a,widths:c}}emptyPrivateDictionary(e){const n=this.createDict(cc,[],e.strings);e.setByKey(18,[0,0]),e.privateDict=n}parsePrivateDict(e){if(!e.hasName("Private")){this.emptyPrivateDictionary(e);return}const n=e.getByName("Private");if(!Array.isArray(n)||n.length!==2){e.removeByName("Private");return}const i=n[0],r=n[1];if(i===0||r>=this.bytes.length){this.emptyPrivateDictionary(e);return}const s=r+i,o=this.bytes.subarray(r,s),a=this.parseDict(o),c=this.createDict(cc,a,e.strings);if(e.privateDict=c,c.getByName("ExpansionFactor")===0&&c.setByName("ExpansionFactor",.06),!c.getByName("Subrs"))return;const f=c.getByName("Subrs"),l=r+f;if(f===0||l>=this.bytes.length){this.emptyPrivateDictionary(e);return}const d=this.parseIndex(l);c.subrsIndex=d.obj}parseCharsets(e,n,i,r){if(e===0)return new fc(!0,Xd.ISO_ADOBE,Wm);if(e===1)return new fc(!0,Xd.EXPERT,Vm);if(e===2)return new fc(!0,Xd.EXPERT_SUBSET,Km);const s=this.bytes,o=e,a=s[e++],c=[r?0:".notdef"];let f,l,d;switch(n-=1,a){case 0:for(d=0;d<n;d++)f=s[e++]<<8|s[e++],c.push(r?f:i.get(f));break;case 1:for(;c.length<=n;)for(f=s[e++]<<8|s[e++],l=s[e++],d=0;d<=l;d++)c.push(r?f++:i.get(f++));break;case 2:for(;c.length<=n;)for(f=s[e++]<<8|s[e++],l=s[e++]<<8|s[e++],d=0;d<=l;d++)c.push(r?f++:i.get(f++));break;default:throw new re("Unknown charset format")}const h=e,u=s.subarray(o,h);return new fc(!1,a,c,u)}parseEncoding(e,n,i,r){const s=Object.create(null),o=this.bytes;let a=!1,c,f,l,d=null;function h(){const u=o[e++];for(f=0;f<u;f++){const g=o[e++],p=(o[e++]<<8)+(o[e++]&255);s[g]=r.indexOf(i.get(p))}}if(e===0||e===1){a=!0,c=e;const u=e?og:Ci;for(f=0,l=r.length;f<l;f++){const g=u.indexOf(r[f]);g!==-1&&(s[g]=f)}}else{const u=e;switch(c=o[e++],c&127){case 0:const p=o[e++];for(f=1;f<=p;f++)s[o[e++]]=f;break;case 1:const x=o[e++];let m=1;for(f=0;f<x;f++){const w=o[e++],O=o[e++];for(let k=w;k<=w+O;k++)s[k]=m++}break;default:throw new re(`Unknown encoding format: ${c} in CFF`)}const g=e;c&128&&(o[u]&=127,h()),d=o.subarray(u,g)}return c&=127,new nx(a,c,s,d)}parseFDSelect(e,n){const i=this.bytes,r=i[e++],s=[];let o;switch(r){case 0:for(o=0;o<n;++o){const c=i[e++];s.push(c)}break;case 3:const a=i[e++]<<8|i[e++];for(o=0;o<a;++o){let c=i[e++]<<8|i[e++];o===0&&c!==0&&(L("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),c=0);const f=i[e++],l=i[e]<<8|i[e+1];for(let d=c;d<l;++d)s.push(f)}e+=2;break;default:throw new re(`parseFDSelect: Unknown format "${r}".`)}if(s.length!==n)throw new re("parseFDSelect: Invalid font data.");return new ax(r,s)}}class hg{constructor(){this.header=null,this.names=[],this.topDict=null,this.strings=new Gd,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}duplicateFirstGlyph(){if(this.charStrings.count>=65535){L("Not enough space in charstrings to duplicate first glyph.");return}const e=this.charStrings.get(0);this.charStrings.add(e),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}hasGlyphId(e){return e<0||e>=this.charStrings.count?!1:this.charStrings.get(e).length>0}}class ug{constructor(e,n,i,r){this.major=e,this.minor=n,this.hdrSize=i,this.offSize=r}}class Gd{constructor(){this.strings=[]}get(e){return e>=0&&e<=rf-1?af[e]:e-rf<=this.strings.length?this.strings[e-rf]:af[0]}getSID(e){let n=af.indexOf(e);return n!==-1?n:(n=this.strings.indexOf(e),n!==-1?n+rf:-1)}add(e){this.strings.push(e)}get count(){return this.strings.length}}class cr{constructor(){this.objects=[],this.length=0}add(e){this.length+=e.length,this.objects.push(e)}set(e,n){this.length+=n.length-this.objects[e].length,this.objects[e]=n}get(e){return this.objects[e]}get count(){return this.objects.length}}class bg{constructor(e,n){this.keyToNameMap=e.keyToNameMap,this.nameToKeyMap=e.nameToKeyMap,this.defaults=e.defaults,this.types=e.types,this.opcodes=e.opcodes,this.order=e.order,this.strings=n,this.values=Object.create(null)}setByKey(e,n){if(!(e in this.keyToNameMap))return!1;if(n.length===0)return!0;for(const r of n)if(isNaN(r))return L(`Invalid CFFDict value: "${n}" for key "${e}".`),!0;const i=this.types[e];return(i==="num"||i==="sid"||i==="offset")&&(n=n[0]),this.values[e]=n,!0}setByName(e,n){if(!(e in this.nameToKeyMap))throw new re(`Invalid dictionary name "${e}"`);this.values[this.nameToKeyMap[e]]=n}hasName(e){return this.nameToKeyMap[e]in this.values}getByName(e){if(!(e in this.nameToKeyMap))throw new re(`Invalid dictionary name ${e}"`);const n=this.nameToKeyMap[e];return n in this.values?this.values[n]:this.defaults[n]}removeByName(e){delete this.values[this.nameToKeyMap[e]]}static createTables(e){const n={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]};for(const i of e){const r=Array.isArray(i[0])?(i[0][0]<<8)+i[0][1]:i[0];n.keyToNameMap[r]=i[1],n.nameToKeyMap[i[1]]=r,n.types[r]=i[2],n.defaults[r]=i[3],n.opcodes[r]=Array.isArray(i[0])?i[0]:[i[0]],n.order.push(r)}return n}}const ex=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]];class oc extends bg{static get tables(){return ge(this,"tables",this.createTables(ex))}constructor(e){super(oc.tables,e),this.privateDict=null}}const tx=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]];class cc extends bg{static get tables(){return ge(this,"tables",this.createTables(tx))}constructor(e){super(cc.tables,e),this.subrsIndex=null}}const Xd={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2};class fc{constructor(e,n,i,r){this.predefined=e,this.format=n,this.charset=i,this.raw=r}}class nx{constructor(e,n,i,r){this.predefined=e,this.format=n,this.encoding=i,this.raw=r}}class ax{constructor(e,n){this.format=e,this.fdSelect=n}getFDIndex(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}class gg{constructor(){this.offsets=Object.create(null)}isTracking(e){return e in this.offsets}track(e,n){if(e in this.offsets)throw new re(`Already tracking location of ${e}`);this.offsets[e]=n}offset(e){for(const n in this.offsets)this.offsets[n]+=e}setEntryLocation(e,n,i){if(!(e in this.offsets))throw new re(`Not tracking location of ${e}`);const r=i.data,s=this.offsets[e],o=5;for(let a=0,c=n.length;a<c;++a){const f=a*o+s,l=f+1,d=f+2,h=f+3,u=f+4;if(r[f]!==29||r[l]!==0||r[d]!==0||r[h]!==0||r[u]!==0)throw new re("writing to an offset that is not empty");const g=n[a];r[f]=29,r[l]=g>>24&255,r[d]=g>>16&255,r[h]=g>>8&255,r[u]=g&255}}}class lc{constructor(e){this.cff=e}compile(){const e=this.cff,n={data:[],length:0,add(h){try{this.data.push(...h)}catch{this.data=this.data.concat(h)}this.length=this.data.length}},i=this.compileHeader(e.header);n.add(i);const r=this.compileNameIndex(e.names);if(n.add(r),e.isCIDFont&&e.topDict.hasName("FontMatrix")){const h=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");for(const u of e.fdArray){let g=h.slice(0);u.hasName("FontMatrix")&&(g=wt.transform(g,u.getByName("FontMatrix"))),u.setByName("FontMatrix",g)}}e.topDict.getByName("XUID")?.length>16&&e.topDict.removeByName("XUID"),e.topDict.setByName("charset",0);let o=this.compileTopDicts([e.topDict],n.length,e.isCIDFont);n.add(o.output);const a=o.trackers[0],c=this.compileStringIndex(e.strings.strings);n.add(c);const f=this.compileIndex(e.globalSubrIndex);if(n.add(f),e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)a.setEntryLocation("Encoding",[e.encoding.format],n);else{const h=this.compileEncoding(e.encoding);a.setEntryLocation("Encoding",[n.length],n),n.add(h)}const l=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont);a.setEntryLocation("charset",[n.length],n),n.add(l);const d=this.compileCharStrings(e.charStrings);if(a.setEntryLocation("CharStrings",[n.length],n),n.add(d),e.isCIDFont){a.setEntryLocation("FDSelect",[n.length],n);const h=this.compileFDSelect(e.fdSelect);n.add(h),o=this.compileTopDicts(e.fdArray,n.length,!0),a.setEntryLocation("FDArray",[n.length],n),n.add(o.output);const u=o.trackers;this.compilePrivateDicts(e.fdArray,u,n)}return this.compilePrivateDicts([e.topDict],[a],n),n.add([0]),n.data}encodeNumber(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}static get EncodeFloatRegExp(){return ge(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(e){let n=e.toString();const i=lc.EncodeFloatRegExp.exec(n);if(i){const c=parseFloat("1e"+((i[2]?+i[2]:0)+i[1].length));n=(Math.round(e*c)/c).toString()}let r="",s,o;for(s=0,o=n.length;s<o;++s){const c=n[s];c==="e"?r+=n[++s]==="-"?"c":"b":c==="."?r+="a":c==="-"?r+="e":r+=c}r+=r.length&1?"f":"ff";const a=[30];for(s=0,o=r.length;s<o;s+=2)a.push(parseInt(r.substring(s,s+2),16));return a}encodeInteger(e){let n;return e>=-107&&e<=107?n=[e+139]:e>=108&&e<=1131?(e-=108,n=[(e>>8)+247,e&255]):e>=-1131&&e<=-108?(e=-e-108,n=[(e>>8)+251,e&255]):e>=-32768&&e<=32767?n=[28,e>>8&255,e&255]:n=[29,e>>24&255,e>>16&255,e>>8&255,e&255],n}compileHeader(e){return[e.major,e.minor,4,e.offSize]}compileNameIndex(e){const n=new cr;for(const i of e){const r=Math.min(i.length,127);let s=new Array(r);for(let o=0;o<r;o++){let a=i[o];(a<"!"||a>"~"||a==="["||a==="]"||a==="("||a===")"||a==="{"||a==="}"||a==="<"||a===">"||a==="/"||a==="%")&&(a="_"),s[o]=a}s=s.join(""),s===""&&(s="Bad_Font_Name"),n.add(Sn(s))}return this.compileIndex(n)}compileTopDicts(e,n,i){const r=[];let s=new cr;for(const o of e){i&&(o.removeByName("CIDFontVersion"),o.removeByName("CIDFontRevision"),o.removeByName("CIDFontType"),o.removeByName("CIDCount"),o.removeByName("UIDBase"));const a=new gg,c=this.compileDict(o,a);r.push(a),s.add(c),a.offset(n)}return s=this.compileIndex(s,r),{trackers:r,output:s}}compilePrivateDicts(e,n,i){for(let r=0,s=e.length;r<s;++r){const o=e[r],a=o.privateDict;if(!a||!o.hasName("Private"))throw new re("There must be a private dictionary.");const c=new gg,f=this.compileDict(a,c);let l=i.length;if(c.offset(l),f.length||(l=0),n[r].setEntryLocation("Private",[f.length,l],i),i.add(f),a.subrsIndex&&a.hasName("Subrs")){const d=this.compileIndex(a.subrsIndex);c.setEntryLocation("Subrs",[f.length],i),i.add(d)}}}compileDict(e,n){const i=[];for(const r of e.order){if(!(r in e.values))continue;let s=e.values[r],o=e.types[r];if(Array.isArray(o)||(o=[o]),Array.isArray(s)||(s=[s]),s.length!==0){for(let a=0,c=o.length;a<c;++a){const f=o[a],l=s[a];switch(f){case"num":case"sid":i.push(...this.encodeNumber(l));break;case"offset":const d=e.keyToNameMap[r];n.isTracking(d)||n.track(d,i.length),i.push(29,0,0,0,0);break;case"array":case"delta":i.push(...this.encodeNumber(l));for(let h=1,u=s.length;h<u;++h)i.push(...this.encodeNumber(s[h]));break;default:throw new re(`Unknown data type of ${f}`)}}i.push(...e.opcodes[r])}}return i}compileStringIndex(e){const n=new cr;for(const i of e)n.add(Sn(i));return this.compileIndex(n)}compileCharStrings(e){const n=new cr;for(let i=0;i<e.count;i++){const r=e.get(i);if(r.length===0){n.add(new Uint8Array([139,14]));continue}n.add(r)}return this.compileIndex(n)}compileCharset(e,n,i,r){let s;const o=n-1;if(r){const a=o-1;s=new Uint8Array([2,0,1,a>>8&255,a&255])}else{const a=1+o*2;s=new Uint8Array(a),s[0]=0;let c=0;const f=e.charset.length;let l=!1;for(let d=1;d<s.length;d+=2){let h=0;if(c<f){const u=e.charset[c++];h=i.getSID(u),h===-1&&(h=0,l||(l=!0,L(`Couldn't find ${u} in CFF strings`)))}s[d]=h>>8&255,s[d+1]=h&255}}return this.compileTypedArray(s)}compileEncoding(e){return this.compileTypedArray(e.raw)}compileFDSelect(e){const n=e.format;let i,r;switch(n){case 0:for(i=new Uint8Array(1+e.fdSelect.length),i[0]=n,r=0;r<e.fdSelect.length;r++)i[r+1]=e.fdSelect[r];break;case 3:const s=0;let o=e.fdSelect[0];const a=[n,0,0,s>>8&255,s&255,o];for(r=1;r<e.fdSelect.length;r++){const f=e.fdSelect[r];f!==o&&(a.push(r>>8&255,r&255,f),o=f)}const c=(a.length-3)/3;a[1]=c>>8&255,a[2]=c&255,a.push(r>>8&255,r&255),i=new Uint8Array(a);break}return this.compileTypedArray(i)}compileTypedArray(e){return Array.from(e)}compileIndex(e,n=[]){const i=e.objects,r=i.length;if(r===0)return[0,0];const s=[r>>8&255,r&255];let o=1,a;for(a=0;a<r;++a)o+=i[a].length;let c;o<256?c=1:o<65536?c=2:o<16777216?c=3:c=4,s.push(c);let f=1;for(a=0;a<r+1;a++)c===1?s.push(f&255):c===2?s.push(f>>8&255,f&255):c===3?s.push(f>>16&255,f>>8&255,f&255):s.push(f>>>24&255,f>>16&255,f>>8&255,f&255),i[a]&&(f+=i[a].length);for(a=0;a<r;a++)n[a]&&n[a].offset(s.length),s.push(...i[a]);return s}}const sf=Nt(function(t){t["Times-Roman"]="Times-Roman",t.Helvetica="Helvetica",t.Courier="Courier",t.Symbol="Symbol",t["Times-Bold"]="Times-Bold",t["Helvetica-Bold"]="Helvetica-Bold",t["Courier-Bold"]="Courier-Bold",t.ZapfDingbats="ZapfDingbats",t["Times-Italic"]="Times-Italic",t["Helvetica-Oblique"]="Helvetica-Oblique",t["Courier-Oblique"]="Courier-Oblique",t["Times-BoldItalic"]="Times-BoldItalic",t["Helvetica-BoldOblique"]="Helvetica-BoldOblique",t["Courier-BoldOblique"]="Courier-BoldOblique",t.ArialNarrow="Helvetica",t["ArialNarrow-Bold"]="Helvetica-Bold",t["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",t["ArialNarrow-Italic"]="Helvetica-Oblique",t.ArialBlack="Helvetica",t["ArialBlack-Bold"]="Helvetica-Bold",t["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",t["ArialBlack-Italic"]="Helvetica-Oblique",t["Arial-Black"]="Helvetica",t["Arial-Black-Bold"]="Helvetica-Bold",t["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",t["Arial-Black-Italic"]="Helvetica-Oblique",t.Arial="Helvetica",t["Arial-Bold"]="Helvetica-Bold",t["Arial-BoldItalic"]="Helvetica-BoldOblique",t["Arial-Italic"]="Helvetica-Oblique",t.ArialMT="Helvetica",t["Arial-BoldItalicMT"]="Helvetica-BoldOblique",t["Arial-BoldMT"]="Helvetica-Bold",t["Arial-ItalicMT"]="Helvetica-Oblique",t["Arial-BoldItalicMT-BoldItalic"]="Helvetica-BoldOblique",t["Arial-BoldMT-Bold"]="Helvetica-Bold",t["Arial-ItalicMT-Italic"]="Helvetica-Oblique",t.ArialUnicodeMS="Helvetica",t["ArialUnicodeMS-Bold"]="Helvetica-Bold",t["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",t["ArialUnicodeMS-Italic"]="Helvetica-Oblique",t["Courier-BoldItalic"]="Courier-BoldOblique",t["Courier-Italic"]="Courier-Oblique",t.CourierNew="Courier",t["CourierNew-Bold"]="Courier-Bold",t["CourierNew-BoldItalic"]="Courier-BoldOblique",t["CourierNew-Italic"]="Courier-Oblique",t["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",t["CourierNewPS-BoldMT"]="Courier-Bold",t["CourierNewPS-ItalicMT"]="Courier-Oblique",t.CourierNewPSMT="Courier",t["Helvetica-BoldItalic"]="Helvetica-BoldOblique",t["Helvetica-Italic"]="Helvetica-Oblique",t["HelveticaLTStd-Bold"]="Helvetica-Bold",t["Symbol-Bold"]="Symbol",t["Symbol-BoldItalic"]="Symbol",t["Symbol-Italic"]="Symbol",t.TimesNewRoman="Times-Roman",t["TimesNewRoman-Bold"]="Times-Bold",t["TimesNewRoman-BoldItalic"]="Times-BoldItalic",t["TimesNewRoman-Italic"]="Times-Italic",t.TimesNewRomanPS="Times-Roman",t["TimesNewRomanPS-Bold"]="Times-Bold",t["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",t["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",t["TimesNewRomanPS-BoldMT"]="Times-Bold",t["TimesNewRomanPS-Italic"]="Times-Italic",t["TimesNewRomanPS-ItalicMT"]="Times-Italic",t.TimesNewRomanPSMT="Times-Roman",t["TimesNewRomanPSMT-Bold"]="Times-Bold",t["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",t["TimesNewRomanPSMT-Italic"]="Times-Italic"}),ix=Nt(function(t){t.Courier="FoxitFixed.pfb",t["Courier-Bold"]="FoxitFixedBold.pfb",t["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",t["Courier-Oblique"]="FoxitFixedItalic.pfb",t.Helvetica="LiberationSans-Regular.ttf",t["Helvetica-Bold"]="LiberationSans-Bold.ttf",t["Helvetica-BoldOblique"]="LiberationSans-BoldItalic.ttf",t["Helvetica-Oblique"]="LiberationSans-Italic.ttf",t["Times-Roman"]="FoxitSerif.pfb",t["Times-Bold"]="FoxitSerifBold.pfb",t["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",t["Times-Italic"]="FoxitSerifItalic.pfb",t.Symbol="FoxitSymbol.pfb",t.ZapfDingbats="FoxitDingbats.pfb",t["LiberationSans-Regular"]="LiberationSans-Regular.ttf",t["LiberationSans-Bold"]="LiberationSans-Bold.ttf",t["LiberationSans-Italic"]="LiberationSans-Italic.ttf",t["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"}),pg=Nt(function(t){t.Calibri="Helvetica",t["Calibri-Bold"]="Helvetica-Bold",t["Calibri-BoldItalic"]="Helvetica-BoldOblique",t["Calibri-Italic"]="Helvetica-Oblique",t.CenturyGothic="Helvetica",t["CenturyGothic-Bold"]="Helvetica-Bold",t["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",t["CenturyGothic-Italic"]="Helvetica-Oblique",t.ComicSansMS="Comic Sans MS",t["ComicSansMS-Bold"]="Comic Sans MS-Bold",t["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",t["ComicSansMS-Italic"]="Comic Sans MS-Italic",t.GillSansMT="Helvetica",t["GillSansMT-Bold"]="Helvetica-Bold",t["GillSansMT-BoldItalic"]="Helvetica-BoldOblique",t["GillSansMT-Italic"]="Helvetica-Oblique",t.Impact="Helvetica",t["ItcSymbol-Bold"]="Helvetica-Bold",t["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",t["ItcSymbol-Book"]="Helvetica",t["ItcSymbol-BookItalic"]="Helvetica-Oblique",t["ItcSymbol-Medium"]="Helvetica",t["ItcSymbol-MediumItalic"]="Helvetica-Oblique",t.LucidaConsole="Courier",t["LucidaConsole-Bold"]="Courier-Bold",t["LucidaConsole-BoldItalic"]="Courier-BoldOblique",t["LucidaConsole-Italic"]="Courier-Oblique",t["LucidaSans-Demi"]="Helvetica-Bold",t["MS-Gothic"]="MS Gothic",t["MS-Gothic-Bold"]="MS Gothic-Bold",t["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",t["MS-Gothic-Italic"]="MS Gothic-Italic",t["MS-Mincho"]="MS Mincho",t["MS-Mincho-Bold"]="MS Mincho-Bold",t["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",t["MS-Mincho-Italic"]="MS Mincho-Italic",t["MS-PGothic"]="MS PGothic",t["MS-PGothic-Bold"]="MS PGothic-Bold",t["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",t["MS-PGothic-Italic"]="MS PGothic-Italic",t["MS-PMincho"]="MS PMincho",t["MS-PMincho-Bold"]="MS PMincho-Bold",t["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",t["MS-PMincho-Italic"]="MS PMincho-Italic",t.NuptialScript="Times-Italic",t.SegoeUISymbol="Helvetica"}),Wd=Nt(function(t){t["Adobe Jenson"]=!0,t["Adobe Text"]=!0,t.Albertus=!0,t.Aldus=!0,t.Alexandria=!0,t.Algerian=!0,t["American Typewriter"]=!0,t.Antiqua=!0,t.Apex=!0,t.Arno=!0,t.Aster=!0,t.Aurora=!0,t.Baskerville=!0,t.Bell=!0,t.Bembo=!0,t["Bembo Schoolbook"]=!0,t.Benguiat=!0,t["Berkeley Old Style"]=!0,t["Bernhard Modern"]=!0,t["Berthold City"]=!0,t.Bodoni=!0,t["Bauer Bodoni"]=!0,t["Book Antiqua"]=!0,t.Bookman=!0,t["Bordeaux Roman"]=!0,t["Californian FB"]=!0,t.Calisto=!0,t.Calvert=!0,t.Capitals=!0,t.Cambria=!0,t.Cartier=!0,t.Caslon=!0,t.Catull=!0,t.Centaur=!0,t["Century Old Style"]=!0,t["Century Schoolbook"]=!0,t.Chaparral=!0,t["Charis SIL"]=!0,t.Cheltenham=!0,t["Cholla Slab"]=!0,t.Clarendon=!0,t.Clearface=!0,t.Cochin=!0,t.Colonna=!0,t["Computer Modern"]=!0,t["Concrete Roman"]=!0,t.Constantia=!0,t["Cooper Black"]=!0,t.Corona=!0,t.Ecotype=!0,t.Egyptienne=!0,t.Elephant=!0,t.Excelsior=!0,t.Fairfield=!0,t["FF Scala"]=!0,t.Folkard=!0,t.Footlight=!0,t.FreeSerif=!0,t["Friz Quadrata"]=!0,t.Garamond=!0,t.Gentium=!0,t.Georgia=!0,t.Gloucester=!0,t["Goudy Old Style"]=!0,t["Goudy Schoolbook"]=!0,t["Goudy Pro Font"]=!0,t.Granjon=!0,t["Guardian Egyptian"]=!0,t.Heather=!0,t.Hercules=!0,t["High Tower Text"]=!0,t.Hiroshige=!0,t["Hoefler Text"]=!0,t["Humana Serif"]=!0,t.Imprint=!0,t["Ionic No. 5"]=!0,t.Janson=!0,t.Joanna=!0,t.Korinna=!0,t.Lexicon=!0,t.LiberationSerif=!0,t["Liberation Serif"]=!0,t["Linux Libertine"]=!0,t.Literaturnaya=!0,t.Lucida=!0,t["Lucida Bright"]=!0,t.Melior=!0,t.Memphis=!0,t.Miller=!0,t.Minion=!0,t.Modern=!0,t["Mona Lisa"]=!0,t["Mrs Eaves"]=!0,t["MS Serif"]=!0,t["Museo Slab"]=!0,t["New York"]=!0,t["Nimbus Roman"]=!0,t["NPS Rawlinson Roadway"]=!0,t.NuptialScript=!0,t.Palatino=!0,t.Perpetua=!0,t.Plantin=!0,t["Plantin Schoolbook"]=!0,t.Playbill=!0,t["Poor Richard"]=!0,t["Rawlinson Roadway"]=!0,t.Renault=!0,t.Requiem=!0,t.Rockwell=!0,t.Roman=!0,t["Rotis Serif"]=!0,t.Sabon=!0,t.Scala=!0,t.Seagull=!0,t.Sistina=!0,t.Souvenir=!0,t.STIX=!0,t["Stone Informal"]=!0,t["Stone Serif"]=!0,t.Sylfaen=!0,t.Times=!0,t.Trajan=!0,t.Trinité=!0,t["Trump Mediaeval"]=!0,t.Utopia=!0,t["Vale Type"]=!0,t["Bitstream Vera"]=!0,t["Vera Serif"]=!0,t.Versailles=!0,t.Wanted=!0,t.Weiss=!0,t["Wide Latin"]=!0,t.Windsor=!0,t.XITS=!0}),Vd=Nt(function(t){t.Dingbats=!0,t.Symbol=!0,t.ZapfDingbats=!0,t.Wingdings=!0,t["Wingdings-Bold"]=!0,t["Wingdings-Regular"]=!0}),mg=Nt(function(t){t[2]=10,t[3]=32,t[4]=33,t[5]=34,t[6]=35,t[7]=36,t[8]=37,t[9]=38,t[10]=39,t[11]=40,t[12]=41,t[13]=42,t[14]=43,t[15]=44,t[16]=45,t[17]=46,t[18]=47,t[19]=48,t[20]=49,t[21]=50,t[22]=51,t[23]=52,t[24]=53,t[25]=54,t[26]=55,t[27]=56,t[28]=57,t[29]=58,t[30]=894,t[31]=60,t[32]=61,t[33]=62,t[34]=63,t[35]=64,t[36]=65,t[37]=66,t[38]=67,t[39]=68,t[40]=69,t[41]=70,t[42]=71,t[43]=72,t[44]=73,t[45]=74,t[46]=75,t[47]=76,t[48]=77,t[49]=78,t[50]=79,t[51]=80,t[52]=81,t[53]=82,t[54]=83,t[55]=84,t[56]=85,t[57]=86,t[58]=87,t[59]=88,t[60]=89,t[61]=90,t[62]=91,t[63]=92,t[64]=93,t[65]=94,t[66]=95,t[67]=96,t[68]=97,t[69]=98,t[70]=99,t[71]=100,t[72]=101,t[73]=102,t[74]=103,t[75]=104,t[76]=105,t[77]=106,t[78]=107,t[79]=108,t[80]=109,t[81]=110,t[82]=111,t[83]=112,t[84]=113,t[85]=114,t[86]=115,t[87]=116,t[88]=117,t[89]=118,t[90]=119,t[91]=120,t[92]=121,t[93]=122,t[94]=123,t[95]=124,t[96]=125,t[97]=126,t[98]=196,t[99]=197,t[100]=199,t[101]=201,t[102]=209,t[103]=214,t[104]=220,t[105]=225,t[106]=224,t[107]=226,t[108]=228,t[109]=227,t[110]=229,t[111]=231,t[112]=233,t[113]=232,t[114]=234,t[115]=235,t[116]=237,t[117]=236,t[118]=238,t[119]=239,t[120]=241,t[121]=243,t[122]=242,t[123]=244,t[124]=246,t[125]=245,t[126]=250,t[127]=249,t[128]=251,t[129]=252,t[130]=8224,t[131]=176,t[132]=162,t[133]=163,t[134]=167,t[135]=8226,t[136]=182,t[137]=223,t[138]=174,t[139]=169,t[140]=8482,t[141]=180,t[142]=168,t[143]=8800,t[144]=198,t[145]=216,t[146]=8734,t[147]=177,t[148]=8804,t[149]=8805,t[150]=165,t[151]=181,t[152]=8706,t[153]=8721,t[154]=8719,t[156]=8747,t[157]=170,t[158]=186,t[159]=8486,t[160]=230,t[161]=248,t[162]=191,t[163]=161,t[164]=172,t[165]=8730,t[166]=402,t[167]=8776,t[168]=8710,t[169]=171,t[170]=187,t[171]=8230,t[179]=8220,t[180]=8221,t[181]=8216,t[182]=8217,t[200]=193,t[203]=205,t[207]=211,t[210]=218,t[223]=711,t[224]=321,t[225]=322,t[226]=352,t[227]=353,t[228]=381,t[229]=382,t[233]=221,t[234]=253,t[252]=263,t[253]=268,t[254]=269,t[258]=258,t[260]=260,t[261]=261,t[265]=280,t[266]=281,t[267]=282,t[268]=283,t[269]=313,t[275]=323,t[276]=324,t[278]=328,t[283]=344,t[284]=345,t[285]=346,t[286]=347,t[292]=367,t[295]=377,t[296]=378,t[298]=380,t[305]=963,t[306]=964,t[307]=966,t[308]=8215,t[309]=8252,t[310]=8319,t[311]=8359,t[312]=8592,t[313]=8593,t[337]=9552,t[493]=1039,t[494]=1040,t[570]=1040,t[571]=1041,t[572]=1042,t[573]=1043,t[574]=1044,t[575]=1045,t[576]=1046,t[577]=1047,t[578]=1048,t[579]=1049,t[580]=1050,t[581]=1051,t[582]=1052,t[583]=1053,t[584]=1054,t[585]=1055,t[586]=1056,t[587]=1057,t[588]=1058,t[589]=1059,t[590]=1060,t[591]=1061,t[592]=1062,t[593]=1063,t[594]=1064,t[595]=1065,t[596]=1066,t[597]=1067,t[598]=1068,t[599]=1069,t[600]=1070,t[672]=1488,t[673]=1489,t[674]=1490,t[675]=1491,t[676]=1492,t[677]=1493,t[678]=1494,t[679]=1495,t[680]=1496,t[681]=1497,t[682]=1498,t[683]=1499,t[684]=1500,t[685]=1501,t[686]=1502,t[687]=1503,t[688]=1504,t[689]=1505,t[690]=1506,t[691]=1507,t[692]=1508,t[693]=1509,t[694]=1510,t[695]=1511,t[696]=1512,t[697]=1513,t[698]=1514,t[705]=1524,t[706]=8362,t[710]=64288,t[711]=64298,t[759]=1617,t[761]=1776,t[763]=1778,t[775]=1652,t[777]=1764,t[778]=1780,t[779]=1781,t[780]=1782,t[782]=771,t[783]=64726,t[786]=8363,t[788]=8532,t[790]=768,t[791]=769,t[792]=768,t[795]=803,t[797]=64336,t[798]=64337,t[799]=64342,t[800]=64343,t[801]=64344,t[802]=64345,t[803]=64362,t[804]=64363,t[805]=64364,t[2424]=7821,t[2425]=7822,t[2426]=7823,t[2427]=7824,t[2428]=7825,t[2429]=7826,t[2430]=7827,t[2433]=7682,t[2678]=8045,t[2679]=8046,t[2830]=1552,t[2838]=686,t[2840]=751,t[2842]=753,t[2843]=754,t[2844]=755,t[2846]=757,t[2856]=767,t[2857]=848,t[2858]=849,t[2862]=853,t[2863]=854,t[2864]=855,t[2865]=861,t[2866]=862,t[2906]=7460,t[2908]=7462,t[2909]=7463,t[2910]=7464,t[2912]=7466,t[2913]=7467,t[2914]=7468,t[2916]=7470,t[2917]=7471,t[2918]=7472,t[2920]=7474,t[2921]=7475,t[2922]=7476,t[2924]=7478,t[2925]=7479,t[2926]=7480,t[2928]=7482,t[2929]=7483,t[2930]=7484,t[2932]=7486,t[2933]=7487,t[2934]=7488,t[2936]=7490,t[2937]=7491,t[2938]=7492,t[2940]=7494,t[2941]=7495,t[2942]=7496,t[2944]=7498,t[2946]=7500,t[2948]=7502,t[2950]=7504,t[2951]=7505,t[2952]=7506,t[2954]=7508,t[2955]=7509,t[2956]=7510,t[2958]=7512,t[2959]=7513,t[2960]=7514,t[2962]=7516,t[2963]=7517,t[2964]=7518,t[2966]=7520,t[2967]=7521,t[2968]=7522,t[2970]=7524,t[2971]=7525,t[2972]=7526,t[2974]=7528,t[2975]=7529,t[2976]=7530,t[2978]=1537,t[2979]=1538,t[2980]=1539,t[2982]=1549,t[2983]=1551,t[2984]=1552,t[2986]=1554,t[2987]=1555,t[2988]=1556,t[2990]=1623,t[2991]=1624,t[2995]=1775,t[2999]=1791,t[3002]=64290,t[3003]=64291,t[3004]=64292,t[3006]=64294,t[3007]=64295,t[3008]=64296,t[3011]=1900,t[3014]=8223,t[3015]=8244,t[3017]=7532,t[3018]=7533,t[3019]=7534,t[3075]=7590,t[3076]=7591,t[3079]=7594,t[3080]=7595,t[3083]=7598,t[3084]=7599,t[3087]=7602,t[3088]=7603,t[3091]=7606,t[3092]=7607,t[3095]=7610,t[3096]=7611,t[3099]=7614,t[3100]=7615,t[3103]=7618,t[3104]=7619,t[3107]=8337,t[3108]=8338,t[3116]=1884,t[3119]=1885,t[3120]=1885,t[3123]=1886,t[3124]=1886,t[3127]=1887,t[3128]=1887,t[3131]=1888,t[3132]=1888,t[3135]=1889,t[3136]=1889,t[3139]=1890,t[3140]=1890,t[3143]=1891,t[3144]=1891,t[3147]=1892,t[3148]=1892,t[3153]=580,t[3154]=581,t[3157]=584,t[3158]=585,t[3161]=588,t[3162]=589,t[3165]=891,t[3166]=892,t[3169]=1274,t[3170]=1275,t[3173]=1278,t[3174]=1279,t[3181]=7622,t[3182]=7623,t[3282]=11799,t[3316]=578,t[3379]=42785,t[3393]=1159,t[3416]=8377}),rx=Nt(function(t){t[227]=322,t[264]=261,t[291]=346}),sx=Nt(function(t){t[1]=32,t[4]=65,t[5]=192,t[6]=193,t[9]=196,t[17]=66,t[18]=67,t[21]=268,t[24]=68,t[28]=69,t[29]=200,t[30]=201,t[32]=282,t[38]=70,t[39]=71,t[44]=72,t[47]=73,t[48]=204,t[49]=205,t[58]=74,t[60]=75,t[62]=76,t[68]=77,t[69]=78,t[75]=79,t[76]=210,t[80]=214,t[87]=80,t[89]=81,t[90]=82,t[92]=344,t[94]=83,t[97]=352,t[100]=84,t[104]=85,t[109]=220,t[115]=86,t[116]=87,t[121]=88,t[122]=89,t[124]=221,t[127]=90,t[129]=381,t[258]=97,t[259]=224,t[260]=225,t[263]=228,t[268]=261,t[271]=98,t[272]=99,t[273]=263,t[275]=269,t[282]=100,t[286]=101,t[287]=232,t[288]=233,t[290]=283,t[295]=281,t[296]=102,t[336]=103,t[346]=104,t[349]=105,t[350]=236,t[351]=237,t[361]=106,t[364]=107,t[367]=108,t[371]=322,t[373]=109,t[374]=110,t[381]=111,t[382]=242,t[383]=243,t[386]=246,t[393]=112,t[395]=113,t[396]=114,t[398]=345,t[400]=115,t[401]=347,t[403]=353,t[410]=116,t[437]=117,t[442]=252,t[448]=118,t[449]=119,t[454]=120,t[455]=121,t[457]=253,t[460]=122,t[462]=382,t[463]=380,t[853]=44,t[855]=58,t[856]=46,t[876]=47,t[878]=45,t[882]=45,t[894]=40,t[895]=41,t[896]=91,t[897]=93,t[923]=64,t[940]=163,t[1004]=48,t[1005]=49,t[1006]=50,t[1007]=51,t[1008]=52,t[1009]=53,t[1010]=54,t[1011]=55,t[1012]=56,t[1013]=57,t[1081]=37,t[1085]=43,t[1086]=45});function xg(t){const e=sc(t);return sf()[e]}function yg(t){const e=sc(t);return!!(sf()[e]||pg()[e]||Wd()[e]||Vd()[e])}class dc{constructor(e=[]){this._map=e}get length(){return this._map.length}forEach(e){for(const n in this._map)e(n,this._map[n].codePointAt(0))}has(e){return this._map[e]!==void 0}get(e){return this._map[e]}charCodeOf(e){const n=this._map;if(n.length<=65536)return n.indexOf(e);for(const i in n)if(n[i]===e)return i|0;return-1}amend(e){for(const n in e)this._map[n]=e[n]}}class Ta{constructor(e,n){this.firstChar=e,this.lastChar=n}get length(){return this.lastChar+1-this.firstChar}forEach(e){for(let n=this.firstChar,i=this.lastChar;n<=i;n++)e(n,n)}has(e){return this.firstChar<=e&&e<=this.lastChar}get(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}charCodeOf(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}amend(e){ht("Should not call amend()")}}class Kd{constructor(e,n){this.properties=n;const i=new $d(e,n,Zs);this.cff=i.parse(),this.cff.duplicateFirstGlyph();const r=new lc(this.cff);this.seacs=this.cff.seacs;try{this.data=r.compile()}catch{L("Failed to compile font "+n.loadedName),this.data=e}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const e=this.cff,n=this.properties,{cidToGidMap:i,cMap:r}=n,s=e.charset.charset;let o,a;if(n.composite){let f;if(i?.length>0){f=Object.create(null);for(let d=0,h=i.length;d<h;d++){const u=i[d];u!==void 0&&(f[u]=d)}}o=Object.create(null);let l;if(e.isCIDFont)for(a=0;a<s.length;a++){const d=s[a];l=r.charCodeOf(d),f?.[l]!==void 0&&(l=f[l]),o[l]=a}else for(a=0;a<e.charStrings.count;a++)l=r.charCodeOf(a),o[l]=a;return o}let c=e.encoding?e.encoding.encoding:null;return n.isInternalFont&&(c=n.defaultEncoding),o=lg(n,c,s),o}hasGlyphId(e){return this.cff.hasGlyphId(e)}_createBuiltInEncoding(){const{charset:e,encoding:n}=this.cff;if(!e||!n)return;const i=e.charset,r=n.encoding,s=[];for(const o in r){const a=r[o];if(a>=0){const c=i[a];c&&(s[o]=c)}}s.length>0&&(this.properties.builtInEncoding=s)}}function qr(t,e){return Ei(t,e)/16384}function Qd(t){const e=t.length;let n=32768;return e<1240?n=107:e<33900&&(n=1131),n}function ox(t,e,n){const i=ft(t,e+2)===1?jt(t,e+8):jt(t,e+16),r=ft(t,e+i);let s,o,a;if(r===4){ft(t,e+i+2);const c=ft(t,e+i+6)>>1;for(o=e+i+14,s=[],a=0;a<c;a++,o+=2)s[a]={end:ft(t,o)};for(o+=2,a=0;a<c;a++,o+=2)s[a].start=ft(t,o);for(a=0;a<c;a++,o+=2)s[a].idDelta=ft(t,o);for(a=0;a<c;a++,o+=2){let f=ft(t,o);if(f!==0){s[a].ids=[];for(let l=0,d=s[a].end-s[a].start+1;l<d;l++)s[a].ids[l]=ft(t,o+f),f+=2}}return s}else if(r===12){const c=jt(t,e+i+12);for(o=e+i+16,s=[],a=0;a<c;a++)e=jt(t,o),s.push({start:e,end:jt(t,o+4),idDelta:jt(t,o+8)-e}),o+=12;return s}throw new re(`unsupported cmap: ${r}`)}function cx(t,e,n,i){const r={},o=new $d(new qt(t,e,n-e),r,i).parse();return{glyphs:o.charStrings.objects,subrs:o.topDict.privateDict?.subrsIndex?.objects,gsubrs:o.globalSubrIndex?.objects,isCFFCIDFont:o.isCIDFont,fdSelect:o.fdSelect,fdArray:o.fdArray}}function fx(t,e,n){let i,r;n?(i=4,r=jt):(i=2,r=(a,c)=>2*ft(a,c));const s=[];let o=r(e,0);for(let a=i;a<e.length;a+=i){const c=r(e,a);s.push(t.subarray(o,c)),o=c}return s}function of(t,e){const n=e.codePointAt(0);let i=0,r=0,s=t.length-1;for(;r<s;){const o=r+s+1>>1;n<t[o].start?s=o-1:r=o}return t[r].start<=n&&n<=t[r].end&&(i=t[r].idDelta+(t[r].ids?t[r].ids[n-t[r].start]:n)&65535),{charCode:n,glyphId:i}}function wg(t,e,n){function i(h,u){f&&e.add("L",f),f=[h,u],e.add("M",[h,u])}function r(h,u){e.add("L",[h,u])}function s(h,u,g,p){e.add("Q",[h,u,g,p])}let o=0;const a=Ei(t,o);let c,f=null,l=0,d=0;if(o+=10,a<0)do{c=ft(t,o);const h=ft(t,o+2);o+=4;let u,g;c&1?(c&2?(u=Ei(t,o),g=Ei(t,o+2)):(u=ft(t,o),g=ft(t,o+2)),o+=4):c&2?(u=fi(t,o++),g=fi(t,o++)):(u=t[o++],g=t[o++]),c&2?(l=u,d=g):(l=0,d=0);let p=1,x=1,m=0,w=0;c&8?(p=x=qr(t,o),o+=2):c&64?(p=qr(t,o),x=qr(t,o+2),o+=4):c&128&&(p=qr(t,o),m=qr(t,o+2),w=qr(t,o+4),x=qr(t,o+6),o+=8);const O=n.glyphs[h];O&&(e.save(),e.transform([p,m,w,x,l,d]),wg(O,e,n),e.restore())}while(c&32);else{const h=[];let u,g;for(u=0;u<a;u++)h.push(ft(t,o)),o+=2;const p=ft(t,o);o+=2+p;const x=h.at(-1)+1,m=[];for(;m.length<x;){c=t[o++];let O=1;for(c&8&&(O+=t[o++]);O-- >0;)m.push({flags:c})}for(u=0;u<x;u++){switch(m[u].flags&18){case 0:l+=Ei(t,o),o+=2;break;case 2:l-=t[o++];break;case 18:l+=t[o++];break}m[u].x=l}for(u=0;u<x;u++){switch(m[u].flags&36){case 0:d+=Ei(t,o),o+=2;break;case 4:d-=t[o++];break;case 36:d+=t[o++];break}m[u].y=d}let w=0;for(o=0;o<a;o++){const O=h[o],k=m.slice(w,O+1);if(k[0].flags&1)k.push(k[0]);else if(k.at(-1).flags&1)k.unshift(k.at(-1));else{const E={flags:1,x:(k[0].x+k.at(-1).x)/2,y:(k[0].y+k.at(-1).y)/2};k.unshift(E),k.push(E)}for(i(k[0].x,k[0].y),u=1,g=k.length;u<g;u++)k[u].flags&1?r(k[u].x,k[u].y):k[u+1].flags&1?(s(k[u].x,k[u].y,k[u+1].x,k[u+1].y),u++):s(k[u].x,k[u].y,(k[u].x+k[u+1].x)/2,(k[u].y+k[u+1].y)/2);w=O+1}}}function Jd(t,e,n,i){function r(u,g){d&&e.add("L",d),d=[u,g],e.add("M",[u,g])}function s(u,g){e.add("L",[u,g])}function o(u,g,p,x,m,w){e.add("C",[u,g,p,x,m,w])}const a=[];let c=0,f=0,l=0,d=null;function h(u){let g=0;for(;g<u.length;){let p=!1,x=u[g++],m,w,O,k,E,D,v,S,C;switch(x){case 1:l+=a.length>>1,p=!0;break;case 3:l+=a.length>>1,p=!0;break;case 4:f+=a.pop(),r(c,f),p=!0;break;case 5:for(;a.length>0;)c+=a.shift(),f+=a.shift(),s(c,f);break;case 6:for(;a.length>0&&(c+=a.shift(),s(c,f),a.length!==0);)f+=a.shift(),s(c,f);break;case 7:for(;a.length>0&&(f+=a.shift(),s(c,f),a.length!==0);)c+=a.shift(),s(c,f);break;case 8:for(;a.length>0;)m=c+a.shift(),O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w+a.shift(),f=k+a.shift(),o(m,O,w,k,c,f);break;case 10:if(S=a.pop(),C=null,n.isCFFCIDFont){const R=n.fdSelect.getFDIndex(i);if(R>=0&&R<n.fdArray.length){const T=n.fdArray[R];let H;T.privateDict?.subrsIndex&&(H=T.privateDict.subrsIndex.objects),H&&(S+=Qd(H),C=H[S])}else L("Invalid fd index for glyph index.")}else C=n.subrs[S+n.subrsBias];C&&h(C);break;case 11:return;case 12:switch(x=u[g++],x){case 34:m=c+a.shift(),w=m+a.shift(),E=f+a.shift(),c=w+a.shift(),o(m,f,w,E,c,E),m=c+a.shift(),w=m+a.shift(),c=w+a.shift(),o(m,E,w,f,c,f);break;case 35:m=c+a.shift(),O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w+a.shift(),f=k+a.shift(),o(m,O,w,k,c,f),m=c+a.shift(),O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w+a.shift(),f=k+a.shift(),o(m,O,w,k,c,f),a.pop();break;case 36:m=c+a.shift(),E=f+a.shift(),w=m+a.shift(),D=E+a.shift(),c=w+a.shift(),o(m,E,w,D,c,D),m=c+a.shift(),w=m+a.shift(),v=D+a.shift(),c=w+a.shift(),o(m,D,w,v,c,f);break;case 37:const R=c,T=f;m=c+a.shift(),O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w+a.shift(),f=k+a.shift(),o(m,O,w,k,c,f),m=c+a.shift(),O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w,f=k,Math.abs(c-R)>Math.abs(f-T)?c+=a.shift():f+=a.shift(),o(m,O,w,k,c,f);break;default:throw new re(`unknown operator: 12 ${x}`)}break;case 14:if(a.length>=4){const R=a.pop(),T=a.pop();f=a.pop(),c=a.pop(),e.save(),e.translate(c,f);let H=of(n.cmap,String.fromCharCode(n.glyphNameMap[Ci[R]]));Jd(n.glyphs[H.glyphId],e,n,H.glyphId),e.restore(),H=of(n.cmap,String.fromCharCode(n.glyphNameMap[Ci[T]])),Jd(n.glyphs[H.glyphId],e,n,H.glyphId)}return;case 18:l+=a.length>>1,p=!0;break;case 19:l+=a.length>>1,g+=l+7>>3,p=!0;break;case 20:l+=a.length>>1,g+=l+7>>3,p=!0;break;case 21:f+=a.pop(),c+=a.pop(),r(c,f),p=!0;break;case 22:c+=a.pop(),r(c,f),p=!0;break;case 23:l+=a.length>>1,p=!0;break;case 24:for(;a.length>2;)m=c+a.shift(),O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w+a.shift(),f=k+a.shift(),o(m,O,w,k,c,f);c+=a.shift(),f+=a.shift(),s(c,f);break;case 25:for(;a.length>6;)c+=a.shift(),f+=a.shift(),s(c,f);m=c+a.shift(),O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w+a.shift(),f=k+a.shift(),o(m,O,w,k,c,f);break;case 26:for(a.length%2&&(c+=a.shift());a.length>0;)m=c,O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w,f=k+a.shift(),o(m,O,w,k,c,f);break;case 27:for(a.length%2&&(f+=a.shift());a.length>0;)m=c+a.shift(),O=f,w=m+a.shift(),k=O+a.shift(),c=w+a.shift(),f=k,o(m,O,w,k,c,f);break;case 28:a.push(Ei(u,g)),g+=2;break;case 29:S=a.pop()+n.gsubrsBias,C=n.gsubrs[S],C&&h(C);break;case 30:for(;a.length>0&&(m=c,O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w+a.shift(),f=k+(a.length===1?a.shift():0),o(m,O,w,k,c,f),a.length!==0);)m=c+a.shift(),O=f,w=m+a.shift(),k=O+a.shift(),f=k+a.shift(),c=w+(a.length===1?a.shift():0),o(m,O,w,k,c,f);break;case 31:for(;a.length>0&&(m=c+a.shift(),O=f,w=m+a.shift(),k=O+a.shift(),f=k+a.shift(),c=w+(a.length===1?a.shift():0),o(m,O,w,k,c,f),a.length!==0);)m=c,O=f+a.shift(),w=m+a.shift(),k=O+a.shift(),c=w+a.shift(),f=k+(a.length===1?a.shift():0),o(m,O,w,k,c,f);break;default:if(x<32)throw new re(`unknown operator: ${x}`);x<247?a.push(x-139):x<251?a.push((x-247)*256+u[g++]+108):x<255?a.push(-(x-251)*256-u[g++]-108):(a.push((u[g]<<24|u[g+1]<<16|u[g+2]<<8|u[g+3])/65536),g+=4);break}p&&(a.length=0)}}h(t)}const _g="";class lx{cmds=[];transformStack=[];currentTransform=[1,0,0,1,0,0];add(e,n){if(n){const{currentTransform:i}=this;for(let r=0,s=n.length;r<s;r+=2)wt.applyTransform(n,i,r);this.cmds.push(`${e}${n.join(" ")}`)}else this.cmds.push(e)}transform(e){this.currentTransform=wt.transform(this.currentTransform,e)}translate(e,n){this.transform([1,0,0,1,e,n])}save(){this.transformStack.push(this.currentTransform.slice())}restore(){this.currentTransform=this.transformStack.pop()||[1,0,0,1,0,0]}getSVG(){return this.cmds.join("")}}class Og{constructor(e){this.fontMatrix=e,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}getPathJs(e){const{charCode:n,glyphId:i}=of(this.cmap,e);let r=this.compiledGlyphs[i],s;if(r===void 0){try{r=this.compileGlyph(this.glyphs[i],i)}catch(o){r=_g,s=o}this.compiledGlyphs[i]=r}if(this.compiledCharCodeToGlyphId[n]??=i,s)throw s;return r}compileGlyph(e,n){if(!e?.length||e[0]===14)return _g;let i=this.fontMatrix;if(this.isCFFCIDFont){const s=this.fdSelect.getFDIndex(n);s>=0&&s<this.fdArray.length?i=this.fdArray[s].getByName("FontMatrix")||Nr:L("Invalid fd index for glyph index.")}On(Qn(i,6),"Expected a valid fontMatrix.");const r=new lx;return r.transform(i.slice()),this.compileGlyphImpl(e,r,n),r.add("Z"),r.getSVG()}compileGlyphImpl(){ht("Children classes should implement this.")}hasBuiltPath(e){const{charCode:n,glyphId:i}=of(this.cmap,e);return this.compiledGlyphs[i]!==void 0&&this.compiledCharCodeToGlyphId[n]!==void 0}}class dx extends Og{constructor(e,n,i){super(i||[488e-6,0,0,488e-6,0,0]),this.glyphs=e,this.cmap=n}compileGlyphImpl(e,n){wg(e,n,this)}}class hx extends Og{constructor(e,n,i){super(i||[.001,0,0,.001,0,0]),this.glyphs=e.glyphs,this.gsubrs=e.gsubrs||[],this.subrs=e.subrs||[],this.cmap=n,this.glyphNameMap=li(),this.gsubrsBias=Qd(this.gsubrs),this.subrsBias=Qd(this.subrs),this.isCFFCIDFont=e.isCFFCIDFont,this.fdSelect=e.fdSelect,this.fdArray=e.fdArray}compileGlyphImpl(e,n,i){Jd(e,n,this,i)}}class ux{static create(e,n){const i=new Uint8Array(e.data);let r,s,o,a,c,f;const l=ft(i,4);for(let d=0,h=12;d<l;d++,h+=16){const u=la(i.subarray(h,h+4)),g=jt(i,h+8),p=jt(i,h+12);switch(u){case"cmap":r=ox(i,g);break;case"glyf":s=i.subarray(g,g+p);break;case"loca":o=i.subarray(g,g+p);break;case"head":f=ft(i,g+18),c=ft(i,g+50);break;case"CFF ":a=cx(i,g,g+p,n);break}}if(s){const d=f?[1/f,0,0,1/f,0,0]:e.fontMatrix;return new dx(fx(s,o,c),r,d)}return new hx(a,r,e.fontMatrix)}}const bx=Nt(function(t){t.Courier=600,t["Courier-Bold"]=600,t["Courier-BoldOblique"]=600,t["Courier-Oblique"]=600,t.Helvetica=Nt(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),t["Helvetica-Bold"]=Nt(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),t["Helvetica-BoldOblique"]=Nt(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),t["Helvetica-Oblique"]=Nt(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),t.Symbol=Nt(function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790}),t["Times-Roman"]=Nt(function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),t["Times-Bold"]=Nt(function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),t["Times-BoldItalic"]=Nt(function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),t["Times-Italic"]=Nt(function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),t.ZapfDingbats=Nt(function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918})}),gx=Nt(function(t){t.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},t["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},t["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},t["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},t.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},t["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},t["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},t["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},t["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},t["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},t["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},t["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},t.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},t.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}}),px=1<<0,cf=1<<1,ff=1<<2,kg=1<<3,hc=1<<4,uc=1<<5,mx=1<<6,bc=1<<0,lf=1<<1,xx=1<<3,yx=1<<5,wx=1<<6,_x=1<<7,eh=1<<8;class Ox{constructor({glyfTable:e,isGlyphLocationsLong:n,locaTable:i,numGlyphs:r}){this.glyphs=[];const s=new DataView(i.buffer,i.byteOffset,i.byteLength),o=new DataView(e.buffer,e.byteOffset,e.byteLength),a=n?4:2;let c=n?s.getUint32(0):2*s.getUint16(0),f=0;for(let l=0;l<r;l++){f+=a;const d=n?s.getUint32(f):2*s.getUint16(f);if(d===c){this.glyphs.push(new gc({}));continue}const h=gc.parse(c,o);this.glyphs.push(h),c=d}}getSize(){return Math.sumPrecise(this.glyphs.map(e=>e.getSize()+3&-4))}write(){const e=this.getSize(),n=new DataView(new ArrayBuffer(e)),i=e>131070,r=i?4:2,s=new DataView(new ArrayBuffer((this.glyphs.length+1)*r));i?s.setUint32(0,0):s.setUint16(0,0);let o=0,a=0;for(const c of this.glyphs)o+=c.write(o,n),o=o+3&-4,a+=r,i?s.setUint32(a,o):s.setUint16(a,o>>1);return{isLocationLong:i,loca:new Uint8Array(s.buffer),glyf:new Uint8Array(n.buffer)}}scale(e){for(let n=0,i=this.glyphs.length;n<i;n++)this.glyphs[n].scale(e[n])}}class gc{constructor({header:e=null,simple:n=null,composites:i=null}){this.header=e,this.simple=n,this.composites=i}static parse(e,n){const[i,r]=th.parse(e,n);if(e+=i,r.numberOfContours<0){const o=[];for(;;){const[a,c]=ah.parse(e,n);if(e+=a,o.push(c),!(c.flags&yx))break}return new gc({header:r,composites:o})}const s=nh.parse(e,n,r.numberOfContours);return new gc({header:r,simple:s})}getSize(){if(!this.header)return 0;const e=this.simple?this.simple.getSize():Math.sumPrecise(this.composites.map(n=>n.getSize()));return this.header.getSize()+e}write(e,n){if(!this.header)return 0;const i=e;if(e+=this.header.write(e,n),this.simple)e+=this.simple.write(e,n);else for(const r of this.composites)e+=r.write(e,n);return e-i}scale(e){if(!this.header)return;const n=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(n,e),this.simple)this.simple.scale(n,e);else for(const i of this.composites)i.scale(n,e)}}class th{constructor({numberOfContours:e,xMin:n,yMin:i,xMax:r,yMax:s}){this.numberOfContours=e,this.xMin=n,this.yMin=i,this.xMax=r,this.yMax=s}static parse(e,n){return[10,new th({numberOfContours:n.getInt16(e),xMin:n.getInt16(e+2),yMin:n.getInt16(e+4),xMax:n.getInt16(e+6),yMax:n.getInt16(e+8)})]}getSize(){return 10}write(e,n){return n.setInt16(e,this.numberOfContours),n.setInt16(e+2,this.xMin),n.setInt16(e+4,this.yMin),n.setInt16(e+6,this.xMax),n.setInt16(e+8,this.yMax),10}scale(e,n){this.xMin=Math.round(e+(this.xMin-e)*n),this.xMax=Math.round(e+(this.xMax-e)*n)}}class kx{constructor({flags:e,xCoordinates:n,yCoordinates:i}){this.xCoordinates=n,this.yCoordinates=i,this.flags=e}}class nh{constructor({contours:e,instructions:n}){this.contours=e,this.instructions=n}static parse(e,n,i){const r=[];for(let x=0;x<i;x++){const m=n.getUint16(e);e+=2,r.push(m)}const s=r[i-1]+1,o=n.getUint16(e);e+=2;const a=new Uint8Array(n).slice(e,e+o);e+=o;const c=[];for(let x=0;x<s;e++,x++){let m=n.getUint8(e);if(c.push(m),m&kg){const w=n.getUint8(++e);m^=kg;for(let O=0;O<w;O++)c.push(m);x+=w}}const f=[];let l=[],d=[],h=[];const u=[];let g=0,p=0;for(let x=0;x<s;x++){const m=c[x];if(m&cf){const w=n.getUint8(e++);p+=m&hc?w:-w,l.push(p)}else m&hc||(p+=n.getInt16(e),e+=2),l.push(p);r[g]===x&&(g++,f.push(l),l=[])}p=0,g=0;for(let x=0;x<s;x++){const m=c[x];if(m&ff){const w=n.getUint8(e++);p+=m&uc?w:-w,d.push(p)}else m&uc||(p+=n.getInt16(e),e+=2),d.push(p);h.push(m&px|m&mx),r[g]===x&&(l=f[g],g++,u.push(new kx({flags:h,xCoordinates:l,yCoordinates:d})),d=[],h=[])}return new nh({contours:u,instructions:a})}getSize(){let e=this.contours.length*2+2+this.instructions.length,n=0,i=0;for(const r of this.contours){e+=r.flags.length;for(let s=0,o=r.xCoordinates.length;s<o;s++){const a=r.xCoordinates[s],c=r.yCoordinates[s];let f=Math.abs(a-n);f>255?e+=2:f>0&&(e+=1),n=a,f=Math.abs(c-i),f>255?e+=2:f>0&&(e+=1),i=c}}return e}write(e,n){const i=e,r=[],s=[],o=[];let a=0,c=0;for(const f of this.contours){for(let l=0,d=f.xCoordinates.length;l<d;l++){let h=f.flags[l];const u=f.xCoordinates[l];let g=u-a;if(g===0)h|=hc,r.push(0);else{const x=Math.abs(g);x<=255?(h|=g>=0?cf|hc:cf,r.push(x)):r.push(g)}a=u;const p=f.yCoordinates[l];if(g=p-c,g===0)h|=uc,s.push(0);else{const x=Math.abs(g);x<=255?(h|=g>=0?ff|uc:ff,s.push(x)):s.push(g)}c=p,o.push(h)}n.setUint16(e,r.length-1),e+=2}n.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(n.buffer,0,n.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length);for(const f of o)n.setUint8(e++,f);for(let f=0,l=r.length;f<l;f++){const d=r[f],h=o[f];h&cf?n.setUint8(e++,d):h&hc||(n.setInt16(e,d),e+=2)}for(let f=0,l=s.length;f<l;f++){const d=s[f],h=o[f];h&ff?n.setUint8(e++,d):h&uc||(n.setInt16(e,d),e+=2)}return e-i}scale(e,n){for(const i of this.contours)if(i.xCoordinates.length!==0)for(let r=0,s=i.xCoordinates.length;r<s;r++)i.xCoordinates[r]=Math.round(e+(i.xCoordinates[r]-e)*n)}}class ah{constructor({flags:e,glyphIndex:n,argument1:i,argument2:r,transf:s,instructions:o}){this.flags=e,this.glyphIndex=n,this.argument1=i,this.argument2=r,this.transf=s,this.instructions=o}static parse(e,n){const i=e,r=[];let s=n.getUint16(e);const o=n.getUint16(e+2);e+=4;let a,c;s&bc?(s&lf?(a=n.getInt16(e),c=n.getInt16(e+2)):(a=n.getUint16(e),c=n.getUint16(e+2)),e+=4,s^=bc):(s&lf?(a=n.getInt8(e),c=n.getInt8(e+1)):(a=n.getUint8(e),c=n.getUint8(e+1)),e+=2),s&xx?(r.push(n.getUint16(e)),e+=2):s&wx?(r.push(n.getUint16(e),n.getUint16(e+2)),e+=4):s&_x&&(r.push(n.getUint16(e),n.getUint16(e+2),n.getUint16(e+4),n.getUint16(e+6)),e+=8);let f=null;if(s&eh){const l=n.getUint16(e);e+=2,f=new Uint8Array(n).slice(e,e+l),e+=l}return[e-i,new ah({flags:s,glyphIndex:o,argument1:a,argument2:c,transf:r,instructions:f})]}getSize(){let e=4+this.transf.length*2;return this.flags&eh&&(e+=2+this.instructions.length),e+=2,this.flags&2?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(e+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(e+=2),e}write(e,n){const i=e;return this.flags&lf?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=bc):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=bc),n.setUint16(e,this.flags),n.setUint16(e+2,this.glyphIndex),e+=4,this.flags&bc?(this.flags&lf?(n.setInt16(e,this.argument1),n.setInt16(e+2,this.argument2)):(n.setUint16(e,this.argument1),n.setUint16(e+2,this.argument2)),e+=4):(n.setUint8(e,this.argument1),n.setUint8(e+1,this.argument2),e+=2),this.flags&eh&&(n.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(n.buffer,0,n.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length)),e-i}scale(e,n){}}function df(t,e,n){t[e]=n>>8&255,t[e+1]=n&255}function ih(t,e,n){t[e]=n>>24&255,t[e+1]=n>>16&255,t[e+2]=n>>8&255,t[e+3]=n&255}function Px(t,e,n){if(n instanceof Uint8Array)t.set(n,e);else if(typeof n=="string")for(let i=0,r=n.length;i<r;i++)t[e++]=n.charCodeAt(i)&255;else for(const i of n)t[e++]=i&255}const Pg=12,vg=16;class pc{constructor(e){this.sfnt=e,this.tables=Object.create(null)}static getSearchParams(e,n){let i=1,r=0;for(;(i^e)>i;)i<<=1,r++;const s=i*n;return{range:s,entry:r,rangeShift:n*e-s}}toArray(){let e=this.sfnt;const n=this.tables,i=Object.keys(n);i.sort();const r=i.length;let s,o,a,c,f,l=Pg+r*vg;const d=[l];for(s=0;s<r;s++){c=n[i[s]];const g=(c.length+3&-4)>>>0;l+=g,d.push(l)}const h=new Uint8Array(l);for(s=0;s<r;s++)c=n[i[s]],Px(h,d[s],c);e==="true"&&(e=Cn(65536)),h[0]=e.charCodeAt(0)&255,h[1]=e.charCodeAt(1)&255,h[2]=e.charCodeAt(2)&255,h[3]=e.charCodeAt(3)&255,df(h,4,r);const u=pc.getSearchParams(r,16);for(df(h,6,u.range),df(h,8,u.entry),df(h,10,u.rangeShift),l=Pg,s=0;s<r;s++){f=i[s],h[l]=f.charCodeAt(0)&255,h[l+1]=f.charCodeAt(1)&255,h[l+2]=f.charCodeAt(2)&255,h[l+3]=f.charCodeAt(3)&255;let g=0;for(o=d[s],a=d[s+1];o<a;o+=4){const p=jt(h,o);g=g+p>>>0}ih(h,l+4,g),ih(h,l+8,d[s]),ih(h,l+12,n[f].length),l+=vg}return h}addTable(e,n){if(e in this.tables)throw new Error("Table "+e+" already exists");this.tables[e]=n}}const vx=!1,aa={hstem:[1],vstem:[3],vmoveto:[4],rlineto:[5],hlineto:[6],vlineto:[7],rrcurveto:[8],callsubr:[10],flex:[12,35],drop:[12,18],endchar:[14],rmoveto:[21],hmoveto:[22],vhcurveto:[30],hvcurveto:[31]};class Ax{constructor(){this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}convert(e,n,i){const r=e.length;let s=!1,o,a,c;for(let f=0;f<r;f++){let l=e[f];if(l<32){switch(l===12&&(l=(l<<8)+e[++f]),l){case 1:{this.stack=[];break}case 3:{this.stack=[];break}case 4:if(this.flexing){if(this.stack.length<1){s=!0;break}const p=this.stack.pop();this.stack.push(0,p);break}s=this.executeCommand(1,aa.vmoveto);break;case 5:s=this.executeCommand(2,aa.rlineto);break;case 6:s=this.executeCommand(1,aa.hlineto);break;case 7:s=this.executeCommand(1,aa.vlineto);break;case 8:s=this.executeCommand(6,aa.rrcurveto);break;case 9:this.stack=[];break;case 10:if(this.stack.length<1){s=!0;break}if(c=this.stack.pop(),!n[c]){s=!0;break}s=this.convert(n[c],n,i);break;case 11:return s;case 13:if(this.stack.length<2){s=!0;break}o=this.stack.pop(),a=this.stack.pop(),this.lsb=a,this.width=o,this.stack.push(o,a),s=this.executeCommand(2,aa.hmoveto);break;case 14:this.output.push(aa.endchar[0]);break;case 21:if(this.flexing)break;s=this.executeCommand(2,aa.rmoveto);break;case 22:if(this.flexing){this.stack.push(0);break}s=this.executeCommand(1,aa.hmoveto);break;case 30:s=this.executeCommand(4,aa.vhcurveto);break;case 31:s=this.executeCommand(4,aa.hvcurveto);break;case(12<<8)+0:this.stack=[];break;case(12<<8)+1:{this.stack=[];break}case(12<<8)+2:{this.stack=[];break}case(12<<8)+6:if(i){const p=this.stack.at(-5);this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-p,s=this.executeCommand(0,aa.endchar)}else s=this.executeCommand(4,aa.endchar);break;case(12<<8)+7:if(this.stack.length<4){s=!0;break}this.stack.pop(),o=this.stack.pop();const d=this.stack.pop();a=this.stack.pop(),this.lsb=a,this.width=o,this.stack.push(o,a,d),s=this.executeCommand(3,aa.rmoveto);break;case(12<<8)+12:if(this.stack.length<2){s=!0;break}const h=this.stack.pop(),u=this.stack.pop();this.stack.push(u/h);break;case(12<<8)+16:if(this.stack.length<2){s=!0;break}c=this.stack.pop();const g=this.stack.pop();if(c===0&&g===3){const p=this.stack.splice(-17,17);this.stack.push(p[2]+p[0],p[3]+p[1],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14]),s=this.executeCommand(13,aa.flex,!0),this.flexing=!1,this.stack.push(p[15],p[16])}else c===1&&g===0&&(this.flexing=!0);break;case(12<<8)+17:break;case(12<<8)+33:this.stack=[];break;default:L('Unknown type 1 charstring command of "'+l+'"');break}if(s)break;continue}else l<=246?l-=139:l<=250?l=(l-247)*256+e[++f]+108:l<=254?l=-((l-251)*256)-e[++f]-108:l=(e[++f]&255)<<24|(e[++f]&255)<<16|(e[++f]&255)<<8|(e[++f]&255)<<0;this.stack.push(l)}return s}executeCommand(e,n,i){const r=this.stack.length;if(e>r)return!0;const s=r-e;for(let o=s;o<r;o++){let a=this.stack[o];Number.isInteger(a)?this.output.push(28,a>>8&255,a&255):(a=65536*a|0,this.output.push(255,a>>24&255,a>>16&255,a>>8&255,a&255))}return this.output.push(...n),i?this.stack.splice(s,e):this.stack.length=0,!1}}const Ag=55665,Ex=4330;function di(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function Eg(t,e,n){if(n>=t.length)return new Uint8Array(0);const i=52845,r=22719;let s=e|0,o,a;for(o=0;o<n;o++)s=(t[o]+s)*i+r&(1<<16)-1;const c=t.length-n,f=new Uint8Array(c);for(o=n,a=0;a<c;o++,a++){const l=t[o];f[a]=l^s>>8,s=(l+s)*i+r&(1<<16)-1}return f}function jx(t,e,n){let s=e|0;const o=t.length,a=o>>>1,c=new Uint8Array(a);let f,l;for(f=0,l=0;f<o;f++){const d=t[f];if(!di(d))continue;f++;let h;for(;f<o&&!di(h=t[f]);)f++;if(f<o){const u=parseInt(String.fromCharCode(d,h),16);c[l++]=u^s>>8,s=(u+s)*52845+22719&(1<<16)-1}}return c.slice(n,l)}function jg(t){return t===47||t===91||t===93||t===123||t===125||t===40||t===41}class Dg{constructor(e,n,i){if(n){const r=e.getBytes(),s=!((di(r[0])||wa(r[0]))&&di(r[1])&&di(r[2])&&di(r[3])&&di(r[4])&&di(r[5])&&di(r[6])&&di(r[7]));e=new qt(s?Eg(r,Ag,4):jx(r,Ag,4))}this.seacAnalysisEnabled=!!i,this.stream=e,this.nextChar()}readNumberArray(){this.getToken();const e=[];for(;;){const n=this.getToken();if(n===null||n==="]"||n==="}")break;e.push(parseFloat(n||0))}return e}readNumber(){const e=this.getToken();return parseFloat(e||0)}readInt(){const e=this.getToken();return parseInt(e||0,10)|0}readBoolean(){return this.getToken()==="true"?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}getToken(){let e=!1,n=this.currentChar;for(;;){if(n===-1)return null;if(e)(n===10||n===13)&&(e=!1);else if(n===37)e=!0;else if(!wa(n))break;n=this.nextChar()}if(jg(n))return this.nextChar(),String.fromCharCode(n);let i="";do i+=String.fromCharCode(n),n=this.nextChar();while(n>=0&&!wa(n)&&!jg(n));return i}readCharStrings(e,n){return n===-1?e:Eg(e,Ex,n)}extractFontProgram(e){const n=this.stream,i=[],r=[],s=Object.create(null);s.lenIV=4;const o={subrs:[],charstrings:[],properties:{privateData:s}};let a,c,f,l;for(;(a=this.getToken())!==null;)if(a==="/")switch(a=this.getToken(),a){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();a=this.getToken(),!(a===null||a==="end");){if(a!=="/")continue;const h=this.getToken();c=this.readInt(),this.getToken(),f=c>0?n.getBytes(c):new Uint8Array(0),l=o.properties.privateData.lenIV;const u=this.readCharStrings(f,l);this.nextChar(),a=this.getToken(),a==="noaccess"?this.getToken():a==="/"&&this.prevChar(),r.push({glyph:h,encoded:u})}break;case"Subrs":for(this.readInt(),this.getToken();this.getToken()==="dup";){const h=this.readInt();c=this.readInt(),this.getToken(),f=c>0?n.getBytes(c):new Uint8Array(0),l=o.properties.privateData.lenIV;const u=this.readCharStrings(f,l);this.nextChar(),a=this.getToken(),a==="noaccess"&&this.getToken(),i[h]=u}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const d=this.readNumberArray();d.length>0&&d.length%2===0&&vx&&(o.properties.privateData[a]=d);break;case"StemSnapH":case"StemSnapV":o.properties.privateData[a]=this.readNumberArray();break;case"StdHW":case"StdVW":o.properties.privateData[a]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":o.properties.privateData[a]=this.readNumber();break;case"ExpansionFactor":o.properties.privateData[a]=this.readNumber()||.06;break;case"ForceBold":o.properties.privateData[a]=this.readBoolean();break}for(const{encoded:d,glyph:h}of r){const u=new Ax,g=u.convert(d,i,this.seacAnalysisEnabled);let p=u.output;g&&(p=[14]);const x={glyphName:h,charstring:p,width:u.width,lsb:u.lsb,seac:u.seac};if(h===".notdef"?o.charstrings.unshift(x):o.charstrings.push(x),e.builtInEncoding){const m=e.builtInEncoding.indexOf(h);m>-1&&e.widths[m]===void 0&&m>=e.firstChar&&m<=e.lastChar&&(e.widths[m]=u.width)}}return o}extractFontHeader(e){let n;for(;(n=this.getToken())!==null;)if(n==="/")switch(n=this.getToken(),n){case"FontMatrix":const i=this.readNumberArray();e.fontMatrix=i;break;case"Encoding":const r=this.getToken();let s;if(!/^\d+$/.test(r))s=rc(r);else{s=[];const a=parseInt(r,10)|0;this.getToken();for(let c=0;c<a;c++){for(n=this.getToken();n!=="dup"&&n!=="def";)if(n=this.getToken(),n===null)return;if(n==="def")break;const f=this.readInt();this.getToken();const l=this.getToken();s[f]=l,this.getToken()}}e.builtInEncoding=s;break;case"FontBBox":const o=this.readNumberArray();e.ascent=Math.max(o[3],o[1]),e.descent=Math.min(o[1],o[3]),e.ascentScaled=!0;break}}}function Ig(t,e,n){const i=t.length,r=e.length,s=i-r;let o=n,a=!1;for(;o<s;){let c=0;for(;c<r&&t[o+c]===e[c];)c++;if(c>=r){for(o+=c;o<i&&wa(t[o]);)o++;a=!0;break}o++}return{found:a,length:o}}function Dx(t,e){const n=[101,101,120,101,99],i=t.pos;let r,s,o;try{r=t.getBytes(e),s=r.length}catch{}if(s===e&&(o=Ig(r,n,e-2*n.length),o.found&&o.length===e))return{stream:new qt(r),length:e};L('Invalid "Length1" property in Type1 font -- trying to recover.'),t.pos=i;const a=2048;let c;for(;;){const f=t.peekBytes(a);if(o=Ig(f,n,0),o.length===0)break;if(t.pos+=o.length,o.found){c=t.pos-i;break}}return t.pos=i,c?{stream:new qt(t.getBytes(c)),length:c}:(L('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new qt(t.getBytes(e)),length:e})}function Ix(t,e){const n=t.getBytes();if(n.length===0)throw new re("getEexecBlock - no font program found.");return{stream:new qt(n),length:n.length}}class Sx{constructor(e,n,i){let s=i.length1;i.length2;let o=n.peekBytes(6);const a=o[0]===128&&o[1]===1;a&&(n.skip(6),s=o[5]<<24|o[4]<<16|o[3]<<8|o[2]);const c=Dx(n,s);new Dg(c.stream,!1,Zs).extractFontHeader(i),a&&(o=n.getBytes(6),o[5]<<24|o[4]<<16|o[3]<<8|o[2]);const l=Ix(n),h=new Dg(l.stream,!0,Zs).extractFontProgram(i);for(const x in h.properties)i[x]=h.properties[x];const u=h.charstrings,g=this.getType2Charstrings(u),p=this.getType2Subrs(h.subrs);this.charstrings=u,this.data=this.wrap(e,g,this.charstrings,p,i),this.seacs=this.getSeacs(h.charstrings)}get numGlyphs(){return this.charstrings.length+1}getCharset(){const e=[".notdef"];for(const{glyphName:n}of this.charstrings)e.push(n);return e}getGlyphMapping(e){const n=this.charstrings;if(e.composite){const a=Object.create(null);for(let c=0,f=n.length;c<f;c++){const l=e.cMap.charCodeOf(c);a[l]=c+1}return a}const i=[".notdef"];let r,s;for(s=0;s<n.length;s++)i.push(n[s].glyphName);const o=e.builtInEncoding;if(o){r=Object.create(null);for(const a in o)s=i.indexOf(o[a]),s>=0&&(r[a]=s)}return lg(e,r,i)}hasGlyphId(e){return e<0||e>=this.numGlyphs?!1:e===0?!0:this.charstrings[e-1].charstring.length>0}getSeacs(e){const n=[];for(let i=0,r=e.length;i<r;i++){const s=e[i];s.seac&&(n[i+1]=s.seac)}return n}getType2Charstrings(e){const n=[];for(const i of e)n.push(i.charstring);return n}getType2Subrs(e){let n=0;const i=e.length;i<1133?n=107:i<33769?n=1131:n=32768;const r=[];let s;for(s=0;s<n;s++)r.push([11]);for(s=0;s<i;s++)r.push(e[s]);return r}wrap(e,n,i,r,s){const o=new hg;o.header=new ug(1,0,4,4),o.names=[e];const a=new oc;a.setByName("version",391),a.setByName("Notice",392),a.setByName("FullName",393),a.setByName("FamilyName",394),a.setByName("Weight",395),a.setByName("Encoding",null),a.setByName("FontMatrix",s.fontMatrix),a.setByName("FontBBox",s.bbox),a.setByName("charset",null),a.setByName("CharStrings",null),a.setByName("Private",null),o.topDict=a;const c=new Gd;c.add("Version 0.11"),c.add("See original notice"),c.add(e),c.add(e),c.add("Medium"),o.strings=c,o.globalSubrIndex=new cr;const f=n.length,l=[".notdef"];let d,h;for(d=0;d<f;d++){const w=i[d].glyphName;af.indexOf(w)===-1&&c.add(w),l.push(w)}o.charset=new fc(!1,0,l);const u=new cr;for(u.add([139,14]),d=0;d<f;d++)u.add(n[d]);o.charStrings=u;const g=new cc;g.setByName("Subrs",null);const p=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(d=0,h=p.length;d<h;d++){const w=p[d];if(!(w in s.privateData))continue;const O=s.privateData[w];if(Array.isArray(O))for(let k=O.length-1;k>0;k--)O[k]-=O[k-1];g.setByName(w,O)}o.topDict.privateDict=g;const x=new cr;for(d=0,h=r.length;d<h;d++)x.add(r[d]);return g.subrsIndex=x,new lc(o).compile()}}const Ri=[[57344,63743],[1048576,1114109]],$r=1e3,Sg=["ascent","bbox","black","bold","charProcOperatorList","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","disableFontFace","fallbackName","fontExtraProperties","fontMatrix","isInvalidPDFjsFont","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","systemFontInfo","vertical"],Cx=["cMap","composite","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","subtype","toFontChar","toUnicode","type","vmetrics","widths"];function Cg(t){if(!t.fontMatrix||t.fontMatrix[0]===Nr[0])return;const e=.001/t.fontMatrix[0],n=t.widths;for(const i in n)n[i]*=e;t.defaultWidth*=e}function Rx(t,e,n){if(t.isInternalFont||t.hasIncludedToUnicodeMap||t.hasEncoding||t.toUnicode instanceof Ta||!e||n.length===0||t.defaultEncoding===ic)return;for(const o of n)if(!Ug(o))return;const i=ic,r=[],s=li();for(const o in i){const a=i[o];if(a==="")continue;const c=s[a];c!==void 0&&(r[o]=String.fromCharCode(c))}r.length>0&&t.toUnicode.amend(r)}function Mx(t,e){if(t.isInternalFont||t.hasIncludedToUnicodeMap||e===t.defaultEncoding||t.toUnicode instanceof Ta)return;const n=[],i=li();for(const r in e){if(t.hasEncoding&&(t.baseEncodingName||t.differences[r]!==void 0))continue;const s=e[r],o=Hs(s,i);o!==-1&&(n[r]=String.fromCharCode(o))}n.length>0&&t.toUnicode.amend(n)}function Rg(t){if(!t.fallbackToUnicode||t.toUnicode instanceof Ta)return;const e=[];for(const n in t.fallbackToUnicode)t.toUnicode.has(n)||(e[n]=t.fallbackToUnicode[n]);e.length>0&&t.toUnicode.amend(e)}class Ux{constructor(e,n,i,r,s,o,a,c,f){this.originalCharCode=e,this.fontChar=n,this.unicode=i,this.accent=r,this.width=s,this.vmetric=o,this.operatorListId=a,this.isSpace=c,this.isInFont=f}get category(){return ge(this,"category",qm(this.unicode),!0)}}function Gr(t,e){return(t<<8)+e}function mc(t,e,n){t[e+1]=n,t[e]=n>>>8}function Oa(t,e){const n=(t<<8)+e;return n&1<<15?n-65536:n}function Tx(t,e,n){t[e+3]=n&255,t[e+2]=n>>>8,t[e+1]=n>>>16,t[e]=n>>>24}function Lx(t,e,n,i){return(t<<24)+(e<<16)+(n<<8)+i}function Pt(t){return String.fromCharCode(t>>8&255,t&255)}function Xr(t){return t>32767?t=32767:t<-32768&&(t=-32768),String.fromCharCode(t>>8&255,t&255)}function Fx(t){const e=t.peekBytes(4);return jt(e,0)===65536||la(e)==="true"}function Mg(t){const e=t.peekBytes(4);return la(e)==="ttcf"}function Nx(t){const e=t.peekBytes(4);return la(e)==="OTTO"}function Bx(t){const e=t.peekBytes(2);return e[0]===37&&e[1]===33||e[0]===128&&e[1]===1}function Yx(t){const e=t.peekBytes(4);return e[0]>=1&&e[3]>=1&&e[3]<=4}function Hx(t,{type:e,subtype:n,composite:i}){let r,s;return Fx(t)||Mg(t)?r=i?"CIDFontType2":"TrueType":Nx(t)?r=i?"CIDFontType2":"OpenType":Bx(t)?i?r="CIDFontType0":r=e==="MMType1"?"MMType1":"Type1":Yx(t)?i?(r="CIDFontType0",s="CIDFontType0C"):(r=e==="MMType1"?"MMType1":"Type1",s="Type1C"):(L("getFontFileType: Unable to detect correct font file Type/Subtype."),r=e,s=n),[r,s]}function hf(t,e){for(const n in e)t[+n]=e[n]}function rh(t,e,n){const i=[];let r;for(let s=0,o=t.length;s<o;s++)r=Hs(t[s],e),r!==-1&&(i[s]=r);for(const s in n)r=Hs(n[s],e),r!==-1&&(i[+s]=r);return i}function Zx(t){return t.platform===1&&t.encoding===0&&t.language===0}function Ug(t){return t.platform===3&&t.encoding===1&&t.language===1033}function sh(t,e,n=!1){switch(e.length){case 1:return e.charCodeAt(0);case 2:return e.charCodeAt(0)<<8|e.charCodeAt(1)}const i=`Unsupported CID string (charCode ${t}): "${e}".`;if(n)throw new re(i);return L(i),e}function Tg(t,e,n,i){const r=Object.create(null),s=new Map,o=[],a=new Set;let c=0,l=Ri[c][0],d=Ri[c][1];const h=g=>Ri[0][0]<=g&&g<=Ri[0][1]||Ri[1][0]<=g&&g<=Ri[1][1];let u=null;for(const g in t){let p=t[g];if(!e(p))continue;if(l>d){if(c++,c>=Ri.length){L("Ran out of space in font private use area.");break}l=Ri[c][0],d=Ri[c][1]}const x=l++;p===0&&(p=n);let m=i.get(g);if(typeof m=="string")if(m.length===1)m=m.codePointAt(0);else{if(!u){u=new Map;for(let w=64256;w<=64335;w++){const O=String.fromCharCode(w).normalize("NFKD");O.length>1&&u.set(O,w)}}m=u.get(m)||m.codePointAt(0)}m&&!h(m)&&!a.has(p)&&(s.set(m,p),a.add(p)),r[x]=p,o[g]=x}return{toFontChar:o,charCodeToGlyphId:r,toUnicodeExtraMap:s,nextAvailableFontCharCode:l}}function zx(t,e,n){const i=[];for(const o in t)t[o]>=n||i.push({fontCharCode:o|0,glyphId:t[o]});if(e)for(const[o,a]of e)a>=n||i.push({fontCharCode:o,glyphId:a});i.length===0&&i.push({fontCharCode:0,glyphId:0}),i.sort((o,a)=>o.fontCharCode-a.fontCharCode);const r=[],s=i.length;for(let o=0;o<s;){const a=i[o].fontCharCode,c=[i[o].glyphId];++o;let f=a;for(;o<s&&f+1===i[o].fontCharCode&&(c.push(i[o].glyphId),++f,++o,f!==65535););r.push([a,f,c])}return r}function Lg(t,e,n){const i=zx(t,e,n),r=i.at(-1)[1]>65535?2:1;let s="\0\0"+Pt(r)+"\0\0"+Cn(4+r*8),o,a,c,f;for(o=i.length-1;o>=0&&!(i[o][0]<=65535);--o);const l=o+1;i[o][0]<65535&&i[o][1]===65535&&(i[o][1]=65534);const d=i[o][1]<65535?1:0,h=l+d,u=pc.getSearchParams(h,2);let g="",p="",x="",m="",w="",O=0,k,E,D,v;for(o=0,a=l;o<a;o++){k=i[o],E=k[0],D=k[1],g+=Pt(E),p+=Pt(D),v=k[2];let T=!0;for(c=1,f=v.length;c<f;++c)if(v[c]!==v[c-1]+1){T=!1;break}if(T){const H=v[0];x+=Pt(H-E&65535),m+=Pt(0)}else{const H=(h-o)*2+O*2;for(O+=D-E+1,x+=Pt(0),m+=Pt(H),c=0,f=v.length;c<f;++c)w+=Pt(v[c])}}d>0&&(p+="ÿÿ",g+="ÿÿ",x+="\0",m+="\0\0");const S="\0\0"+Pt(2*h)+Pt(u.range)+Pt(u.entry)+Pt(u.rangeShift)+p+"\0\0"+g+x+m+w;let C="",R="";if(r>1){for(s+=`\0\0
|
|
13
|
+
`+Cn(4+r*8+4+S.length),C="",o=0,a=i.length;o<a;o++){k=i[o],E=k[0],v=k[2];let T=v[0];for(c=1,f=v.length;c<f;++c)v[c]!==v[c-1]+1&&(D=k[0]+c-1,C+=Cn(E)+Cn(D)+Cn(T),E=D+1,T=v[c]);C+=Cn(E)+Cn(k[1])+Cn(T)}R="\0\f\0\0"+Cn(C.length+16)+"\0\0\0\0"+Cn(C.length/12)}return s+"\0"+Pt(S.length+4)+S+R+C}function qx(t,e){e.pos=(e.start||0)+t.offset;const n=e.getUint16();e.skip(60);const i=e.getUint16();if(n<4&&i&768)return!1;const r=e.getUint16(),s=e.getUint16();return r>s||(e.skip(6),e.getUint16()===0)?!1:(t.data[8]=t.data[9]=0,!0)}function Fg(t,e,n){n||={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};let i=0,r=0,s=0,o=0,a=null,c=0,f=-1;if(e){for(let m in e)if(m|=0,(a>m||!a)&&(a=m),c<m&&(c=m),f=Zm(m,f),f<32)i|=1<<f;else if(f<64)r|=1<<f-32;else if(f<96)s|=1<<f-64;else if(f<123)o|=1<<f-96;else throw new re("Unicode ranges Bits > 123 are reserved for internal usage");c>65535&&(c=65535)}else a=0,c=255;const l=t.bbox||[0,0,0,0],d=n.unitsPerEm||(t.fontMatrix?1/Math.max(...t.fontMatrix.slice(0,4).map(Math.abs)):1e3),h=t.ascentScaled?1:d/$r,u=n.ascent||Math.round(h*(t.ascent||l[3]));let g=n.descent||Math.round(h*(t.descent||l[1]));g>0&&t.descent>0&&l[1]<0&&(g=-g);const p=n.yMax||u,x=-n.yMin||-g;return"\0$ô\0\0\0»\0\0\0»\0\0ß\x001\0\0\0\0"+String.fromCharCode(t.fixedPitch?9:0)+"\0\0\0\0\0\0"+Cn(i)+Cn(r)+Cn(s)+Cn(o)+"*21*"+Pt(t.italicAngle?1:0)+Pt(a||t.firstChar)+Pt(c||t.lastChar)+Pt(u)+Pt(g)+"\0d"+Pt(p)+Pt(x)+"\0\0\0\0\0\0\0\0"+Pt(t.xHeight)+Pt(t.capHeight)+Pt(0)+Pt(a||t.firstChar)+"\0"}function Ng(t){const e=Math.floor(t.italicAngle*65536);return"\0\0\0"+Cn(e)+"\0\0\0\0"+Cn(t.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function $x(t){return t.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function oh(t,e){e||(e=[[],[]]);const n=[e[0][0]||"Original licence",e[0][1]||t,e[0][2]||"Unknown",e[0][3]||"uniqueID",e[0][4]||t,e[0][5]||"Version 0.11",e[0][6]||$x(t),e[0][7]||"Unknown",e[0][8]||"Unknown",e[0][9]||"Unknown"],i=[];let r,s,o,a,c;for(r=0,s=n.length;r<s;r++){c=e[1][r]||n[r];const x=[];for(o=0,a=c.length;o<a;o++)x.push(Pt(c.charCodeAt(o)));i.push(x.join(""))}const f=[n,i],l=["\0","\0"],d=["\0\0","\0"],h=["\0\0"," "],u=n.length*l.length;let g="\0\0"+Pt(u)+Pt(u*12+6),p=0;for(r=0,s=l.length;r<s;r++){const x=f[r];for(o=0,a=x.length;o<a;o++){c=x[o];const m=l[r]+d[r]+h[r]+Pt(o)+Pt(c.length)+Pt(p);g+=m,p+=c.length}}return g+=n.join("")+i.join(""),g}class Bg{constructor(e,n,i,r){this.name=e,this.psName=null,this.mimetype=null,this.disableFontFace=r.disableFontFace,this.fontExtraProperties=r.fontExtraProperties,this.loadedName=i.loadedName,this.isType3Font=i.isType3Font,this.missingFile=!1,this.cssFontInfo=i.cssFontInfo,this._charsCache=Object.create(null),this._glyphCache=Object.create(null);let s=!!(i.flags&Ua.Serif);if(!s&&!i.isSimulatedFlags){const l=e.replaceAll(/[,_]/g,"-").split("-",1)[0],d=Wd();for(const h of l.split("+"))if(d[h]){s=!0;break}}this.isSerifFont=s,this.isSymbolicFont=!!(i.flags&Ua.Symbolic),this.isMonospace=!!(i.flags&Ua.FixedPitch);let{type:o,subtype:a}=i;this.type=o,this.subtype=a,this.systemFontInfo=i.systemFontInfo;const c=e.match(/^InvalidPDFjsFont_(.*)_\d+$/);if(this.isInvalidPDFjsFont=!!c,this.isInvalidPDFjsFont?this.fallbackName=c[1]:this.isMonospace?this.fallbackName="monospace":this.isSerifFont?this.fallbackName="serif":this.fallbackName="sans-serif",this.systemFontInfo?.guessFallback&&(this.systemFontInfo.guessFallback=!1,this.systemFontInfo.css+=`,${this.fallbackName}`),this.differences=i.differences,this.widths=i.widths,this.defaultWidth=i.defaultWidth,this.composite=i.composite,this.cMap=i.cMap,this.capHeight=i.capHeight/$r,this.ascent=i.ascent/$r,this.descent=i.descent/$r,this.lineHeight=this.ascent-this.descent,this.fontMatrix=i.fontMatrix,this.bbox=i.bbox,this.defaultEncoding=i.defaultEncoding,this.toUnicode=i.toUnicode,this.toFontChar=[],i.type==="Type3"){for(let l=0;l<256;l++)this.toFontChar[l]=this.differences[l]||i.defaultEncoding[l];return}if(this.cidEncoding=i.cidEncoding||"",this.vertical=!!i.vertical,this.vertical&&(this.vmetrics=i.vmetrics,this.defaultVMetrics=i.defaultVMetrics),!n||n.isEmpty){n&&L('Font file is empty in "'+e+'" ('+this.loadedName+")"),this.fallbackToSystemFont(i);return}[o,a]=Hx(n,i),(o!==this.type||a!==this.subtype)&&st(`Inconsistent font file Type/SubType, expected: ${this.type}/${this.subtype} but found: ${o}/${a}.`);let f;try{switch(o){case"MMType1":st("MMType1 font ("+e+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";const l=a==="Type1C"||a==="CIDFontType0C"?new Kd(n,i):new Sx(e,n,i);Cg(i),f=this.convert(e,l,i);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",f=this.checkAndRepair(e,n,i),Cg(i),this.isOpenType&&(o="OpenType");break;default:throw new re(`Font ${o} is not supported`)}}catch(l){L(l),this.fallbackToSystemFont(i);return}Rg(i),this.data=f,this.type=o,this.subtype=a,this.fontMatrix=i.fontMatrix,this.widths=i.widths,this.defaultWidth=i.defaultWidth,this.toUnicode=i.toUnicode,this.seacMap=i.seacMap}get renderer(){const e=ux.create(this,Zs);return ge(this,"renderer",e)}exportData(){const e=this.fontExtraProperties?[...Sg,...Cx]:Sg,n=Object.create(null);for(const i of e){const r=this[i];r!==void 0&&(n[i]=r)}return n}fallbackToSystemFont(e){this.missingFile=!0;const{name:n,type:i}=this;let r=sc(n);const s=sf(),o=pg(),a=!!s[r],c=!!(o[r]&&s[o[r]]);r=s[r]||o[r]||r;const l=gx()[r];l&&(isNaN(this.ascent)&&(this.ascent=l.ascent/$r),isNaN(this.descent)&&(this.descent=l.descent/$r),isNaN(this.capHeight)&&(this.capHeight=l.capHeight/$r)),this.bold=/bold/gi.test(r),this.italic=/oblique|italic/gi.test(r),this.black=/Black/g.test(n);const d=/Narrow/g.test(n);if(this.remeasure=(!a||d)&&Object.keys(this.widths).length>0,(a||c)&&i==="CIDFontType2"&&this.cidEncoding.startsWith("Identity-")){const h=e.cidToGidMap,u=[];if(hf(u,mg()),/Arial-?Black/i.test(n)?hf(u,rx()):/Calibri/i.test(n)&&hf(u,sx()),h){for(const g in u){const p=u[g];h[p]!==void 0&&(u[+g]=h[p])}h.length!==this.toUnicode.length&&e.hasIncludedToUnicodeMap&&this.toUnicode instanceof Ta&&this.toUnicode.forEach(function(g,p){const x=u[g];h[x]===void 0&&(u[+g]=p)})}this.toUnicode instanceof Ta||this.toUnicode.forEach(function(g,p){u[+g]=p}),this.toFontChar=u,this.toUnicode=new dc(u)}else if(/Symbol/i.test(r))this.toFontChar=rh(Hd,li(),this.differences);else if(/Dingbats/i.test(r))this.toFontChar=rh(Zd,Bm(),this.differences);else if(a||c){const h=rh(this.defaultEncoding,li(),this.differences);i==="CIDFontType2"&&!this.cidEncoding.startsWith("Identity-")&&!(this.toUnicode instanceof Ta)&&this.toUnicode.forEach(function(u,g){h[+u]=g}),this.toFontChar=h}else{const h=li(),u=[];this.toUnicode.forEach((g,p)=>{if(!this.composite){const x=this.differences[g]||this.defaultEncoding[g],m=Hs(x,h);m!==-1&&(p=m)}u[+g]=p}),this.composite&&this.toUnicode instanceof Ta&&/Tahoma|Verdana/i.test(n)&&hf(u,mg()),this.toFontChar=u}Rg(e),this.loadedName=r.split("-",1)[0]}checkAndRepair(e,n,i){const r=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function s(V,Q){const N=Object.create(null);N["OS/2"]=null,N.cmap=null,N.head=null,N.hhea=null,N.hmtx=null,N.maxp=null,N.name=null,N.post=null;for(let J=0;J<Q;J++){const ce=o(V);r.includes(ce.tag)&&ce.length!==0&&(N[ce.tag]=ce)}return N}function o(V){const Q=V.getString(4),N=V.getInt32()>>>0,J=V.getInt32()>>>0,ce=V.getInt32()>>>0,je=V.pos;V.pos=V.start||0,V.skip(J);const be=V.getBytes(ce);return V.pos=je,Q==="head"&&(be[8]=be[9]=be[10]=be[11]=0,be[17]|=32),{tag:Q,checksum:N,length:ce,offset:J,data:be}}function a(V){return{version:V.getString(4),numTables:V.getUint16(),searchRange:V.getUint16(),entrySelector:V.getUint16(),rangeShift:V.getUint16()}}function c(V){const Q=V.getString(4);On(Q==="ttcf","Must be a TrueType Collection font.");const N=V.getUint16(),J=V.getUint16(),ce=V.getInt32()>>>0,je=[];for(let se=0;se<ce;se++)je.push(V.getInt32()>>>0);const be={ttcTag:Q,majorVersion:N,minorVersion:J,numFonts:ce,offsetTable:je};switch(N){case 1:return be;case 2:return be.dsigTag=V.getInt32()>>>0,be.dsigLength=V.getInt32()>>>0,be.dsigOffset=V.getInt32()>>>0,be}throw new re(`Invalid TrueType Collection majorVersion: ${N}.`)}function f(V,Q){const{numFonts:N,offsetTable:J}=c(V),ce=Q.split("+");let je;for(let be=0;be<N;be++){V.pos=(V.start||0)+J[be];const se=a(V),ve=s(V,se.numTables);if(!ve.name)throw new re('TrueType Collection font must contain a "name" table.');const[De]=x(ve.name);for(let Ve=0,We=De.length;Ve<We;Ve++)for(let me=0,Ae=De[Ve].length;me<Ae;me++){const _e=De[Ve][me]?.replaceAll(/\s/g,"");if(_e){if(_e===Q)return{header:se,tables:ve};if(!(ce.length<2))for(const Ye of ce)_e===Ye&&(je={name:Ye,header:se,tables:ve})}}}if(je)return L(`TrueType Collection does not contain "${Q}" font, falling back to "${je.name}" font instead.`),{header:je.header,tables:je.tables};throw new re(`TrueType Collection does not contain "${Q}" font.`)}function l(V,Q,N,J){if(!V)return L("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};let ce,je=(Q.start||0)+V.offset;Q.pos=je,Q.skip(2);const be=Q.getUint16();let se,ve=!1;for(let Ie=0;Ie<be;Ie++){const Oe=Q.getUint16(),Me=Q.getUint16(),Ue=Q.getInt32()>>>0;let ue=!1;if(!(se?.platformId===Oe&&se?.encodingId===Me)){if(Oe===0&&(Me===0||Me===1||Me===3))ue=!0;else if(Oe===1&&Me===0)ue=!0;else if(Oe===3&&Me===1&&(J||!se))ue=!0,N||(ve=!0);else if(N&&Oe===3&&Me===0){ue=!0;let He=!0;if(Ie<be-1){const Ge=Q.peekBytes(2);Gr(Ge[0],Ge[1])<Oe&&(He=!1)}He&&(ve=!0)}if(ue&&(se={platformId:Oe,encodingId:Me,offset:Ue}),ve)break}}if(se&&(Q.pos=je+se.offset),!se||Q.peekByte()===-1)return L("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};const De=Q.getUint16();let Ve=!1;const We=[];let me,Ae;if(De===0){for(Q.skip(2+2),me=0;me<256;me++){const Ie=Q.getByte();Ie&&We.push({charCode:me,glyphId:Ie})}Ve=!0}else if(De===2){Q.skip(2+2);const Ie=[];let Oe=0;for(let Ue=0;Ue<256;Ue++){const ue=Q.getUint16()>>3;Ie.push(ue),Oe=Math.max(ue,Oe)}const Me=[];for(let Ue=0;Ue<=Oe;Ue++)Me.push({firstCode:Q.getUint16(),entryCount:Q.getUint16(),idDelta:Oa(Q.getByte(),Q.getByte()),idRangePos:Q.pos+Q.getUint16()});for(let Ue=0;Ue<256;Ue++)if(Ie[Ue]===0)Q.pos=Me[0].idRangePos+2*Ue,Ae=Q.getUint16(),We.push({charCode:Ue,glyphId:Ae});else{const ue=Me[Ie[Ue]];for(me=0;me<ue.entryCount;me++){const He=(Ue<<8)+me+ue.firstCode;Q.pos=ue.idRangePos+2*me,Ae=Q.getUint16(),Ae!==0&&(Ae=(Ae+ue.idDelta)%65536),We.push({charCode:He,glyphId:Ae})}}}else if(De===4){Q.skip(2+2);const Ie=Q.getUint16()>>1;Q.skip(6);const Oe=[];let Me;for(Me=0;Me<Ie;Me++)Oe.push({end:Q.getUint16()});for(Q.skip(2),Me=0;Me<Ie;Me++)Oe[Me].start=Q.getUint16();for(Me=0;Me<Ie;Me++)Oe[Me].delta=Q.getUint16();let Ue=0,ue;for(Me=0;Me<Ie;Me++){ce=Oe[Me];const Ge=Q.getUint16();if(!Ge){ce.offsetIndex=-1;continue}ue=(Ge>>1)-(Ie-Me),ce.offsetIndex=ue,Ue=Math.max(Ue,ue+ce.end-ce.start+1)}const He=[];for(me=0;me<Ue;me++)He.push(Q.getUint16());for(Me=0;Me<Ie;Me++){ce=Oe[Me],je=ce.start;const Ge=ce.end,qe=ce.delta;for(ue=ce.offsetIndex,me=je;me<=Ge;me++)me!==65535&&(Ae=ue<0?me:He[ue+me-je],Ae=Ae+qe&65535,We.push({charCode:me,glyphId:Ae}))}}else if(De===6){Q.skip(2+2);const Ie=Q.getUint16(),Oe=Q.getUint16();for(me=0;me<Oe;me++){Ae=Q.getUint16();const Me=Ie+me;We.push({charCode:Me,glyphId:Ae})}}else if(De===12){Q.skip(2+4+4);const Ie=Q.getInt32()>>>0;for(me=0;me<Ie;me++){const Oe=Q.getInt32()>>>0,Me=Q.getInt32()>>>0;let Ue=Q.getInt32()>>>0;for(let ue=Oe;ue<=Me;ue++)We.push({charCode:ue,glyphId:Ue++})}}else return L("cmap table has unsupported format: "+De),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};We.sort((Ie,Oe)=>Ie.charCode-Oe.charCode);const _e=[],Ye=new Set;for(const Ie of We){const{charCode:Oe}=Ie;Ye.has(Oe)||(Ye.add(Oe),_e.push(Ie))}return{platformId:se.platformId,encodingId:se.encodingId,mappings:_e,hasShortCmap:Ve}}function d(V,Q,N,J,ce,je){if(!Q){N&&(N.data=null);return}V.pos=(V.start||0)+Q.offset,V.pos+=4,V.pos+=2,V.pos+=2,V.pos+=2,V.pos+=2,V.pos+=2,V.pos+=2,V.pos+=2,V.pos+=2,V.pos+=2;const be=V.getUint16();V.pos+=8,V.pos+=2;let se=V.getUint16();be!==0&&(Gr(J.data[44],J.data[45])&2||(Q.data[22]=0,Q.data[23]=0)),se>ce&&(st(`The numOfMetrics (${se}) should not be greater than the numGlyphs (${ce}).`),se=ce,Q.data[34]=(se&65280)>>8,Q.data[35]=se&255);const De=ce-se-(N.length-se*4>>1);if(De>0){const Ve=new Uint8Array(N.length+De*2);Ve.set(N.data),je&&(Ve[N.length]=N.data[2],Ve[N.length+1]=N.data[3]),N.data=Ve}}function h(V,Q,N,J,ce,je){const be={length:0,sizeOfInstructions:0};if(Q<0||Q>=V.length||N>V.length||N-Q<=12)return be;const se=V.subarray(Q,N),ve=Oa(se[2],se[3]),De=Oa(se[4],se[5]),Ve=Oa(se[6],se[7]),We=Oa(se[8],se[9]);ve>Ve&&(mc(se,2,Ve),mc(se,6,ve)),De>We&&(mc(se,4,We),mc(se,8,De));const me=Oa(se[0],se[1]);if(me<0)return me<-1||(J.set(se,ce),be.length=se.length),be;let Ae,_e=10,Ye=0;for(Ae=0;Ae<me;Ae++)Ye=(se[_e]<<8|se[_e+1])+1,_e+=2;const Ie=_e,Oe=se[_e]<<8|se[_e+1];be.sizeOfInstructions=Oe,_e+=2+Oe;const Me=_e;let Ue=0;for(Ae=0;Ae<Ye;Ae++){const He=se[_e++];He&192&&(se[_e-1]=He&63);let Ge=2;He&2?Ge=1:He&16&&(Ge=0);let qe=2;He&4?qe=1:He&32&&(qe=0);const bt=Ge+qe;if(Ue+=bt,He&8){const Ht=se[_e++];Ht===0&&(se[_e-1]^=8),Ae+=Ht,Ue+=Ht*bt}}if(Ue===0)return be;let ue=_e+Ue;return ue>se.length?be:!je&&Oe>0?(J.set(se.subarray(0,Ie),ce),J.set([0,0],ce+Ie),J.set(se.subarray(Me,ue),ce+Ie+2),ue-=Oe,se.length-ue>3&&(ue=ue+3&-4),be.length=ue,be):se.length-ue>3?(ue=ue+3&-4,J.set(se.subarray(0,ue),ce),be.length=ue,be):(J.set(se,ce),be.length=se.length,be)}function u(V,Q,N){const J=V.data,ce=Lx(J[0],J[1],J[2],J[3]);ce>>16!==1&&(st("Attempting to fix invalid version in head table: "+ce),J[0]=0,J[1]=1,J[2]=0,J[3]=0);const je=Gr(J[50],J[51]);if(je<0||je>1){st("Attempting to fix invalid indexToLocFormat in head table: "+je);const be=Q+1;if(N===be<<1)J[50]=0,J[51]=0;else if(N===be<<2)J[50]=0,J[51]=1;else throw new re("Could not fix indexToLocFormat: "+je)}}function g(V,Q,N,J,ce,je,be){let se,ve,De;J?(se=4,ve=function(qe,bt){return qe[bt]<<24|qe[bt+1]<<16|qe[bt+2]<<8|qe[bt+3]},De=function(qe,bt,Ht){qe[bt]=Ht>>>24&255,qe[bt+1]=Ht>>16&255,qe[bt+2]=Ht>>8&255,qe[bt+3]=Ht&255}):(se=2,ve=function(qe,bt){return qe[bt]<<9|qe[bt+1]<<1},De=function(qe,bt,Ht){qe[bt]=Ht>>9&255,qe[bt+1]=Ht>>1&255});const Ve=je?N+1:N,We=se*(1+Ve),me=new Uint8Array(We);me.set(V.data.subarray(0,We)),V.data=me;const Ae=Q.data,_e=Ae.length,Ye=new Uint8Array(_e);let Ie,Oe;const Me=[];for(Ie=0,Oe=0;Ie<N+1;Ie++,Oe+=se){let Ge=ve(me,Oe);Ge>_e&&(Ge=_e),Me.push({index:Ie,offset:Ge,endOffset:0})}for(Me.sort((Ge,qe)=>Ge.offset-qe.offset),Ie=0;Ie<N;Ie++)Me[Ie].endOffset=Me[Ie+1].offset;for(Me.sort((Ge,qe)=>Ge.index-qe.index),Ie=0;Ie<N;Ie++){const{offset:Ge,endOffset:qe}=Me[Ie];if(Ge!==0||qe!==0)break;const bt=Me[Ie+1].offset;if(bt!==0){Me[Ie].endOffset=bt;break}}const Ue=Me.at(-2);Ue.offset!==0&&Ue.endOffset===0&&(Ue.endOffset=_e);const ue=Object.create(null);let He=0;for(De(me,0,He),Ie=0,Oe=se;Ie<N;Ie++,Oe+=se){const Ge=h(Ae,Me[Ie].offset,Me[Ie].endOffset,Ye,He,ce),qe=Ge.length;qe===0&&(ue[Ie]=!0),Ge.sizeOfInstructions>be&&(be=Ge.sizeOfInstructions),He+=qe,De(me,Oe,He)}if(He===0){const Ge=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(Ie=0,Oe=se;Ie<Ve;Ie++,Oe+=se)De(me,Oe,Ge.length);Q.data=Ge}else if(je){const Ge=ve(me,se);Ye.length>Ge+He?Q.data=Ye.subarray(0,Ge+He):(Q.data=new Uint8Array(Ge+He),Q.data.set(Ye.subarray(0,He))),Q.data.set(Ye.subarray(0,Ge),He),De(V.data,me.length-se,He+Ge)}else Q.data=Ye.subarray(0,He);return{missingGlyphs:ue,maxSizeOfInstructions:be}}function p(V,Q,N){const J=(n.start||0)+V.offset;n.pos=J;const ce=V.length,je=J+ce,be=n.getInt32();n.skip(28);let se,ve=!0,De;switch(be){case 65536:se=cg;break;case 131072:const Ve=n.getUint16();if(Ve!==N){ve=!1;break}const We=[];for(De=0;De<Ve;++De){const _e=n.getUint16();if(_e>=32768){ve=!1;break}We.push(_e)}if(!ve)break;const me=[],Ae=[];for(;n.pos<je;){const _e=n.getByte();for(Ae.length=_e,De=0;De<_e;++De)Ae[De]=String.fromCharCode(n.getByte());me.push(Ae.join(""))}for(se=[],De=0;De<Ve;++De){const _e=We[De];if(_e<258){se.push(cg[_e]);continue}se.push(me[_e-258])}break;case 196608:break;default:L("Unknown/unsupported post table version "+be),ve=!1,Q.defaultEncoding&&(se=Q.defaultEncoding);break}return Q.glyphNames=se,ve}function x(V){const Q=(n.start||0)+V.offset;n.pos=Q;const N=[[],[]],J=[],ce=V.length,je=Q+ce;if(n.getUint16()!==0||ce<6)return[N,J];const ve=n.getUint16(),De=n.getUint16(),Ve=12;let We,me;for(We=0;We<ve&&n.pos+Ve<=je;We++){const Ae={platform:n.getUint16(),encoding:n.getUint16(),language:n.getUint16(),name:n.getUint16(),length:n.getUint16(),offset:n.getUint16()};(Zx(Ae)||Ug(Ae))&&J.push(Ae)}for(We=0,me=J.length;We<me;We++){const Ae=J[We];if(Ae.length<=0)continue;const _e=Q+De+Ae.offset;if(_e+Ae.length>je)continue;n.pos=_e;const Ye=Ae.name;if(Ae.encoding){let Ie="";for(let Oe=0,Me=Ae.length;Oe<Me;Oe+=2)Ie+=String.fromCharCode(n.getUint16());N[1][Ye]=Ie}else N[0][Ye]=n.getString(Ae.length)}return[N,J]}const m=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function w(V,Q){let N=V.data,J=0,ce,je,be,se,ve,De=0,Ve=0;const We=[],me=[],Ae=[];let _e=Q.tooComplexToFollowFunctions,Ye=!1,Ie=0,Oe=0;for(let Ue=N.length;J<Ue;){const ue=N[J++];if(ue===64)if(je=N[J++],Ye||Oe)J+=je;else for(ce=0;ce<je;ce++)We.push(N[J++]);else if(ue===65)if(je=N[J++],Ye||Oe)J+=je*2;else for(ce=0;ce<je;ce++)be=N[J++],We.push(be<<8|N[J++]);else if((ue&248)===176)if(je=ue-176+1,Ye||Oe)J+=je;else for(ce=0;ce<je;ce++)We.push(N[J++]);else if((ue&248)===184)if(je=ue-184+1,Ye||Oe)J+=je*2;else for(ce=0;ce<je;ce++)be=N[J++],We.push(Oa(be,N[J++]));else if(ue===43&&!_e){if(!Ye&&!Oe){if(se=We.at(-1),isNaN(se))st("TT: CALL empty stack (or invalid entry).");else if(Q.functionsUsed[se]=!0,se in Q.functionsStackDeltas){const He=We.length+Q.functionsStackDeltas[se];if(He<0){L("TT: CALL invalid functions stack delta."),Q.hintsValid=!1;return}We.length=He}else if(se in Q.functionsDefined&&!Ae.includes(se)){if(me.push({data:N,i:J,stackTop:We.length-1}),Ae.push(se),ve=Q.functionsDefined[se],!ve){L("TT: CALL non-existent function"),Q.hintsValid=!1;return}N=ve.data,J=ve.i}}}else if(ue===44&&!_e)(Ye||Oe)&&(L("TT: nested FDEFs not allowed"),_e=!0),Ye=!0,Ve=J,se=We.pop(),Q.functionsDefined[se]={data:N,i:J};else if(ue===45)if(Ye)Ye=!1,De=J;else{if(ve=me.pop(),!ve){L("TT: ENDF bad stack"),Q.hintsValid=!1;return}se=Ae.pop(),N=ve.data,J=ve.i,Q.functionsStackDeltas[se]=We.length-ve.stackTop}else if(ue===137)(Ye||Oe)&&(L("TT: nested IDEFs not allowed"),_e=!0),Ye=!0,Ve=J;else if(ue===88)++Ie;else if(ue===27)Oe=Ie;else if(ue===89)Oe===Ie&&(Oe=0),--Ie;else if(ue===28&&!Ye&&!Oe){const He=We.at(-1);He>0&&(J+=He-1)}if(!Ye&&!Oe){let He=0;for(ue<=142?He=m[ue]:ue>=192&&ue<=223?He=-1:ue>=224&&(He=-2),ue>=113&&ue<=117&&(je=We.pop(),isNaN(je)||(He=-je*2));He<0&&We.length>0;)We.pop(),He++;for(;He>0;)We.push(NaN),He--}}Q.tooComplexToFollowFunctions=_e;const Me=[N];J>N.length&&Me.push(new Uint8Array(J-N.length)),Ve>De&&(L("TT: complementing a missing function tail"),Me.push(new Uint8Array([34,45]))),k(V,Me)}function O(V,Q){if(!V.tooComplexToFollowFunctions){if(V.functionsDefined.length>Q){L("TT: more functions defined than expected"),V.hintsValid=!1;return}for(let N=0,J=V.functionsUsed.length;N<J;N++){if(N>Q){L("TT: invalid function id: "+N),V.hintsValid=!1;return}if(V.functionsUsed[N]&&!V.functionsDefined[N]){L("TT: undefined function: "+N),V.hintsValid=!1;return}}}}function k(V,Q){if(Q.length>1){let N=0,J,ce;for(J=0,ce=Q.length;J<ce;J++)N+=Q[J].length;N=N+3&-4;const je=new Uint8Array(N);let be=0;for(J=0,ce=Q.length;J<ce;J++)je.set(Q[J],be),be+=Q[J].length;V.data=je,V.length=N}}function E(V,Q,N,J){const ce={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(V&&w(V,ce),Q&&w(Q,ce),V&&O(ce,J),N&&N.length&1){const je=new Uint8Array(N.length+1);je.set(N.data),N.data=je}return ce.hintsValid}n=new qt(new Uint8Array(n.getBytes()));let D,v;if(Mg(n)){const V=f(n,this.name);D=V.header,v=V.tables}else D=a(n),v=s(n,D.numTables);let S,C;const R=!v["CFF "];if(R){if(!v.loca)throw new re('Required "loca" table is not found');v.glyf||(L('Required "glyf" table is not found -- trying to recover.'),v.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{const V=i.composite&&(i.cidToGidMap?.length>0||!(i.cMap instanceof Ys));if(D.version==="OTTO"&&!V||!v.head||!v.hhea||!v.maxp||!v.post)return C=new qt(v["CFF "].data),S=new Kd(C,i),this.convert(e,S,i);delete v.glyf,delete v.loca,delete v.fpgm,delete v.prep,delete v["cvt "],this.isOpenType=!0}if(!v.maxp)throw new re('Required "maxp" table is not found');n.pos=(n.start||0)+v.maxp.offset;let T=n.getInt32();const H=n.getUint16();if(T!==65536&&T!==20480){if(v.maxp.length===6)T=20480;else if(v.maxp.length>=32)T=65536;else throw new re('"maxp" table has a wrong version number');Tx(v.maxp.data,0,T)}if(i.scaleFactors?.length===H&&R){const{scaleFactors:V}=i,Q=Gr(v.head.data[50],v.head.data[51]),N=new Ox({glyfTable:v.glyf.data,isGlyphLocationsLong:Q,locaTable:v.loca.data,numGlyphs:H});N.scale(V);const{glyf:J,loca:ce,isLocationLong:je}=N.write();v.glyf.data=J,v.loca.data=ce,je!==!!Q&&(v.head.data[50]=0,v.head.data[51]=je?1:0);const be=v.hmtx.data;for(let se=0;se<H;se++){const ve=4*se,De=Math.round(V[se]*Gr(be[ve],be[ve+1]));be[ve]=De>>8&255,be[ve+1]=De&255;const Ve=Math.round(V[se]*Oa(be[ve+2],be[ve+3]));mc(be,ve+2,Ve)}}let $=H+1,W=!0;$>65535&&(W=!1,$=H,L("Not enough space in glyfs to duplicate first glyph."));let Y=0,Z=0;T>=65536&&v.maxp.length>=32&&(n.pos+=8,n.getUint16()>2&&(v.maxp.data[14]=0,v.maxp.data[15]=2),n.pos+=4,Y=n.getUint16(),n.pos+=4,Z=n.getUint16()),v.maxp.data[4]=$>>8,v.maxp.data[5]=$&255;const B=E(v.fpgm,v.prep,v["cvt "],Y);if(B||(delete v.fpgm,delete v.prep,delete v["cvt "]),d(n,v.hhea,v.hmtx,v.head,$,W),!v.head)throw new re('Required "head" table is not found');u(v.head,H,R?v.loca.length:0);let z=Object.create(null);if(R){const V=Gr(v.head.data[50],v.head.data[51]),Q=g(v.loca,v.glyf,H,V,B,W,Z);z=Q.missingGlyphs,T>=65536&&v.maxp.length>=32&&(v.maxp.data[26]=Q.maxSizeOfInstructions>>8,v.maxp.data[27]=Q.maxSizeOfInstructions&255)}if(!v.hhea)throw new re('Required "hhea" table is not found');v.hhea.data[10]===0&&v.hhea.data[11]===0&&(v.hhea.data[10]=255,v.hhea.data[11]=255);const ee={unitsPerEm:Gr(v.head.data[18],v.head.data[19]),yMax:Oa(v.head.data[42],v.head.data[43]),yMin:Oa(v.head.data[38],v.head.data[39]),ascent:Oa(v.hhea.data[4],v.hhea.data[5]),descent:Oa(v.hhea.data[6],v.hhea.data[7]),lineGap:Oa(v.hhea.data[8],v.hhea.data[9])};this.ascent=ee.ascent/ee.unitsPerEm,this.descent=ee.descent/ee.unitsPerEm,this.lineGap=ee.lineGap/ee.unitsPerEm,this.cssFontInfo?.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,v.post&&p(v.post,i,H),v.post={tag:"post",data:Ng(i)};const X=Object.create(null);function te(V){return!z[V]}if(i.composite){const V=i.cidToGidMap||[],Q=V.length===0;i.cMap.forEach(function(N,J){if(typeof J=="string"&&(J=sh(N,J,!0)),J>65535)throw new re("Max size of CID is 65,535");let ce=-1;Q?ce=J:V[J]!==void 0&&(ce=V[J]),ce>=0&&ce<H&&te(ce)&&(X[N]=ce)})}else{const V=l(v.cmap,n,this.isSymbolicFont,i.hasEncoding),Q=V.platformId,N=V.encodingId,J=V.mappings;let ce=[],je=!1;if(i.hasEncoding&&(i.baseEncodingName==="MacRomanEncoding"||i.baseEncodingName==="WinAnsiEncoding")&&(ce=rc(i.baseEncodingName)),i.hasEncoding&&!this.isSymbolicFont&&(Q===3&&N===1||Q===1&&N===0)){const be=li();for(let se=0;se<256;se++){let ve;if(this.differences[se]!==void 0?ve=this.differences[se]:ce.length&&ce[se]!==""?ve=ce[se]:ve=Ci[se],!ve)continue;const De=fg(ve,be);let Ve;if(Q===3&&N===1?Ve=be[De]:Q===1&&N===0&&(Ve=Yd.indexOf(De)),Ve===void 0){if(!i.glyphNames&&i.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof Ta)){const We=this.toUnicode.get(se);We&&(Ve=We.codePointAt(0))}if(Ve===void 0)continue}for(const We of J)if(We.charCode===Ve){X[se]=We.glyphId;break}}}else if(Q===0){for(const be of J)X[be.charCode]=be.glyphId;je=!0}else if(Q===3&&N===0)for(const be of J){let se=be.charCode;se>=61440&&se<=61695&&(se&=255),X[se]=be.glyphId}else for(const be of J)X[be.charCode]=be.glyphId;if(i.glyphNames&&(ce.length||this.differences.length))for(let be=0;be<256;++be){if(!je&&X[be]!==void 0)continue;const se=this.differences[be]||ce[be];if(!se)continue;const ve=i.glyphNames.indexOf(se);ve>0&&te(ve)&&(X[be]=ve)}}X.length===0&&(X[0]=0);let Ee=$-1;if(W||(Ee=0),!i.cssFontInfo){const V=Tg(X,te,Ee,this.toUnicode);this.toFontChar=V.toFontChar,v.cmap={tag:"cmap",data:Lg(V.charCodeToGlyphId,V.toUnicodeExtraMap,$)},(!v["OS/2"]||!qx(v["OS/2"],n))&&(v["OS/2"]={tag:"OS/2",data:Fg(i,V.charCodeToGlyphId,ee)})}if(!R)try{C=new qt(v["CFF "].data),S=new $d(C,i,Zs).parse(),S.duplicateFirstGlyph();const Q=new lc(S);v["CFF "].data=Q.compile()}catch{L("Failed to compile font "+i.loadedName)}if(!v.name)v.name={tag:"name",data:oh(this.name)};else{const[V,Q]=x(v.name);v.name.data=oh(e,V),this.psName=V[0][6]||null,i.composite||Rx(i,this.isSymbolicFont,Q)}const Pe=new pc(D.version);for(const V in v)Pe.addTable(V,v[V].data);return Pe.toArray()}convert(e,n,i){i.fixedPitch=!1,i.builtInEncoding&&Mx(i,i.builtInEncoding);let r=1;n instanceof Kd&&(r=n.numGlyphs-1);const s=n.getGlyphMapping(i);let o=null,a=s,c=null;i.cssFontInfo||(o=Tg(s,n.hasGlyphId.bind(n),r,this.toUnicode),this.toFontChar=o.toFontChar,a=o.charCodeToGlyphId,c=o.toUnicodeExtraMap);const f=n.numGlyphs;function l(p,x){let m=null;for(const w in p)x===p[w]&&(m||=[]).push(w|0);return m}function d(p,x){for(const m in p)if(x===p[m])return m|0;return o.charCodeToGlyphId[o.nextAvailableFontCharCode]=x,o.nextAvailableFontCharCode++}const h=n.seacs;if(o&&Zs&&h?.length){const p=i.fontMatrix||Nr,x=n.getCharset(),m=Object.create(null);for(let w in h){w|=0;const O=h[w],k=Ci[O[2]],E=Ci[O[3]],D=x.indexOf(k),v=x.indexOf(E);if(D<0||v<0)continue;const S={x:O[0]*p[0]+O[1]*p[2]+p[4],y:O[0]*p[1]+O[1]*p[3]+p[5]},C=l(s,w);if(C)for(const R of C){const T=o.charCodeToGlyphId,H=d(T,D),$=d(T,v);m[R]={baseFontCharCode:H,accentFontCharCode:$,accentOffset:S}}}i.seacMap=m}const u=i.fontMatrix?1/Math.max(...i.fontMatrix.slice(0,4).map(Math.abs)):1e3,g=new pc("OTTO");return g.addTable("CFF ",n.data),g.addTable("OS/2",Fg(i,a)),g.addTable("cmap",Lg(a,c,f)),g.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+Xr(u)+"\0\0\0\0\v~'\0\0\0\0\v~'\0\0"+Xr(i.descent)+"ÿ"+Xr(i.ascent)+Pt(i.italicAngle?2:0)+"\0\0\0\0\0\0\0"),g.addTable("hhea","\0\0\0"+Xr(i.ascent)+Xr(i.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+Xr(i.capHeight)+Xr(Math.tan(i.italicAngle)*i.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+Pt(f)),g.addTable("hmtx",function(){const x=n.charstrings,m=n.cff?n.cff.widths:null;let w="\0\0\0\0";for(let O=1,k=f;O<k;O++){let E=0;if(x){const D=x[O-1];E="width"in D?D.width:0}else m&&(E=Math.ceil(m[O]||0));w+=Pt(E)+Pt(0)}return w}()),g.addTable("maxp","\0\0P\0"+Pt(f)),g.addTable("name",oh(e)),g.addTable("post",Ng(i)),g.toArray()}get _spaceWidth(){const e=["space","minus","one","i","I"];let n;for(const i of e){if(i in this.widths){n=this.widths[i];break}const s=li()[i];let o=0;if(this.composite&&this.cMap.contains(s)&&(o=this.cMap.lookup(s),typeof o=="string"&&(o=sh(s,o))),!o&&this.toUnicode&&(o=this.toUnicode.charCodeOf(s)),o<=0&&(o=s),n=this.widths[o],n)break}return ge(this,"_spaceWidth",n||this.defaultWidth)}_charToGlyph(e,n=!1){let i=this._glyphCache[e];if(i?.isSpace===n)return i;let r,s,o,a=e;this.cMap?.contains(e)&&(a=this.cMap.lookup(e),typeof a=="string"&&(a=sh(e,a))),s=this.widths[a],typeof s!="number"&&(s=this.defaultWidth);const c=this.vmetrics?.[a];let f=this.toUnicode.get(e)||e;typeof f=="number"&&(f=String.fromCharCode(f));let l=this.toFontChar[e]!==void 0;if(r=this.toFontChar[e]||e,this.missingFile){const u=this.differences[e]||this.defaultEncoding[e];(u===".notdef"||u==="")&&this.type==="Type1"&&(r=32,u===""&&(s||=this._spaceWidth,f=String.fromCharCode(r))),r=Hm(r)}this.isType3Font&&(o=r);let d=null;if(this.seacMap?.[e]){l=!0;const u=this.seacMap[e];r=u.baseFontCharCode,d={fontChar:String.fromCodePoint(u.accentFontCharCode),offset:u.accentOffset}}let h="";if(typeof r=="number"&&(r<=1114111?h=String.fromCodePoint(r):L(`charToGlyph - invalid fontCharCode: ${r}`)),this.missingFile&&this.vertical&&h.length===1){const u=Gm()[h.charCodeAt(0)];u&&(h=f=String.fromCharCode(u))}return i=new Ux(e,h,f,d,s,c,o,n,l),this._glyphCache[e]=i}charsToGlyphs(e){let n=this._charsCache[e];if(n)return n;if(n=[],this.cMap){const i=Object.create(null),r=e.length;let s=0;for(;s<r;){this.cMap.readCharCode(e,s,i);const{charcode:o,length:a}=i;s+=a;const c=this._charToGlyph(o,a===1&&e.charCodeAt(s-1)===32);n.push(c)}}else for(let i=0,r=e.length;i<r;++i){const s=e.charCodeAt(i),o=this._charToGlyph(s,s===32);n.push(o)}return this._charsCache[e]=n}getCharPositions(e){const n=[];if(this.cMap){const i=Object.create(null);let r=0;for(;r<e.length;){this.cMap.readCharCode(e,r,i);const s=i.length;n.push([r,r+s]),r+=s}}else for(let i=0,r=e.length;i<r;++i)n.push([i,i+1]);return n}get glyphCacheValues(){return Object.values(this._glyphCache)}encodeString(e){const n=[],i=[],r=()=>n.length%2===1,s=this.toUnicode instanceof Ta?o=>this.toUnicode.charCodeOf(o):o=>this.toUnicode.charCodeOf(String.fromCodePoint(o));for(let o=0,a=e.length;o<a;o++){const c=e.codePointAt(o);if(c>55295&&(c<57344||c>65533)&&o++,this.toUnicode){const f=s(c);if(f!==-1){r()&&(n.push(i.join("")),i.length=0);const l=this.cMap?this.cMap.getCharCodeLength(f):1;for(let d=l-1;d>=0;d--)i.push(String.fromCharCode(f>>8*d&255));continue}}r()||(n.push(i.join("")),i.length=0),i.push(String.fromCodePoint(c))}return n.push(i.join("")),n}}class Yg{constructor(e){this.error=e,this.loadedName="g_font_error",this.missingFile=!0}charsToGlyphs(){return[]}encodeString(e){return[e]}exportData(){return{error:this.error}}}const ia={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7};class Gx{constructor(){ht("Cannot initialize Pattern.")}static parseShading(e,n,i,r,s,o){const a=e instanceof at?e.dict:e,c=a.get("ShadingType");try{switch(c){case ia.AXIAL:case ia.RADIAL:return new Xx(a,n,i,r,s,o);case ia.FREE_FORM_MESH:case ia.LATTICE_FORM_MESH:case ia.COONS_PATCH_MESH:case ia.TENSOR_PATCH_MESH:return new fr(e,n,i,r,s,o);default:throw new re("Unsupported ShadingType: "+c)}}catch(f){if(f instanceof Ut)throw f;return L(f),new Qx}}}class xc{static SMALL_NUMBER=1e-6;getIR(){ht("Abstract method `getIR` called.")}}class Xx extends xc{constructor(e,n,i,r,s,o){super(),this.shadingType=e.get("ShadingType");let a=0;if(this.shadingType===ia.AXIAL?a=4:this.shadingType===ia.RADIAL&&(a=6),this.coordsArr=e.getArray("Coords"),!Qn(this.coordsArr,a))throw new re("RadialAxialShading: Invalid /Coords array.");const c=_t.parse({cs:e.getRaw("CS")||e.getRaw("ColorSpace"),xref:n,resources:i,pdfFunctionFactory:r,globalColorSpaceCache:s,localColorSpaceCache:o});this.bbox=ji(e.getArray("BBox"),null);let f=0,l=1;const d=e.getArray("Domain");Qn(d,2)&&([f,l]=d);let h=!1,u=!1;const g=e.getArray("Extend");if(ip(g,2)&&([h,u]=g),this.shadingType===ia.RADIAL&&(!h||!u)){const[Ee,Pe,V,Q,N,J]=this.coordsArr,ce=Math.hypot(Ee-Q,Pe-N);V<=J+ce&&J<=V+ce&&L("Unsupported radial gradient.")}this.extendStart=h,this.extendEnd=u;const p=e.getRaw("Function"),x=r.create(p,!0),m=840,w=(l-f)/m,O=this.colorStops=[];if(f>=l||w<=0){st("Bad shading domain.");return}const k=new Float32Array(c.numComps),E=new Float32Array(1);let D=0;E[0]=f,x(E,0,k,0);const v=new Uint8ClampedArray(3);c.getRgb(k,0,v);let[S,C,R]=v;O.push([0,wt.makeHexColor(S,C,R)]);let T=1;E[0]=f+w,x(E,0,k,0),c.getRgb(k,0,v);let[H,$,W]=v,Y=H-S+1,Z=$-C+1,B=W-R+1,z=H-S-1,ee=$-C-1,X=W-R-1;for(let Ee=2;Ee<m;Ee++){E[0]=f+Ee*w,x(E,0,k,0),c.getRgb(k,0,v);const[Pe,V,Q]=v,N=Ee-D;if(Y=Math.min(Y,(Pe-S+1)/N),Z=Math.min(Z,(V-C+1)/N),B=Math.min(B,(Q-R+1)/N),z=Math.max(z,(Pe-S-1)/N),ee=Math.max(ee,(V-C-1)/N),X=Math.max(X,(Q-R-1)/N),!(z<=Y&&ee<=Z&&X<=B)){const ce=wt.makeHexColor(H,$,W);O.push([T/m,ce]),Y=Pe-H+1,Z=V-$+1,B=Q-W+1,z=Pe-H-1,ee=V-$-1,X=Q-W-1,D=T,S=H,C=$,R=W}T=Ee,H=Pe,$=V,W=Q}O.push([1,wt.makeHexColor(H,$,W)]);let te="transparent";e.has("Background")&&(te=c.getRgbHex(e.get("Background"),0)),h||(O.unshift([0,te]),O[1][0]+=xc.SMALL_NUMBER),u||(O.at(-1)[0]-=xc.SMALL_NUMBER,O.push([1,te])),this.colorStops=O}getIR(){const{coordsArr:e,shadingType:n}=this;let i,r,s,o,a;return n===ia.AXIAL?(r=[e[0],e[1]],s=[e[2],e[3]],o=null,a=null,i="axial"):n===ia.RADIAL?(r=[e[0],e[1]],s=[e[3],e[4]],o=e[2],a=e[5],i="radial"):ht(`getPattern type unknown: ${n}`),["RadialAxial",i,this.bbox,this.colorStops,r,s,o,a]}}class Wx{constructor(e,n){this.stream=e,this.context=n,this.buffer=0,this.bufferLength=0;const i=n.numComps;this.tmpCompsBuf=new Float32Array(i);const r=n.colorSpace.numComps;this.tmpCsCompsBuf=n.colorFn?new Float32Array(r):this.tmpCompsBuf}get hasData(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;const e=this.stream.getByte();return e<0?!1:(this.buffer=e,this.bufferLength=8,!0)}readBits(e){const{stream:n}=this;let{buffer:i,bufferLength:r}=this;if(e===32){if(r===0)return n.getInt32()>>>0;i=i<<24|n.getByte()<<16|n.getByte()<<8|n.getByte();const s=n.getByte();return this.buffer=s&(1<<r)-1,(i<<8-r|(s&255)>>r)>>>0}if(e===8&&r===0)return n.getByte();for(;r<e;)i=i<<8|n.getByte(),r+=8;return r-=e,this.bufferLength=r,this.buffer=i&(1<<r)-1,i>>r}align(){this.buffer=0,this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){const{bitsPerCoordinate:e,decode:n}=this.context,i=this.readBits(e),r=this.readBits(e),s=e<32?1/((1<<e)-1):23283064365386963e-26;return[i*s*(n[1]-n[0])+n[0],r*s*(n[3]-n[2])+n[2]]}readComponents(){const{bitsPerComponent:e,colorFn:n,colorSpace:i,decode:r,numComps:s}=this.context,o=e<32?1/((1<<e)-1):23283064365386963e-26,a=this.tmpCompsBuf;for(let f=0,l=4;f<s;f++,l+=2){const d=this.readBits(e);a[f]=d*o*(r[l+1]-r[l])+r[l]}const c=this.tmpCsCompsBuf;return n?.(a,0,c,0),i.getRgb(c,0)}}let Hg=Object.create(null);function Vx(t){const e=[];for(let n=0;n<=t;n++){const i=n/t,r=1-i;e.push(new Float32Array([r**3,3*i*r**2,3*i**2*r,i**3]))}return e}function Zg(t){return Hg[t]||=Vx(t)}function Kx(){Hg=Object.create(null)}class fr extends xc{static MIN_SPLIT_PATCH_CHUNKS_AMOUNT=3;static MAX_SPLIT_PATCH_CHUNKS_AMOUNT=20;static TRIANGLE_DENSITY=20;constructor(e,n,i,r,s,o){if(super(),!(e instanceof at))throw new re("Mesh data is not a stream");const a=e.dict;this.shadingType=a.get("ShadingType"),this.bbox=ji(a.getArray("BBox"),null);const c=_t.parse({cs:a.getRaw("CS")||a.getRaw("ColorSpace"),xref:n,resources:i,pdfFunctionFactory:r,globalColorSpaceCache:s,localColorSpaceCache:o});this.background=a.has("Background")?c.getRgb(a.get("Background"),0):null;const f=a.getRaw("Function"),l=f?r.create(f,!0):null;this.coords=[],this.colors=[],this.figures=[];const d={bitsPerCoordinate:a.get("BitsPerCoordinate"),bitsPerComponent:a.get("BitsPerComponent"),bitsPerFlag:a.get("BitsPerFlag"),decode:a.getArray("Decode"),colorFn:l,colorSpace:c,numComps:l?1:c.numComps},h=new Wx(e,d);let u=!1;switch(this.shadingType){case ia.FREE_FORM_MESH:this._decodeType4Shading(h);break;case ia.LATTICE_FORM_MESH:const g=a.get("VerticesPerRow")|0;if(g<2)throw new re("Invalid VerticesPerRow");this._decodeType5Shading(h,g);break;case ia.COONS_PATCH_MESH:this._decodeType6Shading(h),u=!0;break;case ia.TENSOR_PATCH_MESH:this._decodeType7Shading(h),u=!0;break;default:ht("Unsupported mesh type.");break}if(u){this._updateBounds();for(let g=0,p=this.figures.length;g<p;g++)this._buildFigureFromPatch(g)}this._updateBounds(),this._packData()}_decodeType4Shading(e){const n=this.coords,i=this.colors,r=[];let s=0;for(;e.hasData;){const o=e.readFlag(),a=e.readCoordinate(),c=e.readComponents();if(s===0){if(!(0<=o&&o<=2))throw new re("Unknown type4 flag");switch(o){case 0:s=3;break;case 1:r.push(r.at(-2),r.at(-1)),s=1;break;case 2:r.push(r.at(-3),r.at(-1)),s=1;break}}r.push(n.length),n.push(a),i.push(c),s--,e.align()}this.figures.push({type:"triangles",coords:new Int32Array(r),colors:new Int32Array(r)})}_decodeType5Shading(e,n){const i=this.coords,r=this.colors,s=[];for(;e.hasData;){const o=e.readCoordinate(),a=e.readComponents();s.push(i.length),i.push(o),r.push(a)}this.figures.push({type:"lattice",coords:new Int32Array(s),colors:new Int32Array(s),verticesPerRow:n})}_decodeType6Shading(e){const n=this.coords,i=this.colors,r=new Int32Array(16),s=new Int32Array(4);for(;e.hasData;){const o=e.readFlag();if(!(0<=o&&o<=3))throw new re("Unknown type6 flag");const a=n.length;for(let u=0,g=o!==0?8:12;u<g;u++)n.push(e.readCoordinate());const c=i.length;for(let u=0,g=o!==0?2:4;u<g;u++)i.push(e.readComponents());let f,l,d,h;switch(o){case 0:r[12]=a+3,r[13]=a+4,r[14]=a+5,r[15]=a+6,r[8]=a+2,r[11]=a+7,r[4]=a+1,r[7]=a+8,r[0]=a,r[1]=a+11,r[2]=a+10,r[3]=a+9,s[2]=c+1,s[3]=c+2,s[0]=c,s[1]=c+3;break;case 1:f=r[12],l=r[13],d=r[14],h=r[15],r[12]=h,r[13]=a+0,r[14]=a+1,r[15]=a+2,r[8]=d,r[11]=a+3,r[4]=l,r[7]=a+4,r[0]=f,r[1]=a+7,r[2]=a+6,r[3]=a+5,f=s[2],l=s[3],s[2]=l,s[3]=c,s[0]=f,s[1]=c+1;break;case 2:f=r[15],l=r[11],r[12]=r[3],r[13]=a+0,r[14]=a+1,r[15]=a+2,r[8]=r[7],r[11]=a+3,r[4]=l,r[7]=a+4,r[0]=f,r[1]=a+7,r[2]=a+6,r[3]=a+5,f=s[3],s[2]=s[1],s[3]=c,s[0]=f,s[1]=c+1;break;case 3:r[12]=r[0],r[13]=a+0,r[14]=a+1,r[15]=a+2,r[8]=r[1],r[11]=a+3,r[4]=r[2],r[7]=a+4,r[0]=r[3],r[1]=a+7,r[2]=a+6,r[3]=a+5,s[2]=s[0],s[3]=c,s[0]=s[1],s[1]=c+1;break}r[5]=n.length,n.push([(-4*n[r[0]][0]-n[r[15]][0]+6*(n[r[4]][0]+n[r[1]][0])-2*(n[r[12]][0]+n[r[3]][0])+3*(n[r[13]][0]+n[r[7]][0]))/9,(-4*n[r[0]][1]-n[r[15]][1]+6*(n[r[4]][1]+n[r[1]][1])-2*(n[r[12]][1]+n[r[3]][1])+3*(n[r[13]][1]+n[r[7]][1]))/9]),r[6]=n.length,n.push([(-4*n[r[3]][0]-n[r[12]][0]+6*(n[r[2]][0]+n[r[7]][0])-2*(n[r[0]][0]+n[r[15]][0])+3*(n[r[4]][0]+n[r[14]][0]))/9,(-4*n[r[3]][1]-n[r[12]][1]+6*(n[r[2]][1]+n[r[7]][1])-2*(n[r[0]][1]+n[r[15]][1])+3*(n[r[4]][1]+n[r[14]][1]))/9]),r[9]=n.length,n.push([(-4*n[r[12]][0]-n[r[3]][0]+6*(n[r[8]][0]+n[r[13]][0])-2*(n[r[0]][0]+n[r[15]][0])+3*(n[r[11]][0]+n[r[1]][0]))/9,(-4*n[r[12]][1]-n[r[3]][1]+6*(n[r[8]][1]+n[r[13]][1])-2*(n[r[0]][1]+n[r[15]][1])+3*(n[r[11]][1]+n[r[1]][1]))/9]),r[10]=n.length,n.push([(-4*n[r[15]][0]-n[r[0]][0]+6*(n[r[11]][0]+n[r[14]][0])-2*(n[r[12]][0]+n[r[3]][0])+3*(n[r[2]][0]+n[r[8]][0]))/9,(-4*n[r[15]][1]-n[r[0]][1]+6*(n[r[11]][1]+n[r[14]][1])-2*(n[r[12]][1]+n[r[3]][1])+3*(n[r[2]][1]+n[r[8]][1]))/9]),this.figures.push({type:"patch",coords:new Int32Array(r),colors:new Int32Array(s)})}}_decodeType7Shading(e){const n=this.coords,i=this.colors,r=new Int32Array(16),s=new Int32Array(4);for(;e.hasData;){const o=e.readFlag();if(!(0<=o&&o<=3))throw new re("Unknown type7 flag");const a=n.length;for(let u=0,g=o!==0?12:16;u<g;u++)n.push(e.readCoordinate());const c=i.length;for(let u=0,g=o!==0?2:4;u<g;u++)i.push(e.readComponents());let f,l,d,h;switch(o){case 0:r[12]=a+3,r[13]=a+4,r[14]=a+5,r[15]=a+6,r[8]=a+2,r[9]=a+13,r[10]=a+14,r[11]=a+7,r[4]=a+1,r[5]=a+12,r[6]=a+15,r[7]=a+8,r[0]=a,r[1]=a+11,r[2]=a+10,r[3]=a+9,s[2]=c+1,s[3]=c+2,s[0]=c,s[1]=c+3;break;case 1:f=r[12],l=r[13],d=r[14],h=r[15],r[12]=h,r[13]=a+0,r[14]=a+1,r[15]=a+2,r[8]=d,r[9]=a+9,r[10]=a+10,r[11]=a+3,r[4]=l,r[5]=a+8,r[6]=a+11,r[7]=a+4,r[0]=f,r[1]=a+7,r[2]=a+6,r[3]=a+5,f=s[2],l=s[3],s[2]=l,s[3]=c,s[0]=f,s[1]=c+1;break;case 2:f=r[15],l=r[11],r[12]=r[3],r[13]=a+0,r[14]=a+1,r[15]=a+2,r[8]=r[7],r[9]=a+9,r[10]=a+10,r[11]=a+3,r[4]=l,r[5]=a+8,r[6]=a+11,r[7]=a+4,r[0]=f,r[1]=a+7,r[2]=a+6,r[3]=a+5,f=s[3],s[2]=s[1],s[3]=c,s[0]=f,s[1]=c+1;break;case 3:r[12]=r[0],r[13]=a+0,r[14]=a+1,r[15]=a+2,r[8]=r[1],r[9]=a+9,r[10]=a+10,r[11]=a+3,r[4]=r[2],r[5]=a+8,r[6]=a+11,r[7]=a+4,r[0]=r[3],r[1]=a+7,r[2]=a+6,r[3]=a+5,s[2]=s[0],s[3]=c,s[0]=s[1],s[1]=c+1;break}this.figures.push({type:"patch",coords:new Int32Array(r),colors:new Int32Array(s)})}}_buildFigureFromPatch(e){const n=this.figures[e];On(n.type==="patch","Unexpected patch mesh figure");const i=this.coords,r=this.colors,s=n.coords,o=n.colors,a=Math.min(i[s[0]][0],i[s[3]][0],i[s[12]][0],i[s[15]][0]),c=Math.min(i[s[0]][1],i[s[3]][1],i[s[12]][1],i[s[15]][1]),f=Math.max(i[s[0]][0],i[s[3]][0],i[s[12]][0],i[s[15]][0]),l=Math.max(i[s[0]][1],i[s[3]][1],i[s[12]][1],i[s[15]][1]);let d=Math.ceil((f-a)*fr.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0]));d=kn(d,fr.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,fr.MAX_SPLIT_PATCH_CHUNKS_AMOUNT);let h=Math.ceil((l-c)*fr.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1]));h=kn(h,fr.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,fr.MAX_SPLIT_PATCH_CHUNKS_AMOUNT);const u=d+1,g=new Int32Array((h+1)*u),p=new Int32Array((h+1)*u);let x=0;const m=new Uint8Array(3),w=new Uint8Array(3),O=r[o[0]],k=r[o[1]],E=r[o[2]],D=r[o[3]],v=Zg(h),S=Zg(d);for(let C=0;C<=h;C++){m[0]=(O[0]*(h-C)+E[0]*C)/h|0,m[1]=(O[1]*(h-C)+E[1]*C)/h|0,m[2]=(O[2]*(h-C)+E[2]*C)/h|0,w[0]=(k[0]*(h-C)+D[0]*C)/h|0,w[1]=(k[1]*(h-C)+D[1]*C)/h|0,w[2]=(k[2]*(h-C)+D[2]*C)/h|0;for(let R=0;R<=d;R++,x++){if((C===0||C===h)&&(R===0||R===d))continue;let T=0,H=0,$=0;for(let Y=0;Y<=3;Y++)for(let Z=0;Z<=3;Z++,$++){const B=v[C][Y]*S[R][Z];T+=i[s[$]][0]*B,H+=i[s[$]][1]*B}g[x]=i.length,i.push([T,H]),p[x]=r.length;const W=new Uint8Array(3);W[0]=(m[0]*(d-R)+w[0]*R)/d|0,W[1]=(m[1]*(d-R)+w[1]*R)/d|0,W[2]=(m[2]*(d-R)+w[2]*R)/d|0,r.push(W)}}g[0]=s[0],p[0]=o[0],g[d]=s[3],p[d]=o[1],g[u*h]=s[12],p[u*h]=o[2],g[u*h+d]=s[15],p[u*h+d]=o[3],this.figures[e]={type:"lattice",coords:g,colors:p,verticesPerRow:u}}_updateBounds(){let e=this.coords[0][0],n=this.coords[0][1],i=e,r=n;for(let s=1,o=this.coords.length;s<o;s++){const a=this.coords[s][0],c=this.coords[s][1];e=e>a?a:e,n=n>c?c:n,i=i<a?a:i,r=r<c?c:r}this.bounds=[e,n,i,r]}_packData(){let e,n,i,r;const s=this.coords,o=new Float32Array(s.length*2);for(e=0,i=0,n=s.length;e<n;e++){const l=s[e];o[i++]=l[0],o[i++]=l[1]}this.coords=o;const a=this.colors,c=new Uint8Array(a.length*3);for(e=0,i=0,n=a.length;e<n;e++){const l=a[e];c[i++]=l[0],c[i++]=l[1],c[i++]=l[2]}this.colors=c;const f=this.figures;for(e=0,n=f.length;e<n;e++){const l=f[e],d=l.coords,h=l.colors;for(i=0,r=d.length;i<r;i++)d[i]*=2,h[i]*=3}}getIR(){const{bounds:e}=this;if(e[2]-e[0]===0||e[3]-e[1]===0)throw new re(`Invalid MeshShading bounds: [${e}].`);return["Mesh",this.shadingType,this.coords,this.colors,this.figures,e,this.bbox,this.background]}}class Qx extends xc{getIR(){return["Dummy"]}}function zg(t,e,n){const i=ar(e.getArray("Matrix"),Ga),r=ji(e.getArray("BBox"),null);if(!r||r[2]-r[0]===0||r[3]-r[1]===0)throw new re("Invalid getTilingPatternIR /BBox array.");const s=e.get("XStep");if(typeof s!="number")throw new re("Invalid getTilingPatternIR /XStep value.");const o=e.get("YStep");if(typeof o!="number")throw new re("Invalid getTilingPatternIR /YStep value.");const a=e.get("PaintType");if(!Number.isInteger(a))throw new re("Invalid getTilingPatternIR /PaintType value.");const c=e.get("TilingType");if(!Number.isInteger(c))throw new re("Invalid getTilingPatternIR /TilingType value.");return["TilingPattern",n,t,i,r,s,o,a,c]}const Jx=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],ey={lineHeight:1.2207,lineGap:.2207},ty=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],ny={lineHeight:1.2207,lineGap:.2207},ay=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],iy={lineHeight:1.2207,lineGap:.2207},ry=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1],sy={lineHeight:1.2207,lineGap:.2207},oy=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],cy={lineHeight:1.2,lineGap:.2},fy=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],ly={lineHeight:1.35,lineGap:.2},dy=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],hy={lineHeight:1.35,lineGap:.2},uy=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],by={lineHeight:1.2,lineGap:.2},yc=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],wc=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],_c=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],Oc=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],kc=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Pc=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],vc=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Ac=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],gy=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],py={lineHeight:1.2,lineGap:.2},my=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],xy={lineHeight:1.2,lineGap:.2},yy=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],wy={lineHeight:1.2,lineGap:.2},_y=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Oy={lineHeight:1.2,lineGap:.2},ky=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Py={lineHeight:1.33008,lineGap:0},vy=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Ay={lineHeight:1.33008,lineGap:0},Ey=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],jy={lineHeight:1.33008,lineGap:0},Dy=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1],Iy={lineHeight:1.33008,lineGap:0},Sy=Nt(function(t){t["MyriadPro-Regular"]=t["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:_y,baseWidths:vc,baseMapping:Ac,metrics:Oy},t["MyriadPro-Bold"]=t["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:gy,baseWidths:yc,baseMapping:wc,metrics:py},t["MyriadPro-It"]=t["MyriadPro-Italic"]=t["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:yy,baseWidths:kc,baseMapping:Pc,metrics:wy},t["MyriadPro-BoldIt"]=t["MyriadPro-BoldItalic"]=t["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:my,baseWidths:_c,baseMapping:Oc,metrics:xy},t.ArialMT=t.Arial=t["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:vc,baseMapping:Ac},t["Arial-BoldMT"]=t["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:yc,baseMapping:wc},t["Arial-ItalicMT"]=t["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:kc,baseMapping:Pc},t["Arial-BoldItalicMT"]=t["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:_c,baseMapping:Oc},t["Calibri-Regular"]={name:"LiberationSans-Regular",factors:ry,baseWidths:vc,baseMapping:Ac,metrics:sy},t["Calibri-Bold"]={name:"LiberationSans-Bold",factors:Jx,baseWidths:yc,baseMapping:wc,metrics:ey},t["Calibri-Italic"]={name:"LiberationSans-Italic",factors:ay,baseWidths:kc,baseMapping:Pc,metrics:iy},t["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:ty,baseWidths:_c,baseMapping:Oc,metrics:ny},t["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:Dy,baseWidths:vc,baseMapping:Ac,metrics:Iy},t["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:ky,baseWidths:yc,baseMapping:wc,metrics:Py},t["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:Ey,baseWidths:kc,baseMapping:Pc,metrics:jy},t["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:vy,baseWidths:_c,baseMapping:Oc,metrics:Ay},t["Helvetica-Regular"]=t.Helvetica={name:"LiberationSans-Regular",factors:uy,baseWidths:vc,baseMapping:Ac,metrics:by},t["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:oy,baseWidths:yc,baseMapping:wc,metrics:cy},t["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:dy,baseWidths:kc,baseMapping:Pc,metrics:hy},t["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:fy,baseWidths:_c,baseMapping:Oc,metrics:ly}});function ch(t){const e=sc(t);return Sy()[e]}function Cy(t){const e=ch(t);if(!e)return null;const{baseWidths:n,baseMapping:i,factors:r}=e,s=r?n.map((f,l)=>f*r[l]):n;let o=-2,a;const c=[];for(const[f,l]of i.map((d,h)=>[d,h]).sort(([d],[h])=>d-h))f!==-1&&(f===o+1?(a.push(s[l]),o+=1):(o=f,a=[s[l]],c.push(f,a)));return c}function qg(t){const e=Cy(t),n=new q(null);n.set("BaseFont",le.get(t)),n.set("Type",le.get("Font")),n.set("Subtype",le.get("CIDFontType2")),n.set("Encoding",le.get("Identity-H")),n.set("CIDToGIDMap",le.get("Identity")),n.set("W",e),n.set("FirstChar",e[0]),n.set("LastChar",e.at(-2)+e.at(-1).length-1);const i=new q(null);n.set("FontDescriptor",i);const r=new q(null);return r.set("Ordering","Identity"),r.set("Registry","Adobe"),r.set("Supplement",0),n.set("CIDSystemInfo",r),n}class Ry{constructor(e){this.lexer=e,this.operators=[],this.token=null,this.prev=null}nextToken(){this.prev=this.token,this.token=this.lexer.getToken()}accept(e){return this.token.type===e?(this.nextToken(),!0):!1}expect(e){if(this.accept(e))return!0;throw new re(`Unexpected symbol: found ${this.token.type} expected ${e}.`)}parse(){return this.nextToken(),this.expect(qn.LBRACE),this.parseBlock(),this.expect(qn.RBRACE),this.operators}parseBlock(){for(;;)if(this.accept(qn.NUMBER))this.operators.push(this.prev.value);else if(this.accept(qn.OPERATOR))this.operators.push(this.prev.value);else if(this.accept(qn.LBRACE))this.parseCondition();else return}parseCondition(){const e=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(qn.RBRACE),this.accept(qn.IF))this.operators[e]=this.operators.length,this.operators[e+1]="jz";else if(this.accept(qn.LBRACE)){const n=this.operators.length;this.operators.push(null,null);const i=this.operators.length;this.parseBlock(),this.expect(qn.RBRACE),this.expect(qn.IFELSE),this.operators[n]=this.operators.length,this.operators[n+1]="j",this.operators[e]=i,this.operators[e+1]="jz"}else throw new re("PS Function: error parsing conditional.")}}const qn={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5};class ka{static get opCache(){return ge(this,"opCache",Object.create(null))}constructor(e,n){this.type=e,this.value=n}static getOperator(e){return ka.opCache[e]||=new ka(qn.OPERATOR,e)}static get LBRACE(){return ge(this,"LBRACE",new ka(qn.LBRACE,"{"))}static get RBRACE(){return ge(this,"RBRACE",new ka(qn.RBRACE,"}"))}static get IF(){return ge(this,"IF",new ka(qn.IF,"IF"))}static get IFELSE(){return ge(this,"IFELSE",new ka(qn.IFELSE,"IFELSE"))}}class My{constructor(e){this.stream=e,this.nextChar(),this.strBuf=[]}nextChar(){return this.currentChar=this.stream.getByte()}getToken(){let e=!1,n=this.currentChar;for(;;){if(n<0)return Pn;if(e)(n===10||n===13)&&(e=!1);else if(n===37)e=!0;else if(!wa(n))break;n=this.nextChar()}switch(n|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new ka(qn.NUMBER,this.getNumber());case 123:return this.nextChar(),ka.LBRACE;case 125:return this.nextChar(),ka.RBRACE}const i=this.strBuf;for(i.length=0,i[0]=String.fromCharCode(n);(n=this.nextChar())>=0&&(n>=65&&n<=90||n>=97&&n<=122);)i.push(String.fromCharCode(n));const r=i.join("");switch(r.toLowerCase()){case"if":return ka.IF;case"ifelse":return ka.IFELSE;default:return ka.getOperator(r)}}getNumber(){let e=this.currentChar;const n=this.strBuf;for(n.length=0,n[0]=String.fromCharCode(e);(e=this.nextChar())>=0&&(e>=48&&e<=57||e===45||e===46);)n.push(String.fromCharCode(e));const i=parseFloat(n.join(""));if(isNaN(i))throw new re(`Invalid floating point number: ${i}`);return i}}class Wr{constructor(e){this._onlyRefs=e?.onlyRefs===!0,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new ha}getByName(e){this._onlyRefs&&ht("Should not call `getByName` method.");const n=this._nameRefMap.get(e);return n?this.getByRef(n):this._imageMap.get(e)||null}getByRef(e){return this._imageCache.get(e)||null}set(e,n,i){ht("Abstract method `set` called.")}}class $g extends Wr{set(e,n=null,i){if(typeof e!="string")throw new Error('LocalImageCache.set - expected "name" argument.');if(n){if(this._imageCache.has(n))return;this._nameRefMap.set(e,n),this._imageCache.put(n,i);return}this._imageMap.has(e)||this._imageMap.set(e,i)}}class Gg extends Wr{set(e=null,n=null,i){if(typeof e!="string"&&!n)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(n){if(this._imageCache.has(n))return;e!==null&&this._nameRefMap.set(e,n),this._imageCache.put(n,i);return}this._imageMap.has(e)||this._imageMap.set(e,i)}}class Uy extends Wr{constructor(e){super({onlyRefs:!0})}set(e=null,n,i){if(!n)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(n)||this._imageCache.put(n,i)}}class Xg extends Wr{set(e,n=null,i){if(typeof e!="string")throw new Error('LocalGStateCache.set - expected "name" argument.');if(n){if(this._imageCache.has(n))return;this._nameRefMap.set(e,n),this._imageCache.put(n,i);return}this._imageMap.has(e)||this._imageMap.set(e,i)}}class Ty extends Wr{constructor(e){super({onlyRefs:!0})}set(e=null,n,i){if(!n)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(n)||this._imageCache.put(n,i)}}class Ly extends Wr{constructor(e){super({onlyRefs:!0})}set(e=null,n,i){if(!n)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(n)||this._imageCache.put(n,i)}}class Fy extends Wr{constructor(e){super({onlyRefs:!0})}set(e=null,n,i){if(!n)throw new Error('GlobalColorSpaceCache.set - expected "ref" argument.');this._imageCache.has(n)||this._imageCache.put(n,i)}clear(){this._imageCache.clear()}}class qs{static NUM_PAGES_THRESHOLD=2;static MIN_IMAGES_TO_CACHE=10;static MAX_BYTE_SIZE=5e7;#e=new tn;constructor(){this._refCache=new ha,this._imageCache=new ha}get#t(){let e=0;for(const n of this._imageCache)e+=n.byteSize;return e}get#n(){return!(this._imageCache.size<qs.MIN_IMAGES_TO_CACHE||this.#t<qs.MAX_BYTE_SIZE)}shouldCache(e,n){let i=this._refCache.get(e);return i||(i=new Set,this._refCache.put(e,i)),i.add(n),!(i.size<qs.NUM_PAGES_THRESHOLD||!this._imageCache.has(e)&&this.#n)}addDecodeFailed(e){this.#e.put(e)}hasDecodeFailed(e){return this.#e.has(e)}addByteSize(e,n){const i=this._imageCache.get(e);i&&(i.byteSize||(i.byteSize=n))}getData(e,n){const i=this._refCache.get(e);if(!i||i.size<qs.NUM_PAGES_THRESHOLD)return null;const r=this._imageCache.get(e);return r?(i.add(n),r):null}setData(e,n){if(!this._refCache.has(e))throw new Error('GlobalImageCache.setData - expected "shouldCache" to have been called.');if(!this._imageCache.has(e)){if(this.#n){L("GlobalImageCache.setData - cache limit reached.");return}this._imageCache.put(e,n)}}clear(e=!1){e||(this.#e.clear(),this._refCache.clear()),this._imageCache.clear()}}class Wg{constructor({xref:e,isEvalSupported:n=!0}){this.xref=e,this.isEvalSupported=n!==!1}create(e,n=!1){let i,r;if(e instanceof ke?i=e:e instanceof q?i=e.objId:e instanceof at&&(i=e.dict?.objId),i){const o=this._localFunctionCache.getByRef(i);if(o)return o}const s=this.xref.fetchIfRef(e);if(Array.isArray(s)){if(!n)throw new Error('PDFFunctionFactory.create - expected "parseArray" argument.');r=Vg.parseArray(this,s)}else r=Vg.parse(this,s);return i&&this._localFunctionCache.set(null,i,r),r}get _localFunctionCache(){return ge(this,"_localFunctionCache",new Uy)}}function La(t){return Array.isArray(t)?Qn(t,null)?t:t.map(e=>+e):null}class Vg{static getSampleArray(e,n,i,r){let s,o,a=1;for(s=0,o=e.length;s<o;s++)a*=e[s];a*=n;const c=new Array(a);let f=0,l=0;const d=1/(2**i-1),h=r.getBytes((a*i+7)/8);let u=0;for(s=0;s<a;s++){for(;f<i;)l<<=8,l|=h[u++],f+=8;f-=i,c[s]=(l>>f)*d,l&=(1<<f)-1}return c}static parse(e,n){const i=n.dict||n;switch(i.get("FunctionType")){case 0:return this.constructSampled(e,n,i);case 1:break;case 2:return this.constructInterpolated(e,i);case 3:return this.constructStiched(e,i);case 4:return this.constructPostScript(e,n,i)}throw new re("Unknown type of function")}static parseArray(e,n){const{xref:i}=e,r=[];for(const s of n)r.push(this.parse(e,i.fetchIfRef(s)));return function(s,o,a,c){for(let f=0,l=r.length;f<l;f++)r[f](s,o,a,c+f)}}static constructSampled(e,n,i){function r(x){const m=x.length,w=[];let O=0;for(let k=0;k<m;k+=2)w[O++]=[x[k],x[k+1]];return w}function s(x,m,w,O,k){return O+(x-m)*((k-O)/(w-m))}let o=La(i.getArray("Domain")),a=La(i.getArray("Range"));if(!o||!a)throw new re("No domain or range");const c=o.length/2,f=a.length/2;o=r(o),a=r(a);const l=La(i.getArray("Size")),d=i.get("BitsPerSample"),h=i.get("Order")||1;h!==1&&st("No support for cubic spline interpolation: "+h);let u=La(i.getArray("Encode"));if(u)u=r(u);else{u=[];for(let x=0;x<c;++x)u.push([0,l[x]-1])}let g=La(i.getArray("Decode"));g=g?r(g):a;const p=this.getSampleArray(l,f,d,n);return function(m,w,O,k){const E=1<<c,D=new Float64Array(E).fill(1),v=new Uint32Array(E);let S,C,R=f,T=1;for(S=0;S<c;++S){const H=o[S][0],$=o[S][1],W=kn(m[w+S],H,$);let Y=s(W,H,$,u[S][0],u[S][1]);const Z=l[S];Y=kn(Y,0,Z-1);const B=Y<Z-1?Math.floor(Y):Y-1,z=B+1-Y,ee=Y-B,X=B*R,te=X+R;for(C=0;C<E;C++)C&T?(D[C]*=ee,v[C]+=te):(D[C]*=z,v[C]+=X);R*=Z,T<<=1}for(C=0;C<f;++C){let H=0;for(S=0;S<E;S++)H+=p[v[S]+C]*D[S];H=s(H,0,1,g[C][0],g[C][1]),O[k+C]=kn(H,a[C][0],a[C][1])}}}static constructInterpolated(e,n){const i=La(n.getArray("C0"))||[0],r=La(n.getArray("C1"))||[1],s=n.get("N"),o=[];for(let c=0,f=i.length;c<f;++c)o.push(r[c]-i[c]);const a=o.length;return function(f,l,d,h){const u=s===1?f[l]:f[l]**s;for(let g=0;g<a;++g)d[h+g]=i[g]+u*o[g]}}static constructStiched(e,n){const i=La(n.getArray("Domain"));if(!i)throw new re("No domain");if(i.length/2!==1)throw new re("Bad domain for stiched function");const{xref:s}=e,o=[];for(const l of n.get("Functions"))o.push(this.parse(e,s.fetchIfRef(l)));const a=La(n.getArray("Bounds")),c=La(n.getArray("Encode")),f=new Float32Array(1);return function(d,h,u,g){const p=kn(d[h],i[0],i[1]),x=a.length;let m;for(m=0;m<x&&!(p<a[m]);++m);let w=i[0];m>0&&(w=a[m-1]);let O=i[1];m<a.length&&(O=a[m]);const k=c[2*m],E=c[2*m+1];f[0]=w===O?k:k+(p-w)*(E-k)/(O-w),o[m](f,0,u,g)}}static constructPostScript(e,n,i){const r=La(i.getArray("Domain")),s=La(i.getArray("Range"));if(!r)throw new re("No domain.");if(!s)throw new re("No range.");const o=new My(n),c=new Ry(o).parse();if(e.isEvalSupported&&da.isEvalSupported){const x=new $y().compile(c,r,s);if(x)return new Function("src","srcOffset","dest","destOffset",x)}st("Unable to compile PS function");const f=s.length>>1,l=r.length>>1,d=new Ny(c),h=Object.create(null);let g=2048*4;const p=new Float32Array(l);return function(m,w,O,k){let E,D,v="";const S=p;for(E=0;E<l;E++)D=m[w+E],S[E]=D,v+=D+"_";const C=h[v];if(C!==void 0){O.set(C,k);return}const R=new Float32Array(f),T=d.execute(S),H=T.length-f;for(E=0;E<f;E++){D=T[H+E];let $=s[E*2];D<$?D=$:($=s[E*2+1],D>$&&(D=$)),R[E]=D}g>0&&(g--,h[v]=R),O.set(R,k)}}}function fh(t){let e;if(t instanceof q)e=t;else if(t instanceof at)e=t.dict;else return!1;return e.has("FunctionType")}class uf{static MAX_STACK_SIZE=100;constructor(e){this.stack=e?Array.from(e):[]}push(e){if(this.stack.length>=uf.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(e)}pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}copy(e){if(this.stack.length+e>=uf.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");const n=this.stack;for(let i=n.length-e,r=e-1;r>=0;r--,i++)n.push(n[i])}index(e){this.push(this.stack[this.stack.length-e-1])}roll(e,n){const i=this.stack,r=i.length-e,s=i.length-1,o=r+(n-Math.floor(n/e)*e);for(let a=r,c=s;a<c;a++,c--){const f=i[a];i[a]=i[c],i[c]=f}for(let a=r,c=o-1;a<c;a++,c--){const f=i[a];i[a]=i[c],i[c]=f}for(let a=o,c=s;a<c;a++,c--){const f=i[a];i[a]=i[c],i[c]=f}}}class Ny{constructor(e){this.operators=e}execute(e){const n=new uf(e);let i=0;const r=this.operators,s=r.length;let o,a,c;for(;i<s;){if(o=r[i++],typeof o=="number"){n.push(o);continue}switch(o){case"jz":c=n.pop(),a=n.pop(),a||(i=c);break;case"j":a=n.pop(),i=a;break;case"abs":a=n.pop(),n.push(Math.abs(a));break;case"add":c=n.pop(),a=n.pop(),n.push(a+c);break;case"and":c=n.pop(),a=n.pop(),typeof a=="boolean"&&typeof c=="boolean"?n.push(a&&c):n.push(a&c);break;case"atan":c=n.pop(),a=n.pop(),a=Math.atan2(a,c)/Math.PI*180,a<0&&(a+=360),n.push(a);break;case"bitshift":c=n.pop(),a=n.pop(),a>0?n.push(a<<c):n.push(a>>c);break;case"ceiling":a=n.pop(),n.push(Math.ceil(a));break;case"copy":a=n.pop(),n.copy(a);break;case"cos":a=n.pop(),n.push(Math.cos(a%360/180*Math.PI));break;case"cvi":a=n.pop()|0,n.push(a);break;case"cvr":break;case"div":c=n.pop(),a=n.pop(),n.push(a/c);break;case"dup":n.copy(1);break;case"eq":c=n.pop(),a=n.pop(),n.push(a===c);break;case"exch":n.roll(2,1);break;case"exp":c=n.pop(),a=n.pop(),n.push(a**c);break;case"false":n.push(!1);break;case"floor":a=n.pop(),n.push(Math.floor(a));break;case"ge":c=n.pop(),a=n.pop(),n.push(a>=c);break;case"gt":c=n.pop(),a=n.pop(),n.push(a>c);break;case"idiv":c=n.pop(),a=n.pop(),n.push(a/c|0);break;case"index":a=n.pop(),n.index(a);break;case"le":c=n.pop(),a=n.pop(),n.push(a<=c);break;case"ln":a=n.pop(),n.push(Math.log(a));break;case"log":a=n.pop(),n.push(Math.log10(a));break;case"lt":c=n.pop(),a=n.pop(),n.push(a<c);break;case"mod":c=n.pop(),a=n.pop(),n.push(a%c);break;case"mul":c=n.pop(),a=n.pop(),n.push(a*c);break;case"ne":c=n.pop(),a=n.pop(),n.push(a!==c);break;case"neg":a=n.pop(),n.push(-a);break;case"not":a=n.pop(),typeof a=="boolean"?n.push(!a):n.push(~a);break;case"or":c=n.pop(),a=n.pop(),typeof a=="boolean"&&typeof c=="boolean"?n.push(a||c):n.push(a|c);break;case"pop":n.pop();break;case"roll":c=n.pop(),a=n.pop(),n.roll(a,c);break;case"round":a=n.pop(),n.push(Math.round(a));break;case"sin":a=n.pop(),n.push(Math.sin(a%360/180*Math.PI));break;case"sqrt":a=n.pop(),n.push(Math.sqrt(a));break;case"sub":c=n.pop(),a=n.pop(),n.push(a-c);break;case"true":n.push(!0);break;case"truncate":a=n.pop(),a=a<0?Math.ceil(a):Math.floor(a),n.push(a);break;case"xor":c=n.pop(),a=n.pop(),typeof a=="boolean"&&typeof c=="boolean"?n.push(a!==c):n.push(a^c);break;default:throw new re(`Unknown operator ${o}`)}}return n.stack}}class $s{constructor(e){this.type=e}visit(e){ht("abstract method")}}class By extends $s{constructor(e,n,i){super("args"),this.index=e,this.min=n,this.max=i}visit(e){e.visitArgument(this)}}class Vr extends $s{constructor(e){super("literal"),this.number=e,this.min=e,this.max=e}visit(e){e.visitLiteral(this)}}class lh extends $s{constructor(e,n,i,r,s){super("binary"),this.op=e,this.arg1=n,this.arg2=i,this.min=r,this.max=s}visit(e){e.visitBinaryOperation(this)}}class Yy extends $s{constructor(e,n){super("max"),this.arg=e,this.min=e.min,this.max=n}visit(e){e.visitMin(this)}}class Kg extends $s{constructor(e,n,i){super("var"),this.index=e,this.min=n,this.max=i}visit(e){e.visitVariable(this)}}class Qg extends $s{constructor(e,n){super("definition"),this.variable=e,this.arg=n}visit(e){e.visitVariableDefinition(this)}}class Jg{constructor(){this.parts=[]}visitArgument(e){this.parts.push("Math.max(",e.min,", Math.min(",e.max,", src[srcOffset + ",e.index,"]))")}visitVariable(e){this.parts.push("v",e.index)}visitLiteral(e){this.parts.push(e.number)}visitBinaryOperation(e){this.parts.push("("),e.arg1.visit(this),this.parts.push(" ",e.op," "),e.arg2.visit(this),this.parts.push(")")}visitVariableDefinition(e){this.parts.push("var "),e.variable.visit(this),this.parts.push(" = "),e.arg.visit(this),this.parts.push(";")}visitMin(e){this.parts.push("Math.min("),e.arg.visit(this),this.parts.push(", ",e.max,")")}toString(){return this.parts.join("")}}function Hy(t,e){return e.type==="literal"&&e.number===0?t:t.type==="literal"&&t.number===0?e:e.type==="literal"&&t.type==="literal"?new Vr(t.number+e.number):new lh("+",t,e,t.min+e.min,t.max+e.max)}function Zy(t,e){if(e.type==="literal"){if(e.number===0)return new Vr(0);if(e.number===1)return t;if(t.type==="literal")return new Vr(t.number*e.number)}if(t.type==="literal"){if(t.number===0)return new Vr(0);if(t.number===1)return e}const n=Math.min(t.min*e.min,t.min*e.max,t.max*e.min,t.max*e.max),i=Math.max(t.min*e.min,t.min*e.max,t.max*e.min,t.max*e.max);return new lh("*",t,e,n,i)}function zy(t,e){if(e.type==="literal"){if(e.number===0)return t;if(t.type==="literal")return new Vr(t.number-e.number)}return e.type==="binary"&&e.op==="-"&&t.type==="literal"&&t.number===1&&e.arg1.type==="literal"&&e.arg1.number===1?e.arg2:new lh("-",t,e,t.min-e.max,t.max-e.min)}function qy(t,e){return t.min>=e?new Vr(e):t.max<=e?t:new Yy(t,e)}class $y{compile(e,n,i){const r=[],s=[],o=n.length>>1,a=i.length>>1;let c=0,f,l,d,h,u,g,p,x;for(let w=0;w<o;w++)r.push(new By(w,n[w*2],n[w*2+1]));for(let w=0,O=e.length;w<O;w++){if(x=e[w],typeof x=="number"){r.push(new Vr(x));continue}switch(x){case"add":if(r.length<2)return null;h=r.pop(),d=r.pop(),r.push(Hy(d,h));break;case"cvr":if(r.length<1)return null;break;case"mul":if(r.length<2)return null;h=r.pop(),d=r.pop(),r.push(Zy(d,h));break;case"sub":if(r.length<2)return null;h=r.pop(),d=r.pop(),r.push(zy(d,h));break;case"exch":if(r.length<2)return null;u=r.pop(),g=r.pop(),r.push(u,g);break;case"pop":if(r.length<1)return null;r.pop();break;case"index":if(r.length<1||(d=r.pop(),d.type!=="literal")||(f=d.number,f<0||!Number.isInteger(f)||r.length<f))return null;if(u=r[r.length-f-1],u.type==="literal"||u.type==="var"){r.push(u);break}p=new Kg(c++,u.min,u.max),r[r.length-f-1]=p,r.push(p),s.push(new Qg(p,u));break;case"dup":if(r.length<1)return null;if(typeof e[w+1]=="number"&&e[w+2]==="gt"&&e[w+3]===w+7&&e[w+4]==="jz"&&e[w+5]==="pop"&&e[w+6]===e[w+1]){d=r.pop(),r.push(qy(d,e[w+1])),w+=6;break}if(u=r.at(-1),u.type==="literal"||u.type==="var"){r.push(u);break}p=new Kg(c++,u.min,u.max),r[r.length-1]=p,r.push(p),s.push(new Qg(p,u));break;case"roll":if(r.length<2||(h=r.pop(),d=r.pop(),h.type!=="literal"||d.type!=="literal")||(l=h.number,f=d.number,f<=0||!Number.isInteger(f)||!Number.isInteger(l)||r.length<f))return null;if(l=(l%f+f)%f,l===0)break;r.push(...r.splice(r.length-f,f-l));break;default:return null}}if(r.length!==a)return null;const m=[];for(const w of s){const O=new Jg;w.visit(O),m.push(O.toString())}for(let w=0,O=r.length;w<O;w++){const k=r[w],E=new Jg;k.visit(E);const D=i[w*2],v=i[w*2+1],S=[E.toString()];D>k.min&&(S.unshift("Math.max(",D,", "),S.push(")")),v<k.max&&(S.unshift("Math.min(",v,", "),S.push(")")),S.unshift("dest[destOffset + ",w,"] = "),S.push(";"),m.push(S.join(""))}return m.join(`
|
|
14
|
+
`)}}const Gy=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],Xy=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function e9(t){return(t&1)!==0}function Wy(t){return(t&1)===0}function Vy(t,e,n){let i,r;for(i=e,r=t.length;i<r;++i)if(t[i]!==n)return i;return i}function t9(t,e,n){for(let i=e,r=n-1;i<r;++i,--r){const s=t[i];t[i]=t[r],t[r]=s}}function dh(t,e,n=!1){let i="ltr";return n?i="ttb":e||(i="rtl"),{str:t,dir:i}}const lr=[],Ot=[];function n9(t,e=-1,n=!1){let i=!0;const r=t.length;if(r===0||n)return dh(t,i,n);lr.length=r,Ot.length=r;let s=0,o,a;for(o=0;o<r;++o){lr[o]=t.charAt(o);const m=t.charCodeAt(o);let w="L";m<=255?w=Gy[m]:1424<=m&&m<=1524?w="R":1536<=m&&m<=1791?(w=Xy[m&255],w||L("Bidi: invalid Unicode character "+m.toString(16))):(1792<=m&&m<=2220||64336<=m&&m<=65023||65136<=m&&m<=65279)&&(w="AL"),(w==="R"||w==="AL"||w==="AN")&&s++,Ot[o]=w}if(s===0)return i=!0,dh(t,i);e===-1&&(s/r<.3&&r>4?(i=!0,e=0):(i=!1,e=1));const c=[];for(o=0;o<r;++o)c[o]=e;const f=e9(e)?"R":"L",l=f,d=l;let h=l;for(o=0;o<r;++o)Ot[o]==="NSM"?Ot[o]=h:h=Ot[o];h=l;let u;for(o=0;o<r;++o)u=Ot[o],u==="EN"?Ot[o]=h==="AL"?"AN":"EN":(u==="R"||u==="L"||u==="AL")&&(h=u);for(o=0;o<r;++o)u=Ot[o],u==="AL"&&(Ot[o]="R");for(o=1;o<r-1;++o)Ot[o]==="ES"&&Ot[o-1]==="EN"&&Ot[o+1]==="EN"&&(Ot[o]="EN"),Ot[o]==="CS"&&(Ot[o-1]==="EN"||Ot[o-1]==="AN")&&Ot[o+1]===Ot[o-1]&&(Ot[o]=Ot[o-1]);for(o=0;o<r;++o)if(Ot[o]==="EN"){for(let m=o-1;m>=0&&Ot[m]==="ET";--m)Ot[m]="EN";for(let m=o+1;m<r&&Ot[m]==="ET";++m)Ot[m]="EN"}for(o=0;o<r;++o)u=Ot[o],(u==="WS"||u==="ES"||u==="ET"||u==="CS")&&(Ot[o]="ON");for(h=l,o=0;o<r;++o)u=Ot[o],u==="EN"?Ot[o]=h==="L"?"L":"EN":(u==="R"||u==="L")&&(h=u);for(o=0;o<r;++o)if(Ot[o]==="ON"){const m=Vy(Ot,o+1,"ON");let w=l;o>0&&(w=Ot[o-1]);let O=d;m+1<r&&(O=Ot[m+1]),w!=="L"&&(w="R"),O!=="L"&&(O="R"),w===O&&Ot.fill(w,o,m),o=m-1}for(o=0;o<r;++o)Ot[o]==="ON"&&(Ot[o]=f);for(o=0;o<r;++o)u=Ot[o],Wy(c[o])?u==="R"?c[o]+=1:(u==="AN"||u==="EN")&&(c[o]+=2):(u==="L"||u==="AN"||u==="EN")&&(c[o]+=1);let g=-1,p=99,x;for(o=0,a=c.length;o<a;++o)x=c[o],g<x&&(g=x),p>x&&e9(x)&&(p=x);for(x=g;x>=p;--x){let m=-1;for(o=0,a=c.length;o<a;++o)c[o]<x?m>=0&&(t9(lr,m,o),m=-1):m<0&&(m=o);m>=0&&t9(lr,m,c.length)}for(o=0,a=lr.length;o<a;++o){const m=lr[o];(m==="<"||m===">")&&(lr[o]="")}return dh(lr.join(""),i)}const Kr={style:"normal",weight:"normal"},Qr={style:"normal",weight:"bold"},Jr={style:"italic",weight:"normal"},es={style:"italic",weight:"bold"},Ec=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","Linux Libertine O","Libertinus Serif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:Kr,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:Qr,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:Jr,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:es,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:Kr,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:Qr,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:Jr,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:es,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono","Linux Libertine Mono O","Libertinus Mono"],style:Kr,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:Qr,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:Jr,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:es,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:Kr,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:Qr,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:Jr,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:es,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:Kr,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:Qr,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:Jr,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:es,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:Kr}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),Ky=new Map([["Arial-Black","ArialBlack"]]);function Qy(t){switch(t){case Qr:return"Bold";case Jr:return"Italic";case es:return"Bold Italic";default:if(t?.weight==="bold")return"Bold";if(t?.style==="italic")return"Italic"}return""}function a9(t){const e=new Set(["thin","extralight","ultralight","demilight","semilight","light","book","regular","normal","medium","demibold","semibold","bold","extrabold","ultrabold","black","heavy","extrablack","ultrablack","roman","italic","oblique","ultracondensed","extracondensed","condensed","semicondensed","normal","semiexpanded","expanded","extraexpanded","ultraexpanded","bolditalic"]);return t.split(/[- ,+]+/g).filter(n=>!e.has(n.toLowerCase())).join(" ")}function hh({alias:t,local:e,path:n,fallback:i,style:r,ultimate:s},o,a,c=!0,f=!0,l=""){const d={style:null,ultimate:null};if(e){const h=l?` ${l}`:"";for(const u of e)o.push(`local(${u}${h})`)}if(t){const h=Ec.get(t),u=l||Qy(r);Object.assign(d,hh(h,o,a,c&&!i,f&&!n,u))}if(r&&(d.style=r),s&&(d.ultimate=s),c&&i){const h=Ec.get(i),{ultimate:u}=hh(h,o,a,c,f&&!n,l);d.ultimate||=u}return f&&n&&a&&o.push(`url(${a}${n})`),d}function i9(t,e,n,i,r,s){if(i.startsWith("InvalidPDFjsFont_"))return null;(s==="TrueType"||s==="Type1")&&/^[A-Z]{6}\+/.test(i)&&(i=i.slice(7)),i=sc(i);const o=i;let a=t.get(o);if(a)return a;let c=Ec.get(i);if(!c){for(const[x,m]of Ky)if(i.startsWith(x)){i=`${m}${i.substring(x.length)}`,c=Ec.get(i);break}}let f=!1;c||(c=Ec.get(r),f=!0);const l=`${e.getDocId()}_s${e.createFontId()}`;if(!c){if(!Ad(i))return L(`Cannot substitute the font because of its name: ${i}`),t.set(o,null),null;const x=/bold/gi.test(i),m=/oblique|italic/gi.test(i),w=x&&m&&es||x&&Qr||m&&Jr||Kr;return a={css:`"${a9(i)}",${l}`,guessFallback:!0,loadedName:l,baseFontName:i,src:`local(${i})`,style:w},t.set(o,a),a}const d=[];f&&Ad(i)&&d.push(`local(${i})`);const{style:h,ultimate:u}=hh(c,d,n),g=u===null,p=g?"":`,${u}`;return a={css:`"${a9(i)}",${l}${p}`,guessFallback:g,loadedName:l,baseFontName:i,src:d.join(","),style:h},t.set(o,a),a}const r9=3285377520,Fa=4294901760,hi=65535;class Jy{constructor(e){this.h1=e?e&4294967295:r9,this.h2=e?e&4294967295:r9}update(e){let n,i;if(typeof e=="string"){n=new Uint8Array(e.length*2),i=0;for(let p=0,x=e.length;p<x;p++){const m=e.charCodeAt(p);m<=255?n[i++]=m:(n[i++]=m>>>8,n[i++]=m&255)}}else if(ArrayBuffer.isView(e))n=e.slice(),i=n.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");const r=i>>2,s=i-r*4,o=new Uint32Array(n.buffer,0,r);let a=0,c=0,f=this.h1,l=this.h2;const d=3432918353,h=461845907,u=d&hi,g=h&hi;for(let p=0;p<r;p++)p&1?(a=o[p],a=a*d&Fa|a*u&hi,a=a<<15|a>>>17,a=a*h&Fa|a*g&hi,f^=a,f=f<<13|f>>>19,f=f*5+3864292196):(c=o[p],c=c*d&Fa|c*u&hi,c=c<<15|c>>>17,c=c*h&Fa|c*g&hi,l^=c,l=l<<13|l>>>19,l=l*5+3864292196);switch(a=0,s){case 3:a^=n[r*4+2]<<16;case 2:a^=n[r*4+1]<<8;case 1:a^=n[r*4],a=a*d&Fa|a*u&hi,a=a<<15|a>>>17,a=a*h&Fa|a*g&hi,r&1?f^=a:l^=a}this.h1=f,this.h2=l}hexdigest(){let e=this.h1,n=this.h2;return e^=n>>>1,e=e*3981806797&Fa|e*36045&hi,n=n*4283543511&Fa|((n<<16|e>>>16)*2950163797&Fa)>>>16,e^=n>>>1,e=e*444984403&Fa|e*60499&hi,n=n*3301882366&Fa|((n<<16|e>>>16)*3120437893&Fa)>>>16,e^=n>>>1,(e>>>0).toString(16).padStart(8,"0")+(n>>>0).toString(16).padStart(8,"0")}}function s9(t,e,n,i,r,s){const o=r*s;let a;e<=8?a=new Uint8Array(o):e<=16?a=new Uint16Array(o):a=new Uint32Array(o);const c=n/r,f=i/s;let l,d,h,u=0,g;const p=new Uint16Array(r),x=n;for(l=0;l<r;l++)p[l]=Math.floor(l*c);for(l=0;l<s;l++)for(h=Math.floor(l*f)*x,d=0;d<r;d++)g=h+p[d],a[u++]=t[g];return a}class dr{constructor({xref:e,res:n,image:i,isInline:r=!1,smask:s=null,mask:o=null,isMask:a=!1,pdfFunctionFactory:c,globalColorSpaceCache:f,localColorSpaceCache:l}){this.image=i;const d=i.dict,h=d.get("F","Filter");let u;if(h instanceof le)u=h.name;else if(Array.isArray(h)){const m=e.fetchIfRef(h[0]);m instanceof le&&(u=m.name)}switch(u){case"JPXDecode":({width:i.width,height:i.height,componentsCount:i.numComps,bitsPerComponent:i.bitsPerComponent}=W0.parseImageProperties(i.stream)),i.stream.reset();const m=ua.getReducePowerForJPX(i.width,i.height,i.numComps);if(this.jpxDecoderOptions={numComponents:0,isIndexedColormap:!1,smaskInData:d.has("SMaskInData"),reducePower:m},m){const w=2**m;i.width=Math.ceil(i.width/w),i.height=Math.ceil(i.height/w)}break;case"JBIG2Decode":i.bitsPerComponent=1,i.numComps=1;break}let g=d.get("W","Width"),p=d.get("H","Height");if(Number.isInteger(i.width)&&i.width>0&&Number.isInteger(i.height)&&i.height>0&&(i.width!==g||i.height!==p))L("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),g=i.width,p=i.height;else{const m=typeof g=="number"&&g>0,w=typeof p=="number"&&p>0;if(!m||!w){if(!i.fallbackDims)throw new re(`Invalid image width: ${g} or height: ${p}`);L("PDFImage - using the Width/Height of the parent image, for SMask/Mask data."),m||(g=i.fallbackDims.width),w||(p=i.fallbackDims.height)}}this.width=g,this.height=p,this.interpolate=d.get("I","Interpolate"),this.imageMask=d.get("IM","ImageMask")||!1,this.matte=d.get("Matte")||!1;let x=i.bitsPerComponent;if(!x&&(x=d.get("BPC","BitsPerComponent"),!x))if(this.imageMask)x=1;else throw new re(`Bits per component missing in image: ${this.imageMask}`);if(this.bpc=x,!this.imageMask){let m=d.getRaw("CS")||d.getRaw("ColorSpace");const w=!!m;if(w)this.jpxDecoderOptions?.smaskInData&&(m=le.get("DeviceRGBA"));else if(this.jpxDecoderOptions)m=le.get("DeviceRGBA");else switch(i.numComps){case 1:m=le.get("DeviceGray");break;case 3:m=le.get("DeviceRGB");break;case 4:m=le.get("DeviceCMYK");break;default:throw new Error(`Images with ${i.numComps} color components not supported.`)}this.colorSpace=_t.parse({cs:m,xref:e,resources:r?n:null,pdfFunctionFactory:c,globalColorSpaceCache:f,localColorSpaceCache:l}),this.numComps=this.colorSpace.numComps,this.jpxDecoderOptions&&(this.jpxDecoderOptions.numComponents=w?this.numComps:0,this.jpxDecoderOptions.isIndexedColormap=this.colorSpace.name==="Indexed")}if(this.decode=d.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,x)||a&&!An.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const m=(1<<x)-1;this.decodeCoefficients=[],this.decodeAddends=[];const w=this.colorSpace?.name==="Indexed";for(let O=0,k=0;O<this.decode.length;O+=2,++k){const E=this.decode[O],D=this.decode[O+1];this.decodeCoefficients[k]=w?(D-E)/m:D-E,this.decodeAddends[k]=w?E:m*E}}s?(s.fallbackDims??={width:g,height:p},this.smask=new dr({xref:e,res:n,image:s,isInline:r,pdfFunctionFactory:c,globalColorSpaceCache:f,localColorSpaceCache:l})):o&&(o instanceof at?o.dict.get("IM","ImageMask")?(o.fallbackDims??={width:g,height:p},this.mask=new dr({xref:e,res:n,image:o,isInline:r,isMask:!0,pdfFunctionFactory:c,globalColorSpaceCache:f,localColorSpaceCache:l})):L("Ignoring /Mask in image without /ImageMask."):this.mask=o)}static async buildImage({xref:e,res:n,image:i,isInline:r=!1,pdfFunctionFactory:s,globalColorSpaceCache:o,localColorSpaceCache:a}){const c=i;let f=null,l=null;const d=i.dict.get("SMask"),h=i.dict.get("Mask");return d?d instanceof at?f=d:L("Unsupported /SMask format."):h&&(h instanceof at||Array.isArray(h)?l=h:L("Unsupported /Mask format.")),new dr({xref:e,res:n,image:c,isInline:r,smask:f,mask:l,pdfFunctionFactory:s,globalColorSpaceCache:o,localColorSpaceCache:a})}static async createMask({image:e,isOffscreenCanvasSupported:n=!1}){const{dict:i}=e,r=i.get("W","Width"),s=i.get("H","Height"),o=i.get("I","Interpolate"),c=i.getArray("D","Decode")?.[0]>0,f=(r+7>>3)*s,l=e.getBytes(f),d=r===1&&s===1&&c===(l.length===0||!!(l[0]&128));if(d)return{isSingleOpaquePixel:d};if(n){if(ua.needsToBeResized(r,s)){const O=new Uint8ClampedArray(r*s*4);return Id({src:l,dest:O,width:r,height:s,nonBlackColor:0,inverseDecode:c}),ua.createImage({kind:_n.RGBA_32BPP,data:O,width:r,height:s,interpolate:o})}const p=new OffscreenCanvas(r,s),x=p.getContext("2d"),m=x.createImageData(r,s);Id({src:l,dest:m.data,width:r,height:s,nonBlackColor:0,inverseDecode:c}),x.putImageData(m,0,0);const w=p.transferToImageBitmap();return{data:null,width:r,height:s,interpolate:o,bitmap:w}}const h=l.byteLength,u=f===h;let g;if(e instanceof ta&&(!c||u)?g=l:c?(g=new Uint8Array(f),g.set(l),g.fill(255,h)):g=new Uint8Array(l),c)for(let p=0;p<h;p++)g[p]^=255;return{data:g,width:r,height:s,interpolate:o}}get drawWidth(){return Math.max(this.width,this.smask?.width||0,this.mask?.width||0)}get drawHeight(){return Math.max(this.height,this.smask?.height||0,this.mask?.height||0)}decodeBuffer(e){const n=this.bpc,i=this.numComps,r=this.decodeAddends,s=this.decodeCoefficients,o=(1<<n)-1;let a,c;if(n===1){for(a=0,c=e.length;a<c;a++)e[a]=+!e[a];return}let f=0;for(a=0,c=this.width*this.height;a<c;a++)for(let l=0;l<i;l++)e[f]=kn(r[l]+e[f]*s[l],0,o),f++}getComponents(e){const n=this.bpc;if(n===8)return e;const i=this.width,r=this.height,s=this.numComps,o=i*r*s;let a=0,c;n<=8?c=new Uint8Array(o):n<=16?c=new Uint16Array(o):c=new Uint32Array(o);const f=i*s,l=(1<<n)-1;let d=0,h,u;if(n===1){let g,p,x;for(let m=0;m<r;m++){for(p=d+(f&-8),x=d+f;d<p;)u=e[a++],c[d]=u>>7&1,c[d+1]=u>>6&1,c[d+2]=u>>5&1,c[d+3]=u>>4&1,c[d+4]=u>>3&1,c[d+5]=u>>2&1,c[d+6]=u>>1&1,c[d+7]=u&1,d+=8;if(d<x)for(u=e[a++],g=128;d<x;)c[d++]=+!!(u&g),g>>=1}}else{let g=0;for(u=0,d=0,h=o;d<h;++d){for(d%f===0&&(u=0,g=0);g<n;)u=u<<8|e[a++],g+=8;const p=g-n;let x=u>>p;x<0?x=0:x>l&&(x=l),c[d]=x,u&=(1<<p)-1,g=p}}return c}async fillOpacity(e,n,i,r,s){const o=this.smask,a=this.mask;let c,f,l,d,h,u;if(o)f=o.width,l=o.height,c=new Uint8ClampedArray(f*l),await o.fillGrayBuffer(c),(f!==n||l!==i)&&(c=s9(c,o.bpc,f,l,n,i));else if(a)if(a instanceof dr){for(f=a.width,l=a.height,c=new Uint8ClampedArray(f*l),a.numComps=1,await a.fillGrayBuffer(c),d=0,h=f*l;d<h;++d)c[d]=255-c[d];(f!==n||l!==i)&&(c=s9(c,a.bpc,f,l,n,i))}else if(Array.isArray(a)){c=new Uint8ClampedArray(n*i);const g=this.numComps;for(d=0,h=n*i;d<h;++d){let p=0;const x=d*g;for(u=0;u<g;++u){const m=s[x+u],w=u*2;if(m<a[w]||m>a[w+1]){p=255;break}}c[d]=p}}else throw new re("Unknown mask format.");if(c)for(d=0,u=3,h=n*r;d<h;++d,u+=4)e[u]=c[d];else for(d=0,u=3,h=n*r;d<h;++d,u+=4)e[u]=255}undoPreblend(e,n,i){const r=this.smask?.matte;if(!r)return;const s=this.colorSpace.getRgb(r,0),o=s[0],a=s[1],c=s[2],f=n*i*4;for(let l=0;l<f;l+=4){const d=e[l+3];if(d===0){e[l]=255,e[l+1]=255,e[l+2]=255;continue}const h=255/d;e[l]=(e[l]-o)*h+o,e[l+1]=(e[l+1]-a)*h+a,e[l+2]=(e[l+2]-c)*h+c}}async createImageData(e=!1,n=!1){const i=this.drawWidth,r=this.drawHeight,s={width:i,height:r,interpolate:this.interpolate,kind:0,data:null},o=this.numComps,a=this.width,c=this.height,f=this.bpc,l=a*o*f+7>>3,d=n&&ua.needsToBeResized(i,r);if(!this.smask&&!this.mask&&this.colorSpace.name==="DeviceRGBA"){s.kind=_n.RGBA_32BPP;const E=s.data=await this.getImageBytes(c*a*4,{});return n?d?ua.createImage(s,!1):this.createBitmap(_n.RGBA_32BPP,i,r,E):s}if(!e){let E;if(this.colorSpace.name==="DeviceGray"&&f===1?E=_n.GRAYSCALE_1BPP:this.colorSpace.name==="DeviceRGB"&&f===8&&!this.needsDecode&&(E=_n.RGB_24BPP),E&&!this.smask&&!this.mask&&i===a&&r===c){const D=await this.#e(a,c);if(D)return D;const v=await this.getImageBytes(c*l,{});if(n)return d?ua.createImage({data:v,kind:E,width:i,height:r,interpolate:this.interpolate},this.needsDecode):this.createBitmap(E,a,c,v);if(s.kind=E,s.data=v,this.needsDecode){On(E===_n.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");const S=s.data;for(let C=0,R=S.length;C<R;C++)S[C]^=255}return s}if(this.image instanceof Fs&&!this.smask&&!this.mask&&!this.needsDecode){let D=c*l;if(n&&!d){let v=!1;switch(this.colorSpace.name){case"DeviceGray":D*=4,v=!0;break;case"DeviceRGB":D=D/3*4,v=!0;break;case"DeviceCMYK":v=!0;break}if(v){const S=await this.#e(i,r);if(S)return S;const C=await this.getImageBytes(D,{drawWidth:i,drawHeight:r,forceRGBA:!0});return this.createBitmap(_n.RGBA_32BPP,i,r,C)}}else switch(this.colorSpace.name){case"DeviceGray":D*=3;case"DeviceRGB":case"DeviceCMYK":return s.kind=_n.RGB_24BPP,s.data=await this.getImageBytes(D,{drawWidth:i,drawHeight:r,forceRGB:!0}),d?ua.createImage(s):s}}}const h=await this.getImageBytes(c*l,{internal:!0}),u=0|h.length/l*r/c,g=this.getComponents(h);let p,x,m,w,O,k;if(n&&!d&&(m=new OffscreenCanvas(i,r),w=m.getContext("2d"),O=w.createImageData(i,r),k=O.data),s.kind=_n.RGBA_32BPP,!e&&!this.smask&&!this.mask?(!n||d?(s.kind=_n.RGB_24BPP,k=new Uint8ClampedArray(i*r*3),p=0):(new Uint32Array(k.buffer).fill(da.isLittleEndian?4278190080:255),p=1),x=!1):((!n||d)&&(k=new Uint8ClampedArray(i*r*4)),p=1,x=!0,await this.fillOpacity(k,i,r,u,g)),this.needsDecode&&this.decodeBuffer(g),this.colorSpace.fillRgb(k,a,c,i,r,u,f,g,p),x&&this.undoPreblend(k,i,u),n&&!d){w.putImageData(O,0,0);const E=m.transferToImageBitmap();return{data:null,width:i,height:r,bitmap:E,interpolate:this.interpolate}}return s.data=k,d?ua.createImage(s):s}async fillGrayBuffer(e){const n=this.numComps;if(n!==1)throw new re(`Reading gray scale from a color image: ${n}`);const i=this.width,r=this.height,s=this.bpc,o=i*n*s+7>>3,a=await this.getImageBytes(r*o,{internal:!0}),c=this.getComponents(a);let f,l;if(s===1){if(l=i*r,this.needsDecode)for(f=0;f<l;++f)e[f]=c[f]-1&255;else for(f=0;f<l;++f)e[f]=-c[f]&255;return}this.needsDecode&&this.decodeBuffer(c),l=i*r;const d=255/((1<<s)-1);for(f=0;f<l;++f)e[f]=d*c[f]}createBitmap(e,n,i,r){const s=new OffscreenCanvas(n,i),o=s.getContext("2d");let a;e===_n.RGBA_32BPP?a=new ImageData(r,n,i):(a=o.createImageData(n,i),C2({kind:e,src:r,dest:new Uint32Array(a.data.buffer),width:n,height:i,inverseDecode:this.needsDecode})),o.putImageData(a,0,0);const c=s.transferToImageBitmap();return{data:null,width:n,height:i,bitmap:c,interpolate:this.interpolate}}async#e(e,n){const i=await this.image.getTransferableImage();return i?{data:null,width:e,height:n,bitmap:i,interpolate:this.interpolate}:null}async getImageBytes(e,{drawWidth:n,drawHeight:i,forceRGBA:r=!1,forceRGB:s=!1,internal:o=!1}){this.image.reset(),this.image.drawWidth=n||this.width,this.image.drawHeight=i||this.height,this.image.forceRGBA=!!r,this.image.forceRGB=!!s;const a=await this.image.getImageData(e,this.jpxDecoderOptions);return o||this.image instanceof ta?a:(On(a instanceof Uint8Array,'PDFImage.getImageBytes: Unsupported "imageBytes" type.'),new Uint8Array(a))}}const ew=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,isOffscreenCanvasSupported:!1,isImageDecoderSupported:!1,canvasMaxAreaInBytes:-1,fontExtraProperties:!1,useSystemFonts:!0,useWasm:!0,useWorkerFetch:!0,cMapUrl:null,iccUrl:null,standardFontDataUrl:null,wasmUrl:null}),o9={TILING:1,SHADING:2},tw=10,c9=Promise.resolve();function f9(t,e=!1){if(Array.isArray(t)){for(const n of t){const i=f9(n,!0);if(i)return i}return L(`Unsupported blend mode Array: ${t}`),"source-over"}if(!(t instanceof le))return e?null:"source-over";switch(t.name){case"Normal":case"Compatible":return"source-over";case"Multiply":return"multiply";case"Screen":return"screen";case"Overlay":return"overlay";case"Darken":return"darken";case"Lighten":return"lighten";case"ColorDodge":return"color-dodge";case"ColorBurn":return"color-burn";case"HardLight":return"hard-light";case"SoftLight":return"soft-light";case"Difference":return"difference";case"Exclusion":return"exclusion";case"Hue":return"hue";case"Saturation":return"saturation";case"Color":return"color";case"Luminosity":return"luminosity"}return e?null:(L(`Unsupported blend mode: ${t.name}`),"source-over")}function uh(t,{objId:e,fn:n,args:i,optionalContent:r,hasMask:s}){e&&t.addDependency(e),t.addImageOps(n,i,r,s),n===M.paintImageMaskXObject&&i[0]?.count>0&&i[0].count++}class jc{static TIME_SLOT_DURATION_MS=20;static CHECK_TIME_EVERY=100;constructor(){this.reset()}check(){return++this.checked<jc.CHECK_TIME_EVERY?!1:(this.checked=0,this.endTime<=Date.now())}reset(){this.endTime=Date.now()+jc.TIME_SLOT_DURATION_MS,this.checked=0}}class Gs{constructor({xref:e,handler:n,pageIndex:i,idFactory:r,fontCache:s,builtInCMapCache:o,standardFontDataCache:a,globalColorSpaceCache:c,globalImageCache:f,systemFontCache:l,options:d=null}){this.xref=e,this.handler=n,this.pageIndex=i,this.idFactory=r,this.fontCache=s,this.builtInCMapCache=o,this.standardFontDataCache=a,this.globalColorSpaceCache=c,this.globalImageCache=f,this.systemFontCache=l,this.options=d||ew,this.type3FontRefs=null,this._regionalImageCache=new Ly,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this)}get _pdfFunctionFactory(){const e=new Wg({xref:this.xref,isEvalSupported:this.options.isEvalSupported});return ge(this,"_pdfFunctionFactory",e)}get parsingType3Font(){return!!this.type3FontRefs}clone(e=null){const n=Object.create(this);return n.options=Object.assign(Object.create(null),this.options,e),n}hasBlendModes(e,n){if(!(e instanceof q)||e.objId&&n.has(e.objId))return!1;const i=new tn(n);e.objId&&i.put(e.objId);const r=[e],s=this.xref;for(;r.length;){const o=r.shift(),a=o.get("ExtGState");if(a instanceof q)for(let f of a.getRawValues()){if(f instanceof ke){if(i.has(f))continue;try{f=s.fetch(f)}catch(d){i.put(f),st(`hasBlendModes - ignoring ExtGState: "${d}".`);continue}}if(!(f instanceof q))continue;f.objId&&i.put(f.objId);const l=f.get("BM");if(l instanceof le){if(l.name!=="Normal")return!0;continue}if(l!==void 0&&Array.isArray(l)){for(const d of l)if(d instanceof le&&d.name!=="Normal")return!0}}const c=o.get("XObject");if(c instanceof q)for(let f of c.getRawValues()){if(f instanceof ke){if(i.has(f))continue;try{f=s.fetch(f)}catch(d){i.put(f),st(`hasBlendModes - ignoring XObject: "${d}".`);continue}}if(!(f instanceof at))continue;f.dict.objId&&i.put(f.dict.objId);const l=f.dict.get("Resources");l instanceof q&&(l.objId&&i.has(l.objId)||(r.push(l),l.objId&&i.put(l.objId)))}}for(const o of i)n.put(o);return!1}async fetchBuiltInCMap(e){const n=this.builtInCMapCache.get(e);if(n)return n;let i;return this.options.useWorkerFetch?i={cMapData:await _d(`${this.options.cMapUrl}${e}.bcmap`),isCompressed:!0}:i=await this.handler.sendWithPromise("FetchBinaryData",{type:"cMapReaderFactory",name:e}),this.builtInCMapCache.set(e,i),i}async fetchStandardFontData(e){const n=this.standardFontDataCache.get(e);if(n)return new qt(n);if(this.options.useSystemFonts&&e!=="Symbol"&&e!=="ZapfDingbats")return null;const i=ix(),r=i[e];let s;try{this.options.useWorkerFetch?s=await _d(`${this.options.standardFontDataUrl}${r}`):s=await this.handler.sendWithPromise("FetchBinaryData",{type:"standardFontDataFactory",filename:r})}catch(o){return L(o),null}return this.standardFontDataCache.set(e,s),new qt(s)}async buildFormXObject(e,n,i,r,s,o,a,c){const{dict:f}=n,l=ar(f.getArray("Matrix"),null),d=ji(f.getArray("BBox"),null);let h,u;f.has("OC")&&(h=await this.parseMarkedContentProps(f.get("OC"),e)),h!==void 0&&r.addOp(M.beginMarkedContentProps,["OC",h]);const g=f.get("Group");if(g){u={matrix:l,bbox:d,smask:i,isolated:!1,knockout:!1};const O=g.get("S");let k=null;if(zt(O,"Transparency")&&(u.isolated=g.get("I")||!1,u.knockout=g.get("K")||!1,g.has("CS"))){const E=this._getColorSpace(g.getRaw("CS"),e,a);k=E instanceof An?E:await this._handleColorSpace(E)}i?.backdrop&&(k||=_t.rgb,i.backdrop=k.getRgbHex(i.backdrop,0)),r.addOp(M.beginGroup,[u])}const p=l&&new Float32Array(l),x=!g&&d&&new Float32Array(d)||null,m=[p,x];r.addOp(M.paintFormXObjectBegin,m);const w=f.get("Resources");await this.getOperatorList({stream:n,task:s,resources:w instanceof q?w:e,operatorList:r,initialState:o,prevRefs:c}),r.addOp(M.paintFormXObjectEnd,[]),g&&r.addOp(M.endGroup,[u]),h!==void 0&&r.addOp(M.endMarkedContent,[])}_sendImgData(e,n,i=!1){const r=n?[n.bitmap||n.data.buffer]:null;return this.parsingType3Font||i?this.handler.send("commonobj",[e,"Image",n],r):this.handler.send("obj",[e,this.pageIndex,"Image",n],r)}async buildPaintImageXObject({resources:e,image:n,isInline:i=!1,operatorList:r,cacheKey:s,localImageCache:o,localColorSpaceCache:a}){const{maxImageSize:c,ignoreErrors:f,isOffscreenCanvasSupported:l}=this.options,{dict:d}=n,h=d.objId,u=d.get("W","Width"),g=d.get("H","Height");if(!(u&&typeof u=="number")||!(g&&typeof g=="number")){L("Image dimensions are missing, or not numbers.");return}if(c!==-1&&u*g>c){const C="Image exceeded maximum allowed size and was removed.";if(!f)throw new Error(C);L(C);return}let p;d.has("OC")&&(p=await this.parseMarkedContentProps(d.get("OC"),e));const x=d.get("IM","ImageMask")||!1;let m,w,O;if(x){if(m=await dr.createMask({image:n,isOffscreenCanvasSupported:l&&!this.parsingType3Font}),m.isSingleOpaquePixel){if(w=M.paintSolidColorImageMask,O=[],r.addImageOps(w,O,p),s){const R={fn:w,args:O,optionalContent:p};o.set(s,h,R),h&&this._regionalImageCache.set(null,h,R)}return}if(this.parsingType3Font){if(O=Xm(m),O){r.addImageOps(M.constructPath,O,p);return}L("Cannot compile Type3 glyph."),r.addImageOps(M.paintImageMaskXObject,[m],p);return}const C=`mask_${this.idFactory.createObjId()}`;if(r.addDependency(C),m.dataLen=m.bitmap?m.width*m.height*4:m.data.length,this._sendImgData(C,m),w=M.paintImageMaskXObject,O=[{data:C,width:m.width,height:m.height,interpolate:m.interpolate,count:1}],r.addImageOps(w,O,p),s){const R={objId:C,fn:w,args:O,optionalContent:p};o.set(s,h,R),h&&this._regionalImageCache.set(null,h,R)}return}const k=200,E=d.has("SMask")||d.has("Mask");if(i&&u+g<k&&!E){try{m=await new dr({xref:this.xref,res:e,image:n,isInline:i,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:a}).createImageData(!0,!1),r.addImageOps(M.paintInlineImageXObject,[m],p)}catch(C){const R=`Unable to decode inline image: "${C}".`;if(!f)throw new Error(R);L(R)}return}let D=`img_${this.idFactory.createObjId()}`,v=!1,S=null;if(this.parsingType3Font?D=`${this.idFactory.getDocId()}_type3_${D}`:s&&h&&(v=this.globalImageCache.shouldCache(h,this.pageIndex),v&&(On(!i,"Cannot cache an inline image globally."),D=`${this.idFactory.getDocId()}_${D}`)),r.addDependency(D),w=M.paintImageXObject,O=[D,u,g],r.addImageOps(w,O,p,E),v){if(S={objId:D,fn:w,args:O,optionalContent:p,hasMask:E,byteSize:0},this.globalImageCache.hasDecodeFailed(h)){this.globalImageCache.setData(h,S),this._sendImgData(D,null,v);return}if(u*g>25e4||E){const C=await this.handler.sendWithPromise("commonobj",[D,"CopyLocalImage",{imageRef:h}]);if(C){this.globalImageCache.setData(h,S),this.globalImageCache.addByteSize(h,C);return}}}if(dr.buildImage({xref:this.xref,res:e,image:n,isInline:i,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:a}).then(async C=>(m=await C.createImageData(!1,l),m.dataLen=m.bitmap?m.width*m.height*4:m.data.length,m.ref=h,v&&this.globalImageCache.addByteSize(h,m.dataLen),this._sendImgData(D,m,v))).catch(C=>(L(`Unable to decode image "${D}": "${C}".`),h&&this.globalImageCache.addDecodeFailed(h),this._sendImgData(D,null,v))),s){const C={objId:D,fn:w,args:O,optionalContent:p,hasMask:E};o.set(s,h,C),h&&(this._regionalImageCache.set(null,h,C),v&&(On(S,"The global cache-data must be available."),this.globalImageCache.setData(h,S)))}}handleSMask(e,n,i,r,s,o,a){const c=e.get("G"),f={subtype:e.get("S").name,backdrop:e.get("BC")},l=e.get("TR");if(fh(l)){const d=this._pdfFunctionFactory.create(l),h=new Uint8Array(256),u=new Float32Array(1);for(let g=0;g<256;g++)u[0]=g/255,d(u,0,u,0),h[g]=u[0]*255|0;f.transferMap=h}return this.buildFormXObject(n,c,f,i,r,s.state.clone({newPath:!0}),o,a)}handleTransferFunction(e){let n;if(Array.isArray(e))n=e;else if(fh(e))n=[e];else return null;const i=[];let r=0,s=0;for(const o of n){const a=this.xref.fetchIfRef(o);if(r++,zt(a,"Identity")){i.push(null);continue}else if(!fh(a))return null;const c=this._pdfFunctionFactory.create(a),f=new Uint8Array(256),l=new Float32Array(1);for(let d=0;d<256;d++)l[0]=d/255,c(l,0,l,0),f[d]=l[0]*255|0;i.push(f),s++}return!(r===1||r===4)||s===0?null:i}handleTilingType(e,n,i,r,s,o,a,c){const f=new En,l=q.merge({xref:this.xref,dictArray:[s.get("Resources"),i]});return this.getOperatorList({stream:r,task:a,resources:l,operatorList:f}).then(function(){const d=f.getIR(),h=zg(d,s,n);o.addDependencies(f.dependencies),o.addOp(e,h),s.objId&&c.set(null,s.objId,{operatorListIR:d,dict:s})}).catch(d=>{if(!(d instanceof In)){if(this.options.ignoreErrors){L(`handleTilingType - ignoring pattern: "${d}".`);return}throw d}})}async handleSetFont(e,n,i,r,s,o,a=null,c=null){const f=n?.[0]instanceof le?n[0].name:null,l=await this.loadFont(f,i,e,s,a,c);return l.font.isType3Font&&r.addDependencies(l.type3Dependencies),o.font=l.font,l.send(this.handler),l.loadedName}handleText(e,n){const i=n.font,r=i.charsToGlyphs(e);return i.data&&(n.textRenderingMode&o2.ADD_TO_PATH_FLAG||n.fillColorSpace.name==="Pattern"||i.disableFontFace)&&Gs.buildFontPaths(i,r,this.handler,this.options),r}ensureStateFont(e){if(e.font)return;const n=new re("Missing setFont (Tf) operator before text rendering operator.");if(this.options.ignoreErrors){L(`ensureStateFont: "${n}".`);return}throw n}async setGState({resources:e,gState:n,operatorList:i,cacheKey:r,task:s,stateManager:o,localGStateCache:a,localColorSpaceCache:c,seenRefs:f}){const l=n.objId;let d=!0;const h=[];let u=Promise.resolve();for(const[g,p]of n)switch(g){case"Type":break;case"LW":if(typeof p!="number"){L(`Invalid LW (line width): ${p}`);break}h.push([g,Math.abs(p)]);break;case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":h.push([g,p]);break;case"Font":d=!1,u=u.then(()=>this.handleSetFont(e,null,p[0],i,s,o.state).then(function(m){i.addDependency(m),h.push([g,[m,p[1]]])}));break;case"BM":h.push([g,f9(p)]);break;case"SMask":if(zt(p,"None")){h.push([g,!1]);break}p instanceof q?(d=!1,u=u.then(()=>this.handleSMask(p,e,i,s,o,c,f)),h.push([g,!0])):L("Unsupported SMask type");break;case"TR":const x=this.handleTransferFunction(p);h.push([g,x]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":st("graphic state operator "+g);break;default:st("Unknown graphic state operator "+g);break}await u,h.length>0&&i.addOp(M.setGState,[h]),d&&a.set(r,l,h)}loadFont(e,n,i,r,s=null,o=null){const a=async()=>new bh({loadedName:"g_font_error",font:new Yg(`Font "${e}" is not available.`),dict:n});let c;if(n)n instanceof ke&&(c=n);else{const x=i.get("Font");x&&(c=x.getRaw(e))}if(c){if(this.type3FontRefs?.has(c))return a();if(this.fontCache.has(c))return this.fontCache.get(c);try{n=this.xref.fetchIfRef(c)}catch(x){L(`loadFont - lookup failed: "${x}".`)}}if(!(n instanceof q)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return L(`Font "${e}" is not available.`),a();L(`Font "${e}" is not available -- attempting to fallback to a default font.`),n=s||Gs.fallbackFontDict}if(n.cacheKey&&this.fontCache.has(n.cacheKey))return this.fontCache.get(n.cacheKey);const{promise:f,resolve:l}=Promise.withResolvers();let d;try{d=this.preEvaluateFont(n),d.cssFontInfo=o}catch(x){return L(`loadFont - preEvaluateFont failed: "${x}".`),a()}const{descriptor:h,hash:u}=d,g=c instanceof ke;let p;if(u&&h instanceof q){const x=h.fontAliases||=Object.create(null);if(x[u]){const m=x[u].aliasRef;if(g&&m&&this.fontCache.has(m))return this.fontCache.putAlias(c,m),this.fontCache.get(c)}else x[u]={fontID:this.idFactory.createFontId()};g&&(x[u].aliasRef=c),p=x[u].fontID}else p=this.idFactory.createFontId();return On(p?.startsWith("f"),'The "fontID" must be (correctly) defined.'),g?this.fontCache.put(c,f):(n.cacheKey=`cacheKey_${p}`,this.fontCache.put(n.cacheKey,f)),n.loadedName=`${this.idFactory.getDocId()}_${p}`,this.translateFont(d).then(async x=>{const m=new bh({loadedName:n.loadedName,font:x,dict:n});if(x.isType3Font)try{await m.loadType3Data(this,i,r)}catch(w){throw new Error(`Type3 font load error: ${w}`)}l(m)}).catch(x=>{L(`loadFont - translateFont failed: "${x}".`),l(new bh({loadedName:n.loadedName,font:new Yg(x?.message),dict:n}))}),f}buildPath(e,n,i){const{pathMinMax:r,pathBuffer:s}=i;switch(e|0){case M.rectangle:{const o=i.currentPointX=n[0],a=i.currentPointY=n[1],c=n[2],f=n[3],l=o+c,d=a+f;c===0||f===0?s.push(fn.moveTo,o,a,fn.lineTo,l,d,fn.closePath):s.push(fn.moveTo,o,a,fn.lineTo,l,a,fn.lineTo,l,d,fn.lineTo,o,d,fn.closePath),wt.rectBoundingBox(o,a,l,d,r);break}case M.moveTo:{const o=i.currentPointX=n[0],a=i.currentPointY=n[1];s.push(fn.moveTo,o,a),wt.pointBoundingBox(o,a,r);break}case M.lineTo:{const o=i.currentPointX=n[0],a=i.currentPointY=n[1];s.push(fn.lineTo,o,a),wt.pointBoundingBox(o,a,r);break}case M.curveTo:{const o=i.currentPointX,a=i.currentPointY,[c,f,l,d,h,u]=n;i.currentPointX=h,i.currentPointY=u,s.push(fn.curveTo,c,f,l,d,h,u),wt.bezierBoundingBox(o,a,c,f,l,d,h,u,r);break}case M.curveTo2:{const o=i.currentPointX,a=i.currentPointY,[c,f,l,d]=n;i.currentPointX=l,i.currentPointY=d,s.push(fn.curveTo,o,a,c,f,l,d),wt.bezierBoundingBox(o,a,o,a,c,f,l,d,r);break}case M.curveTo3:{const o=i.currentPointX,a=i.currentPointY,[c,f,l,d]=n;i.currentPointX=l,i.currentPointY=d,s.push(fn.curveTo,c,f,l,d,l,d),wt.bezierBoundingBox(o,a,c,f,l,d,l,d,r);break}case M.closePath:s.push(fn.closePath);break}}_getColorSpace(e,n,i){return _t.parse({cs:e,xref:this.xref,resources:n,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:i,asyncIfNotCached:!0})}async _handleColorSpace(e){try{return await e}catch(n){if(n instanceof In)return null;if(this.options.ignoreErrors)return L(`_handleColorSpace - ignoring ColorSpace: "${n}".`),null;throw n}}parseShading({shading:e,resources:n,localColorSpaceCache:i,localShadingPatternCache:r}){let s=r.get(e);if(s)return s;let o;try{o=Gx.parseShading(e,this.xref,n,this._pdfFunctionFactory,this.globalColorSpaceCache,i).getIR()}catch(a){if(a instanceof In)return null;if(this.options.ignoreErrors)return L(`parseShading - ignoring shading: "${a}".`),r.set(e,null),null;throw a}return s=`pattern_${this.idFactory.createObjId()}`,this.parsingType3Font&&(s=`${this.idFactory.getDocId()}_type3_${s}`),r.set(e,s),this.parsingType3Font?this.handler.send("commonobj",[s,"Pattern",o]):this.handler.send("obj",[s,this.pageIndex,"Pattern",o]),s}handleColorN(e,n,i,r,s,o,a,c,f,l){const d=i.pop();if(d instanceof le){const h=s.getRaw(d.name),u=h instanceof ke&&f.getByRef(h);if(u)try{const p=r.base?r.base.getRgbHex(i,0):null,x=zg(u.operatorListIR,u.dict,p);e.addOp(n,x);return}catch{}const g=this.xref.fetchIfRef(h);if(g){const p=g instanceof at?g.dict:g,x=p.get("PatternType");if(x===o9.TILING){const m=r.base?r.base.getRgbHex(i,0):null;return this.handleTilingType(n,m,o,g,p,e,a,f)}else if(x===o9.SHADING){const m=p.get("Shading"),w=this.parseShading({shading:m,resources:o,localColorSpaceCache:c,localShadingPatternCache:l});if(w){const O=ar(p.getArray("Matrix"),null);e.addOp(n,["Shading",w,O])}return}throw new re(`Unknown PatternType: ${x}`)}}throw new re(`Unknown PatternName: ${d}`)}_parseVisibilityExpression(e,n,i){if(++n>10){L("Visibility expression is too deeply nested");return}const s=e.length,o=this.xref.fetchIfRef(e[0]);if(s<2||!(o instanceof le)){L("Invalid visibility expression");return}switch(o.name){case"And":case"Or":case"Not":i.push(o.name);break;default:L(`Invalid operator ${o.name} in visibility expression`);return}for(let a=1;a<s;a++){const c=e[a],f=this.xref.fetchIfRef(c);if(Array.isArray(f)){const l=[];i.push(l),this._parseVisibilityExpression(f,n,l)}else c instanceof ke&&i.push(c.toString())}}async parseMarkedContentProps(e,n){let i;if(e instanceof le)i=n.get("Properties").get(e.name);else if(e instanceof q)i=e;else throw new re("Optional content properties malformed.");const r=i.get("Type")?.name;if(r==="OCG")return{type:r,id:i.objId};if(r==="OCMD"){const s=i.get("VE");if(Array.isArray(s)){const a=[];if(this._parseVisibilityExpression(s,0,a),a.length>0)return{type:"OCMD",expression:a}}const o=i.get("OCGs");if(Array.isArray(o)||o instanceof q){const a=[];if(Array.isArray(o))for(const c of o)a.push(c.toString());else a.push(o.objId);return{type:r,ids:a,policy:i.get("P")instanceof le?i.get("P").name:null,expression:null}}else if(o instanceof ke)return{type:r,id:o.toString()}}return null}getOperatorList({stream:e,task:n,resources:i,operatorList:r,initialState:s=null,fallbackFontDict:o=null,prevRefs:a=null}){const c=e.dict?.objId,f=new tn(a);if(c){if(a?.has(c))throw new Error(`getOperatorList - ignoring circular reference: ${c}`);f.put(c)}if(i||=q.empty,s||=new l9,!r)throw new Error('getOperatorList: missing "operatorList" parameter');const l=this,d=this.xref,h=new $g,u=new Gg,g=new Xg,p=new Ty,x=new Map,m=i.get("XObject")||q.empty,w=i.get("Pattern")||q.empty,O=new bf(s),k=new hr(e,d,O),E=new jc;function D(v){for(let S=0,C=k.savedStatesDepth;S<C;S++)r.addOp(M.restore,[])}return new Promise(function v(S,C){const R=function(z){Promise.all([z,r.ready]).then(function(){try{v(S,C)}catch(ee){C(ee)}},C)};n.ensureNotTerminated(),E.reset();const T={};let H,$,W,Y,Z,B;for(;!(H=E.check())&&(T.args=null,!!k.read(T));){let z=T.args,ee=T.fn;switch(ee|0){case M.paintXObject:if(B=z[0]instanceof le,Z=z[0].name,B){const N=h.getByName(Z);if(N){uh(r,N),z=null;continue}}R(new Promise(function(N,J){if(!B)throw new re("XObject must be referred to by name.");let ce=m.getRaw(Z);if(ce instanceof ke){const be=h.getByRef(ce)||l._regionalImageCache.getByRef(ce)||l.globalImageCache.getData(ce,l.pageIndex);if(be){uh(r,be),N();return}ce=d.fetch(ce)}if(!(ce instanceof at))throw new re("XObject should be a stream");const je=ce.dict.get("Subtype");if(!(je instanceof le))throw new re("XObject should have a Name subtype");if(je.name==="Form"){O.save(),l.buildFormXObject(i,ce,null,r,n,O.state.clone({newPath:!0}),u,f).then(function(){O.restore(),N()},J);return}else if(je.name==="Image"){l.buildPaintImageXObject({resources:i,image:ce,operatorList:r,cacheKey:Z,localImageCache:h,localColorSpaceCache:u}).then(N,J);return}else if(je.name==="PS")st("Ignored XObject subtype PS");else throw new re(`Unhandled XObject subtype ${je.name}`);N()}).catch(function(N){if(!(N instanceof In)){if(l.options.ignoreErrors){L(`getOperatorList - ignoring XObject: "${N}".`);return}throw N}}));return;case M.setFont:const X=z[1];R(l.handleSetFont(i,z,null,r,n,O.state,o).then(function(N){r.addDependency(N),r.addOp(M.setFont,[N,X])}));return;case M.endInlineImage:const te=z[0].cacheKey;if(te){const N=h.getByName(te);if(N){uh(r,N),z=null;continue}}R(l.buildPaintImageXObject({resources:i,image:z[0],isInline:!0,operatorList:r,cacheKey:te,localImageCache:h,localColorSpaceCache:u}));return;case M.showText:if(!O.state.font){l.ensureStateFont(O.state);continue}z[0]=l.handleText(z[0],O.state);break;case M.showSpacedText:if(!O.state.font){l.ensureStateFont(O.state);continue}const Ee=[],Pe=O.state;for(const N of z[0])typeof N=="string"?Ee.push(...l.handleText(N,Pe)):typeof N=="number"&&Ee.push(N);z[0]=Ee,ee=M.showText;break;case M.nextLineShowText:if(!O.state.font){l.ensureStateFont(O.state);continue}r.addOp(M.nextLine),z[0]=l.handleText(z[0],O.state),ee=M.showText;break;case M.nextLineSetSpacingShowText:if(!O.state.font){l.ensureStateFont(O.state);continue}r.addOp(M.nextLine),r.addOp(M.setWordSpacing,[z.shift()]),r.addOp(M.setCharSpacing,[z.shift()]),z[0]=l.handleText(z[0],O.state),ee=M.showText;break;case M.setTextRenderingMode:O.state.textRenderingMode=z[0];break;case M.setFillColorSpace:{const N=l._getColorSpace(z[0],i,u);if(N instanceof An){O.state.fillColorSpace=N;continue}R(l._handleColorSpace(N).then(J=>{O.state.fillColorSpace=J||_t.gray}));return}case M.setStrokeColorSpace:{const N=l._getColorSpace(z[0],i,u);if(N instanceof An){O.state.strokeColorSpace=N;continue}R(l._handleColorSpace(N).then(J=>{O.state.strokeColorSpace=J||_t.gray}));return}case M.setFillColor:Y=O.state.fillColorSpace,z=[Y.getRgbHex(z,0)],ee=M.setFillRGBColor;break;case M.setStrokeColor:Y=O.state.strokeColorSpace,z=[Y.getRgbHex(z,0)],ee=M.setStrokeRGBColor;break;case M.setFillGray:O.state.fillColorSpace=_t.gray,z=[_t.gray.getRgbHex(z,0)],ee=M.setFillRGBColor;break;case M.setStrokeGray:O.state.strokeColorSpace=_t.gray,z=[_t.gray.getRgbHex(z,0)],ee=M.setStrokeRGBColor;break;case M.setFillCMYKColor:O.state.fillColorSpace=_t.cmyk,z=[_t.cmyk.getRgbHex(z,0)],ee=M.setFillRGBColor;break;case M.setStrokeCMYKColor:O.state.strokeColorSpace=_t.cmyk,z=[_t.cmyk.getRgbHex(z,0)],ee=M.setStrokeRGBColor;break;case M.setFillRGBColor:O.state.fillColorSpace=_t.rgb,z=[_t.rgb.getRgbHex(z,0)];break;case M.setStrokeRGBColor:O.state.strokeColorSpace=_t.rgb,z=[_t.rgb.getRgbHex(z,0)];break;case M.setFillColorN:if(Y=O.state.patternFillColorSpace,!Y){if(Qn(z,null)){z=[_t.gray.getRgbHex(z,0)],ee=M.setFillRGBColor;break}z=[],ee=M.setFillTransparent;break}if(Y.name==="Pattern"){R(l.handleColorN(r,M.setFillColorN,z,Y,w,i,n,u,p,x));return}z=[Y.getRgbHex(z,0)],ee=M.setFillRGBColor;break;case M.setStrokeColorN:if(Y=O.state.patternStrokeColorSpace,!Y){if(Qn(z,null)){z=[_t.gray.getRgbHex(z,0)],ee=M.setStrokeRGBColor;break}z=[],ee=M.setStrokeTransparent;break}if(Y.name==="Pattern"){R(l.handleColorN(r,M.setStrokeColorN,z,Y,w,i,n,u,p,x));return}z=[Y.getRgbHex(z,0)],ee=M.setStrokeRGBColor;break;case M.shadingFill:let V;try{const N=i.get("Shading");if(!N)throw new re("No shading resource found");if(V=N.get(z[0].name),!V)throw new re("No shading object found")}catch(N){if(N instanceof In)continue;if(l.options.ignoreErrors){L(`getOperatorList - ignoring Shading: "${N}".`);continue}throw N}const Q=l.parseShading({shading:V,resources:i,localColorSpaceCache:u,localShadingPatternCache:x});if(!Q)continue;z=[Q],ee=M.shadingFill;break;case M.setGState:if(B=z[0]instanceof le,Z=z[0].name,B){const N=g.getByName(Z);if(N){N.length>0&&r.addOp(M.setGState,[N]),z=null;continue}}R(new Promise(function(N,J){if(!B)throw new re("GState must be referred to by name.");const ce=i.get("ExtGState");if(!(ce instanceof q))throw new re("ExtGState should be a dictionary.");const je=ce.get(Z);if(!(je instanceof q))throw new re("GState should be a dictionary.");l.setGState({resources:i,gState:je,operatorList:r,cacheKey:Z,task:n,stateManager:O,localGStateCache:g,localColorSpaceCache:u,seenRefs:f}).then(N,J)}).catch(function(N){if(!(N instanceof In)){if(l.options.ignoreErrors){L(`getOperatorList - ignoring ExtGState: "${N}".`);return}throw N}}));return;case M.setLineWidth:{const[N]=z;if(typeof N!="number"){L(`Invalid setLineWidth: ${N}`);continue}z[0]=Math.abs(N);break}case M.setDash:{const N=z[1];if(typeof N!="number"){L(`Invalid setDash: ${N}`);continue}const J=z[0];if(!Array.isArray(J)){L(`Invalid setDash: ${J}`);continue}J.some(ce=>typeof ce!="number")&&(z[0]=J.filter(ce=>typeof ce=="number"));break}case M.moveTo:case M.lineTo:case M.curveTo:case M.curveTo2:case M.curveTo3:case M.closePath:case M.rectangle:l.buildPath(ee,z,O.state);continue;case M.stroke:case M.closeStroke:case M.fill:case M.eoFill:case M.fillStroke:case M.eoFillStroke:case M.closeFillStroke:case M.closeEOFillStroke:case M.endPath:{const{state:{pathBuffer:N,pathMinMax:J}}=O;(ee===M.closeStroke||ee===M.closeFillStroke||ee===M.closeEOFillStroke)&&N.push(fn.closePath),N.length===0?r.addOp(M.constructPath,[ee,[null],null]):(r.addOp(M.constructPath,[ee,[new Float32Array(N)],J.slice()]),N.length=0,J.set([1/0,1/0,-1/0,-1/0],0));continue}case M.setTextMatrix:r.addOp(ee,[new Float32Array(z)]);continue;case M.markPoint:case M.markPointProps:case M.beginCompat:case M.endCompat:continue;case M.beginMarkedContentProps:if(!(z[0]instanceof le)){L(`Expected name for beginMarkedContentProps arg0=${z[0]}`),r.addOp(M.beginMarkedContentProps,["OC",null]);continue}if(z[0].name==="OC"){R(l.parseMarkedContentProps(z[1],i).then(N=>{r.addOp(M.beginMarkedContentProps,["OC",N])}).catch(N=>{if(!(N instanceof In)){if(l.options.ignoreErrors){L(`getOperatorList - ignoring beginMarkedContentProps: "${N}".`),r.addOp(M.beginMarkedContentProps,["OC",null]);return}throw N}}));return}z=[z[0].name,z[1]instanceof q?z[1].get("MCID"):null];break;case M.beginMarkedContent:case M.endMarkedContent:default:if(z!==null){for($=0,W=z.length;$<W&&!(z[$]instanceof q);$++);if($<W){L("getOperatorList - ignoring operator: "+ee);continue}}}r.addOp(ee,z)}if(H){R(c9);return}D(),S()}).catch(v=>{if(!(v instanceof In)){if(this.options.ignoreErrors){L(`getOperatorList - ignoring errors during "${n.name}" task: "${v}".`),D();return}throw v}})}getTextContent({stream:e,task:n,resources:i,stateManager:r=null,includeMarkedContent:s=!1,sink:o,seenStyles:a=new Set,viewBox:c,lang:f=null,markedContentData:l=null,disableNormalization:d=!1,keepWhiteSpace:h=!1,prevRefs:u=null,intersector:g=null}){const p=e.dict?.objId,x=new tn(u);if(p){if(u?.has(p))throw new Error(`getTextContent - ignoring circular reference: ${p}`);x.put(p)}i||=q.empty,r||=new bf(new nw),s&&(l||={level:0});const m={items:[],styles:Object.create(null),lang:f},w={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},O=[" "," "];let k=0;function E(me){const Ae=(k+1)%2,_e=O[k]!==" "&&O[Ae]===" ";return O[k]=me,k=Ae,!h&&_e}function D(){return!h&&O[k]!==" "&&O[(k+1)%2]===" "}function v(){O[0]=O[1]=" ",k=0}const S=.102,C=.03,R=-.2,T=.102,H=.6,$=.25,W=this,Y=this.xref,Z=[];let B=null;const z=new $g,ee=new Xg,X=new hr(e,Y,r);let te;function Ee({width:me=0,height:Ae=0,transform:_e=w.prevTransform,fontName:Ye=w.fontName}){g?.addExtraChar(" "),m.items.push({str:" ",dir:"ltr",width:me,height:Ae,transform:_e,fontName:Ye,hasEOL:!1})}function Pe(){const me=te.font,Ae=[te.fontSize*te.textHScale,0,0,te.fontSize,0,te.textRise];if(me.isType3Font&&(te.fontSize<=1||me.isCharBBox)&&!Vo(te.fontMatrix,Nr)){const _e=me.bbox[3]-me.bbox[1];_e>0&&(Ae[3]*=_e*te.fontMatrix[3])}return wt.transform(te.ctm,wt.transform(te.textMatrix,Ae))}function V(){if(w.initialized)return w;const{font:me,loadedName:Ae}=te;if(!a.has(Ae)&&(a.add(Ae),m.styles[Ae]={fontFamily:me.fallbackName,ascent:me.ascent,descent:me.descent,vertical:me.vertical},W.options.fontExtraProperties&&me.systemFontInfo)){const Me=m.styles[Ae];Me.fontSubstitution=me.systemFontInfo.css,Me.fontSubstitutionLoadedName=me.systemFontInfo.loadedName}w.fontName=Ae;const _e=w.transform=Pe();me.vertical?(w.width=w.totalWidth=Math.hypot(_e[0],_e[1]),w.height=w.totalHeight=0,w.vertical=!0):(w.width=w.totalWidth=0,w.height=w.totalHeight=Math.hypot(_e[2],_e[3]),w.vertical=!1);const Ye=Math.hypot(te.textLineMatrix[0],te.textLineMatrix[1]),Ie=Math.hypot(te.ctm[0],te.ctm[1]);w.textAdvanceScale=Ie*Ye;const{fontSize:Oe}=te;return w.trackingSpaceMin=Oe*S,w.notASpace=Oe*C,w.negativeSpaceMax=Oe*R,w.spaceInFlowMin=Oe*T,w.spaceInFlowMax=Oe*H,w.hasEOL=!1,w.initialized=!0,w}function Q(){if(!w.initialized)return;const me=Math.hypot(te.textLineMatrix[0],te.textLineMatrix[1]),_e=Math.hypot(te.ctm[0],te.ctm[1])*me;_e!==w.textAdvanceScale&&(w.vertical?(w.totalHeight+=w.height*w.textAdvanceScale,w.height=0):(w.totalWidth+=w.width*w.textAdvanceScale,w.width=0),w.textAdvanceScale=_e)}function N(me){let Ae=me.str.join("");d||(Ae=W6(Ae));const _e=n9(Ae,-1,me.vertical);return{str:_e.str,dir:_e.dir,width:Math.abs(me.totalWidth),height:Math.abs(me.totalHeight),transform:me.transform,fontName:me.fontName,hasEOL:me.hasEOL}}async function J(me,Ae){const _e=await W.loadFont(me,Ae,i,n);te.loadedName=_e.loadedName,te.font=_e.font,te.fontMatrix=_e.font.fontMatrix||Nr}function ce(me,Ae,_e){const Ye=Math.hypot(_e[0],_e[1]);return[(_e[0]*me+_e[1]*Ae)/Ye,(_e[2]*me+_e[3]*Ae)/Ye]}function je(me){const Ae=Pe();let _e=Ae[4],Ye=Ae[5];if(te.font?.vertical){if(_e<c[0]||_e>c[2]||Ye+me<c[1]||Ye>c[3])return!1}else if(_e+me<c[0]||_e>c[2]||Ye<c[1]||Ye>c[3])return!1;if(!te.font||!w.prevTransform)return!0;let Ie=w.prevTransform[4],Oe=w.prevTransform[5];if(Ie===_e&&Oe===Ye)return!0;let Me=-1;switch(Ae[0]&&Ae[1]===0&&Ae[2]===0?Me=Ae[0]>0?0:180:Ae[1]&&Ae[0]===0&&Ae[3]===0&&(Me=Ae[1]>0?90:270),Me){case 0:break;case 90:[_e,Ye]=[Ye,_e],[Ie,Oe]=[Oe,Ie];break;case 180:[_e,Ye,Ie,Oe]=[-_e,-Ye,-Ie,-Oe];break;case 270:[_e,Ye]=[-Ye,-_e],[Ie,Oe]=[-Oe,-Ie];break;default:[_e,Ye]=ce(_e,Ye,Ae),[Ie,Oe]=ce(Ie,Oe,w.prevTransform)}if(te.font.vertical){const Ge=(Oe-Ye)/w.textAdvanceScale,qe=_e-Ie,bt=Math.sign(w.height);return Ge<bt*w.negativeSpaceMax?Math.abs(qe)>.5*w.width?(se(),!0):(v(),De(),!0):Math.abs(qe)>w.width?(se(),!0):(Ge<=bt*w.notASpace&&v(),Ge<=bt*w.trackingSpaceMin?D()?(v(),De(),Ee({height:Math.abs(Ge)})):w.height+=Ge:ve(Ge,w.prevTransform,bt)||(w.str.length===0?(v(),Ee({height:Math.abs(Ge)})):w.height+=Ge),Math.abs(qe)>w.width*$&&De(),!0)}const Ue=(_e-Ie)/w.textAdvanceScale,ue=Ye-Oe,He=Math.sign(w.width);return Ue<He*w.negativeSpaceMax?Math.abs(ue)>.5*w.height?(se(),!0):(v(),De(),!0):Math.abs(ue)>w.height?(se(),!0):(Ue<=He*w.notASpace&&v(),Ue<=He*w.trackingSpaceMin?D()?(v(),De(),Ee({width:Math.abs(Ue)})):w.width+=Ue:ve(Ue,w.prevTransform,He)||(w.str.length===0?(v(),Ee({width:Math.abs(Ue)})):w.width+=Ue),Math.abs(ue)>w.height*$&&De(),!0)}function be({chars:me,extraSpacing:Ae}){const _e=te.font;if(!me){const Oe=te.charSpacing+Ae;Oe&&(_e.vertical?te.translateTextMatrix(0,-Oe):te.translateTextMatrix(Oe*te.textHScale,0)),h&&je(0);return}const Ye=_e.charsToGlyphs(me),Ie=te.fontMatrix[0]*te.fontSize;for(let Oe=0,Me=Ye.length;Oe<Me;Oe++){const Ue=Ye[Oe],{category:ue}=Ue;if(ue.isInvisibleFormatMark)continue;let He=te.charSpacing+(Oe+1===Me?Ae:0),Ge=Ue.width;_e.vertical&&(Ge=Ue.vmetric?Ue.vmetric[0]:-Ge);let qe=Ge*Ie;if(!h&&ue.isWhitespace){_e.vertical?(He+=-qe+te.wordSpacing,te.translateTextMatrix(0,-He)):(He+=qe+te.wordSpacing,te.translateTextMatrix(He*te.textHScale,0)),E(" ");continue}if(!ue.isZeroWidthDiacritic&&!je(qe)){_e.vertical?te.translateTextMatrix(0,qe):te.translateTextMatrix(qe*te.textHScale,0);continue}const bt=V();ue.isZeroWidthDiacritic&&(qe=0),_e.vertical?(g?.addGlyph(Pe(),0,qe,Ue.unicode),te.translateTextMatrix(0,qe),qe=Math.abs(qe),bt.height+=qe):(qe*=te.textHScale,g?.addGlyph(Pe(),qe,0,Ue.unicode),te.translateTextMatrix(qe,0),bt.width+=qe),qe&&(bt.prevTransform=Pe());const Ht=Ue.unicode;E(Ht)&&(bt.str.push(" "),g?.addExtraChar(" ")),g||bt.str.push(Ht),He&&(_e.vertical?te.translateTextMatrix(0,-He):te.translateTextMatrix(He*te.textHScale,0))}}function se(){g?.addExtraChar(`
|
|
15
|
+
`),v(),w.initialized?(w.hasEOL=!0,De()):m.items.push({str:"",dir:"ltr",width:0,height:0,transform:Pe(),fontName:te.loadedName,hasEOL:!0})}function ve(me,Ae,_e){if(_e*w.spaceInFlowMin<=me&&me<=_e*w.spaceInFlowMax)return w.initialized&&(v(),w.str.push(" "),g?.addExtraChar(" ")),!1;const Ye=w.fontName;let Ie=0;return w.vertical&&(Ie=me,me=0),De(),v(),Ee({width:Math.abs(me),height:Math.abs(Ie),transform:Ae||Pe(),fontName:Ye}),!0}function De(){!w.initialized||!w.str||(w.vertical?w.totalHeight+=w.height*w.textAdvanceScale:w.totalWidth+=w.width*w.textAdvanceScale,m.items.push(N(w)),w.initialized=!1,w.str.length=0)}function Ve(me=!1){const Ae=m.items.length;Ae!==0&&(me&&Ae<tw||(o?.enqueue(m,Ae),m.items=[],m.styles=Object.create(null)))}const We=new jc;return new Promise(function me(Ae,_e){const Ye=function(He){Ve(!0),Promise.all([He,o?.ready]).then(function(){try{me(Ae,_e)}catch(Ge){_e(Ge)}},_e)};n.ensureNotTerminated(),We.reset();const Ie={};let Oe,Me,Ue,ue=[];for(;!(Oe=We.check())&&(ue.length=0,Ie.args=ue,!!X.read(Ie));){const He=te;te=r.state;const Ge=Ie.fn;switch(ue=Ie.args,Ge|0){case M.setFont:const qe=ue[0].name,bt=ue[1];if(te.font&&qe===te.fontName&&bt===te.fontSize)break;De(),te.fontName=qe,te.fontSize=bt,Ye(J(qe,null));return;case M.setTextRise:te.textRise=ue[0];break;case M.setHScale:te.textHScale=ue[0]/100;break;case M.setLeading:te.leading=ue[0];break;case M.moveText:te.translateTextLineMatrix(ue[0],ue[1]),te.textMatrix=te.textLineMatrix.slice();break;case M.setLeadingMoveText:te.leading=-ue[1],te.translateTextLineMatrix(ue[0],ue[1]),te.textMatrix=te.textLineMatrix.slice();break;case M.nextLine:te.carriageReturn();break;case M.setTextMatrix:te.setTextMatrix(ue[0],ue[1],ue[2],ue[3],ue[4],ue[5]),te.setTextLineMatrix(ue[0],ue[1],ue[2],ue[3],ue[4],ue[5]),Q();break;case M.setCharSpacing:te.charSpacing=ue[0];break;case M.setWordSpacing:te.wordSpacing=ue[0];break;case M.beginText:te.textMatrix=Ga.slice(),te.textLineMatrix=Ga.slice();break;case M.showSpacedText:if(!r.state.font){W.ensureStateFont(r.state);continue}const Ht=(te.font.vertical?1:-1)*te.fontSize/1e3,xs=ue[0];for(let Rt=0,b=xs.length;Rt<b;Rt++){const Jt=xs[Rt];if(typeof Jt=="string")Z.push(Jt);else if(typeof Jt=="number"&&Jt!==0){const Fn=Z.join("");Z.length=0,be({chars:Fn,extraSpacing:Jt*Ht})}}if(Z.length>0){const Rt=Z.join("");Z.length=0,be({chars:Rt,extraSpacing:0})}break;case M.showText:if(!r.state.font){W.ensureStateFont(r.state);continue}be({chars:ue[0],extraSpacing:0});break;case M.nextLineShowText:if(!r.state.font){W.ensureStateFont(r.state);continue}te.carriageReturn(),be({chars:ue[0],extraSpacing:0});break;case M.nextLineSetSpacingShowText:if(!r.state.font){W.ensureStateFont(r.state);continue}te.wordSpacing=ue[0],te.charSpacing=ue[1],te.carriageReturn(),be({chars:ue[2],extraSpacing:0});break;case M.paintXObject:if(De(),B??=i.get("XObject")||q.empty,Ue=ue[0]instanceof le,Me=ue[0].name,Ue&&z.getByName(Me))break;Ye(new Promise(function(Rt,b){if(!Ue)throw new re("XObject must be referred to by name.");let Jt=B.getRaw(Me);if(Jt instanceof ke){if(z.getByRef(Jt)){Rt();return}if(W.globalImageCache.getData(Jt,W.pageIndex)){Rt();return}Jt=Y.fetch(Jt)}if(!(Jt instanceof at))throw new re("XObject should be a stream");const{dict:Fn}=Jt,A=Fn.get("Subtype");if(!(A instanceof le))throw new re("XObject should have a Name subtype");if(A.name!=="Form"){z.set(Me,Fn.objId,!0),Rt();return}const _o=r.state.clone(),jr=new bf(_o),ni=ar(Fn.getArray("Matrix"),null);ni&&jr.transform(ni);const ys=Fn.get("Resources");Ve();const ws={enqueueInvoked:!1,enqueue(_s,Oo){this.enqueueInvoked=!0,o.enqueue(_s,Oo)},get desiredSize(){return o.desiredSize??0},get ready(){return o.ready}};W.getTextContent({stream:Jt,task:n,resources:ys instanceof q?ys:i,stateManager:jr,includeMarkedContent:s,sink:o&&ws,seenStyles:a,viewBox:c,lang:f,markedContentData:l,disableNormalization:d,keepWhiteSpace:h,prevRefs:x}).then(function(){ws.enqueueInvoked||z.set(Me,Fn.objId,!0),Rt()},b)}).catch(function(Rt){if(!(Rt instanceof In)){if(W.options.ignoreErrors){L(`getTextContent - ignoring XObject: "${Rt}".`);return}throw Rt}}));return;case M.setGState:if(Ue=ue[0]instanceof le,Me=ue[0].name,Ue&&ee.getByName(Me))break;Ye(new Promise(function(Rt,b){if(!Ue)throw new re("GState must be referred to by name.");const Jt=i.get("ExtGState");if(!(Jt instanceof q))throw new re("ExtGState should be a dictionary.");const Fn=Jt.get(Me);if(!(Fn instanceof q))throw new re("GState should be a dictionary.");const A=Fn.get("Font");if(!A){ee.set(Me,Fn.objId,!0),Rt();return}De(),te.fontName=null,te.fontSize=A[1],J(null,A[0]).then(Rt,b)}).catch(function(Rt){if(!(Rt instanceof In)){if(W.options.ignoreErrors){L(`getTextContent - ignoring ExtGState: "${Rt}".`);return}throw Rt}}));return;case M.beginMarkedContent:De(),s&&(l.level++,m.items.push({type:"beginMarkedContent",tag:ue[0]instanceof le?ue[0].name:null}));break;case M.beginMarkedContentProps:if(De(),s){l.level++;let Rt=null;ue[1]instanceof q&&(Rt=ue[1].get("MCID")),m.items.push({type:"beginMarkedContentProps",id:Number.isInteger(Rt)?`${W.idFactory.getPageObjId()}_mc${Rt}`:null,tag:ue[0]instanceof le?ue[0].name:null})}break;case M.endMarkedContent:if(De(),s){if(l.level===0)break;l.level--,m.items.push({type:"endMarkedContent"})}break;case M.restore:He&&(He.font!==te.font||He.fontSize!==te.fontSize||He.fontName!==te.fontName)&&De();break}if(m.items.length>=(o?.desiredSize??1)){Oe=!0;break}}if(Oe){Ye(c9);return}De(),Ve(),Ae()}).catch(me=>{if(!(me instanceof In)){if(this.options.ignoreErrors){L(`getTextContent - ignoring errors during "${n.name}" task: "${me}".`),De(),Ve();return}throw me}})}async extractDataStructures(e,n){const i=this.xref;let r;const s=this.readToUnicode(n.toUnicode);if(n.composite){const h=e.get("CIDSystemInfo");h instanceof q&&(n.cidSystemInfo={registry:mt(h.get("Registry")),ordering:mt(h.get("Ordering")),supplement:h.get("Supplement")});try{const u=e.get("CIDToGIDMap");u instanceof at&&(r=u.getBytes())}catch(u){if(!this.options.ignoreErrors)throw u;L(`extractDataStructures - ignoring CIDToGIDMap data: "${u}".`)}}const o=[];let a=null,c;if(e.has("Encoding")){if(c=e.get("Encoding"),c instanceof q){if(a=c.get("BaseEncoding"),a=a instanceof le?a.name:null,c.has("Differences")){const h=c.get("Differences");let u=0;for(const g of h){const p=i.fetchIfRef(g);if(typeof p=="number")u=p;else if(p instanceof le)o[u++]=p.name;else throw new re(`Invalid entry in 'Differences' array: ${p}`)}}}else if(c instanceof le)a=c.name;else{const h="Encoding is not a Name nor a Dict";if(!this.options.ignoreErrors)throw new re(h);L(h)}a!=="MacRomanEncoding"&&a!=="MacExpertEncoding"&&a!=="WinAnsiEncoding"&&(a=null)}const f=!n.file||n.isInternalFont,l=Vd()[n.name];if(a&&f&&l&&(a=null),a)n.defaultEncoding=rc(a);else{const h=!!(n.flags&Ua.Symbolic),u=!!(n.flags&Ua.Nonsymbolic);c=Ci,n.type==="TrueType"&&!u&&(c=ic),(h||l)&&(c=Yd,f&&(/Symbol/i.test(n.name)?c=Hd:/Dingbats/i.test(n.name)?c=Zd:/Wingdings/i.test(n.name)&&(c=ic))),n.defaultEncoding=c}n.differences=o,n.baseEncodingName=a,n.hasEncoding=!!a||o.length>0,n.dict=e,n.toUnicode=await s;const d=await this.buildToUnicode(n);return n.toUnicode=d,r&&(n.cidToGidMap=this.readCidToGidMap(r,d)),n}_simpleFontToUnicode(e,n=!1){On(!e.composite,"Must be a simple font.");const i=[],r=e.defaultEncoding.slice(),s=e.baseEncodingName,o=e.differences;for(const c in o){const f=o[c];f!==".notdef"&&(r[c]=f)}const a=li();for(const c in r){let f=r[c];if(f==="")continue;let l=a[f];if(l!==void 0){i[c]=String.fromCharCode(l);continue}let d=0;switch(f[0]){case"G":f.length===3&&(d=parseInt(f.substring(1),16));break;case"g":f.length===5&&(d=parseInt(f.substring(1),16));break;case"C":case"c":if(f.length>=3&&f.length<=4){const h=f.substring(1);if(n){d=parseInt(h,16);break}if(d=+h,Number.isNaN(d)&&Number.isInteger(parseInt(h,16)))return this._simpleFontToUnicode(e,!0)}break;case"u":l=Hs(f,a),l!==-1&&(d=l);break;default:switch(f){case"f_h":case"f_t":case"T_h":i[c]=f.replaceAll("_","");continue}break}if(d>0&&d<=1114111&&Number.isInteger(d)){if(s&&d===+c){const h=rc(s);if(h&&(f=h[c])){i[c]=String.fromCharCode(a[f]);continue}}i[c]=String.fromCodePoint(d)}}return i}async buildToUnicode(e){if(e.hasIncludedToUnicodeMap=e.toUnicode?.length>0,e.hasIncludedToUnicodeMap)return!e.composite&&e.hasEncoding&&(e.fallbackToUnicode=this._simpleFontToUnicode(e)),e.toUnicode;if(!e.composite)return new dc(this._simpleFontToUnicode(e));if(e.composite&&(e.cMap.builtInCMap&&!(e.cMap instanceof Ys)||e.cidSystemInfo?.registry==="Adobe"&&(e.cidSystemInfo.ordering==="GB1"||e.cidSystemInfo.ordering==="CNS1"||e.cidSystemInfo.ordering==="Japan1"||e.cidSystemInfo.ordering==="Korea1"))){const{registry:n,ordering:i}=e.cidSystemInfo,r=le.get(`${n}-${i}-UCS2`),s=await nf.create({encoding:r,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),o=[],a=[];return e.cMap.forEach(function(c,f){if(f>65535)throw new re("Max size of CID is 65,535");const l=s.lookup(f);if(l){a.length=0;for(let d=0,h=l.length;d<h;d+=2)a.push((l.charCodeAt(d)<<8)+l.charCodeAt(d+1));o[c]=String.fromCharCode(...a)}}),new dc(o)}return new Ta(e.firstChar,e.lastChar)}async readToUnicode(e){if(!e)return null;if(e instanceof le){const n=await nf.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});return n instanceof Ys?new Ta(0,65535):new dc(n.getMap())}if(e instanceof at)try{const n=await nf.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});if(n instanceof Ys)return new Ta(0,65535);const i=new Array(n.length);return n.forEach(function(r,s){if(typeof s=="number"){i[r]=String.fromCodePoint(s);return}s.length%2!==0&&(s="\0"+s);const o=[];for(let a=0;a<s.length;a+=2){const c=s.charCodeAt(a)<<8|s.charCodeAt(a+1);if((c&63488)!==55296){o.push(c);continue}a+=2;const f=s.charCodeAt(a)<<8|s.charCodeAt(a+1);o.push(((c&1023)<<10)+(f&1023)+65536)}i[r]=String.fromCodePoint(...o)}),new dc(i)}catch(n){if(n instanceof In)return null;if(this.options.ignoreErrors)return L(`readToUnicode - ignoring ToUnicode data: "${n}".`),null;throw n}return null}readCidToGidMap(e,n){const i=[];for(let r=0,s=e.length;r<s;r++){const o=e[r++]<<8|e[r],a=r>>1;o===0&&!n.has(a)||(i[a]=o)}return i}extractWidths(e,n,i){const r=this.xref;let s=[],o=0;const a=[];let c;if(i.composite){const d=e.get("DW");o=typeof d=="number"?Math.ceil(d):1e3;const h=e.get("W");if(Array.isArray(h))for(let u=0,g=h.length;u<g;u++){let p=r.fetchIfRef(h[u++]);if(!Number.isInteger(p))break;const x=r.fetchIfRef(h[u]);if(Array.isArray(x))for(const m of x){const w=r.fetchIfRef(m);typeof w=="number"&&(s[p]=w),p++}else if(Number.isInteger(x)){const m=r.fetchIfRef(h[++u]);if(typeof m!="number")continue;for(let w=p;w<=x;w++)s[w]=m}else break}if(i.vertical){const u=e.getArray("DW2");let g=Qn(u,2)?u:[880,-1e3];if(c=[g[1],o*.5,g[0]],g=e.get("W2"),Array.isArray(g))for(let p=0,x=g.length;p<x;p++){let m=r.fetchIfRef(g[p++]);if(!Number.isInteger(m))break;const w=r.fetchIfRef(g[p]);if(Array.isArray(w))for(let O=0,k=w.length;O<k;O++){const E=[r.fetchIfRef(w[O++]),r.fetchIfRef(w[O++]),r.fetchIfRef(w[O])];Qn(E,null)&&(a[m]=E),m++}else if(Number.isInteger(w)){const O=[r.fetchIfRef(g[++p]),r.fetchIfRef(g[++p]),r.fetchIfRef(g[++p])];if(!Qn(O,null))continue;for(let k=m;k<=w;k++)a[k]=O}else break}}}else{const d=e.get("Widths");if(Array.isArray(d)){let h=i.firstChar;for(const g of d){const p=r.fetchIfRef(g);typeof p=="number"&&(s[h]=p),h++}const u=n.get("MissingWidth");o=typeof u=="number"?u:0}else{const h=e.get("BaseFont");if(h instanceof le){const u=this.getBaseFontMetrics(h.name);s=this.buildCharCodeToWidth(u.widths,i),o=u.defaultWidth}}}let f=!0,l=o;for(const d in s){const h=s[d];if(h){if(!l){l=h;continue}if(l!==h){f=!1;break}}}f?i.flags|=Ua.FixedPitch:i.flags&=~Ua.FixedPitch,i.defaultWidth=o,i.widths=s,i.defaultVMetrics=c,i.vmetrics=a}isSerifFont(e){const n=e.split("-",1)[0];return n in Wd()||/serif/gi.test(n)}getBaseFontMetrics(e){let n=0,i=Object.create(null),r=!1,o=sf()[e]||e;const a=bx();o in a||(o=this.isSerifFont(e)?"Times-Roman":"Helvetica");const c=a[o];return typeof c=="number"?(n=c,r=!0):i=c(),{defaultWidth:n,monospace:r,widths:i}}buildCharCodeToWidth(e,n){const i=Object.create(null),r=n.differences,s=n.defaultEncoding;for(let o=0;o<256;o++){if(o in r&&e[r[o]]){i[o]=e[r[o]];continue}if(o in s&&e[s[o]]){i[o]=e[s[o]];continue}}return i}preEvaluateFont(e){const n=e;let i=e.get("Subtype");if(!(i instanceof le))throw new re("invalid font Subtype");let r=!1,s;if(i.name==="Type0"){const l=e.get("DescendantFonts");if(!l)throw new re("Descendant fonts are not specified");if(e=Array.isArray(l)?this.xref.fetchIfRef(l[0]):l,!(e instanceof q))throw new re("Descendant font is not a dictionary.");if(i=e.get("Subtype"),!(i instanceof le))throw new re("invalid font Subtype");r=!0}let o=e.get("FirstChar");Number.isInteger(o)||(o=0);let a=e.get("LastChar");Number.isInteger(a)||(a=r?65535:255);const c=e.get("FontDescriptor"),f=e.get("ToUnicode")||n.get("ToUnicode");if(c){s=new Jy;const l=n.getRaw("Encoding");if(l instanceof le)s.update(l.name);else if(l instanceof ke)s.update(l.toString());else if(l instanceof q){for(const h of l.getRawValues())if(h instanceof le)s.update(h.name);else if(h instanceof ke)s.update(h.toString());else if(Array.isArray(h)){const u=h.length,g=new Array(u);for(let p=0;p<u;p++){const x=h[p];x instanceof le?g[p]=x.name:(typeof x=="number"||x instanceof ke)&&(g[p]=x.toString())}s.update(g.join())}}if(s.update(`${o}-${a}`),f instanceof at){const h=f.str||f,u=h.buffer?new Uint8Array(h.buffer.buffer,0,h.bufferLength):new Uint8Array(h.bytes.buffer,h.start,h.end-h.start);s.update(u)}else f instanceof le&&s.update(f.name);const d=e.get("Widths")||n.get("Widths");if(Array.isArray(d)){const h=[];for(const u of d)(typeof u=="number"||u instanceof ke)&&h.push(u.toString());s.update(h.join())}if(r){s.update("compositeFont");const h=e.get("W")||n.get("W");if(Array.isArray(h)){const g=[];for(const p of h)if(typeof p=="number"||p instanceof ke)g.push(p.toString());else if(Array.isArray(p)){const x=[];for(const m of p)(typeof m=="number"||m instanceof ke)&&x.push(m.toString());g.push(`[${x.join()}]`)}s.update(g.join())}const u=e.getRaw("CIDToGIDMap")||n.getRaw("CIDToGIDMap");u instanceof le?s.update(u.name):u instanceof ke?s.update(u.toString()):u instanceof at&&s.update(u.peekBytes())}}return{descriptor:c,dict:e,baseDict:n,composite:r,type:i.name,firstChar:o,lastChar:a,toUnicode:f,hash:s?s.hexdigest():""}}async translateFont({descriptor:e,dict:n,baseDict:i,composite:r,type:s,firstChar:o,lastChar:a,toUnicode:c,cssFontInfo:f}){const l=s==="Type3";if(!e)if(l)e=q.empty;else{let B=n.get("BaseFont");if(!(B instanceof le))throw new re("Base font is not specified");B=B.name.replaceAll(/[,_]/g,"-");const z=this.getBaseFontMetrics(B),ee=B.split("-",1)[0],X=(this.isSerifFont(ee)?Ua.Serif:0)|(z.monospace?Ua.FixedPitch:0)|(Vd()[ee]?Ua.Symbolic:Ua.Nonsymbolic),te={type:s,name:B,loadedName:i.loadedName,systemFontInfo:null,widths:z.widths,defaultWidth:z.defaultWidth,isSimulatedFlags:!0,flags:X,firstChar:o,lastChar:a,toUnicode:c,xHeight:0,capHeight:0,italicAngle:0,isType3Font:l},Ee=n.get("Widths"),Pe=xg(B);let V=null;Pe&&(V=await this.fetchStandardFontData(Pe),te.isInternalFont=!!V),!te.isInternalFont&&this.options.useSystemFonts&&(te.systemFontInfo=i9(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,B,Pe,s));const Q=await this.extractDataStructures(n,te);if(Array.isArray(Ee)){const N=[];let J=o;for(const ce of Ee){const je=this.xref.fetchIfRef(ce);typeof je=="number"&&(N[J]=je),J++}Q.widths=N}else Q.widths=this.buildCharCodeToWidth(z.widths,Q);return new Bg(B,V,Q,this.options)}let d=e.get("FontName"),h=n.get("BaseFont");typeof d=="string"&&(d=le.get(d)),typeof h=="string"&&(h=le.get(h));const u=d?.name,g=h?.name;if(l?u||(d=le.get(s)):u!==g&&(st(`The FontDescriptor's FontName is "${u}" but should be the same as the Font's BaseFont "${g}".`),u&&g&&(g.startsWith(u)||!yg(u)&&yg(g))&&(d=null),d||=h),!(d instanceof le))throw new re("invalid font name");let p,x,m,w,O;try{if(p=e.get("FontFile","FontFile2","FontFile3"),p)if(p instanceof at){if(p.isEmpty)throw new re("FontFile is empty")}else throw new re("FontFile should be a stream")}catch(B){if(!this.options.ignoreErrors)throw B;L(`translateFont - fetching "${d.name}" font file: "${B}".`),p=null}let k=!1,E=null,D=null;if(p){if(p.dict){const B=p.dict.get("Subtype");B instanceof le&&(x=B.name),m=p.dict.get("Length1"),w=p.dict.get("Length2"),O=p.dict.get("Length3")}}else if(f){const B=ch(d.name);B&&(f.fontFamily=`${f.fontFamily}-PdfJS-XFA`,f.metrics=B.metrics||null,E=B.factors||null,p=await this.fetchStandardFontData(B.name),k=!!p,i=n=qg(d.name),r=!0)}else if(!l){const B=xg(d.name);B&&(p=await this.fetchStandardFontData(B),k=!!p),!k&&this.options.useSystemFonts&&(D=i9(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,d.name,B,s))}const v=ar(n.getArray("FontMatrix"),Nr),S=ji(e.getArray("FontBBox")||n.getArray("FontBBox"),l?[0,0,0,0]:void 0);let C=e.get("Ascent");typeof C!="number"&&(C=void 0);let R=e.get("Descent");typeof R!="number"&&(R=void 0);let T=e.get("XHeight");typeof T!="number"&&(T=0);let H=e.get("CapHeight");typeof H!="number"&&(H=0);let $=e.get("Flags");Number.isInteger($)||($=0);let W=e.get("ItalicAngle");typeof W!="number"&&(W=0);const Y={type:s,name:d.name,subtype:x,file:p,length1:m,length2:w,length3:O,isInternalFont:k,loadedName:i.loadedName,composite:r,fixedPitch:!1,fontMatrix:v,firstChar:o,lastChar:a,toUnicode:c,bbox:S,ascent:C,descent:R,xHeight:T,capHeight:H,flags:$,italicAngle:W,isType3Font:l,cssFontInfo:f,scaleFactors:E,systemFontInfo:D};if(r){const B=i.get("Encoding");B instanceof le&&(Y.cidEncoding=B.name);const z=await nf.create({encoding:B,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});Y.cMap=z,Y.vertical=Y.cMap.vertical}const Z=await this.extractDataStructures(n,Y);return this.extractWidths(n,e,Z),new Bg(d.name,p,Z,this.options)}static buildFontPaths(e,n,i,r){function s(o){const a=`${e.loadedName}_path_${o}`;try{if(e.renderer.hasBuiltPath(o))return;i.send("commonobj",[a,"FontPath",e.renderer.getPathJs(o)])}catch(c){if(r.ignoreErrors){L(`buildFontPaths - ignoring ${a} glyph: "${c}".`);return}throw c}}for(const o of n){s(o.fontChar);const a=o.accent;a?.fontChar&&s(a.fontChar)}}static get fallbackFontDict(){const e=new q;return e.set("BaseFont",le.get("Helvetica")),e.set("Type",le.get("FallbackType")),e.set("Subtype",le.get("FallbackType")),e.set("Encoding",le.get("WinAnsiEncoding")),ge(this,"fallbackFontDict",e)}}class bh{#e=!1;#t=null;constructor({loadedName:e,font:n,dict:i}){this.loadedName=e,this.font=n,this.dict=i,this.type3Dependencies=n.isType3Font?new Set:null}send(e){this.#e||(this.#e=!0,e.send("commonobj",[this.loadedName,"Font",this.font.exportData()]))}fallback(e,n){this.font.data&&(this.font.disableFontFace=!0,Gs.buildFontPaths(this.font,this.font.glyphCacheValues,e,n))}loadType3Data(e,n,i){if(this.#t)return this.#t;const{font:r,type3Dependencies:s}=this;On(r.isType3Font,"Must be a Type3 font.");const o=e.clone({ignoreErrors:!1}),a=new tn(e.type3FontRefs);this.dict.objId&&!a.has(this.dict.objId)&&a.put(this.dict.objId),o.type3FontRefs=a;let c=Promise.resolve();const f=this.dict.get("CharProcs"),l=this.dict.get("Resources")||n,d=Object.create(null),[h,u,g,p]=r.bbox,x=g-h,m=p-u,w=Math.hypot(x,m);for(const O of f.getKeys())c=c.then(()=>{const k=f.get(O),E=new En;return o.getOperatorList({stream:k,task:i,resources:l,operatorList:E}).then(()=>{switch(E.fnArray[0]){case M.setCharWidthAndBounds:this.#n(E,w);break;case M.setCharWidth:w||this.#a(E);break}d[O]=E.getIR();for(const D of E.dependencies)s.add(D)}).catch(function(D){L(`Type3 font resource "${O}" is not available.`);const v=new En;d[O]=v.getIR()})});return this.#t=c.then(()=>{r.charProcOperatorList=d,this._bbox&&(r.isCharBBox=!0,r.bbox=this._bbox)}),this.#t}#n(e,n=NaN){const i=wt.normalizeRect(e.argsArray[0].slice(2)),r=i[2]-i[0],s=i[3]-i[1],o=Math.hypot(r,s);r===0||s===0?(e.fnArray.splice(0,1),e.argsArray.splice(0,1)):(n===0||Math.round(o/n)>=10)&&(this._bbox??=[1/0,1/0,-1/0,-1/0],wt.rectBoundingBox(...i,this._bbox));let a=0,c=e.length;for(;a<c;){switch(e.fnArray[a]){case M.setCharWidthAndBounds:break;case M.setStrokeColorSpace:case M.setFillColorSpace:case M.setStrokeColor:case M.setStrokeColorN:case M.setFillColor:case M.setFillColorN:case M.setStrokeGray:case M.setFillGray:case M.setStrokeRGBColor:case M.setFillRGBColor:case M.setStrokeCMYKColor:case M.setFillCMYKColor:case M.shadingFill:case M.setRenderingIntent:e.fnArray.splice(a,1),e.argsArray.splice(a,1),c--;continue;case M.setGState:const[f]=e.argsArray[a];let l=0,d=f.length;for(;l<d;){const[h]=f[l];switch(h){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":f.splice(l,1),d--;continue}l++}break}a++}}#a(e){let n=1;const i=e.length;for(;n<i;){switch(e.fnArray[n]){case M.constructPath:const r=e.argsArray[n][2];this._bbox??=[1/0,1/0,-1/0,-1/0],wt.rectBoundingBox(...r,this._bbox);break}n++}}}class bf{constructor(e=new l9){this.state=e,this.stateStack=[]}save(){const e=this.state;this.stateStack.push(this.state),this.state=e.clone()}restore(){const e=this.stateStack.pop();e&&(this.state=e)}transform(e){this.state.ctm=wt.transform(this.state.ctm,e)}}class nw{constructor(){this.ctm=new Float32Array(Ga),this.fontName=null,this.fontSize=0,this.loadedName=null,this.font=null,this.fontMatrix=Nr,this.textMatrix=Ga.slice(),this.textLineMatrix=Ga.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}setTextMatrix(e,n,i,r,s,o){const a=this.textMatrix;a[0]=e,a[1]=n,a[2]=i,a[3]=r,a[4]=s,a[5]=o}setTextLineMatrix(e,n,i,r,s,o){const a=this.textLineMatrix;a[0]=e,a[1]=n,a[2]=i,a[3]=r,a[4]=s,a[5]=o}translateTextMatrix(e,n){const i=this.textMatrix;i[4]=i[0]*e+i[2]*n+i[4],i[5]=i[1]*e+i[3]*n+i[5]}translateTextLineMatrix(e,n){const i=this.textLineMatrix;i[4]=i[0]*e+i[2]*n+i[4],i[5]=i[1]*e+i[3]*n+i[5]}carriageReturn(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}clone(){const e=Object.create(this);return e.textMatrix=this.textMatrix.slice(),e.textLineMatrix=this.textLineMatrix.slice(),e.fontMatrix=this.fontMatrix.slice(),e}}class l9{constructor(){this.ctm=new Float32Array(Ga),this.font=null,this.textRenderingMode=o2.FILL,this._fillColorSpace=this._strokeColorSpace=_t.gray,this.patternFillColorSpace=null,this.patternStrokeColorSpace=null,this.currentPointX=this.currentPointY=0,this.pathMinMax=new Float32Array([1/0,1/0,-1/0,-1/0]),this.pathBuffer=[]}get fillColorSpace(){return this._fillColorSpace}set fillColorSpace(e){this._fillColorSpace=this.patternFillColorSpace=e}get strokeColorSpace(){return this._strokeColorSpace}set strokeColorSpace(e){this._strokeColorSpace=this.patternStrokeColorSpace=e}clone({newPath:e=!1}={}){const n=Object.create(this);return e&&(n.pathBuffer=[],n.pathMinMax=new Float32Array([1/0,1/0,-1/0,-1/0])),n}}class hr{static get opMap(){return ge(this,"opMap",Object.assign(Object.create(null),{w:{id:M.setLineWidth,numArgs:1,variableArgs:!1},J:{id:M.setLineCap,numArgs:1,variableArgs:!1},j:{id:M.setLineJoin,numArgs:1,variableArgs:!1},M:{id:M.setMiterLimit,numArgs:1,variableArgs:!1},d:{id:M.setDash,numArgs:2,variableArgs:!1},ri:{id:M.setRenderingIntent,numArgs:1,variableArgs:!1},i:{id:M.setFlatness,numArgs:1,variableArgs:!1},gs:{id:M.setGState,numArgs:1,variableArgs:!1},q:{id:M.save,numArgs:0,variableArgs:!1},Q:{id:M.restore,numArgs:0,variableArgs:!1},cm:{id:M.transform,numArgs:6,variableArgs:!1},m:{id:M.moveTo,numArgs:2,variableArgs:!1},l:{id:M.lineTo,numArgs:2,variableArgs:!1},c:{id:M.curveTo,numArgs:6,variableArgs:!1},v:{id:M.curveTo2,numArgs:4,variableArgs:!1},y:{id:M.curveTo3,numArgs:4,variableArgs:!1},h:{id:M.closePath,numArgs:0,variableArgs:!1},re:{id:M.rectangle,numArgs:4,variableArgs:!1},S:{id:M.stroke,numArgs:0,variableArgs:!1},s:{id:M.closeStroke,numArgs:0,variableArgs:!1},f:{id:M.fill,numArgs:0,variableArgs:!1},F:{id:M.fill,numArgs:0,variableArgs:!1},"f*":{id:M.eoFill,numArgs:0,variableArgs:!1},B:{id:M.fillStroke,numArgs:0,variableArgs:!1},"B*":{id:M.eoFillStroke,numArgs:0,variableArgs:!1},b:{id:M.closeFillStroke,numArgs:0,variableArgs:!1},"b*":{id:M.closeEOFillStroke,numArgs:0,variableArgs:!1},n:{id:M.endPath,numArgs:0,variableArgs:!1},W:{id:M.clip,numArgs:0,variableArgs:!1},"W*":{id:M.eoClip,numArgs:0,variableArgs:!1},BT:{id:M.beginText,numArgs:0,variableArgs:!1},ET:{id:M.endText,numArgs:0,variableArgs:!1},Tc:{id:M.setCharSpacing,numArgs:1,variableArgs:!1},Tw:{id:M.setWordSpacing,numArgs:1,variableArgs:!1},Tz:{id:M.setHScale,numArgs:1,variableArgs:!1},TL:{id:M.setLeading,numArgs:1,variableArgs:!1},Tf:{id:M.setFont,numArgs:2,variableArgs:!1},Tr:{id:M.setTextRenderingMode,numArgs:1,variableArgs:!1},Ts:{id:M.setTextRise,numArgs:1,variableArgs:!1},Td:{id:M.moveText,numArgs:2,variableArgs:!1},TD:{id:M.setLeadingMoveText,numArgs:2,variableArgs:!1},Tm:{id:M.setTextMatrix,numArgs:6,variableArgs:!1},"T*":{id:M.nextLine,numArgs:0,variableArgs:!1},Tj:{id:M.showText,numArgs:1,variableArgs:!1},TJ:{id:M.showSpacedText,numArgs:1,variableArgs:!1},"'":{id:M.nextLineShowText,numArgs:1,variableArgs:!1},'"':{id:M.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},d0:{id:M.setCharWidth,numArgs:2,variableArgs:!1},d1:{id:M.setCharWidthAndBounds,numArgs:6,variableArgs:!1},CS:{id:M.setStrokeColorSpace,numArgs:1,variableArgs:!1},cs:{id:M.setFillColorSpace,numArgs:1,variableArgs:!1},SC:{id:M.setStrokeColor,numArgs:4,variableArgs:!0},SCN:{id:M.setStrokeColorN,numArgs:33,variableArgs:!0},sc:{id:M.setFillColor,numArgs:4,variableArgs:!0},scn:{id:M.setFillColorN,numArgs:33,variableArgs:!0},G:{id:M.setStrokeGray,numArgs:1,variableArgs:!1},g:{id:M.setFillGray,numArgs:1,variableArgs:!1},RG:{id:M.setStrokeRGBColor,numArgs:3,variableArgs:!1},rg:{id:M.setFillRGBColor,numArgs:3,variableArgs:!1},K:{id:M.setStrokeCMYKColor,numArgs:4,variableArgs:!1},k:{id:M.setFillCMYKColor,numArgs:4,variableArgs:!1},sh:{id:M.shadingFill,numArgs:1,variableArgs:!1},BI:{id:M.beginInlineImage,numArgs:0,variableArgs:!1},ID:{id:M.beginImageData,numArgs:0,variableArgs:!1},EI:{id:M.endInlineImage,numArgs:1,variableArgs:!1},Do:{id:M.paintXObject,numArgs:1,variableArgs:!1},MP:{id:M.markPoint,numArgs:1,variableArgs:!1},DP:{id:M.markPointProps,numArgs:2,variableArgs:!1},BMC:{id:M.beginMarkedContent,numArgs:1,variableArgs:!1},BDC:{id:M.beginMarkedContentProps,numArgs:2,variableArgs:!1},EMC:{id:M.endMarkedContent,numArgs:0,variableArgs:!1},BX:{id:M.beginCompat,numArgs:0,variableArgs:!1},EX:{id:M.endCompat,numArgs:0,variableArgs:!1},BM:null,BD:null,true:null,fa:null,fal:null,fals:null,false:null,nu:null,nul:null,null:null}))}static MAX_INVALID_PATH_OPS=10;constructor(e,n,i=new bf){this.parser=new sr({lexer:new Xa(e,hr.opMap),xref:n}),this.stateManager=i,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}get savedStatesDepth(){return this.stateManager.stateStack.length}read(e){let n=e.args;for(;;){const i=this.parser.getObj();if(i instanceof cn){const r=i.cmd,s=hr.opMap[r];if(!s){L(`Unknown command "${r}".`);continue}const o=s.id,a=s.numArgs;let c=n!==null?n.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=o>=M.moveTo&&o<=M.endPath,s.variableArgs)c>a&&st(`Command ${r}: expected [0, ${a}] args, but received ${c} args.`);else{if(c!==a){const f=this.nonProcessedArgs;for(;c>a;)f.push(n.shift()),c--;for(;c<a&&f.length!==0;)n===null&&(n=[]),n.unshift(f.pop()),c++}if(c<a){const f=`command ${r}: expected ${a} args, but received ${c} args.`;if(this._isPathOp&&++this._numInvalidPathOPS>hr.MAX_INVALID_PATH_OPS)throw new re(`Invalid ${f}`);L(`Skipping ${f}`),n!==null&&(n.length=0);continue}}return this.preprocessCommand(o,n),e.fn=o,e.args=n,!0}if(i===Pn)return!1;if(i!==null&&(n===null&&(n=[]),n.push(i),n.length>33))throw new re("Too many arguments")}}preprocessCommand(e,n){switch(e|0){case M.save:this.stateManager.save();break;case M.restore:this.stateManager.restore();break;case M.transform:this.stateManager.transform(n);break}}}class aw extends hr{constructor(e){super(new ea(e))}parse(){const e={fn:0,args:[]},n={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;e.args.length=0,!!this.read(e);){if(this.savedStatesDepth!==0)continue;const{fn:i,args:r}=e;switch(i|0){case M.setFont:const[s,o]=r;s instanceof le&&(n.fontName=s.name),typeof o=="number"&&o>0&&(n.fontSize=o);break;case M.setFillRGBColor:_t.rgb.getRgbItem(r,0,n.fontColor,0);break;case M.setFillGray:_t.gray.getRgbItem(r,0,n.fontColor,0);break;case M.setFillCMYKColor:_t.cmyk.getRgbItem(r,0,n.fontColor,0);break}}}catch(i){L(`parseDefaultAppearance - ignoring errors: "${i}".`)}return n}}function gh(t){return new aw(t).parse()}class iw extends hr{constructor(e,n,i,r){super(e),this.stream=e,this.evaluatorOptions=n,this.xref=i,this.globalColorSpaceCache=r,this.resources=e.dict?.get("Resources")}parse(){const e={fn:0,args:[]};let n={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:_t.gray},i=!1;const r=[];try{for(;e.args.length=0,!(i||!this.read(e));){const{fn:s,args:o}=e;switch(s|0){case M.save:r.push({scaleFactor:n.scaleFactor,fontSize:n.fontSize,fontName:n.fontName,fontColor:n.fontColor.slice(),fillColorSpace:n.fillColorSpace});break;case M.restore:n=r.pop()||n;break;case M.setTextMatrix:n.scaleFactor*=Math.hypot(o[0],o[1]);break;case M.setFont:const[a,c]=o;a instanceof le&&(n.fontName=a.name),typeof c=="number"&&c>0&&(n.fontSize=c*n.scaleFactor);break;case M.setFillColorSpace:n.fillColorSpace=_t.parse({cs:o[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:this._localColorSpaceCache});break;case M.setFillColor:n.fillColorSpace.getRgbItem(o,0,n.fontColor,0);break;case M.setFillRGBColor:_t.rgb.getRgbItem(o,0,n.fontColor,0);break;case M.setFillGray:_t.gray.getRgbItem(o,0,n.fontColor,0);break;case M.setFillCMYKColor:_t.cmyk.getRgbItem(o,0,n.fontColor,0);break;case M.showText:case M.showSpacedText:case M.nextLineShowText:case M.nextLineSetSpacingShowText:i=!0;break}}}catch(s){L(`parseAppearanceStream - ignoring errors: "${s}".`)}return this.stream.reset(),delete n.scaleFactor,delete n.fillColorSpace,n}get _localColorSpaceCache(){return ge(this,"_localColorSpaceCache",new Gg)}get _pdfFunctionFactory(){const e=new Wg({xref:this.xref,isEvalSupported:this.evaluatorOptions.isEvalSupported});return ge(this,"_pdfFunctionFactory",e)}}function rw(t,e,n,i){return new iw(t,e,n,i).parse()}function ui(t,e){if(t[0]===t[1]&&t[1]===t[2]){const n=t[0]/255;return`${ut(n)} ${e?"g":"G"}`}return Array.from(t,n=>ut(n/255)).join(" ")+` ${e?"rg":"RG"}`}function sw({fontSize:t,fontName:e,fontColor:n}){return`/${vd(e)} ${t} Tf ${ui(n,!0)}`}class bi{constructor(e,n){this.xref=e,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=n;const i=new OffscreenCanvas(1,1);this.ctxMeasure=i.getContext("2d",{willReadFrequently:!0}),bi._fontNameId||(bi._fontNameId=1),this.fontName=le.get(`InvalidPDFjsFont_${n}_${bi._fontNameId++}`)}get fontDescriptorRef(){if(!bi._fontDescriptorRef){const e=new q(this.xref);e.setIfName("Type","FontDescriptor"),e.set("FontName",this.fontName),e.set("FontFamily","MyriadPro Regular"),e.set("FontBBox",[0,0,0,0]),e.setIfName("FontStretch","Normal"),e.set("FontWeight",400),e.set("ItalicAngle",0),bi._fontDescriptorRef=this.xref.getNewPersistentRef(e)}return bi._fontDescriptorRef}get descendantFontRef(){const e=new q(this.xref);e.set("BaseFont",this.fontName),e.setIfName("Type","Font"),e.setIfName("Subtype","CIDFontType0"),e.setIfName("CIDToGIDMap","Identity"),e.set("FirstChar",this.firstChar),e.set("LastChar",this.lastChar),e.set("FontDescriptor",this.fontDescriptorRef),e.set("DW",1e3);const n=[],i=[...this.widths.entries()].sort();let r=null,s=null;for(const[a,c]of i){if(!r){r=a,s=[c];continue}a===r+s.length?s.push(c):(n.push(r,s),r=a,s=[c])}r&&n.push(r,s),e.set("W",n);const o=new q(this.xref);return o.set("Ordering","Identity"),o.set("Registry","Adobe"),o.set("Supplement",0),e.set("CIDSystemInfo",o),this.xref.getNewPersistentRef(e)}get baseFontRef(){const e=new q(this.xref);return e.set("BaseFont",this.fontName),e.setIfName("Type","Font"),e.setIfName("Subtype","Type0"),e.setIfName("Encoding","Identity-H"),e.set("DescendantFonts",[this.descendantFontRef]),e.setIfName("ToUnicode","Identity-H"),this.xref.getNewPersistentRef(e)}get resources(){const e=new q(this.xref),n=new q(this.xref);return n.set(this.fontName.name,this.baseFontRef),e.set("Font",n),e}_createContext(){return this.widths=new Map,this.ctxMeasure.font=`1000px ${this.fontFamily}`,this.ctxMeasure}createFontResources(e){const n=this._createContext();for(const i of e.split(/\r\n?|\n/))for(const r of i.split("")){const s=r.charCodeAt(0);if(this.widths.has(s))continue;const o=n.measureText(r),a=Math.ceil(o.width);this.widths.set(s,a),this.firstChar=Math.min(s,this.firstChar),this.lastChar=Math.max(s,this.lastChar)}return this.resources}static getFirstPositionInfo(e,n,i){const[r,s,o,a]=e;let c=o-r,f=a-s;n%180!==0&&([c,f]=[f,c]);const l=Ai*i,d=C0*i;return{coords:[0,f+d-l],bbox:[0,0,c,f],matrix:n!==0?N0(n,f,l):void 0}}createAppearance(e,n,i,r,s,o){const a=this._createContext(),c=[];let f=-1/0;for(const $ of e.split(/\r\n?|\n/)){c.push($);const W=a.measureText($).width;f=Math.max(f,W);for(const Y of sp($)){const Z=String.fromCodePoint(Y);let B=this.widths.get(Y);if(B===void 0){const z=a.measureText(Z);B=Math.ceil(z.width),this.widths.set(Y,B),this.firstChar=Math.min(Y,this.firstChar),this.lastChar=Math.max(Y,this.lastChar)}}}f*=r/1e3;const[l,d,h,u]=n;let g=h-l,p=u-d;i%180!==0&&([g,p]=[p,g]);let x=1;f>g&&(x=g/f);let m=1;const w=Ai*r,O=C0*r,k=w*c.length;k>p&&(m=p/k);const E=Math.min(x,m),D=r*E,v=["q",`0 0 ${ut(g)} ${ut(p)} re W n`,"BT",`1 0 0 1 0 ${ut(p+O)} Tm 0 Tc ${ui(s,!0)}`,`/${this.fontName.name} ${ut(D)} Tf`],{resources:S}=this;if(o=typeof o=="number"&&o>=0&&o<=1?o:1,o!==1){v.push("/R0 gs");const $=new q(this.xref),W=new q(this.xref);W.set("ca",o),W.set("CA",o),W.setIfName("Type","ExtGState"),$.set("R0",W),S.set("ExtGState",$)}const C=ut(w);for(const $ of c)v.push(`0 -${C} Td <${fp($)}> Tj`);v.push("ET","Q");const R=v.join(`
|
|
16
|
+
`),T=new q(this.xref);if(T.setIfName("Subtype","Form"),T.setIfName("Type","XObject"),T.set("BBox",[0,0,g,p]),T.set("Length",R.length),T.set("Resources",S),i){const $=N0(i,g,p);T.set("Matrix",$)}const H=new ea(R);return H.dict=T,H}}const ow=["m/d","m/d/yy","mm/dd/yy","mm/yy","d-mmm","d-mmm-yy","dd-mmm-yy","yy-mm-dd","mmm-yy","mmmm-yy","mmm d, yyyy","mmmm d, yyyy","m/d/yy h:MM tt","m/d/yy HH:MM"],cw=["HH:MM","h:MM tt","HH:MM:ss","h:MM:ss tt"];class d9{constructor(e,n,i){this.root=e,this.xref=n,this._type=i}getAll(){const e=new Map;if(!this.root)return e;const n=this.xref,i=new tn;i.put(this.root);const r=[this.root];for(;r.length>0;){const s=n.fetchIfRef(r.shift());if(!(s instanceof q))continue;if(s.has("Kids")){const a=s.get("Kids");if(!Array.isArray(a))continue;for(const c of a){if(i.has(c))throw new re(`Duplicate entry in "${this._type}" tree.`);r.push(c),i.put(c)}continue}const o=s.get(this._type);if(Array.isArray(o))for(let a=0,c=o.length;a<c;a+=2)e.set(n.fetchIfRef(o[a]),n.fetchIfRef(o[a+1]))}return e}getRaw(e){if(!this.root)return null;const n=this.xref;let i=n.fetchIfRef(this.root),r=0;const s=10;for(;i.has("Kids");){if(++r>s)return L(`Search depth limit reached for "${this._type}" tree.`),null;const a=i.get("Kids");if(!Array.isArray(a))return null;let c=0,f=a.length-1;for(;c<=f;){const l=c+f>>1,d=n.fetchIfRef(a[l]),h=d.get("Limits");if(e<n.fetchIfRef(h[0]))f=l-1;else if(e>n.fetchIfRef(h[1]))c=l+1;else{i=d;break}}if(c>f)return null}const o=i.get(this._type);if(Array.isArray(o)){let a=0,c=o.length-2;for(;a<=c;){const f=a+c>>1,l=f+(f&1),d=n.fetchIfRef(o[l]);if(e<d)c=l-2;else if(e>d)a=l+2;else return o[l+1]}}return null}get(e){return this.xref.fetchIfRef(this.getRaw(e))}}class Xs extends d9{constructor(e,n){super(e,n,"Names")}}class gf extends d9{constructor(e,n){super(e,n,"Nums")}}function ph(){Kx(),ep(),$m(),W0.cleanup()}function h9(t){return t instanceof q?t.has("UF")?t.get("UF"):t.has("F")?t.get("F"):t.has("Unix")?t.get("Unix"):t.has("Mac")?t.get("Mac"):t.has("DOS")?t.get("DOS"):null:null}function fw(t){return t.substring(t.lastIndexOf("/")+1)}class mh{#e=!1;constructor(e,n,i=!1){e instanceof q&&(this.xref=n,this.root=e,e.has("FS")&&(this.fs=e.get("FS")),e.has("RF")&&L("Related file specifications are not supported"),i||(e.has("EF")?this.#e=!0:L("Non-embedded file specifications are not supported")))}get filename(){let e="";const n=h9(this.root);return n&&typeof n=="string"&&(e=mt(n,!0).replaceAll("\\\\","\\").replaceAll("\\/","/").replaceAll("\\","/")),ge(this,"filename",e||"unnamed")}get content(){if(!this.#e)return null;this._contentRef||=h9(this.root?.get("EF"));let e=null;if(this._contentRef){const n=this.xref.fetchIfRef(this._contentRef);n instanceof at?e=n.getBytes():L("Embedded file specification points to non-existing/invalid content")}else L("Embedded file specification does not have any content");return e}get description(){let e="";const n=this.root?.get("Desc");return n&&typeof n=="string"&&(e=mt(n)),ge(this,"description",e)}get serializable(){return{rawFilename:this.filename,filename:fw(this.filename),content:this.content,description:this.description}}}const ba={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function Ws(t,e){const n=t[e];return n===" "||n===`
|
|
17
|
+
`||n==="\r"||n===" "}function lw(t){for(let e=0,n=t.length;e<n;e++)if(!Ws(t,e))return!1;return!0}class u9{_resolveEntities(e){return e.replaceAll(/&([^;]+);/g,(n,i)=>{if(i.substring(0,2)==="#x")return String.fromCodePoint(parseInt(i.substring(2),16));if(i.substring(0,1)==="#")return String.fromCodePoint(parseInt(i.substring(1),10));switch(i){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return this.onResolveEntity(i)})}_parseContent(e,n){const i=[];let r=n;function s(){for(;r<e.length&&Ws(e,r);)++r}for(;r<e.length&&!Ws(e,r)&&e[r]!==">"&&e[r]!=="/";)++r;const o=e.substring(n,r);for(s();r<e.length&&e[r]!==">"&&e[r]!=="/"&&e[r]!=="?";){s();let a="",c="";for(;r<e.length&&!Ws(e,r)&&e[r]!=="=";)a+=e[r],++r;if(s(),e[r]!=="=")return null;++r,s();const f=e[r];if(f!=='"'&&f!=="'")return null;const l=e.indexOf(f,++r);if(l<0)return null;c=e.substring(r,l),i.push({name:a,value:this._resolveEntities(c)}),r=l+1,s()}return{name:o,attributes:i,parsed:r-n}}_parseProcessingInstruction(e,n){let i=n;function r(){for(;i<e.length&&Ws(e,i);)++i}for(;i<e.length&&!Ws(e,i)&&e[i]!==">"&&e[i]!=="?"&&e[i]!=="/";)++i;const s=e.substring(n,i);r();const o=i;for(;i<e.length&&(e[i]!=="?"||e[i+1]!==">");)++i;const a=e.substring(o,i);return{name:s,value:a,parsed:i-n}}parseXml(e){let n=0;for(;n<e.length;){const i=e[n];let r=n;if(i==="<"){++r;const s=e[r];let o;switch(s){case"/":if(++r,o=e.indexOf(">",r),o<0){this.onError(ba.UnterminatedElement);return}this.onEndElement(e.substring(r,o)),r=o+1;break;case"?":++r;const a=this._parseProcessingInstruction(e,r);if(e.substring(r+a.parsed,r+a.parsed+2)!=="?>"){this.onError(ba.UnterminatedXmlDeclaration);return}this.onPi(a.name,a.value),r+=a.parsed+2;break;case"!":if(e.substring(r+1,r+3)==="--"){if(o=e.indexOf("-->",r+3),o<0){this.onError(ba.UnterminatedComment);return}this.onComment(e.substring(r+3,o)),r=o+3}else if(e.substring(r+1,r+8)==="[CDATA["){if(o=e.indexOf("]]>",r+8),o<0){this.onError(ba.UnterminatedCdat);return}this.onCdata(e.substring(r+8,o)),r=o+3}else if(e.substring(r+1,r+8)==="DOCTYPE"){const l=e.indexOf("[",r+8);let d=!1;if(o=e.indexOf(">",r+8),o<0){this.onError(ba.UnterminatedDoctypeDeclaration);return}if(l>0&&o>l){if(o=e.indexOf("]>",r+8),o<0){this.onError(ba.UnterminatedDoctypeDeclaration);return}d=!0}const h=e.substring(r+8,o+(d?1:0));this.onDoctype(h),r=o+(d?2:1)}else{this.onError(ba.MalformedElement);return}break;default:const c=this._parseContent(e,r);if(c===null){this.onError(ba.MalformedElement);return}let f=!1;if(e.substring(r+c.parsed,r+c.parsed+2)==="/>")f=!0;else if(e.substring(r+c.parsed,r+c.parsed+1)!==">"){this.onError(ba.UnterminatedElement);return}this.onBeginElement(c.name,c.attributes,f),r+=c.parsed+(f?2:1);break}}else{for(;r<e.length&&e[r]!=="<";)r++;const s=e.substring(n,r);this.onText(this._resolveEntities(s))}n=r}}onResolveEntity(e){return`&${e};`}onPi(e,n){}onComment(e){}onCdata(e){}onDoctype(e){}onText(e){}onBeginElement(e,n,i){}onEndElement(e){}onError(e){}}class Dc{constructor(e,n){this.nodeName=e,this.nodeValue=n,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}get firstChild(){return this.childNodes?.[0]}get nextSibling(){const e=this.parentNode.childNodes;if(!e)return;const n=e.indexOf(this);if(n!==-1)return e[n+1]}get textContent(){return this.childNodes?this.childNodes.map(e=>e.textContent).join(""):this.nodeValue||""}get children(){return this.childNodes||[]}hasChildNodes(){return this.childNodes?.length>0}searchNode(e,n){if(n>=e.length)return this;const i=e[n];if(i.name.startsWith("#")&&n<e.length-1)return this.searchNode(e,n+1);const r=[];let s=this;for(;;){if(i.name===s.nodeName)if(i.pos===0){const o=s.searchNode(e,n+1);if(o!==null)return o}else{if(r.length===0)return null;{const[o]=r.pop();let a=0;for(const c of o.childNodes)if(i.name===c.nodeName){if(a===i.pos)return c.searchNode(e,n+1);a++}return s.searchNode(e,n+1)}}if(s.childNodes?.length>0)r.push([s,0]),s=s.childNodes[0];else{if(r.length===0)return null;for(;r.length!==0;){const[o,a]=r.pop(),c=a+1;if(c<o.childNodes.length){r.push([o,c]),s=o.childNodes[c];break}}if(r.length===0)return null}}}dump(e){if(this.nodeName==="#text"){e.push(Ts(this.nodeValue));return}if(e.push(`<${this.nodeName}`),this.attributes)for(const n of this.attributes)e.push(` ${n.name}="${Ts(n.value)}"`);if(this.hasChildNodes()){e.push(">");for(const n of this.childNodes)n.dump(e);e.push(`</${this.nodeName}>`)}else this.nodeValue?e.push(`>${Ts(this.nodeValue)}</${this.nodeName}>`):e.push("/>")}}class pf extends u9{constructor({hasAttributes:e=!1,lowerCaseName:n=!1}){super(),this._currentFragment=null,this._stack=null,this._errorCode=ba.NoError,this._hasAttributes=e,this._lowerCaseName=n}parseFromString(e){if(this._currentFragment=[],this._stack=[],this._errorCode=ba.NoError,this.parseXml(e),this._errorCode!==ba.NoError)return;const[n]=this._currentFragment;if(n)return{documentElement:n}}onText(e){if(lw(e))return;const n=new Dc("#text",e);this._currentFragment.push(n)}onCdata(e){const n=new Dc("#text",e);this._currentFragment.push(n)}onBeginElement(e,n,i){this._lowerCaseName&&(e=e.toLowerCase());const r=new Dc(e);r.childNodes=[],this._hasAttributes&&(r.attributes=n),this._currentFragment.push(r),!i&&(this._stack.push(this._currentFragment),this._currentFragment=r.childNodes)}onEndElement(e){this._currentFragment=this._stack.pop()||[];const n=this._currentFragment.at(-1);if(!n)return null;for(const i of n.childNodes)i.parentNode=n;return n}onError(e){this._errorCode=e}}class dw{constructor(e){e=this._repair(e);const i=new pf({lowerCaseName:!0}).parseFromString(e);this._metadataMap=new Map,this._data=e,i&&this._parse(i)}_repair(e){return e.replace(/^[^<]+/,"").replaceAll(/>\\376\\377([^<]+)/g,function(n,i){const r=i.replaceAll(/\\([0-3])([0-7])([0-7])/g,function(o,a,c,f){return String.fromCharCode(a*64+c*8+f*1)}).replaceAll(/&(amp|apos|gt|lt|quot);/g,function(o,a){switch(a){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error(`_repair: ${a} isn't defined.`)}),s=[">"];for(let o=0,a=r.length;o<a;o+=2){const c=r.charCodeAt(o)*256+r.charCodeAt(o+1);c>=32&&c<127&&c!==60&&c!==62&&c!==38?s.push(String.fromCharCode(c)):s.push("&#x"+(65536+c).toString(16).substring(1)+";")}return s.join("")})}_getSequence(e){const n=e.nodeName;return n!=="rdf:bag"&&n!=="rdf:seq"&&n!=="rdf:alt"?null:e.childNodes.filter(i=>i.nodeName==="rdf:li")}_parseArray(e){if(!e.hasChildNodes())return;const[n]=e.childNodes,i=this._getSequence(n)||[];this._metadataMap.set(e.nodeName,i.map(r=>r.textContent.trim()))}_parse(e){let n=e.documentElement;if(n.nodeName!=="rdf:rdf")for(n=n.firstChild;n&&n.nodeName!=="rdf:rdf";)n=n.nextSibling;if(!(!n||n.nodeName!=="rdf:rdf"||!n.hasChildNodes())){for(const i of n.childNodes)if(i.nodeName==="rdf:description")for(const r of i.childNodes){const s=r.nodeName;switch(s){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(r);continue}this._metadataMap.set(s,r.textContent.trim())}}}get serializable(){return{parsedData:this._metadataMap,rawData:this._data}}}const b9=40,Na={PAGE_CONTENT:1,STREAM_CONTENT:2,OBJECT:3,ANNOTATION:4,ELEMENT:5};class ur{constructor(e,n,i){this.xref=e,this.dict=n,this.ref=i instanceof ke?i:null,this.roleMap=new Map,this.structParentIds=null}init(){this.readRoleMap()}#e(e,n,i){if(!(e instanceof ke)||n<0)return;this.structParentIds||=new ha;let r=this.structParentIds.get(e);r||(r=[],this.structParentIds.put(e,r)),r.push([n,i])}addAnnotationIdToPage(e,n){this.#e(e,n,Na.ANNOTATION)}readRoleMap(){const e=this.dict.get("RoleMap");if(e instanceof q)for(const[n,i]of e)i instanceof le&&this.roleMap.set(n,i.name)}static async canCreateStructureTree({catalogRef:e,pdfManager:n,newAnnotationsByPage:i}){if(!(e instanceof ke))return L("Cannot save the struct tree: no catalog reference."),!1;let r=0,s=!0;for(const[o,a]of i){const{ref:c}=await n.getPage(o);if(!(c instanceof ke)){L(`Cannot save the struct tree: page ${o} has no ref.`),s=!0;break}for(const f of a)f.accessibilityData?.type&&(f.parentTreeId=r++,s=!1)}if(s){for(const o of i.values())for(const a of o)delete a.parentTreeId;return!1}return!0}static async createStructureTree({newAnnotationsByPage:e,xref:n,catalogRef:i,pdfManager:r,changes:s}){const o=await r.ensureCatalog("cloneDict"),a=new ha;a.put(i,o);const c=n.getNewTemporaryRef();o.set("StructTreeRoot",c);const f=new q(n);f.set("Type",le.get("StructTreeRoot"));const l=n.getNewTemporaryRef();f.set("ParentTree",l);const d=[];f.set("K",d),a.put(c,f);const h=new q(n),u=[];h.set("Nums",u);const g=await this.#t({newAnnotationsByPage:e,structTreeRootRef:c,structTreeRoot:null,kids:d,nums:u,xref:n,pdfManager:r,changes:s,cache:a});f.set("ParentTreeNextKey",g),a.put(l,h);for(const[p,x]of a.items())s.put(p,{data:x})}async canUpdateStructTree({pdfManager:e,newAnnotationsByPage:n}){if(!this.ref)return L("Cannot update the struct tree: no root reference."),!1;let i=this.dict.get("ParentTreeNextKey");if(!Number.isInteger(i)||i<0)return L("Cannot update the struct tree: invalid next key."),!1;const r=this.dict.get("ParentTree");if(!(r instanceof q))return L("Cannot update the struct tree: ParentTree isn't a dict."),!1;const s=r.get("Nums");if(!Array.isArray(s))return L("Cannot update the struct tree: nums isn't an array."),!1;const o=new gf(r,this.xref);for(const c of n.keys()){const{pageDict:f}=await e.getPage(c);if(!f.has("StructParents"))continue;const l=f.get("StructParents");if(!Number.isInteger(l)||!Array.isArray(o.get(l)))return L(`Cannot save the struct tree: page ${c} has a wrong id.`),!1}let a=!0;for(const[c,f]of n){const{pageDict:l}=await e.getPage(c);ur.#a({elements:f,xref:this.xref,pageDict:l,numberTree:o});for(const d of f)d.accessibilityData?.type&&(d.accessibilityData.structParent>=0||(d.parentTreeId=i++),a=!1)}if(a){for(const c of n.values())for(const f of c)delete f.parentTreeId,delete f.structTreeParent;return!1}return!0}async updateStructureTree({newAnnotationsByPage:e,pdfManager:n,changes:i}){const{ref:r,xref:s}=this,o=this.dict.clone(),a=new ha;a.put(r,o);let c=o.getRaw("ParentTree"),f;c instanceof ke?f=s.fetch(c):(f=c,c=s.getNewTemporaryRef(),o.set("ParentTree",c)),f=f.clone(),a.put(c,f);let l=f.getRaw("Nums"),d=null;l instanceof ke&&(d=l,l=s.fetch(d)),l=l.slice(),d||f.set("Nums",l);const h=await ur.#t({newAnnotationsByPage:e,structTreeRootRef:r,structTreeRoot:this,kids:null,nums:l,xref:s,pdfManager:n,changes:i,cache:a});if(h!==-1){o.set("ParentTreeNextKey",h),d&&a.put(d,l);for(const[u,g]of a.items())i.put(u,{data:g})}}static async#t({newAnnotationsByPage:e,structTreeRootRef:n,structTreeRoot:i,kids:r,nums:s,xref:o,pdfManager:a,changes:c,cache:f}){const l=le.get("OBJR");let d=-1,h;for(const[u,g]of e){const p=await a.getPage(u),{ref:x}=p,m=x instanceof ke;for(const{accessibilityData:w,ref:O,parentTreeId:k,structTreeParent:E}of g){if(!w?.type)continue;const{structParent:D}=w;if(i&&Number.isInteger(D)&&D>=0){let R=(h||=new Map).get(u);R===void 0&&(R=new g9(i,p.pageDict).collectObjects(x),h.set(u,R));const T=R?.get(D);if(T){const H=o.fetch(T).clone();ur.#n(H,w),c.put(T,{data:H});continue}}d=Math.max(d,k);const v=o.getNewTemporaryRef(),S=new q(o);ur.#n(S,w),await this.#i({structTreeParent:E,tagDict:S,newTagRef:v,structTreeRootRef:n,fallbackKids:r,xref:o,cache:f});const C=new q(o);S.set("K",C),C.set("Type",l),m&&C.set("Pg",x),C.set("Obj",O),f.put(v,S),s.push(k,v)}}return d+1}static#n(e,{type:n,title:i,lang:r,alt:s,expanded:o,actualText:a}){e.set("S",le.get(n)),i&&e.set("T",_a(i)),r&&e.set("Lang",_a(r)),s&&e.set("Alt",_a(s)),o&&e.set("E",_a(o)),a&&e.set("ActualText",_a(a))}static#a({elements:e,xref:n,pageDict:i,numberTree:r}){const s=new Map;for(const f of e)if(f.structTreeParentId){const l=parseInt(f.structTreeParentId.split("_mc")[1],10);let d=s.get(l);d||(d=[],s.set(l,d)),d.push(f)}const o=i.get("StructParents");if(!Number.isInteger(o))return;const a=r.get(o),c=(f,l,d)=>{const h=s.get(f);if(h){const u=l.getRaw("P"),g=n.fetchIfRef(u);if(u instanceof ke&&g instanceof q){const p={ref:d,dict:l};for(const x of h)x.structTreeParent=p}return!0}return!1};for(const f of a){if(!(f instanceof ke))continue;const l=n.fetch(f),d=l.get("K");if(Number.isInteger(d)){c(d,l,f);continue}if(Array.isArray(d))for(let h of d){if(h=n.fetchIfRef(h),Number.isInteger(h)&&c(h,l,f))break;if(!(h instanceof q))continue;if(!zt(h.get("Type"),"MCR"))break;const u=h.get("MCID");if(Number.isInteger(u)&&c(u,l,f))break}}}static async#i({structTreeParent:e,tagDict:n,newTagRef:i,structTreeRootRef:r,fallbackKids:s,xref:o,cache:a}){let c=null,f;e?({ref:c}=e,f=e.dict.getRaw("P")||r):f=r,n.set("P",f);const l=o.fetchIfRef(f);if(!l){s.push(i);return}let d=a.get(f);d||(d=l.clone(),a.put(f,d));const h=d.getRaw("K");let u=h instanceof ke?a.get(h):null;if(!u){u=o.fetchIfRef(h),u=Array.isArray(u)?u.slice():[h];const p=o.getNewTemporaryRef();d.set("K",p),a.put(p,u)}const g=u.indexOf(c);u.splice(g>=0?g+1:u.length,0,i)}}class hw{constructor(e,n){this.tree=e,this.xref=e.xref,this.dict=n,this.kids=[],this.parseKids()}get role(){const e=this.dict.get("S"),n=e instanceof le?e.name:"",{root:i}=this.tree;return i.roleMap.get(n)??n}parseKids(){let e=null;const n=this.dict.getRaw("Pg");n instanceof ke&&(e=n.toString());const i=this.dict.get("K");if(Array.isArray(i))for(const r of i){const s=this.parseKid(e,this.xref.fetchIfRef(r));s&&this.kids.push(s)}else{const r=this.parseKid(e,i);r&&this.kids.push(r)}}parseKid(e,n){if(Number.isInteger(n))return this.tree.pageDict.objId!==e?null:new mf({type:Na.PAGE_CONTENT,mcid:n,pageObjId:e});if(!(n instanceof q))return null;const i=n.getRaw("Pg");i instanceof ke&&(e=i.toString());const r=n.get("Type")instanceof le?n.get("Type").name:null;if(r==="MCR"){if(this.tree.pageDict.objId!==e)return null;const s=n.getRaw("Stm");return new mf({type:Na.STREAM_CONTENT,refObjId:s instanceof ke?s.toString():null,pageObjId:e,mcid:n.get("MCID")})}if(r==="OBJR"){if(this.tree.pageDict.objId!==e)return null;const s=n.getRaw("Obj");return new mf({type:Na.OBJECT,refObjId:s instanceof ke?s.toString():null,pageObjId:e})}return new mf({type:Na.ELEMENT,dict:n})}}class mf{constructor({type:e,dict:n=null,mcid:i=null,pageObjId:r=null,refObjId:s=null}){this.type=e,this.dict=n,this.mcid=i,this.pageObjId=r,this.refObjId=s,this.parentNode=null}}class g9{constructor(e,n){this.root=e,this.xref=e?.xref??null,this.rootDict=e?.dict??null,this.pageDict=n,this.nodes=[]}collectObjects(e){if(!this.root||!this.rootDict||!(e instanceof ke))return null;const n=this.rootDict.get("ParentTree");if(!n)return null;const i=this.root.structParentIds?.get(e);if(!i)return null;const r=new Map,s=new gf(n,this.xref);for(const[o]of i){const a=s.getRaw(o);a instanceof ke&&r.set(o,a)}return r}parse(e){if(!this.root||!this.rootDict||!(e instanceof ke))return;const n=this.rootDict.get("ParentTree");if(!n)return;const i=this.pageDict.get("StructParents"),r=this.root.structParentIds?.get(e);if(!Number.isInteger(i)&&!r)return;const s=new Map,o=new gf(n,this.xref);if(Number.isInteger(i)){const a=o.get(i);if(Array.isArray(a))for(const c of a)c instanceof ke&&this.addNode(this.xref.fetch(c),s)}if(r)for(const[a,c]of r){const f=o.get(a);if(f){const l=this.addNode(this.xref.fetchIfRef(f),s);l?.kids?.length===1&&l.kids[0].type===Na.OBJECT&&(l.kids[0].type=c)}}}addNode(e,n,i=0){if(i>b9)return L("StructTree MAX_DEPTH reached."),null;if(!(e instanceof q))return null;if(n.has(e))return n.get(e);const r=new hw(this,e);n.set(e,r);const s=e.get("P");if(!(s instanceof q)||zt(s.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(e,r)||n.delete(e),r;const o=this.addNode(s,n,i+1);if(!o)return r;let a=!1;for(const c of o.kids)c.type===Na.ELEMENT&&c.dict===e&&(c.parentNode=r,a=!0);return a||n.delete(e),r}addTopLevelNode(e,n){const i=this.rootDict.get("K");if(!i)return!1;if(i instanceof q)return i.objId!==e.objId?!1:(this.nodes[0]=n,!0);if(!Array.isArray(i))return!0;let r=!1;for(let s=0;s<i.length;s++)i[s]?.toString()===e.objId&&(this.nodes[s]=n,r=!0);return r}get serializable(){function e(i,r,s=0){if(s>b9){L("StructTree too deep to be fully serialized.");return}const o=Object.create(null);o.role=i.role,o.children=[],r.children.push(o);let a=i.dict.get("Alt");typeof a!="string"&&(a=i.dict.get("ActualText")),typeof a=="string"&&(o.alt=mt(a));const c=i.dict.get("A");if(c instanceof q){const l=ji(c.getArray("BBox"),null);if(l)o.bbox=l;else{const d=c.get("Width"),h=c.get("Height");typeof d=="number"&&d>0&&typeof h=="number"&&h>0&&(o.bbox=[0,0,d,h])}}const f=i.dict.get("Lang");typeof f=="string"&&(o.lang=mt(f));for(const l of i.kids){const d=l.type===Na.ELEMENT?l.parentNode:null;if(d){e(d,o,s+1);continue}else l.type===Na.PAGE_CONTENT||l.type===Na.STREAM_CONTENT?o.children.push({type:"content",id:`p${l.pageObjId}_mc${l.mcid}`}):l.type===Na.OBJECT?o.children.push({type:"object",id:l.refObjId}):l.type===Na.ANNOTATION&&o.children.push({type:"annotation",id:`${V6}${l.refObjId}`})}}const n=Object.create(null);n.children=[],n.role="Root";for(const i of this.nodes)i&&e(i,n);return n}}const uw=t=>t instanceof ke,xf=K6.bind(null,uw,zt);function xh(t){return t instanceof q&&(t=t.get("D")),xf(t)?t:null}function p9(t){let e=t.get("D");if(e){if(e instanceof le&&(e=e.name),typeof e=="string")return mt(e,!0);if(xf(e))return JSON.stringify(e)}return null}class Vs{#e=null;#t=null;builtInCMapCache=new Map;fontCache=new ha;globalColorSpaceCache=new Fy;globalImageCache=new qs;nonBlendModesSet=new tn;pageDictCache=new ha;pageIndexCache=new ha;pageKidsCountCache=new ha;standardFontDataCache=new Map;systemFontCache=new Map;constructor(e,n){if(this.pdfManager=e,this.xref=n,this.#t=n.getCatalogObj(),!(this.#t instanceof q))throw new re("Catalog object is not a dictionary.");this.toplevelPagesDict}cloneDict(){return this.#t.clone()}get version(){const e=this.#t.get("Version");if(e instanceof le){if(x2.test(e.name))return ge(this,"version",e.name);L(`Invalid PDF catalog version: ${e.name}`)}return ge(this,"version",null)}get lang(){const e=this.#t.get("Lang");return ge(this,"lang",e&&typeof e=="string"?mt(e):null)}get needsRendering(){const e=this.#t.get("NeedsRendering");return ge(this,"needsRendering",typeof e=="boolean"?e:!1)}get collection(){let e=null;try{const n=this.#t.get("Collection");n instanceof q&&n.size>0&&(e=n)}catch(n){if(n instanceof Ut)throw n;st("Cannot fetch Collection entry; assuming no collection is present.")}return ge(this,"collection",e)}get acroForm(){let e=null;try{const n=this.#t.get("AcroForm");n instanceof q&&n.size>0&&(e=n)}catch(n){if(n instanceof Ut)throw n;st("Cannot fetch AcroForm entry; assuming no forms are present.")}return ge(this,"acroForm",e)}get acroFormRef(){const e=this.#t.getRaw("AcroForm");return ge(this,"acroFormRef",e instanceof ke?e:null)}get metadata(){const e=this.#t.getRaw("Metadata");if(!(e instanceof ke))return ge(this,"metadata",null);let n=null;try{const i=this.xref.fetch(e,!this.xref.encrypt?.encryptMetadata);if(i instanceof at&&i.dict instanceof q){const r=i.dict.get("Type"),s=i.dict.get("Subtype");if(zt(r,"Metadata")&&zt(s,"XML")){const o=Wo(i.getString());o&&(n=new dw(o).serializable)}}}catch(i){if(i instanceof Ut)throw i;st(`Skipping invalid Metadata: "${i}".`)}return ge(this,"metadata",n)}get markInfo(){let e=null;try{e=this.#n()}catch(n){if(n instanceof Ut)throw n;L("Unable to read mark info.")}return ge(this,"markInfo",e)}#n(){const e=this.#t.get("MarkInfo");if(!(e instanceof q))return null;const n={Marked:!1,UserProperties:!1,Suspects:!1};for(const i in n){const r=e.get(i);typeof r=="boolean"&&(n[i]=r)}return n}get structTreeRoot(){let e=null;try{e=this.#a()}catch(n){if(n instanceof Ut)throw n;L("Unable read to structTreeRoot info.")}return ge(this,"structTreeRoot",e)}#a(){const e=this.#t.getRaw("StructTreeRoot"),n=this.xref.fetchIfRef(e);if(!(n instanceof q))return null;const i=new ur(this.xref,n,e);return i.init(),i}get toplevelPagesDict(){const e=this.#t.get("Pages");if(!(e instanceof q))throw new re("Invalid top-level pages dictionary.");return ge(this,"toplevelPagesDict",e)}get documentOutline(){let e=null;try{e=this.#i()}catch(n){if(n instanceof Ut)throw n;L("Unable to read document outline.")}return ge(this,"documentOutline",e)}#i(){let e=this.#t.get("Outlines");if(!(e instanceof q)||(e=e.getRaw("First"),!(e instanceof ke)))return null;const n={items:[]},i=[{obj:e,parent:n}],r=new tn;r.put(e);const s=this.xref,o=new Uint8ClampedArray(3);for(;i.length>0;){const a=i.shift(),c=s.fetchIfRef(a.obj);if(c===null)continue;c.has("Title")||L("Invalid outline item encountered.");const f={url:null,dest:null,action:null};Vs.parseDestDictionary({destDict:c,resultObj:f,docBaseUrl:this.baseUrl,docAttachments:this.attachments});const l=c.get("Title"),d=c.get("F")||0,h=c.getArray("C"),u=c.get("Count");let g=o;Qn(h,3)&&(h[0]!==0||h[1]!==0||h[2]!==0)&&(g=_t.rgb.getRgb(h,0));const p={action:f.action,attachment:f.attachment,dest:f.dest,url:f.url,unsafeUrl:f.unsafeUrl,newWindow:f.newWindow,setOCGState:f.setOCGState,title:typeof l=="string"?mt(l):"",color:g,count:Number.isInteger(u)?u:void 0,bold:!!(d&2),italic:!!(d&1),items:[]};a.parent.items.push(p),e=c.getRaw("First"),e instanceof ke&&!r.has(e)&&(i.push({obj:e,parent:p}),r.put(e)),e=c.getRaw("Next"),e instanceof ke&&!r.has(e)&&(i.push({obj:e,parent:a.parent}),r.put(e))}return n.items.length>0?n.items:null}get permissions(){let e=null;try{e=this.#s()}catch(n){if(n instanceof Ut)throw n;L("Unable to read permissions.")}return ge(this,"permissions",e)}#s(){const e=this.xref.trailer.get("Encrypt");if(!(e instanceof q))return null;let n=e.get("P");if(typeof n!="number")return null;n+=2**32;const i=[];for(const r in s2){const s=s2[r];n&s&&i.push(s)}return i}get optionalContentConfig(){let e=null;try{const n=this.#t.get("OCProperties");if(!n)return ge(this,"optionalContentConfig",null);const i=n.get("D");if(!i)return ge(this,"optionalContentConfig",null);const r=n.get("OCGs");if(!Array.isArray(r))return ge(this,"optionalContentConfig",null);const s=new ha;for(const o of r)!(o instanceof ke)||s.has(o)||s.put(o,this.#o(o));e=this.#r(i,s)}catch(n){if(n instanceof Ut)throw n;L(`Unable to read optional content config: ${n}`)}return ge(this,"optionalContentConfig",e)}#o(e){const n=this.xref.fetch(e),i={id:e.toString(),name:null,intent:null,usage:{print:null,view:null},rbGroups:[]},r=n.get("Name");typeof r=="string"&&(i.name=mt(r));let s=n.getArray("Intent");Array.isArray(s)||(s=[s]),s.every(l=>l instanceof le)&&(i.intent=s.map(l=>l.name));const o=n.get("Usage");if(!(o instanceof q))return i;const a=i.usage,c=o.get("Print");if(c instanceof q){const l=c.get("PrintState");if(l instanceof le)switch(l.name){case"ON":case"OFF":a.print={printState:l.name}}}const f=o.get("View");if(f instanceof q){const l=f.get("ViewState");if(l instanceof le)switch(l.name){case"ON":case"OFF":a.view={viewState:l.name}}}return i}#r(e,n){function i(l){const d=[];if(Array.isArray(l))for(const h of l)h instanceof ke&&n.has(h)&&d.push(h.toString());return d}function r(l,d=0){if(!Array.isArray(l))return null;const h=[];for(const g of l){if(g instanceof ke&&n.has(g)){c.put(g),h.push(g.toString());continue}const p=s(g,d);p&&h.push(p)}if(d>0)return h;const u=[];for(const[g]of n.items())c.has(g)||u.push(g.toString());return u.length&&h.push({name:null,order:u}),h}function s(l,d){if(++d>f)return L("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;const h=a.fetchIfRef(l);if(!Array.isArray(h))return null;const u=a.fetchIfRef(h[0]);if(typeof u!="string")return null;const g=r(h.slice(1),d);return g?.length?{name:mt(u),order:g}:null}function o(l){if(Array.isArray(l))for(const d of l){const h=a.fetchIfRef(d);if(!Array.isArray(h)||!h.length)continue;const u=new Set;for(const g of h)g instanceof ke&&n.has(g)&&!u.has(g.toString())&&(u.add(g.toString()),n.get(g).rbGroups.push(u))}}const a=this.xref,c=new tn,f=10;return o(e.get("RBGroups")),{name:typeof e.get("Name")=="string"?mt(e.get("Name")):null,creator:typeof e.get("Creator")=="string"?mt(e.get("Creator")):null,baseState:e.get("BaseState")instanceof le?e.get("BaseState").name:null,on:i(e.get("ON")),off:i(e.get("OFF")),order:r(e.get("Order")),groups:[...n]}}setActualNumPages(e=null){this.#e=e}get hasActualNumPages(){return this.#e!==null}get _pagesCount(){const e=this.toplevelPagesDict.get("Count");if(!Number.isInteger(e))throw new re("Page count in top-level pages dictionary is not an integer.");return ge(this,"_pagesCount",e)}get numPages(){return this.#e??this._pagesCount}get destinations(){const e=this.#c(),n=Object.create(null);for(const i of e)if(i instanceof Xs)for(const[r,s]of i.getAll()){const o=xh(s);o&&(n[mt(r,!0)]=o)}else if(i instanceof q)for(const[r,s]of i){const o=xh(s);o&&(n[mt(r,!0)]||=o)}return ge(this,"destinations",n)}getDestination(e){if(this.hasOwnProperty("destinations"))return this.destinations[e]??null;const n=this.#c();for(const i of n)if(i instanceof Xs||i instanceof q){const r=xh(i.get(e));if(r)return r}if(n.length){const i=this.destinations[e];if(i)return i}return null}#c(){const e=this.#t.get("Names"),n=[];return e?.has("Dests")&&n.push(new Xs(e.getRaw("Dests"),this.xref)),this.#t.has("Dests")&&n.push(this.#t.get("Dests")),n}get pageLabels(){let e=null;try{e=this.#f()}catch(n){if(n instanceof Ut)throw n;L("Unable to read page labels.")}return ge(this,"pageLabels",e)}#f(){const e=this.#t.getRaw("PageLabels");if(!e)return null;const n=new Array(this.numPages);let i=null,r="";const o=new gf(e,this.xref).getAll();let a="",c=1;for(let f=0,l=this.numPages;f<l;f++){const d=o.get(f);if(d!==void 0){if(!(d instanceof q))throw new re("PageLabel is not a dictionary.");if(d.has("Type")&&!zt(d.get("Type"),"PageLabel"))throw new re("Invalid type in PageLabel dictionary.");if(d.has("S")){const h=d.get("S");if(!(h instanceof le))throw new re("Invalid style in PageLabel dictionary.");i=h.name}else i=null;if(d.has("P")){const h=d.get("P");if(typeof h!="string")throw new re("Invalid prefix in PageLabel dictionary.");r=mt(h)}else r="";if(d.has("St")){const h=d.get("St");if(!(Number.isInteger(h)&&h>=1))throw new re("Invalid start in PageLabel dictionary.");c=h}else c=1}switch(i){case"D":a=c;break;case"R":case"r":a=ap(c,i==="r");break;case"A":case"a":const h=26,p=i==="a"?97:65,x=c-1;a=String.fromCharCode(p+x%h).repeat(Math.floor(x/h)+1);break;default:if(i)throw new re(`Invalid style "${i}" in PageLabel dictionary.`);a=""}n[f]=r+a,c++}return n}get pageLayout(){const e=this.#t.get("PageLayout");let n="";if(e instanceof le)switch(e.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":n=e.name}return ge(this,"pageLayout",n)}get pageMode(){const e=this.#t.get("PageMode");let n="UseNone";if(e instanceof le)switch(e.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":n=e.name}return ge(this,"pageMode",n)}get viewerPreferences(){const e=this.#t.get("ViewerPreferences");if(!(e instanceof q))return ge(this,"viewerPreferences",null);let n=null;for(const[i,r]of e){let s;switch(i){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":typeof r=="boolean"&&(s=r);break;case"NonFullScreenPageMode":if(r instanceof le)switch(r.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":s=r.name;break;default:s="UseNone"}break;case"Direction":if(r instanceof le)switch(r.name){case"L2R":case"R2L":s=r.name;break;default:s="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(r instanceof le)switch(r.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":s=r.name;break;default:s="CropBox"}break;case"PrintScaling":if(r instanceof le)switch(r.name){case"None":case"AppDefault":s=r.name;break;default:s="AppDefault"}break;case"Duplex":if(r instanceof le)switch(r.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":s=r.name;break;default:s="None"}break;case"PrintPageRange":Array.isArray(r)&&r.length%2===0&&r.every((a,c,f)=>Number.isInteger(a)&&a>0&&(c===0||a>=f[c-1])&&a<=this.numPages)&&(s=r);break;case"NumCopies":Number.isInteger(r)&&r>0&&(s=r);break;default:L(`Ignoring non-standard key in ViewerPreferences: ${i}.`);continue}if(s===void 0){L(`Bad value, for key "${i}", in ViewerPreferences: ${r}.`);continue}n??=Object.create(null),n[i]=s}return ge(this,"viewerPreferences",n)}get openAction(){const e=this.#t.get("OpenAction"),n=Object.create(null);if(e instanceof q){const i=new q(this.xref);i.set("A",e);const r={url:null,dest:null,action:null};Vs.parseDestDictionary({destDict:i,resultObj:r}),Array.isArray(r.dest)?n.dest=r.dest:r.action&&(n.action=r.action)}else xf(e)&&(n.dest=e);return ge(this,"openAction",bd(n)>0?n:null)}get attachments(){const e=this.#t.get("Names");let n=null;if(e instanceof q&&e.has("EmbeddedFiles")){const i=new Xs(e.getRaw("EmbeddedFiles"),this.xref);for(const[r,s]of i.getAll()){const o=new mh(s,this.xref);n??=Object.create(null),n[mt(r,!0)]=o.serializable}}return ge(this,"attachments",n)}get xfaImages(){const e=this.#t.get("Names");let n=null;if(e instanceof q&&e.has("XFAImages")){const i=new Xs(e.getRaw("XFAImages"),this.xref);for(const[r,s]of i.getAll())s instanceof at&&(n??=new Map,n.set(mt(r,!0),s.getBytes()))}return ge(this,"xfaImages",n)}#l(){const e=this.#t.get("Names");let n=null;function i(s,o){if(!(o instanceof q)||!zt(o.get("S"),"JavaScript"))return;let a=o.get("JS");if(a instanceof at)a=a.getString();else if(typeof a!="string")return;a=mt(a,!0).replaceAll("\0",""),a&&(n||=new Map).set(s,a)}if(e instanceof q&&e.has("JavaScript")){const s=new Xs(e.getRaw("JavaScript"),this.xref);for(const[o,a]of s.getAll())i(mt(o,!0),a)}const r=this.#t.get("OpenAction");return r&&i("OpenAction",r),n}get jsActions(){const e=this.#l();let n=F0(this.xref,this.#t,H6);if(e){n||=Object.create(null);for(const[i,r]of e)i in n?n[i].push(r):n[i]=[r]}return ge(this,"jsActions",n)}async cleanup(e=!1){ph(),this.globalColorSpaceCache.clear(),this.globalImageCache.clear(e),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.pageDictCache.clear(),this.nonBlendModesSet.clear();for(const{dict:n}of await Promise.all(this.fontCache))delete n.cacheKey;this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear(),this.systemFontCache.clear()}async getPageDict(e){const n=[this.toplevelPagesDict],i=new tn,r=this.#t.getRaw("Pages");r instanceof ke&&i.put(r);const s=this.xref,o=this.pageKidsCountCache,a=this.pageIndexCache,c=this.pageDictCache;let f=0;for(;n.length;){const l=n.pop();if(l instanceof ke){const g=o.get(l);if(g>=0&&f+g<=e){f+=g;continue}if(i.has(l))throw new re("Pages tree contains circular reference.");i.put(l);const p=await(c.get(l)||s.fetchAsync(l));if(p instanceof q){let x=p.getRaw("Type");if(x instanceof ke&&(x=await s.fetchAsync(x)),zt(x,"Page")||!p.has("Kids")){if(o.has(l)||o.put(l,1),a.has(l)||a.put(l,f),f===e)return[p,l];f++;continue}}n.push(p);continue}if(!(l instanceof q))throw new re("Page dictionary kid reference points to wrong type of object.");const{objId:d}=l;let h=l.getRaw("Count");if(h instanceof ke&&(h=await s.fetchAsync(h)),Number.isInteger(h)&&h>=0&&(d&&!o.has(d)&&o.put(d,h),f+h<=e)){f+=h;continue}let u=l.getRaw("Kids");if(u instanceof ke&&(u=await s.fetchAsync(u)),!Array.isArray(u)){let g=l.getRaw("Type");if(g instanceof ke&&(g=await s.fetchAsync(g)),zt(g,"Page")||!l.has("Kids")){if(f===e)return[l,null];f++;continue}throw new re("Page dictionary kids object is not an array.")}for(let g=u.length-1;g>=0;g--){const p=u[g];n.push(p),l===this.toplevelPagesDict&&p instanceof ke&&!c.has(p)&&c.put(p,s.fetchAsync(p))}}throw new Error(`Page index ${e} not found.`)}async getAllPageDicts(e=!1){const{ignoreErrors:n}=this.pdfManager.evaluatorOptions,i=[{currentNode:this.toplevelPagesDict,posInKids:0}],r=new tn,s=this.#t.getRaw("Pages");s instanceof ke&&r.put(s);const o=new Map,a=this.xref,c=this.pageIndexCache;let f=0;function l(h,u){u&&!c.has(u)&&c.put(u,f),o.set(f++,[h,u])}function d(h){if(h instanceof nr&&!e)throw h;e&&n&&f===0&&(L(`getAllPageDicts - Skipping invalid first page: "${h}".`),h=q.empty),o.set(f++,[h,null])}for(;i.length>0;){const h=i.at(-1),{currentNode:u,posInKids:g}=h;let p=u.getRaw("Kids");if(p instanceof ke)try{p=await a.fetchAsync(p)}catch(O){d(O);break}if(!Array.isArray(p)){d(new re("Page dictionary kids object is not an array."));break}if(g>=p.length){i.pop();continue}const x=p[g];let m;if(x instanceof ke){if(r.has(x)){d(new re("Pages tree contains circular reference."));break}r.put(x);try{m=await a.fetchAsync(x)}catch(O){d(O);break}}else m=x;if(!(m instanceof q)){d(new re("Page dictionary kid reference points to wrong type of object."));break}let w=m.getRaw("Type");if(w instanceof ke)try{w=await a.fetchAsync(w)}catch(O){d(O);break}zt(w,"Page")||!m.has("Kids")?l(m,x instanceof ke?x:null):i.push({currentNode:m,posInKids:0}),h.posInKids++}return o}getPageIndex(e){const n=this.pageIndexCache.get(e);if(n!==void 0)return Promise.resolve(n);const i=this.xref;function r(a){let c=0,f;return i.fetchAsync(a).then(function(l){if(T0(a,e)&&!m2(l,"Page")&&!(l instanceof q&&!l.has("Type")&&l.has("Contents")))throw new re("The reference does not point to a /Page dictionary.");if(!l)return null;if(!(l instanceof q))throw new re("Node must be a dictionary.");return f=l.getRaw("Parent"),l.getAsync("Parent")}).then(function(l){if(!l)return null;if(!(l instanceof q))throw new re("Parent must be a dictionary.");return l.getAsync("Kids")}).then(function(l){if(!l)return null;const d=[];let h=!1;for(const u of l){if(!(u instanceof ke))throw new re("Kid must be a reference.");if(T0(u,a)){h=!0;break}d.push(i.fetchAsync(u).then(function(g){if(!(g instanceof q))throw new re("Kid node must be a dictionary.");g.has("Count")?c+=g.get("Count"):c++}))}if(!h)throw new re("Kid reference not found in parent's kids.");return Promise.all(d).then(()=>[c,f])})}let s=0;const o=a=>r(a).then(c=>{if(!c)return this.pageIndexCache.put(e,s),s;const[f,l]=c;return s+=f,o(l)});return o(e)}get baseUrl(){const e=this.#t.get("URI");if(e instanceof q){const n=e.get("Base");if(typeof n=="string"){const i=M0(n,null,{tryConvertEncoding:!0});if(i)return ge(this,"baseUrl",i.href)}}return ge(this,"baseUrl",this.pdfManager.docBaseUrl)}static parseDestDictionary({destDict:e,resultObj:n,docBaseUrl:i=null,docAttachments:r=null}){if(!(e instanceof q)){L("parseDestDictionary: `destDict` must be a dictionary.");return}let s=e.get("A"),o,a;if(s instanceof q||(e.has("Dest")?s=e.get("Dest"):(s=e.get("AA"),s instanceof q&&(s.has("D")?s=s.get("D"):s.has("U")&&(s=s.get("U"))))),s instanceof q){const c=s.get("S");if(!(c instanceof le)){L("parseDestDictionary: Invalid type in Action dictionary.");return}const f=c.name;switch(f){case"ResetForm":const l=s.get("Flags"),d=((typeof l=="number"?l:0)&1)===0,h=[],u=[];for(const R of s.get("Fields")||[])R instanceof ke?u.push(R.toString()):typeof R=="string"&&h.push(mt(R));n.resetForm={fields:h,refs:u,include:d};break;case"URI":o=s.get("URI"),o instanceof le&&(o="/"+o.name);break;case"GoTo":a=s.get("D");break;case"Launch":case"GoToR":const g=s.get("F");if(g instanceof q){const R=new mh(g,null,!0),{rawFilename:T}=R.serializable;o=T}else typeof g=="string"&&(o=g);const p=p9(s);p&&typeof o=="string"&&(o=o.split("#",1)[0]+"#"+p);const x=s.get("NewWindow");typeof x=="boolean"&&(n.newWindow=x);break;case"GoToE":const m=s.get("T");let w;if(r&&m instanceof q){const R=m.get("R"),T=m.get("N");zt(R,"C")&&typeof T=="string"&&(w=r[mt(T,!0)])}if(w){n.attachment=w;const R=p9(s);R&&(n.attachmentDest=R)}else L('parseDestDictionary - unimplemented "GoToE" action.');break;case"Named":const O=s.get("N");O instanceof le&&(n.action=O.name);break;case"SetOCGState":const k=s.get("State"),E=s.get("PreserveRB");if(!Array.isArray(k)||k.length===0)break;const D=[];for(const R of k)if(R instanceof le)switch(R.name){case"ON":case"OFF":case"Toggle":D.push(R.name);break}else R instanceof ke&&D.push(R.toString());if(D.length!==k.length)break;n.setOCGState={state:D,preserveRB:typeof E=="boolean"?E:!0};break;case"JavaScript":const v=s.get("JS");let S;v instanceof at?S=v.getString():typeof v=="string"&&(S=v);const C=S&&_2(mt(S,!0));if(C){o=C.url,n.newWindow=C.newWindow;break}default:if(f==="JavaScript"||f==="SubmitForm")break;L(`parseDestDictionary - unsupported action: "${f}".`);break}}else e.has("Dest")&&(a=e.get("Dest"));if(typeof o=="string"){const c=M0(o,i,{addDefaultProtocol:!0,tryConvertEncoding:!0});c&&(n.url=c.href),n.unsafeUrl=o}a&&(a instanceof le&&(a=a.name),typeof a=="string"?n.dest=mt(a,!0):xf(a)&&(n.dest=a))}}function bw(t){return t instanceof ke||t instanceof q||t instanceof at||Array.isArray(t)}function gw(t,e){if(t instanceof q)t=t.getRawValues();else if(t instanceof at)t=t.dict.getRawValues();else if(!Array.isArray(t))return;for(const n of t)bw(n)&&e.push(n)}class Ks{refSet=new tn;constructor(e,n,i){this.dict=e,this.keys=n,this.xref=i}async load(){const{keys:e,dict:n}=this,i=[];for(const r of e){const s=n.getRaw(r);s!==void 0&&i.push(s)}await this.#e(i),this.refSet=null}async#e(e){const n=[],i=[];for(;e.length;){let r=e.pop();if(r instanceof ke){if(this.refSet.has(r))continue;try{this.refSet.put(r),r=this.xref.fetch(r)}catch(s){if(!(s instanceof Ut)){L(`ObjectLoader.#walk - requesting all data: "${s}".`),await this.xref.stream.manager.requestAllChunks();return}n.push(r),i.push({begin:s.begin,end:s.end})}}if(r instanceof at){const s=r.getBaseStreams();if(s){let o=!1;for(const a of s)a.isDataLoaded||(o=!0,i.push({begin:a.start,end:a.end}));o&&n.push(r)}}gw(r,e)}if(i.length){await this.xref.stream.manager.requestRanges(i);for(const r of n)r instanceof ke&&this.refSet.remove(r);await this.#e(n)}}static async load(e,n,i){if(i.stream.isDataLoaded)return;await new Ks(e,n,i).load()}}const yf=Symbol(),ts=Symbol(),$t=Symbol(),br=Symbol(),Ba=Symbol(),Qs=Symbol(),wf=Symbol(),Wa=Symbol(),gi=Symbol(),oe=Symbol("content"),Ya=Symbol("data"),Js=Symbol(),ne=Symbol("extra"),Dt=Symbol(),Ic=Symbol(),yh=Symbol(),m9=Symbol(),ns=Symbol(),_f=Symbol(),Sc=Symbol(),Cc=Symbol(),wh=Symbol(),Tn=Symbol(),Rc=Symbol(),jn=Symbol(),eo=Symbol(),Mi=Symbol(),nn=Symbol(),et=Symbol(),an=Symbol(),It=Symbol(),Mc=Symbol(),to=Symbol(),_h=Symbol(),Of=Symbol(),Oh=Symbol(),as=Symbol(),no=Symbol(),gr=Symbol(),Uc=Symbol(),Ui=Symbol(),Ti=Symbol(),Tc=Symbol(),Lc=Symbol(),pw=Symbol(),rn=Symbol("namespaceId"),yt=Symbol("nodeName"),is=Symbol(),pi=Symbol(),kh=Symbol(),Li=Symbol(),mi=Symbol(),ga=Symbol(),ao=Symbol(),pr=Symbol(),x9=Symbol("root"),Fc=Symbol(),Fi=Symbol(),Ph=Symbol(),y9=Symbol(),pa=Symbol(),Va=Symbol(),ln=Symbol(),w9=Symbol(),Xe=Symbol(),Nc=Symbol(),xt=Symbol(),vt=Symbol("uid"),Ka=Symbol(),sn={config:{id:0,check:t=>t.startsWith("http://www.xfa.org/schema/xci/")},connectionSet:{id:1,check:t=>t.startsWith("http://www.xfa.org/schema/xfa-connection-set/")},datasets:{id:2,check:t=>t.startsWith("http://www.xfa.org/schema/xfa-data/")},form:{id:3,check:t=>t.startsWith("http://www.xfa.org/schema/xfa-form/")},localeSet:{id:4,check:t=>t.startsWith("http://www.xfa.org/schema/xfa-locale-set/")},pdf:{id:5,check:t=>t==="http://ns.adobe.com/xdp/pdf/"},signature:{id:6,check:t=>t==="http://www.w3.org/2000/09/xmldsig#"},sourceSet:{id:7,check:t=>t.startsWith("http://www.xfa.org/schema/xfa-source-set/")},stylesheet:{id:8,check:t=>t==="http://www.w3.org/1999/XSL/Transform"},template:{id:9,check:t=>t.startsWith("http://www.xfa.org/schema/xfa-template/")},xdc:{id:10,check:t=>t.startsWith("http://www.xfa.org/schema/xdc/")},xdp:{id:11,check:t=>t==="http://ns.adobe.com/xdp/"},xfdf:{id:12,check:t=>t==="http://ns.adobe.com/xfdf/"},xhtml:{id:13,check:t=>t==="http://www.w3.org/1999/xhtml"},xmpmeta:{id:14,check:t=>t==="http://ns.adobe.com/xmpmeta/"}},mw={pt:t=>t,cm:t=>t/2.54*72,mm:t=>t/(10*2.54)*72,in:t=>t*72,px:t=>t},xw=/([+-]?\d+\.?\d*)(.*)/;function kf(t){return t.startsWith("'")||t.startsWith('"')?t.slice(1,-1):t}function Qe({data:t,defaultValue:e,validate:n}){if(!t)return e;t=t.trim();const i=parseInt(t,10);return!isNaN(i)&&n(i)?i:e}function Pf({data:t,defaultValue:e,validate:n}){if(!t)return e;t=t.trim();const i=parseFloat(t);return!isNaN(i)&&n(i)?i:e}function vf({data:t,defaultValue:e,validate:n}){return t?(t=t.trim(),n(t)?t:e):e}function fe(t,e){return vf({data:t,defaultValue:e[0],validate:n=>e.includes(n)})}function Se(t,e="0"){if(e||="0",!t)return Se(e);const n=t.trim().match(xw);if(!n)return Se(e);const[,i,r]=n,s=parseFloat(i);if(isNaN(s))return Se(e);if(s===0)return 0;const o=mw[r];return o?o(s):s}function _9(t){if(!t)return{num:1,den:1};const e=t.split(":",2).map(r=>parseFloat(r.trim())).filter(r=>!isNaN(r));if(e.length===1&&e.push(1),e.length===0)return{num:1,den:1};const[n,i]=e;return{num:n,den:i}}function Qa(t){return t?t.trim().split(/\s+/).map(e=>({excluded:e[0]==="-",viewname:e.substring(1)})):[]}function yw(t,e=[0,0,0]){let[n,i,r]=e;if(!t)return{r:n,g:i,b:r};const s=t.split(",",3).map(o=>kn(parseInt(o.trim(),10),0,255)).map(o=>isNaN(o)?0:o);return s.length<3?{r:n,g:i,b:r}:([n,i,r]=s,{r:n,g:i,b:r})}function ww(t){if(!t)return{x:-1,y:-1,width:-1,height:-1};const n=t.split(",",4).map(a=>Se(a.trim(),"-1"));if(n.length<4||n[2]<0||n[3]<0)return{x:-1,y:-1,width:-1,height:-1};const[i,r,s,o]=n;return{x:i,y:r,width:s,height:o}}class Fe{static get FAILURE(){return ge(this,"FAILURE",new Fe(!1,null,null,null))}static get EMPTY(){return ge(this,"EMPTY",new Fe(!0,null,null,null))}constructor(e,n,i,r){this.success=e,this.html=n,this.bbox=i,this.breakNode=r}isBreak(){return!!this.breakNode}static breakNode(e){return new Fe(!1,null,null,e)}static success(e,n=null){return new Fe(!0,e,n,null)}}class _w{constructor(e){this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(e)}add(e,n=null){for(const r of e)this.addPdfFont(r);for(const r of this.fonts.values())r.regular||(r.regular=r.italic||r.bold||r.bolditalic);if(!n||n.size===0)return;const i=this.fonts.get("PdfJS-Fallback-PdfJS-XFA");for(const r of n)this.fonts.set(r,i)}addPdfFont(e){const n=e.cssFontInfo,i=n.fontFamily;let r=this.fonts.get(i);r||(r=Object.create(null),this.fonts.set(i,r),this.defaultFont||(this.defaultFont=r));let s="";const o=parseFloat(n.fontWeight);parseFloat(n.italicAngle)!==0?s=o>=700?"bolditalic":"italic":o>=700&&(s="bold"),s||((e.name.includes("Bold")||e.psName?.includes("Bold"))&&(s="bold"),(e.name.includes("Italic")||e.name.endsWith("It")||e.psName?.includes("Italic")||e.psName?.endsWith("It"))&&(s+="italic")),s||(s="regular"),r[s]=e}getDefault(){return this.defaultFont}find(e,n=!0){let i=this.fonts.get(e)||this.cache.get(e);if(i)return i;const r=/,|-|_| |bolditalic|bold|italic|regular|it/gi;let s=e.replaceAll(r,"");if(i=this.fonts.get(s),i)return this.cache.set(e,i),i;s=s.toLowerCase();const o=[];for(const[a,c]of this.fonts.entries())a.replaceAll(r,"").toLowerCase().startsWith(s)&&o.push(c);if(o.length===0)for(const[,a]of this.fonts.entries())a.regular.name?.replaceAll(r,"").toLowerCase().startsWith(s)&&o.push(a);if(o.length===0){s=s.replaceAll(/psmt|mt/gi,"");for(const[a,c]of this.fonts.entries())a.replaceAll(r,"").toLowerCase().startsWith(s)&&o.push(c)}if(o.length===0)for(const a of this.fonts.values())a.regular.name?.replaceAll(r,"").toLowerCase().startsWith(s)&&o.push(a);return o.length>=1?(o.length!==1&&n&&L(`XFA - Too many choices to guess the correct font: ${e}`),this.cache.set(e,o[0]),o[0]):(n&&!this.warned.has(e)&&(this.warned.add(e),L(`XFA - Cannot find the font: ${e}`)),null)}}function vh(t,e){return t.posture==="italic"?t.weight==="bold"?e.bolditalic:e.italic:t.weight==="bold"?e.bold:e.regular}function Ow(t,e=!1){let n=null;if(t){const o=kf(t.typeface),a=t[It].fontFinder.find(o);n=vh(t,a)}if(!n)return{lineHeight:12,lineGap:2,lineNoGap:10};const i=t.size||10,r=n.lineHeight?Math.max(e?0:1.2,n.lineHeight):1.2,s=n.lineGap===void 0?.2:n.lineGap;return{lineHeight:r*i,lineGap:s*i,lineNoGap:Math.max(1,r-s)*i}}const kw=1.02;class O9{constructor(e,n,i,r){if(this.lineHeight=i,this.paraMargin=n||{top:0,bottom:0,left:0,right:0},!e){[this.pdfFont,this.xfaFont]=this.defaultFont(r);return}this.xfaFont={typeface:e.typeface,posture:e.posture,weight:e.weight,size:e.size,letterSpacing:e.letterSpacing};const s=r.find(e.typeface);if(!s){[this.pdfFont,this.xfaFont]=this.defaultFont(r);return}this.pdfFont=vh(e,s),this.pdfFont||([this.pdfFont,this.xfaFont]=this.defaultFont(r))}defaultFont(e){const n=e.find("Helvetica",!1)||e.find("Myriad Pro",!1)||e.find("Arial",!1)||e.getDefault();if(n?.regular){const r=n.regular,o={typeface:r.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0};return[r,o]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}class Pw{constructor(e,n,i,r){this.fontFinder=r,this.stack=[new O9(e,n,i,r)]}pushData(e,n,i){const r=this.stack.at(-1);for(const o of["typeface","posture","weight","size","letterSpacing"])e[o]||(e[o]=r.xfaFont[o]);for(const o of["top","bottom","left","right"])isNaN(n[o])&&(n[o]=r.paraMargin[o]);const s=new O9(e,n,i||r.lineHeight,this.fontFinder);s.pdfFont||(s.pdfFont=r.pdfFont),this.stack.push(s)}popFont(){this.stack.pop()}topFont(){return this.stack.at(-1)}}class vw{constructor(e,n,i,r){this.glyphs=[],this.fontSelector=new Pw(e,n,i,r),this.extraHeight=0}pushData(e,n,i){this.fontSelector.pushData(e,n,i)}popFont(e){return this.fontSelector.popFont()}addPara(){const e=this.fontSelector.topFont();this.extraHeight+=e.paraMargin.top+e.paraMargin.bottom}addString(e){if(!e)return;const n=this.fontSelector.topFont(),i=n.xfaFont.size;if(n.pdfFont){const r=n.xfaFont.letterSpacing,s=n.pdfFont,o=s.lineHeight||1.2,a=n.lineHeight||Math.max(1.2,o)*i,c=s.lineGap===void 0?.2:s.lineGap,f=o-c,l=Math.max(1,f)*i,d=i/1e3,h=s.defaultWidth||s.charsToGlyphs(" ")[0].width;for(const u of e.split(/[\u2029\n]/)){const g=s.encodeString(u).join(""),p=s.charsToGlyphs(g);for(const x of p){const m=x.width||h;this.glyphs.push([m*d+r,a,l,x.unicode,!1])}this.glyphs.push([0,0,0,`
|
|
18
|
+
`,!0])}this.glyphs.pop();return}for(const r of e.split(/[\u2029\n]/)){for(const s of r.split(""))this.glyphs.push([i,1.2*i,i,s,!1]);this.glyphs.push([0,0,0,`
|
|
19
|
+
`,!0])}this.glyphs.pop()}compute(e){let n=-1,i=0,r=0,s=0,o=0,a=0,c=!1,f=!0;for(let l=0,d=this.glyphs.length;l<d;l++){const[h,u,g,p,x]=this.glyphs[l],m=p===" ",w=f?g:u;if(x){r=Math.max(r,o),o=0,s+=a,a=w,n=-1,i=0,f=!1;continue}if(m){o+h>e?(r=Math.max(r,o),o=0,s+=a,a=w,n=-1,i=0,c=!0,f=!1):(a=Math.max(w,a),i=o,o+=h,n=l);continue}if(o+h>e){s+=a,a=w,n!==-1?(l=n,r=Math.max(r,i),o=0,n=-1,i=0):(r=Math.max(r,o),o=h),c=!0,f=!1;continue}o+=h,a=Math.max(w,a)}return r=Math.max(r,o),s+=a+this.extraHeight,{width:kw*r,height:s,isBroken:c}}}const k9=/^[^.[]+/,Aw=/^[^\]]+/,Pa={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},P9=new Map([["$data",(t,e)=>t.datasets?t.datasets.data:t],["$record",(t,e)=>(t.datasets?t.datasets.data:t)[jn]()[0]],["$template",(t,e)=>t.template],["$connectionSet",(t,e)=>t.connectionSet],["$form",(t,e)=>t.form],["$layout",(t,e)=>t.layout],["$host",(t,e)=>t.host],["$dataWindow",(t,e)=>t.dataWindow],["$event",(t,e)=>t.event],["!",(t,e)=>t.datasets],["$xfa",(t,e)=>t],["xfa",(t,e)=>t],["$",(t,e)=>e]]),v9=new WeakMap;function Ew(t){return t=t.trim(),t==="*"?1/0:parseInt(t,10)||0}function A9(t,e,n=!0){let i=t.match(k9);if(!i)return null;let[r]=i;const s=[{name:r,cacheName:"."+r,index:0,js:null,formCalc:null,operator:Pa.dot}];let o=r.length;for(;o<t.length;){const a=o;if(t.charAt(o++)==="["){if(i=t.slice(o).match(Aw),!i)return L("XFA - Invalid index in SOM expression"),null;s.at(-1).index=Ew(i[0]),o+=i[0].length+1;continue}let f;switch(t.charAt(o)){case".":if(!e)return null;o++,f=Pa.dotDot;break;case"#":o++,f=Pa.dotHash;break;case"[":if(n)return L("XFA - SOM expression contains a FormCalc subexpression which is not supported for now."),null;f=Pa.dotBracket;break;case"(":if(n)return L("XFA - SOM expression contains a JavaScript subexpression which is not supported for now."),null;f=Pa.dotParen;break;default:f=Pa.dot;break}if(i=t.slice(o).match(k9),!i)break;[r]=i,o+=r.length,s.push({name:r,cacheName:t.slice(a,o),operator:f,index:0,js:null,formCalc:null})}return s}function mr(t,e,n,i=!0,r=!0){const s=A9(n,i);if(!s)return null;const o=P9.get(s[0].name);let a=0,c;o?(c=!0,t=[o(t,e)],a=1):(c=e===null,t=[e||t]);for(let f=s.length;a<f;a++){const{name:l,cacheName:d,operator:h,index:u}=s[a],g=[];for(const p of t){if(!p.isXFAObject)continue;let x,m;if(r&&(m=v9.get(p),m||(m=new Map,v9.set(p,m)),x=m.get(d)),!x){switch(h){case Pa.dot:x=p[Sc](l,!1);break;case Pa.dotDot:x=p[Sc](l,!0);break;case Pa.dotHash:x=p[_f](l),x=x.isXFAObjectArray?x.children:[x];break}r&&m.set(d,x)}x.length>0&&g.push(x)}if(g.length===0&&!c&&a===0){if(e=e[et](),!e)return null;a=-1,t=[e];continue}t=isFinite(u)?g.filter(p=>u<p.length).map(p=>p[u]):g.flat()}return t.length===0?null:t}function jw(t,e,n){const i=A9(n);if(!i||i.some(o=>o.operator===Pa.dotDot))return null;const r=P9.get(i[0].name);let s=0;r?(t=r(t,e),s=1):t=e||t;for(let o=i.length;s<o;s++){const{name:a,operator:c,index:f}=i[s];if(!isFinite(f))return i[s].index=0,t.createNodes(i.slice(s));let l;switch(c){case Pa.dot:l=t[Sc](a,!1);break;case Pa.dotDot:l=t[Sc](a,!0);break;case Pa.dotHash:l=t[_f](a),l=l.isXFAObjectArray?l.children:[l];break}if(l.length===0)return t.createNodes(i.slice(s));if(f<l.length){const d=l[f];if(!d.isXFAObject)return L("XFA - Cannot create a node."),null;t=d}else return i[s].index=f-l.length,t.createNodes(i.slice(s))}return null}const Af=Symbol(),rs=Symbol(),io=Symbol(),it=Symbol("_children"),Ah=Symbol(),xr=Symbol(),Eh=Symbol(),E9=Symbol(),jh=Symbol(),j9=Symbol(),Dh=Symbol(),Bc=Symbol(),Ef=Symbol(),Ha=Symbol("parent"),Yc=Symbol(),Hc=Symbol(),Ih=Symbol();let Sh=0;const D9=sn.datasets.id;class ae{constructor(e,n,i=!1){this[rn]=e,this[yt]=n,this[Dh]=i,this[Ha]=null,this[it]=[],this[vt]=`${n}${Sh++}`,this[It]=null}get isXFAObject(){return!0}get isXFAObjectArray(){return!1}createNodes(e){let n=this,i=null;for(const{name:r,index:s}of e){for(let o=0,a=isFinite(s)?s:0;o<=a;o++){const c=n[rn]===D9?-1:n[rn];i=new xi(c,r),n[$t](i)}n=i}return i}[pi](e){if(!this[Dh]||!this[kh](e))return!1;const n=e[yt],i=this[n];if(i instanceof F){if(i.push(e))return this[$t](e),!0}else return i!==null&&this[pr](i),this[n]=e,this[$t](e),!0;let r="";return this.id?r=` (id: ${this.id})`:this.name&&(r=` (name: ${this.name} ${this.h.value})`),L(`XFA - node "${this[yt]}"${r} has already enough "${n}"!`),!1}[kh](e){return this.hasOwnProperty(e[yt])&&e[rn]===this[rn]}[Uc](){return!1}[yf](){return!1}[Oh](){return!1}[as](){return!1}[ga](){this.para&&this[an]()[ne].paraStack.pop()}[ao](){this[an]()[ne].paraStack.push(this.para)}[Ph](e){this.id&&this[rn]===sn.template.id&&e.set(this.id,this)}[an](){return this[It].template}[Ui](){return!1}[Ti](){return!1}[$t](e){e[Ha]=this,this[it].push(e),!e[It]&&this[It]&&(e[It]=this[It])}[pr](e){const n=this[it].indexOf(e);this[it].splice(n,1)}[Mc](){return this.hasOwnProperty("value")}[pa](e){}[Li](e){}[Dt](){}[Ba](e){delete this[Dh],this[wf]&&(e.clean(this[wf]),delete this[wf])}[_h](e){return this[it].indexOf(e)}[Of](e,n){n[Ha]=this,this[it].splice(e,0,n),!n[It]&&this[It]&&(n[It]=this[It])}[Tc](){return!this.name}[pw](){return""}[ln](){return this[it].length===0?this[oe]:this[it].map(e=>e[ln]()).join("")}get[io](){const e=Object.getPrototypeOf(this);if(!e._attributes){const n=e._attributes=new Set;for(const i of Object.getOwnPropertyNames(this)){if(this[i]===null||this[i]instanceof ae||this[i]instanceof F)break;n.add(i)}}return ge(this,io,e._attributes)}[gr](e){let n=this;for(;n;){if(n===e)return!0;n=n[et]()}return!1}[et](){return this[Ha]}[nn](){return this[et]()}[jn](e=null){return e?this[e]:this[it]}[Js](){const e=Object.create(null);this[oe]&&(e.$content=this[oe]);for(const n of Object.getOwnPropertyNames(this)){const i=this[n];i!==null&&(i instanceof ae?e[n]=i[Js]():i instanceof F?i.isEmpty()||(e[n]=i.dump()):e[n]=i)}return e}[xt](){return null}[Xe](){return Fe.EMPTY}*[eo](){for(const e of this[jn]())yield e}*[E9](e,n){for(const i of this[eo]())if(!e||n===e.has(i[yt])){const r=this[ns](),s=i[Xe](r);s.success||(this[ne].failingNode=i),yield s}}[Ic](){return null}[ts](e,n){this[ne].children.push(e)}[ns](){}[br]({filter:e=null,include:n=!0}){if(!this[ne].generator)this[ne].generator=this[E9](e,n);else{const i=this[ns](),r=this[ne].failingNode[Xe](i);if(!r.success)return r;r.html&&this[ts](r.html,r.bbox),delete this[ne].failingNode}for(;;){const i=this[ne].generator.next();if(i.done)break;const r=i.value;if(!r.success)return r;r.html&&this[ts](r.html,r.bbox)}return this[ne].generator=null,Fe.EMPTY}[y9](e){this[Hc]=new Set(Object.keys(e))}[j9](e){const n=this[io],i=this[Hc];return[...e].filter(r=>n.has(r)&&!i.has(r))}[Fc](e,n=new Set){for(const i of this[it])i[Yc](e,n)}[Yc](e,n){const i=this[jh](e,n);i?this[Af](i,e,n):this[Fc](e,n)}[jh](e,n){const{use:i,usehref:r}=this;if(!i&&!r)return null;let s=null,o=null,a=null,c=i;if(r?(c=r,r.startsWith("#som(")&&r.endsWith(")")?o=r.slice(5,-1):r.startsWith(".#som(")&&r.endsWith(")")?o=r.slice(6,-1):r.startsWith("#")?a=r.slice(1):r.startsWith(".#")&&(a=r.slice(2))):i.startsWith("#")?a=i.slice(1):o=i,this.use=this.usehref="",a?s=e.get(a):(s=mr(e.get(x9),this,o,!0,!1),s&&(s=s[0])),!s)return L(`XFA - Invalid prototype reference: ${c}.`),null;if(s[yt]!==this[yt])return L(`XFA - Incompatible prototype: ${s[yt]} !== ${this[yt]}.`),null;if(n.has(s))return L("XFA - Cycle detected in prototypes use."),null;n.add(s);const f=s[jh](e,n);return f&&s[Af](f,e,n),s[Fc](e,n),n.delete(s),s}[Af](e,n,i){if(i.has(e)){L("XFA - Cycle detected in prototypes use.");return}!this[oe]&&e[oe]&&(this[oe]=e[oe]),new Set(i).add(e);for(const s of this[j9](e[Hc]))this[s]=e[s],this[Hc]&&this[Hc].add(s);for(const s of Object.getOwnPropertyNames(this)){if(this[io].has(s))continue;const o=this[s],a=e[s];if(o instanceof F){for(const c of o[it])c[Yc](n,i);for(let c=o[it].length,f=a[it].length;c<f;c++){const l=e[it][c][Wa]();if(o.push(l))l[Ha]=this,this[it].push(l),l[Yc](n,i);else break}continue}if(o!==null){o[Fc](n,i),a&&o[Af](a,n,i);continue}if(a!==null){const c=a[Wa]();c[Ha]=this,this[s]=c,this[it].push(c),c[Yc](n,i)}}}static[Ah](e){return Array.isArray(e)?e.map(n=>ae[Ah](n)):typeof e=="object"&&e!==null?Object.assign({},e):e}[Wa](){const e=Object.create(Object.getPrototypeOf(this));for(const n of Object.getOwnPropertySymbols(this))try{e[n]=this[n]}catch{ge(e,n,this[n])}e[vt]=`${e[yt]}${Sh++}`,e[it]=[];for(const n of Object.getOwnPropertyNames(this)){if(this[io].has(n)){e[n]=ae[Ah](this[n]);continue}const i=this[n];e[n]=i instanceof F?new F(i[Bc]):null}for(const n of this[it]){const i=n[yt],r=n[Wa]();e[it].push(r),r[Ha]=e,e[i]===null?e[i]=r:e[i][it].push(r)}return e}[jn](e=null){return e?this[it].filter(n=>n[yt]===e):this[it]}[_f](e){return this[e]}[Sc](e,n,i=!0){return Array.from(this[Cc](e,n,i))}*[Cc](e,n,i=!0){if(e==="parent"){yield this[Ha];return}for(const r of this[it])r[yt]===e&&(yield r),r.name===e&&(yield r),(n||r[Tc]())&&(yield*r[Cc](e,n,!1));i&&this[io].has(e)&&(yield new Ch(this,e,this[e]))}}class F{constructor(e=1/0){this[Bc]=e,this[it]=[]}get isXFAObject(){return!1}get isXFAObjectArray(){return!0}push(e){return this[it].length<=this[Bc]?(this[it].push(e),!0):(L(`XFA - node "${e[yt]}" accepts no more than ${this[Bc]} children`),!1)}isEmpty(){return this[it].length===0}dump(){return this[it].length===1?this[it][0][Js]():this[it].map(e=>e[Js]())}[Wa](){const e=new F(this[Bc]);return e[it]=this[it].map(n=>n[Wa]()),e}get children(){return this[it]}clear(){this[it].length=0}}class Ch{constructor(e,n,i){this[Ha]=e,this[yt]=n,this[oe]=i,this[gi]=!1,this[vt]=`attribute${Sh++}`}[et](){return this[Ha]}[no](){return!0}[wh](){return this[oe].trim()}[pa](e){e=e.value||"",this[oe]=e.toString()}[ln](){return this[oe]}[gr](e){return this[Ha]===e||this[Ha][gr](e)}}class xi extends ae{constructor(e,n,i={}){if(super(e,n),this[oe]="",this[xr]=null,n!=="#text"){const r=new Map;this[rs]=r;for(const[s,o]of Object.entries(i))r.set(s,new Ch(this,s,o));if(i.hasOwnProperty(is)){const s=i[is].xfa.dataNode;s!==void 0&&(s==="dataGroup"?this[xr]=!1:s==="dataValue"&&(this[xr]=!0))}}this[gi]=!1}[Nc](e){const n=this[yt];if(n==="#text"){e.push(Ts(this[oe]));return}const i=gd(n),r=this[rn]===D9?"xfa:":"";e.push(`<${r}${i}`);for(const[s,o]of this[rs].entries()){const a=gd(s);e.push(` ${a}="${Ts(o[oe])}"`)}if(this[xr]!==null&&(this[xr]?e.push(' xfa:dataNode="dataValue"'):e.push(' xfa:dataNode="dataGroup"')),!this[oe]&&this[it].length===0){e.push("/>");return}if(e.push(">"),this[oe])typeof this[oe]=="string"?e.push(Ts(this[oe])):this[oe][Nc](e);else for(const s of this[it])s[Nc](e);e.push(`</${r}${i}>`)}[pi](e){if(this[oe]){const n=new xi(this[rn],"#text");this[$t](n),n[oe]=this[oe],this[oe]=""}return this[$t](e),!0}[Li](e){this[oe]+=e}[Dt](){if(this[oe]&&this[it].length>0){const e=new xi(this[rn],"#text");this[$t](e),e[oe]=this[oe],delete this[oe]}}[Xe](){return this[yt]==="#text"?Fe.success({name:"#text",value:this[oe]}):Fe.EMPTY}[jn](e=null){return e?this[it].filter(n=>n[yt]===e):this[it]}[m9](){return this[rs]}[_f](e){const n=this[rs].get(e);return n!==void 0?n:this[jn](e)}*[Cc](e,n){const i=this[rs].get(e);i&&(yield i);for(const r of this[it])r[yt]===e&&(yield r),n&&(yield*r[Cc](e,n))}*[yh](e,n){const i=this[rs].get(e);i&&(!n||!i[gi])&&(yield i);for(const r of this[it])yield*r[yh](e,n)}*[Rc](e,n,i){for(const r of this[it])r[yt]===e&&(!i||!r[gi])&&(yield r),n&&(yield*r[Rc](e,n,i))}[no](){return this[xr]===null?this[it].length===0||this[it][0][rn]===sn.xhtml.id:this[xr]}[wh](){return this[xr]===null?this[it].length===0?this[oe].trim():this[it][0][rn]===sn.xhtml.id?this[it][0][ln]().trim():null:this[oe].trim()}[pa](e){e=e.value||"",this[oe]=e.toString()}[Js](e=!1){const n=Object.create(null);e&&(n.$ns=this[rn]),this[oe]&&(n.$content=this[oe]),n.$name=this[yt],n.children=[];for(const i of this[it])n.children.push(i[Js](e));n.attributes=Object.create(null);for(const[i,r]of this[rs])n.attributes[i]=r[oe];return n}}class Gt extends ae{constructor(e,n){super(e,n),this[oe]=""}[Li](e){this[oe]+=e}[Dt](){}}class At extends Gt{constructor(e,n,i){super(e,n),this[Ef]=i}[Dt](){this[oe]=vf({data:this[oe],defaultValue:this[Ef][0],validate:e=>this[Ef].includes(e)})}[Ba](e){super[Ba](e),delete this[Ef]}}class ot extends Gt{[Dt](){this[oe]=this[oe].trim()}}class Ja extends Gt{constructor(e,n,i,r){super(e,n),this[Eh]=i,this[Ih]=r}[Dt](){this[oe]=Qe({data:this[oe],defaultValue:this[Eh],validate:this[Ih]})}[Ba](e){super[Ba](e),delete this[Eh],delete this[Ih]}}class dn extends Ja{constructor(e,n){super(e,n,0,i=>i===1)}}class I9 extends Ja{constructor(e,n){super(e,n,1,i=>i===0)}}function Je(t){return typeof t=="string"?"0px":Number.isInteger(t)?`${t}px`:`${t.toFixed(2)}px`}const S9={anchorType(t,e){const n=t[nn]();if(!(!n||n.layout&&n.layout!=="position"))switch("transform"in e||(e.transform=""),t.anchorType){case"bottomCenter":e.transform+="translate(-50%, -100%)";break;case"bottomLeft":e.transform+="translate(0,-100%)";break;case"bottomRight":e.transform+="translate(-100%,-100%)";break;case"middleCenter":e.transform+="translate(-50%,-50%)";break;case"middleLeft":e.transform+="translate(0,-50%)";break;case"middleRight":e.transform+="translate(-100%,-50%)";break;case"topCenter":e.transform+="translate(-50%,0)";break;case"topRight":e.transform+="translate(-100%,0)";break}},dimensions(t,e){const n=t[nn]();let i=t.w;const r=t.h;if(n.layout?.includes("row")){const s=n[ne],o=t.colSpan;let a;o===-1?(a=Math.sumPrecise(s.columnWidths.slice(s.currentColumn)),s.currentColumn=0):(a=Math.sumPrecise(s.columnWidths.slice(s.currentColumn,s.currentColumn+o)),s.currentColumn=(s.currentColumn+t.colSpan)%s.columnWidths.length),isNaN(a)||(i=t.w=a)}e.width=i!==""?Je(i):"auto",e.height=r!==""?Je(r):"auto"},position(t,e){const n=t[nn]();n?.layout&&n.layout!=="position"||(e.position="absolute",e.left=Je(t.x),e.top=Je(t.y))},rotate(t,e){t.rotate&&("transform"in e||(e.transform=""),e.transform+=`rotate(-${t.rotate}deg)`,e.transformOrigin="top left")},presence(t,e){switch(t.presence){case"invisible":e.visibility="hidden";break;case"hidden":case"inactive":e.display="none";break}},hAlign(t,e){if(t[yt]==="para")switch(t.hAlign){case"justifyAll":e.textAlign="justify-all";break;case"radix":e.textAlign="left";break;default:e.textAlign=t.hAlign}else switch(t.hAlign){case"left":e.alignSelf="start";break;case"center":e.alignSelf="center";break;case"right":e.alignSelf="end";break}},margin(t,e){t.margin&&(e.margin=t.margin[xt]().margin)}};function C9(t,e){t[nn]().layout==="position"&&(t.minW>0&&(e.minWidth=Je(t.minW)),t.maxW>0&&(e.maxWidth=Je(t.maxW)),t.minH>0&&(e.minHeight=Je(t.minH)),t.maxH>0&&(e.maxHeight=Je(t.maxH)))}function R9(t,e,n,i,r,s){const o=new vw(e,n,i,r);return typeof t=="string"?o.addString(t):t[mi](o),o.compute(s)}function Rh(t,e){let n=null,i=null,r=!1;if((!t.w||!t.h)&&t.value){let s=0,o=0;t.margin&&(s=t.margin.leftInset+t.margin.rightInset,o=t.margin.topInset+t.margin.bottomInset);let a=null,c=null;t.para&&(c=Object.create(null),a=t.para.lineHeight===""?null:t.para.lineHeight,c.top=t.para.spaceAbove===""?0:t.para.spaceAbove,c.bottom=t.para.spaceBelow===""?0:t.para.spaceBelow,c.left=t.para.marginLeft===""?0:t.para.marginLeft,c.right=t.para.marginRight===""?0:t.para.marginRight);let f=t.font;if(!f){const h=t[an]();let u=t[et]();for(;u&&u!==h;){if(u.font){f=u.font;break}u=u[et]()}}const l=(t.w||e.width)-s,d=t[It].fontFinder;if(t.value.exData&&t.value.exData[oe]&&t.value.exData.contentType==="text/html"){const h=R9(t.value.exData[oe],f,c,a,d,l);i=h.width,n=h.height,r=h.isBroken}else{const h=t.value[ln]();if(h){const u=R9(h,f,c,a,d,l);i=u.width,n=u.height,r=u.isBroken}}i!==null&&!t.w&&(i+=s),n!==null&&!t.h&&(n+=o)}return{w:i,h:n,isBroken:r}}function M9(t,e,n){let i;if(t.w!==""&&t.h!=="")i=[t.x,t.y,t.w,t.h];else{if(!n)return null;let r=t.w;if(r===""){if(t.maxW===0){const o=t[nn]();r=o.layout==="position"&&o.w!==""?0:t.minW}else r=Math.min(t.maxW,n.width);e.attributes.style.width=Je(r)}let s=t.h;if(s===""){if(t.maxH===0){const o=t[nn]();s=o.layout==="position"&&o.h!==""?0:t.minH}else s=Math.min(t.maxH,n.height);e.attributes.style.height=Je(s)}i=[t.x,t.y,r,s]}return i}function jf(t){const e=t[nn]();if(e.layout?.includes("row")){const n=e[ne],i=t.colSpan;let r;i===-1?r=Math.sumPrecise(n.columnWidths.slice(n.currentColumn)):r=Math.sumPrecise(n.columnWidths.slice(n.currentColumn,n.currentColumn+i)),isNaN(r)||(t.w=r)}e.layout&&e.layout!=="position"&&(t.x=t.y=0),t.layout==="table"&&t.w===""&&Array.isArray(t.columnWidths)&&(t.w=Math.sumPrecise(t.columnWidths))}function U9(t){switch(t.layout){case"position":return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb";default:return"xfaPosition"}}function ra(t,...e){const n=Object.create(null);for(const i of e){const r=t[i];if(r!==null){if(S9.hasOwnProperty(i)){S9[i](t,n);continue}if(r instanceof ae){const s=r[xt]();s?Object.assign(n,s):L(`(DEBUG) - XFA - style for ${i} not implemented yet`)}}}return n}function ss(t,e){const{attributes:n}=e,{style:i}=n,r={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};if(n.class.push("xfaWrapped"),t.border){const{widths:s,insets:o}=t.border[ne];let a,c,f=o[0],l=o[3];const d=o[0]+o[2],h=o[1]+o[3];switch(t.border.hand){case"even":f-=s[0]/2,l-=s[3]/2,a=`calc(100% + ${(s[1]+s[3])/2-h}px)`,c=`calc(100% + ${(s[0]+s[2])/2-d}px)`;break;case"left":f-=s[0],l-=s[3],a=`calc(100% + ${s[1]+s[3]-h}px)`,c=`calc(100% + ${s[0]+s[2]-d}px)`;break;case"right":a=h?`calc(100% - ${h}px)`:"100%",c=d?`calc(100% - ${d}px)`:"100%";break}const u=["xfaBorder"];ro(t.border)&&u.push("xfaPrintOnly");const g={name:"div",attributes:{class:u,style:{top:`${f}px`,left:`${l}px`,width:a,height:c}},children:[]};for(const p of["border","borderWidth","borderColor","borderRadius","borderStyle"])i[p]!==void 0&&(g.attributes.style[p]=i[p],delete i[p]);r.children.push(g,e)}else r.children.push(e);for(const s of["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"])i[s]!==void 0&&(r.attributes.style[s]=i[s],delete i[s]);return r.attributes.style.position=i.position==="absolute"?"absolute":"relative",delete i.position,i.alignSelf&&(r.attributes.style.alignSelf=i.alignSelf,delete i.alignSelf),r}function T9(t){const e=Se(t.textIndent,"0px");if(e>=0)return;const i="padding"+((t.textAlign==="right"?"right":"left")==="left"?"Left":"Right"),r=Se(t[i],"0px");t[i]=`${r-e}px`}function Mh(t,e){switch(t.access){case"nonInteractive":e.push("xfaNonInteractive");break;case"readOnly":e.push("xfaReadOnly");break;case"protected":e.push("xfaDisabled");break}}function ro(t){return t.relevant.length>0&&!t.relevant[0].excluded&&t.relevant[0].viewname==="print"}function L9(t){const e=t[an]()[ne].paraStack;return e.length?e.at(-1):null}function F9(t,e,n){if(n.attributes.class?.includes("xfaRich")){e&&(t.h===""&&(e.height="auto"),t.w===""&&(e.width="auto"));const i=L9(t);if(i){const r=n.attributes.style;switch(r.display="flex",r.flexDirection="column",i.vAlign){case"top":r.justifyContent="start";break;case"bottom":r.justifyContent="end";break;case"middle":r.justifyContent="center";break}const s=i[xt]();for(const[o,a]of Object.entries(s))o in r||(r[o]=a)}}}function N9(t,e,n,i){if(!n){delete i.fontFamily;return}const r=kf(t.typeface);i.fontFamily=`"${r}"`;const s=n.find(r);if(s){const{fontFamily:o}=s.regular.cssFontInfo;o!==r&&(i.fontFamily=`"${o}"`);const a=L9(e);if(a&&a.lineHeight!==""||i.lineHeight)return;const c=vh(t,s);c&&(i.lineHeight=Math.max(1.2,c.lineHeight))}}function B9(t){const e=M0(t,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return e?e.href:null}function Y9(t,e){return{name:"div",attributes:{class:[t.layout==="lr-tb"?"xfaLr":"xfaRl"]},children:e}}function H9(t){if(!t[ne])return null;const n={name:"div",attributes:t[ne].attributes,children:t[ne].children};if(t[ne].failingNode){const i=t[ne].failingNode[Ic]();i&&(t.layout.endsWith("-tb")?n.children.push(Y9(t,[i])):n.children.push(i))}return n.children.length===0?null:n}function Z9(t,e,n){const i=t[ne],r=i.availableSpace,[s,o,a,c]=n;switch(t.layout){case"position":{i.width=Math.max(i.width,s+a),i.height=Math.max(i.height,o+c),i.children.push(e);break}case"lr-tb":case"rl-tb":(!i.line||i.attempt===1)&&(i.line=Y9(t,[]),i.children.push(i.line),i.numberInLine=0),i.numberInLine+=1,i.line.children.push(e),i.attempt===0?(i.currentWidth+=a,i.height=Math.max(i.height,i.prevHeight+c)):(i.currentWidth=a,i.prevHeight=i.height,i.height+=c,i.attempt=0),i.width=Math.max(i.width,i.currentWidth);break;case"rl-row":case"row":{i.children.push(e),i.width+=a,i.height=Math.max(i.height,c);const f=Je(i.height);for(const l of i.children)l.attributes.style.height=f;break}case"table":{i.width=kn(a,i.width,r.width),i.height+=c,i.children.push(e);break}case"tb":{i.width=kn(a,i.width,r.width),i.height+=c,i.children.push(e);break}}}function z9(t){const e=t[ne].availableSpace,n=t.margin?t.margin.topInset+t.margin.bottomInset:0,i=t.margin?t.margin.leftInset+t.margin.rightInset:0;switch(t.layout){case"lr-tb":case"rl-tb":return t[ne].attempt===0?{width:e.width-i-t[ne].currentWidth,height:e.height-n-t[ne].prevHeight}:{width:e.width-i,height:e.height-n-t[ne].height};case"rl-row":case"row":return{width:Math.sumPrecise(t[ne].columnWidths.slice(t[ne].currentColumn)),height:e.height-i};case"table":case"tb":return{width:e.width-i,height:e.height-n-t[ne].height};case"position":default:return e}}function Dw(t){let e=t.w===""?NaN:t.w,n=t.h===""?NaN:t.h,[i,r]=[0,0];switch(t.anchorType||""){case"bottomCenter":[i,r]=[e/2,n];break;case"bottomLeft":[i,r]=[0,n];break;case"bottomRight":[i,r]=[e,n];break;case"middleCenter":[i,r]=[e/2,n/2];break;case"middleLeft":[i,r]=[0,n/2];break;case"middleRight":[i,r]=[e,n/2];break;case"topCenter":[i,r]=[e/2,0];break;case"topRight":[i,r]=[e,0];break}let s,o;switch(t.rotate||0){case 0:[s,o]=[-i,-r];break;case 90:[s,o]=[-r,i],[e,n]=[n,-e];break;case 180:[s,o]=[i,r],[e,n]=[-e,-n];break;case 270:[s,o]=[r,-i],[e,n]=[-n,e];break}return[t.x+s+Math.min(0,e),t.y+o+Math.min(0,n),Math.abs(e),Math.abs(n)]}function Df(t,e){if(t[an]()[ne].firstUnsplittable===null||t.w===0||t.h===0)return!0;const n=2,i=t[nn](),r=i[ne]?.attempt||0,[,s,o,a]=Dw(t);switch(i.layout){case"lr-tb":case"rl-tb":return r===0?t[an]()[ne].noLayoutFailure?t.w!==""?Math.round(o-e.width)<=n:e.width>n:t.h!==""&&Math.round(a-e.height)>n?!1:t.w!==""?Math.round(o-e.width)<=n?!0:i[ne].numberInLine===0?e.height>n:!1:e.width>n:t[an]()[ne].noLayoutFailure?!0:t.h!==""&&Math.round(a-e.height)>n?!1:t.w===""||Math.round(o-e.width)<=n?e.height>n:i[Ti]()?!1:e.height>n;case"table":case"tb":return t[an]()[ne].noLayoutFailure?!0:t.h!==""&&!t[Ui]()?Math.round(a-e.height)<=n:t.w===""||Math.round(o-e.width)<=n?e.height>n:i[Ti]()?!1:e.height>n;case"position":if(t[an]()[ne].noLayoutFailure||t.h===""||Math.round(a+s-e.height)<=n)return!0;const c=t[an]()[ne].currentContentArea;return a+s>c.h;case"rl-row":case"row":return t[an]()[ne].noLayoutFailure?!0:t.h!==""?Math.round(a-e.height)<=n:!0;default:return!0}}const xe=sn.template.id,os="http://www.w3.org/2000/svg",If=2,Iw=3,Sw=5e3,Cw=/^H(\d+)$/,Rw=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),Mw=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function q9(t){if(!t||!t.border)return{w:0,h:0};const e=t.border[Tn]();return e?{w:e.widths[0]+e.widths[2]+e.insets[0]+e.insets[2],h:e.widths[1]+e.widths[3]+e.insets[1]+e.insets[3]}:{w:0,h:0}}function Uh(t){return t.margin&&(t.margin.topInset||t.margin.rightInset||t.margin.bottomInset||t.margin.leftInset)}function Th(t,e){if(!t.value){const n=new $h({});t[$t](n),t.value=n}t.value[pa](e)}function*Lh(t){for(const e of t[jn]()){if(e instanceof Zh){yield*e[eo]();continue}yield e}}function Zc(t){return t.validate?.nullTest==="error"}function Sf(t){for(;t;){if(!t.traversal){t[Va]=t[et]()[Va];return}if(t[Va])return;let e=null;for(const r of t.traversal[jn]())if(r.operation==="next"){e=r;break}if(!e||!e.ref){t[Va]=t[et]()[Va];return}const n=t[an]();t[Va]=++n[Va];const i=n[Fi](e.ref,t);if(!i)return;t=i[0]}}function Cf(t,e){const n=t.assist;if(n){const i=n[Xe]();i&&(e.title=i);const s=n.role.match(Cw);if(s){const o="heading",a=s[1];e.role=o,e["aria-level"]=a}}if(t.layout==="table")e.role="table";else if(t.layout==="row")e.role="row";else{const i=t[et]();i.layout==="row"&&(e.role=i.assist?.role==="TH"?"columnheader":"cell")}}function cs(t){if(!t.assist)return null;const e=t.assist;return e.speak&&e.speak[oe]!==""?e.speak[oe]:e.toolTip?e.toolTip[oe]:null}function yr(t){return Fe.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:t}]})}function Rf(t){const e=t[an]();e[ne].firstUnsplittable===null&&(e[ne].firstUnsplittable=t,e[ne].noLayoutFailure=!0)}function Mf(t){const e=t[an]();e[ne].firstUnsplittable===t&&(e[ne].noLayoutFailure=!1)}function $9(t){if(t[ne]||(t[ne]=Object.create(null),t.targetType==="auto"))return!1;const e=t[an]();let n=null;if(t.target){if(n=e[Fi](t.target,t[et]()),!n)return!1;n=n[0]}const{currentPageArea:i,currentContentArea:r}=e[ne];if(t.targetType==="pageArea")return n instanceof so||(n=null),t.startNew?(t[ne].target=n||i,!0):n&&n!==i?(t[ne].target=n,!0):!1;n instanceof Nh||(n=null);const s=n&&n[et]();let o,a=s;if(t.startNew)if(n){const c=s.contentArea.children,f=c.indexOf(r),l=c.indexOf(n);f!==-1&&f<l&&(a=null),o=l-1}else o=i.contentArea.children.indexOf(r);else if(n&&n!==r)o=s.contentArea.children.indexOf(n)-1,a=s===i?null:s;else return!1;return t[ne].target=a,t[ne].index=o,!0}function G9(t,e,n){const i=t[an](),r=i[ne].noLayoutFailure,s=e[nn];e[nn]=()=>t,i[ne].noLayoutFailure=!0;const o=e[Xe](n);t[ts](o.html,o.bbox),i[ne].noLayoutFailure=r,e[nn]=s}class Uw extends ot{constructor(e){super(xe,"appearanceFilter"),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||""}}class X9 extends ae{constructor(e){super(xe,"arc",!0),this.circular=Qe({data:e.circular,defaultValue:0,validate:n=>n===1}),this.hand=fe(e.hand,["even","left","right"]),this.id=e.id||"",this.startAngle=Pf({data:e.startAngle,defaultValue:0,validate:n=>!0}),this.sweepAngle=Pf({data:e.sweepAngle,defaultValue:360,validate:n=>!0}),this.use=e.use||"",this.usehref=e.usehref||"",this.edge=null,this.fill=null}[Xe](){const e=this.edge||new zc({}),n=e[xt](),i=Object.create(null);this.fill?.presence==="visible"?Object.assign(i,this.fill[xt]()):i.fill="transparent",i.strokeWidth=Je(e.presence==="visible"?e.thickness:0),i.stroke=n.color;let r;const s={xmlns:os,style:{width:"100%",height:"100%",overflow:"visible"}};if(this.sweepAngle===360)r={name:"ellipse",attributes:{xmlns:os,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:i}};else{const c=this.startAngle*Math.PI/180,f=this.sweepAngle*Math.PI/180,l=this.sweepAngle>180?1:0,[d,h,u,g]=[50*(1+Math.cos(c)),50*(1-Math.sin(c)),50*(1+Math.cos(c+f)),50*(1-Math.sin(c+f))];r={name:"path",attributes:{xmlns:os,d:`M ${d} ${h} A 50 50 0 ${l} 0 ${u} ${g}`,vectorEffect:"non-scaling-stroke",style:i}},Object.assign(s,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}const o={name:"svg",children:[r],attributes:s},a=this[et]()[et]();return Uh(a)?Fe.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[o]}):(o.attributes.style.position="absolute",Fe.success(o))}}class Tw extends ae{constructor(e){super(xe,"area",!0),this.colSpan=Qe({data:e.colSpan,defaultValue:1,validate:n=>n>=1||n===-1}),this.id=e.id||"",this.name=e.name||"",this.relevant=Qa(e.relevant),this.use=e.use||"",this.usehref=e.usehref||"",this.x=Se(e.x,"0pt"),this.y=Se(e.y,"0pt"),this.desc=null,this.extras=null,this.area=new F,this.draw=new F,this.exObject=new F,this.exclGroup=new F,this.field=new F,this.subform=new F,this.subformSet=new F}*[eo](){yield*Lh(this)}[Tc](){return!0}[as](){return!0}[ts](e,n){const[i,r,s,o]=n;this[ne].width=Math.max(this[ne].width,i+s),this[ne].height=Math.max(this[ne].height,r+o),this[ne].children.push(e)}[ns](){return this[ne].availableSpace}[Xe](e){const n=ra(this,"position"),i={style:n,id:this[vt],class:["xfaArea"]};ro(this)&&i.class.push("xfaPrintOnly"),this.name&&(i.xfaName=this.name);const r=[];this[ne]={children:r,width:0,height:0,availableSpace:e};const s=this[br]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!s.success)return s.isBreak()?s:(delete this[ne],Fe.FAILURE);n.width=Je(this[ne].width),n.height=Je(this[ne].height);const o={name:"div",attributes:i,children:r},a=[this.x,this.y,this[ne].width,this[ne].height];return delete this[ne],Fe.success(o,a)}}class Lw extends ae{constructor(e){super(xe,"assist",!0),this.id=e.id||"",this.role=e.role||"",this.use=e.use||"",this.usehref=e.usehref||"",this.speak=null,this.toolTip=null}[Xe](){return this.toolTip?.[oe]||null}}class Fw extends ae{constructor(e){super(xe,"barcode",!0),this.charEncoding=vf({data:e.charEncoding?e.charEncoding.toLowerCase():"",defaultValue:"",validate:n=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(n)||n.match(/iso-8859-\d{2}/)}),this.checksum=fe(e.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),this.dataColumnCount=Qe({data:e.dataColumnCount,defaultValue:-1,validate:n=>n>=0}),this.dataLength=Qe({data:e.dataLength,defaultValue:-1,validate:n=>n>=0}),this.dataPrep=fe(e.dataPrep,["none","flateCompress"]),this.dataRowCount=Qe({data:e.dataRowCount,defaultValue:-1,validate:n=>n>=0}),this.endChar=e.endChar||"",this.errorCorrectionLevel=Qe({data:e.errorCorrectionLevel,defaultValue:-1,validate:n=>n>=0&&n<=8}),this.id=e.id||"",this.moduleHeight=Se(e.moduleHeight,"5mm"),this.moduleWidth=Se(e.moduleWidth,"0.25mm"),this.printCheckDigit=Qe({data:e.printCheckDigit,defaultValue:0,validate:n=>n===1}),this.rowColumnRatio=_9(e.rowColumnRatio),this.startChar=e.startChar||"",this.textLocation=fe(e.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),this.truncate=Qe({data:e.truncate,defaultValue:0,validate:n=>n===1}),this.type=fe(e.type?e.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),this.upsMode=fe(e.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),this.use=e.use||"",this.usehref=e.usehref||"",this.wideNarrowRatio=_9(e.wideNarrowRatio),this.encrypt=null,this.extras=null}}class Nw extends ae{constructor(e){super(xe,"bind",!0),this.match=fe(e.match,["once","dataRef","global","none"]),this.ref=e.ref||"",this.picture=null}}class Fh extends ae{constructor(e){super(xe,"bindItems"),this.connection=e.connection||"",this.labelRef=e.labelRef||"",this.ref=e.ref||"",this.valueRef=e.valueRef||""}}class Bw extends ae{constructor(e){super(xe,"bookend"),this.id=e.id||"",this.leader=e.leader||"",this.trailer=e.trailer||"",this.use=e.use||"",this.usehref=e.usehref||""}}class Yw extends dn{constructor(e){super(xe,"boolean"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}[Xe](e){return yr(this[oe]===1?"1":"0")}}class W9 extends ae{constructor(e){super(xe,"border",!0),this.break=fe(e.break,["close","open"]),this.hand=fe(e.hand,["even","left","right"]),this.id=e.id||"",this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.relevant=Qa(e.relevant),this.use=e.use||"",this.usehref=e.usehref||"",this.corner=new F(4),this.edge=new F(4),this.extras=null,this.fill=null,this.margin=null}[Tn](){if(!this[ne]){const e=this.edge.children.slice();if(e.length<4){const r=e.at(-1)||new zc({});for(let s=e.length;s<4;s++)e.push(r)}const n=e.map(r=>r.thickness),i=[0,0,0,0];this.margin&&(i[0]=this.margin.topInset,i[1]=this.margin.rightInset,i[2]=this.margin.bottomInset,i[3]=this.margin.leftInset),this[ne]={widths:n,insets:i,edges:e}}return this[ne]}[xt](){const{edges:e}=this[Tn](),n=e.map(r=>{const s=r[xt]();return s.color||="#000000",s}),i=Object.create(null);if(this.margin&&Object.assign(i,this.margin[xt]()),this.fill?.presence==="visible"&&Object.assign(i,this.fill[xt]()),this.corner.children.some(r=>r.radius!==0)){const r=this.corner.children.map(s=>s[xt]());if(r.length===2||r.length===3){const s=r.at(-1);for(let o=r.length;o<4;o++)r.push(s)}i.borderRadius=r.map(s=>s.radius).join(" ")}switch(this.presence){case"invisible":case"hidden":i.borderStyle="";break;case"inactive":i.borderStyle="none";break;default:i.borderStyle=n.map(r=>r.style).join(" ");break}return i.borderWidth=n.map(r=>r.width).join(" "),i.borderColor=n.map(r=>r.color).join(" "),i}}class Hw extends ae{constructor(e){super(xe,"break",!0),this.after=fe(e.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.afterTarget=e.afterTarget||"",this.before=fe(e.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.beforeTarget=e.beforeTarget||"",this.bookendLeader=e.bookendLeader||"",this.bookendTrailer=e.bookendTrailer||"",this.id=e.id||"",this.overflowLeader=e.overflowLeader||"",this.overflowTarget=e.overflowTarget||"",this.overflowTrailer=e.overflowTrailer||"",this.startNew=Qe({data:e.startNew,defaultValue:0,validate:n=>n===1}),this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null}}class V9 extends ae{constructor(e){super(xe,"breakAfter",!0),this.id=e.id||"",this.leader=e.leader||"",this.startNew=Qe({data:e.startNew,defaultValue:0,validate:n=>n===1}),this.target=e.target||"",this.targetType=fe(e.targetType,["auto","contentArea","pageArea"]),this.trailer=e.trailer||"",this.use=e.use||"",this.usehref=e.usehref||"",this.script=null}}class K9 extends ae{constructor(e){super(xe,"breakBefore",!0),this.id=e.id||"",this.leader=e.leader||"",this.startNew=Qe({data:e.startNew,defaultValue:0,validate:n=>n===1}),this.target=e.target||"",this.targetType=fe(e.targetType,["auto","contentArea","pageArea"]),this.trailer=e.trailer||"",this.use=e.use||"",this.usehref=e.usehref||"",this.script=null}[Xe](e){return this[ne]={},Fe.FAILURE}}class Zw extends ae{constructor(e){super(xe,"button",!0),this.highlight=fe(e.highlight,["inverted","none","outline","push"]),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null}[Xe](e){const i=this[et]()[et](),r={name:"button",attributes:{id:this[vt],class:["xfaButton"],style:{}},children:[]};for(const s of i.event.children){if(s.activity!=="click"||!s.script)continue;const o=_2(s.script[oe]);if(!o)continue;const a=B9(o.url);a&&r.children.push({name:"a",attributes:{id:"link"+this[vt],href:a,newWindow:o.newWindow,class:["xfaLink"],style:{}},children:[]})}return Fe.success(r)}}class zw extends ae{constructor(e){super(xe,"calculate",!0),this.id=e.id||"",this.override=fe(e.override,["disabled","error","ignore","warning"]),this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.message=null,this.script=null}}class qw extends ae{constructor(e){super(xe,"caption",!0),this.id=e.id||"",this.placement=fe(e.placement,["left","bottom","inline","right","top"]),this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.reserve=Math.ceil(Se(e.reserve)),this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.font=null,this.margin=null,this.para=null,this.value=null}[pa](e){Th(this,e)}[Tn](e){if(!this[ne]){let{width:n,height:i}=e;switch(this.placement){case"left":case"right":case"inline":n=this.reserve<=0?n:this.reserve;break;case"top":case"bottom":i=this.reserve<=0?i:this.reserve;break}this[ne]=Rh(this,{width:n,height:i})}return this[ne]}[Xe](e){if(!this.value)return Fe.EMPTY;this[ao]();const n=this.value[Xe](e).html;if(!n)return this[ga](),Fe.EMPTY;const i=this.reserve;if(this.reserve<=0){const{w:o,h:a}=this[Tn](e);switch(this.placement){case"left":case"right":case"inline":this.reserve=o;break;case"top":case"bottom":this.reserve=a;break}}const r=[];typeof n=="string"?r.push({name:"#text",value:n}):r.push(n);const s=ra(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(s.width=Je(this.reserve));break;case"top":case"bottom":this.reserve>0&&(s.height=Je(this.reserve));break}return F9(this,null,n),this[ga](),this.reserve=i,Fe.success({name:"div",attributes:{style:s,class:["xfaCaption"]},children:r})}}class $w extends ot{constructor(e){super(xe,"certificate"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class Gw extends ae{constructor(e){super(xe,"certificates",!0),this.credentialServerPolicy=fe(e.credentialServerPolicy,["optional","required"]),this.id=e.id||"",this.url=e.url||"",this.urlPolicy=e.urlPolicy||"",this.use=e.use||"",this.usehref=e.usehref||"",this.encryption=null,this.issuers=null,this.keyUsage=null,this.oids=null,this.signing=null,this.subjectDNs=null}}class Q9 extends ae{constructor(e){super(xe,"checkButton",!0),this.id=e.id||"",this.mark=fe(e.mark,["default","check","circle","cross","diamond","square","star"]),this.shape=fe(e.shape,["square","round"]),this.size=Se(e.size,"10pt"),this.use=e.use||"",this.usehref=e.usehref||"",this.border=null,this.extras=null,this.margin=null}[Xe](e){const n=ra(this,"margin"),i=Je(this.size);n.width=n.height=i;let r,s,o;const a=this[et]()[et](),c=a.items.children.length&&a.items.children[0][Xe]().html||[],f={on:(c[0]!==void 0?c[0]:"on").toString(),off:(c[1]!==void 0?c[1]:"off").toString()},d=(a.value?.[ln]()||"off")===f.on||void 0,h=a[nn](),u=a[vt];let g;h instanceof n4?(o=h[vt],r="radio",s="xfaRadio",g=h[Ya]?.[vt]||h[vt]):(r="checkbox",s="xfaCheckbox",g=a[Ya]?.[vt]||a[vt]);const p={name:"input",attributes:{class:[s],style:n,fieldId:u,dataId:g,type:r,checked:d,xfaOn:f.on,xfaOff:f.off,"aria-label":cs(a),"aria-required":!1}};return o&&(p.attributes.name=o),Zc(a)&&(p.attributes["aria-required"]=!0,p.attributes.required=!0),Fe.success({name:"label",attributes:{class:["xfaLabel"]},children:[p]})}}class J9 extends ae{constructor(e){super(xe,"choiceList",!0),this.commitOn=fe(e.commitOn,["select","exit"]),this.id=e.id||"",this.open=fe(e.open,["userControl","always","multiSelect","onEntry"]),this.textEntry=Qe({data:e.textEntry,defaultValue:0,validate:n=>n===1}),this.use=e.use||"",this.usehref=e.usehref||"",this.border=null,this.extras=null,this.margin=null}[Xe](e){const n=ra(this,"border","margin"),r=this[et]()[et](),o={fontSize:`calc(${r.font?.size||10}px * var(--total-scale-factor))`},a=[];if(r.items.children.length>0){const f=r.items;let l=0,d=0;f.children.length===2&&(l=f.children[0].save,d=1-l);const h=f.children[l][Xe]().html,u=f.children[d][Xe]().html;let g=!1;const p=r.value?.[ln]()||"";for(let x=0,m=h.length;x<m;x++){const w={name:"option",attributes:{value:u[x]||h[x],style:o},value:h[x]};u[x]===p&&(w.attributes.selected=g=!0),a.push(w)}g||a.splice(0,0,{name:"option",attributes:{hidden:!0,selected:!0},value:" "})}const c={class:["xfaSelect"],fieldId:r[vt],dataId:r[Ya]?.[vt]||r[vt],style:n,"aria-label":cs(r),"aria-required":!1};return Zc(r)&&(c["aria-required"]=!0,c.required=!0),this.open==="multiSelect"&&(c.multiple=!0),Fe.success({name:"label",attributes:{class:["xfaLabel"]},children:[{name:"select",children:a,attributes:c}]})}}class Xw extends ae{constructor(e){super(xe,"color",!0),this.cSpace=fe(e.cSpace,["SRGB"]),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.value=e.value?yw(e.value):"",this.extras=null}[Mc](){return!1}[xt](){return this.value?wt.makeHexColor(this.value.r,this.value.g,this.value.b):null}}class Ww extends ae{constructor(e){super(xe,"comb"),this.id=e.id||"",this.numberOfCells=Qe({data:e.numberOfCells,defaultValue:0,validate:n=>n>=0}),this.use=e.use||"",this.usehref=e.usehref||""}}class Vw extends ae{constructor(e){super(xe,"connect",!0),this.connection=e.connection||"",this.id=e.id||"",this.ref=e.ref||"",this.usage=fe(e.usage,["exportAndImport","exportOnly","importOnly"]),this.use=e.use||"",this.usehref=e.usehref||"",this.picture=null}}class Nh extends ae{constructor(e){super(xe,"contentArea",!0),this.h=Se(e.h),this.id=e.id||"",this.name=e.name||"",this.relevant=Qa(e.relevant),this.use=e.use||"",this.usehref=e.usehref||"",this.w=Se(e.w),this.x=Se(e.x,"0pt"),this.y=Se(e.y,"0pt"),this.desc=null,this.extras=null}[Xe](e){const n=Je(this.x),i=Je(this.y),r={left:n,top:i,width:Je(this.w),height:Je(this.h)},s=["xfaContentarea"];return ro(this)&&s.push("xfaPrintOnly"),Fe.success({name:"div",children:[],attributes:{style:r,class:s,id:this[vt]}})}}class e4 extends ae{constructor(e){super(xe,"corner",!0),this.id=e.id||"",this.inverted=Qe({data:e.inverted,defaultValue:0,validate:n=>n===1}),this.join=fe(e.join,["square","round"]),this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.radius=Se(e.radius),this.stroke=fe(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=Se(e.thickness,"0.5pt"),this.use=e.use||"",this.usehref=e.usehref||"",this.color=null,this.extras=null}[xt](){const e=ra(this,"visibility");return e.radius=Je(this.join==="square"?0:this.radius),e}}class Kw extends Gt{constructor(e){super(xe,"date"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}[Dt](){const e=this[oe].trim();this[oe]=e?new Date(e):null}[Xe](e){return yr(this[oe]?this[oe].toString():"")}}class Qw extends Gt{constructor(e){super(xe,"dateTime"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}[Dt](){const e=this[oe].trim();this[oe]=e?new Date(e):null}[Xe](e){return yr(this[oe]?this[oe].toString():"")}}class Jw extends ae{constructor(e){super(xe,"dateTimeEdit",!0),this.hScrollPolicy=fe(e.hScrollPolicy,["auto","off","on"]),this.id=e.id||"",this.picker=fe(e.picker,["host","none"]),this.use=e.use||"",this.usehref=e.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[Xe](e){const n=ra(this,"border","font","margin"),i=this[et]()[et](),r={name:"input",attributes:{type:"text",fieldId:i[vt],dataId:i[Ya]?.[vt]||i[vt],class:["xfaTextfield"],style:n,"aria-label":cs(i),"aria-required":!1}};return Zc(i)&&(r.attributes["aria-required"]=!0,r.attributes.required=!0),Fe.success({name:"label",attributes:{class:["xfaLabel"]},children:[r]})}}class e_ extends Gt{constructor(e){super(xe,"decimal"),this.fracDigits=Qe({data:e.fracDigits,defaultValue:2,validate:n=>!0}),this.id=e.id||"",this.leadDigits=Qe({data:e.leadDigits,defaultValue:-1,validate:n=>!0}),this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}[Dt](){const e=parseFloat(this[oe].trim());this[oe]=isNaN(e)?null:e}[Xe](e){return yr(this[oe]!==null?this[oe].toString():"")}}class t_ extends ae{constructor(e){super(xe,"defaultUi",!0),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null}}class n_ extends ae{constructor(e){super(xe,"desc",!0),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.boolean=new F,this.date=new F,this.dateTime=new F,this.decimal=new F,this.exData=new F,this.float=new F,this.image=new F,this.integer=new F,this.text=new F,this.time=new F}}class a_ extends At{constructor(e){super(xe,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||""}}class i_ extends ae{constructor(e){super(xe,"digestMethods",!0),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||"",this.digestMethod=new F}}class t4 extends ae{constructor(e){super(xe,"draw",!0),this.anchorType=fe(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=Qe({data:e.colSpan,defaultValue:1,validate:n=>n>=1||n===-1}),this.h=e.h?Se(e.h):"",this.hAlign=fe(e.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=e.id||"",this.locale=e.locale||"",this.maxH=Se(e.maxH,"0pt"),this.maxW=Se(e.maxW,"0pt"),this.minH=Se(e.minH,"0pt"),this.minW=Se(e.minW,"0pt"),this.name=e.name||"",this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.relevant=Qa(e.relevant),this.rotate=Qe({data:e.rotate,defaultValue:0,validate:n=>n%90===0}),this.use=e.use||"",this.usehref=e.usehref||"",this.w=e.w?Se(e.w):"",this.x=Se(e.x,"0pt"),this.y=Se(e.y,"0pt"),this.assist=null,this.border=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.value=null,this.setProperty=new F}[pa](e){Th(this,e)}[Xe](e){if(Sf(this),this.presence==="hidden"||this.presence==="inactive")return Fe.EMPTY;jf(this),this[ao]();const n=this.w,i=this.h,{w:r,h:s,isBroken:o}=Rh(this,e);if(r&&this.w===""){if(o&&this[nn]()[Ti]())return this[ga](),Fe.FAILURE;this.w=r}if(s&&this.h===""&&(this.h=s),Rf(this),!Df(this,e))return this.w=n,this.h=i,this[ga](),Fe.FAILURE;Mf(this);const a=ra(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");C9(this,a),a.margin&&(a.padding=a.margin,delete a.margin);const c=["xfaDraw"];this.font&&c.push("xfaFont"),ro(this)&&c.push("xfaPrintOnly");const f={style:a,id:this[vt],class:c};this.name&&(f.xfaName=this.name);const l={name:"div",attributes:f,children:[]};Cf(this,f);const d=M9(this,l,e),h=this.value?this.value[Xe](e).html:null;return h===null?(this.w=n,this.h=i,this[ga](),Fe.success(ss(this,l),d)):(l.children.push(h),F9(this,a,h),this.w=n,this.h=i,this[ga](),Fe.success(ss(this,l),d))}}class zc extends ae{constructor(e){super(xe,"edge",!0),this.cap=fe(e.cap,["square","butt","round"]),this.id=e.id||"",this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.stroke=fe(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=Se(e.thickness,"0.5pt"),this.use=e.use||"",this.usehref=e.usehref||"",this.color=null,this.extras=null}[xt](){const e=ra(this,"visibility");if(Object.assign(e,{linecap:this.cap,width:Je(this.thickness),color:this.color?this.color[xt]():"#000000",style:""}),this.presence!=="visible")e.style="none";else switch(this.stroke){case"solid":e.style="solid";break;case"dashDot":e.style="dashed";break;case"dashDotDot":e.style="dashed";break;case"dashed":e.style="dashed";break;case"dotted":e.style="dotted";break;case"embossed":e.style="ridge";break;case"etched":e.style="groove";break;case"lowered":e.style="inset";break;case"raised":e.style="outset";break}return e}}class r_ extends At{constructor(e){super(xe,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||""}}class s_ extends ae{constructor(e){super(xe,"encodings",!0),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||"",this.encoding=new F}}class o_ extends ae{constructor(e){super(xe,"encrypt",!0),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.certificate=null}}class c_ extends ae{constructor(e){super(xe,"encryptData",!0),this.id=e.id||"",this.operation=fe(e.operation,["encrypt","decrypt"]),this.target=e.target||"",this.use=e.use||"",this.usehref=e.usehref||"",this.filter=null,this.manifest=null}}class f_ extends ae{constructor(e){super(xe,"encryption",!0),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||"",this.certificate=new F}}class l_ extends At{constructor(e){super(xe,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||""}}class d_ extends ae{constructor(e){super(xe,"encryptionMethods",!0),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||"",this.encryptionMethod=new F}}class h_ extends ae{constructor(e){super(xe,"event",!0),this.activity=fe(e.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),this.id=e.id||"",this.listen=fe(e.listen,["refOnly","refAndDescendents"]),this.name=e.name||"",this.ref=e.ref||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.encryptData=null,this.execute=null,this.script=null,this.signData=null,this.submit=null}}class u_ extends Gt{constructor(e){super(xe,"exData"),this.contentType=e.contentType||"",this.href=e.href||"",this.id=e.id||"",this.maxLength=Qe({data:e.maxLength,defaultValue:-1,validate:n=>n>=-1}),this.name=e.name||"",this.rid=e.rid||"",this.transferEncoding=fe(e.transferEncoding,["none","base64","package"]),this.use=e.use||"",this.usehref=e.usehref||""}[Oh](){return this.contentType==="text/html"}[pi](e){return this.contentType==="text/html"&&e[rn]===sn.xhtml.id?(this[oe]=e,!0):this.contentType==="text/xml"?(this[oe]=e,!0):!1}[Xe](e){return this.contentType!=="text/html"||!this[oe]?Fe.EMPTY:this[oe][Xe](e)}}class b_ extends ae{constructor(e){super(xe,"exObject",!0),this.archive=e.archive||"",this.classId=e.classId||"",this.codeBase=e.codeBase||"",this.codeType=e.codeType||"",this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.boolean=new F,this.date=new F,this.dateTime=new F,this.decimal=new F,this.exData=new F,this.exObject=new F,this.float=new F,this.image=new F,this.integer=new F,this.text=new F,this.time=new F}}class n4 extends ae{constructor(e){super(xe,"exclGroup",!0),this.access=fe(e.access,["open","nonInteractive","protected","readOnly"]),this.accessKey=e.accessKey||"",this.anchorType=fe(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=Qe({data:e.colSpan,defaultValue:1,validate:n=>n>=1||n===-1}),this.h=e.h?Se(e.h):"",this.hAlign=fe(e.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=e.id||"",this.layout=fe(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.maxH=Se(e.maxH,"0pt"),this.maxW=Se(e.maxW,"0pt"),this.minH=Se(e.minH,"0pt"),this.minW=Se(e.minW,"0pt"),this.name=e.name||"",this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.relevant=Qa(e.relevant),this.use=e.use||"",this.usehref=e.usehref||"",this.w=e.w?Se(e.w):"",this.x=Se(e.x,"0pt"),this.y=Se(e.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.margin=null,this.para=null,this.traversal=null,this.validate=null,this.connect=new F,this.event=new F,this.field=new F,this.setProperty=new F}[as](){return!0}[Mc](){return!0}[pa](e){for(const n of this.field.children){if(!n.value){const i=new $h({});n[$t](i),n.value=i}n.value[pa](e)}}[Ti](){return this.layout.endsWith("-tb")&&this[ne].attempt===0&&this[ne].numberInLine>0||this[et]()[Ti]()}[Ui](){const e=this[nn]();return e[Ui]()?this[ne]._isSplittable!==void 0?this[ne]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[ne]._isSplittable=!1,!1):e.layout?.endsWith("-tb")&&e[ne].numberInLine!==0?!1:(this[ne]._isSplittable=!0,!0):!1}[Ic](){return H9(this)}[ts](e,n){Z9(this,e,n)}[ns](){return z9(this)}[Xe](e){if(Sf(this),this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return Fe.EMPTY;jf(this);const n=[],i={id:this[vt],class:[]};Mh(this,i.class),this[ne]||=Object.create(null),Object.assign(this[ne],{children:n,attributes:i,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});const r=this[Ui]();if(r||Rf(this),!Df(this,e))return Fe.FAILURE;const s=new Set(["field"]);if(this.layout.includes("row")){const m=this[nn]().columnWidths;Array.isArray(m)&&m.length>0&&(this[ne].columnWidths=m,this[ne].currentColumn=0)}const o=ra(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),a=["xfaExclgroup"],c=U9(this);c&&a.push(c),ro(this)&&a.push("xfaPrintOnly"),i.style=o,i.class=a,this.name&&(i.xfaName=this.name),this[ao]();const f=this.layout==="lr-tb"||this.layout==="rl-tb",l=f?If:1;for(;this[ne].attempt<l;this[ne].attempt++){f&&this[ne].attempt===If-1&&(this[ne].numberInLine=0);const m=this[br]({filter:s,include:!0});if(m.success)break;if(m.isBreak())return this[ga](),m;if(f&&this[ne].attempt===0&&this[ne].numberInLine===0&&!this[an]()[ne].noLayoutFailure){this[ne].attempt=l;break}}if(this[ga](),r||Mf(this),this[ne].attempt===l)return r||delete this[ne],Fe.FAILURE;let d=0,h=0;this.margin&&(d=this.margin.leftInset+this.margin.rightInset,h=this.margin.topInset+this.margin.bottomInset);const u=Math.max(this[ne].width+d,this.w||0),g=Math.max(this[ne].height+h,this.h||0),p=[this.x,this.y,u,g];this.w===""&&(o.width=Je(u)),this.h===""&&(o.height=Je(g));const x={name:"div",attributes:i,children:n};return Cf(this,i),delete this[ne],Fe.success(ss(this,x),p)}}class g_ extends ae{constructor(e){super(xe,"execute"),this.connection=e.connection||"",this.executeType=fe(e.executeType,["import","remerge"]),this.id=e.id||"",this.runAt=fe(e.runAt,["client","both","server"]),this.use=e.use||"",this.usehref=e.usehref||""}}class p_ extends ae{constructor(e){super(xe,"extras",!0),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||"",this.boolean=new F,this.date=new F,this.dateTime=new F,this.decimal=new F,this.exData=new F,this.extras=new F,this.float=new F,this.image=new F,this.integer=new F,this.text=new F,this.time=new F}}class Bh extends ae{constructor(e){super(xe,"field",!0),this.access=fe(e.access,["open","nonInteractive","protected","readOnly"]),this.accessKey=e.accessKey||"",this.anchorType=fe(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=Qe({data:e.colSpan,defaultValue:1,validate:n=>n>=1||n===-1}),this.h=e.h?Se(e.h):"",this.hAlign=fe(e.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=e.id||"",this.locale=e.locale||"",this.maxH=Se(e.maxH,"0pt"),this.maxW=Se(e.maxW,"0pt"),this.minH=Se(e.minH,"0pt"),this.minW=Se(e.minW,"0pt"),this.name=e.name||"",this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.relevant=Qa(e.relevant),this.rotate=Qe({data:e.rotate,defaultValue:0,validate:n=>n%90===0}),this.use=e.use||"",this.usehref=e.usehref||"",this.w=e.w?Se(e.w):"",this.x=Se(e.x,"0pt"),this.y=Se(e.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.format=null,this.items=new F(2),this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.validate=null,this.value=null,this.bindItems=new F,this.connect=new F,this.event=new F,this.setProperty=new F}[as](){return!0}[pa](e){Th(this,e)}[Xe](e){if(Sf(this),!this.ui){this.ui=new qh({}),this.ui[It]=this[It],this[$t](this.ui);let m;switch(this.items.children.length){case 0:m=new c4({}),this.ui.textEdit=m;break;case 1:m=new Q9({}),this.ui.checkButton=m;break;case 2:m=new J9({}),this.ui.choiceList=m;break}this.ui[$t](m)}if(!this.ui||this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return Fe.EMPTY;this.caption&&delete this.caption[ne],this[ao]();const n=this.caption?this.caption[Xe](e).html:null,i=this.w,r=this.h;let s=0,o=0;this.margin&&(s=this.margin.leftInset+this.margin.rightInset,o=this.margin.topInset+this.margin.bottomInset);let a=null;if(this.w===""||this.h===""){let m=null,w=null,O=0,k=0;if(this.ui.checkButton)O=k=this.ui.checkButton.size;else{const{w:E,h:D}=Rh(this,e);E!==null?(O=E,k=D):k=Ow(this.font,!0).lineNoGap}if(a=q9(this.ui[Tn]()),O+=a.w,k+=a.h,this.caption){const{w:E,h:D,isBroken:v}=this.caption[Tn](e);if(v&&this[nn]()[Ti]())return this[ga](),Fe.FAILURE;switch(m=E,w=D,this.caption.placement){case"left":case"right":case"inline":m+=O;break;case"top":case"bottom":w+=k;break}}else m=O,w=k;m&&this.w===""&&(m+=s,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1<m?m:this.minW)),w&&this.h===""&&(w+=o,this.h=Math.min(this.maxH<=0?1/0:this.maxH,this.minH+1<w?w:this.minH))}if(this[ga](),jf(this),Rf(this),!Df(this,e))return this.w=i,this.h=r,this[ga](),Fe.FAILURE;Mf(this);const c=ra(this,"font","dimensions","position","rotate","anchorType","presence","margin","hAlign");C9(this,c);const f=["xfaField"];this.font&&f.push("xfaFont"),ro(this)&&f.push("xfaPrintOnly");const l={style:c,id:this[vt],class:f};c.margin&&(c.padding=c.margin,delete c.margin),Mh(this,f),this.name&&(l.xfaName=this.name);const d=[],h={name:"div",attributes:l,children:d};Cf(this,l);const u=this.border?this.border[xt]():null,g=M9(this,h,e),p=this.ui[Xe]().html;if(!p)return Object.assign(c,u),Fe.success(ss(this,h),g);this[Va]&&(p.children?.[0]?p.children[0].attributes.tabindex=this[Va]:p.attributes.tabindex=this[Va]),p.attributes.style||=Object.create(null);let x=null;if(this.ui.button?(p.children.length===1&&([x]=p.children.splice(0,1)),Object.assign(p.attributes.style,u)):Object.assign(c,u),d.push(p),this.value){if(this.ui.imageEdit)p.children.push(this.value[Xe]().html);else if(!this.ui.button){let m="";if(this.value.exData)m=this.value.exData[ln]();else if(this.value.text)m=this.value.text[Tn]();else{const w=this.value[Xe]().html;w!==null&&(m=w.children[0].value)}this.ui.textEdit&&this.value.text?.maxChars&&(p.children[0].attributes.maxLength=this.value.text.maxChars),m&&(this.ui.numericEdit&&(m=parseFloat(m),m=isNaN(m)?"":m.toString()),p.children[0].name==="textarea"?p.children[0].attributes.textContent=m:p.children[0].attributes.value=m)}}if(!this.ui.imageEdit&&p.children?.[0]&&this.h){a=a||q9(this.ui[Tn]());let m=0;if(this.caption&&["top","bottom"].includes(this.caption.placement)){m=this.caption.reserve,m<=0&&(m=this.caption[Tn](e).h);const w=this.h-m-o-a.h;p.children[0].attributes.style.height=Je(w)}else p.children[0].attributes.style.height="100%"}if(x&&p.children.push(x),!n)return p.attributes.class&&p.attributes.class.push("xfaLeft"),this.w=i,this.h=r,Fe.success(ss(this,h),g);if(this.ui.button)return c.padding&&delete c.padding,n.name==="div"&&(n.name="span"),p.children.push(n),Fe.success(h,g);switch(this.ui.checkButton&&(n.attributes.class[0]="xfaCaptionForCheckButton"),p.attributes.class||=[],p.children.splice(0,0,n),this.caption.placement){case"left":p.attributes.class.push("xfaLeft");break;case"right":p.attributes.class.push("xfaRight");break;case"top":p.attributes.class.push("xfaTop");break;case"bottom":p.attributes.class.push("xfaBottom");break;case"inline":p.attributes.class.push("xfaLeft");break}return this.w=i,this.h=r,Fe.success(ss(this,h),g)}}class m_ extends ae{constructor(e){super(xe,"fill",!0),this.id=e.id||"",this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.use=e.use||"",this.usehref=e.usehref||"",this.color=null,this.extras=null,this.linear=null,this.pattern=null,this.radial=null,this.solid=null,this.stipple=null}[xt](){const e=this[et](),i=e[et]()[et](),r=Object.create(null);let s="color",o=s;e instanceof W9&&(s="background-color",o="background",i instanceof qh&&(r.backgroundColor="white")),(e instanceof r4||e instanceof X9)&&(s=o="fill",r.fill="white");for(const a of Object.getOwnPropertyNames(this)){if(a==="extras"||a==="color")continue;const c=this[a];if(!(c instanceof ae))continue;const f=c[xt](this.color);return f&&(r[f.startsWith("#")?s:o]=f),r}if(this.color?.value){const a=this.color[xt]();r[a.startsWith("#")?s:o]=a}return r}}class x_ extends ae{constructor(e){super(xe,"filter",!0),this.addRevocationInfo=fe(e.addRevocationInfo,["","required","optional","none"]),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||"",this.version=Qe({data:this.version,defaultValue:5,validate:n=>n>=1&&n<=5}),this.appearanceFilter=null,this.certificates=null,this.digestMethods=null,this.encodings=null,this.encryptionMethods=null,this.handler=null,this.lockDocument=null,this.mdp=null,this.reasons=null,this.timeStamp=null}}class y_ extends Gt{constructor(e){super(xe,"float"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}[Dt](){const e=parseFloat(this[oe].trim());this[oe]=isNaN(e)?null:e}[Xe](e){return yr(this[oe]!==null?this[oe].toString():"")}}class w_ extends ae{constructor(e){super(xe,"font",!0),this.baselineShift=Se(e.baselineShift),this.fontHorizontalScale=Pf({data:e.fontHorizontalScale,defaultValue:100,validate:n=>n>=0}),this.fontVerticalScale=Pf({data:e.fontVerticalScale,defaultValue:100,validate:n=>n>=0}),this.id=e.id||"",this.kerningMode=fe(e.kerningMode,["none","pair"]),this.letterSpacing=Se(e.letterSpacing,"0"),this.lineThrough=Qe({data:e.lineThrough,defaultValue:0,validate:n=>n===1||n===2}),this.lineThroughPeriod=fe(e.lineThroughPeriod,["all","word"]),this.overline=Qe({data:e.overline,defaultValue:0,validate:n=>n===1||n===2}),this.overlinePeriod=fe(e.overlinePeriod,["all","word"]),this.posture=fe(e.posture,["normal","italic"]),this.size=Se(e.size,"10pt"),this.typeface=e.typeface||"Courier",this.underline=Qe({data:e.underline,defaultValue:0,validate:n=>n===1||n===2}),this.underlinePeriod=fe(e.underlinePeriod,["all","word"]),this.use=e.use||"",this.usehref=e.usehref||"",this.weight=fe(e.weight,["normal","bold"]),this.extras=null,this.fill=null}[Ba](e){super[Ba](e),this[It].usedTypefaces.add(this.typeface)}[xt](){const e=ra(this,"fill"),n=e.color;return n&&(n==="#000000"?delete e.color:n.startsWith("#")||(e.background=n,e.backgroundClip="text",e.color="transparent")),this.baselineShift&&(e.verticalAlign=Je(this.baselineShift)),e.fontKerning=this.kerningMode==="none"?"none":"normal",e.letterSpacing=Je(this.letterSpacing),this.lineThrough!==0&&(e.textDecoration="line-through",this.lineThrough===2&&(e.textDecorationStyle="double")),this.overline!==0&&(e.textDecoration="overline",this.overline===2&&(e.textDecorationStyle="double")),e.fontStyle=this.posture,e.fontSize=Je(.99*this.size),N9(this,this,this[It].fontFinder,e),this.underline!==0&&(e.textDecoration="underline",this.underline===2&&(e.textDecorationStyle="double")),e.fontWeight=this.weight,e}}class __ extends ae{constructor(e){super(xe,"format",!0),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.picture=null}}class O_ extends ot{constructor(e){super(xe,"handler"),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||""}}class k_ extends ae{constructor(e){super(xe,"hyphenation"),this.excludeAllCaps=Qe({data:e.excludeAllCaps,defaultValue:0,validate:n=>n===1}),this.excludeInitialCap=Qe({data:e.excludeInitialCap,defaultValue:0,validate:n=>n===1}),this.hyphenate=Qe({data:e.hyphenate,defaultValue:0,validate:n=>n===1}),this.id=e.id||"",this.pushCharacterCount=Qe({data:e.pushCharacterCount,defaultValue:3,validate:n=>n>=0}),this.remainCharacterCount=Qe({data:e.remainCharacterCount,defaultValue:3,validate:n=>n>=0}),this.use=e.use||"",this.usehref=e.usehref||"",this.wordCharacterCount=Qe({data:e.wordCharacterCount,defaultValue:7,validate:n=>n>=0})}}class a4 extends ot{constructor(e){super(xe,"image"),this.aspect=fe(e.aspect,["fit","actual","height","none","width"]),this.contentType=e.contentType||"",this.href=e.href||"",this.id=e.id||"",this.name=e.name||"",this.transferEncoding=fe(e.transferEncoding,["base64","none","package"]),this.use=e.use||"",this.usehref=e.usehref||""}[Xe](){if(this.contentType&&!Rw.has(this.contentType.toLowerCase()))return Fe.EMPTY;let e=this[It].images?.get(this.href);if(!e&&(this.href||!this[oe])||(!e&&this.transferEncoding==="base64"&&(e=Q6(this[oe])),!e))return Fe.EMPTY;if(!this.contentType){for(const[s,o]of Mw)if(e.length>s.length&&s.every((a,c)=>a===e[c])){this.contentType=o;break}if(!this.contentType)return Fe.EMPTY}const n=new Blob([e],{type:this.contentType});let i;switch(this.aspect){case"fit":case"actual":break;case"height":i={height:"100%",objectFit:"fill"};break;case"none":i={width:"100%",height:"100%",objectFit:"fill"};break;case"width":i={width:"100%",objectFit:"fill"};break}const r=this[et]();return Fe.success({name:"img",attributes:{class:["xfaImage"],style:i,src:URL.createObjectURL(n),alt:r?cs(r[et]()):null}})}}class P_ extends ae{constructor(e){super(xe,"imageEdit",!0),this.data=fe(e.data,["link","embed"]),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.border=null,this.extras=null,this.margin=null}[Xe](e){return this.data==="embed"?Fe.success({name:"div",children:[],attributes:{}}):Fe.EMPTY}}class v_ extends Gt{constructor(e){super(xe,"integer"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}[Dt](){const e=parseInt(this[oe].trim(),10);this[oe]=isNaN(e)?null:e}[Xe](e){return yr(this[oe]!==null?this[oe].toString():"")}}class A_ extends ae{constructor(e){super(xe,"issuers",!0),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||"",this.certificate=new F}}class Yh extends ae{constructor(e){super(xe,"items",!0),this.id=e.id||"",this.name=e.name||"",this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.ref=e.ref||"",this.save=Qe({data:e.save,defaultValue:0,validate:n=>n===1}),this.use=e.use||"",this.usehref=e.usehref||"",this.boolean=new F,this.date=new F,this.dateTime=new F,this.decimal=new F,this.exData=new F,this.float=new F,this.image=new F,this.integer=new F,this.text=new F,this.time=new F}[Xe](){const e=[];for(const n of this[jn]())e.push(n[ln]());return Fe.success(e)}}class E_ extends ae{constructor(e){super(xe,"keep",!0),this.id=e.id||"";const n=["none","contentArea","pageArea"];this.intact=fe(e.intact,n),this.next=fe(e.next,n),this.previous=fe(e.previous,n),this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null}}class j_ extends ae{constructor(e){super(xe,"keyUsage");const n=["","yes","no"];this.crlSign=fe(e.crlSign,n),this.dataEncipherment=fe(e.dataEncipherment,n),this.decipherOnly=fe(e.decipherOnly,n),this.digitalSignature=fe(e.digitalSignature,n),this.encipherOnly=fe(e.encipherOnly,n),this.id=e.id||"",this.keyAgreement=fe(e.keyAgreement,n),this.keyCertSign=fe(e.keyCertSign,n),this.keyEncipherment=fe(e.keyEncipherment,n),this.nonRepudiation=fe(e.nonRepudiation,n),this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||""}}class D_ extends ae{constructor(e){super(xe,"line",!0),this.hand=fe(e.hand,["even","left","right"]),this.id=e.id||"",this.slope=fe(e.slope,["\\","/"]),this.use=e.use||"",this.usehref=e.usehref||"",this.edge=null}[Xe](){const e=this[et]()[et](),n=this.edge||new zc({}),i=n[xt](),r=Object.create(null),s=n.presence==="visible"?n.thickness:0;r.strokeWidth=Je(s),r.stroke=i.color;let o,a,c,f,l="100%",d="100%";e.w<=s?([o,a,c,f]=["50%",0,"50%","100%"],l=r.strokeWidth):e.h<=s?([o,a,c,f]=[0,"50%","100%","50%"],d=r.strokeWidth):this.slope==="\\"?[o,a,c,f]=[0,0,"100%","100%"]:[o,a,c,f]=[0,"100%","100%",0];const u={name:"svg",children:[{name:"line",attributes:{xmlns:os,x1:o,y1:a,x2:c,y2:f,style:r}}],attributes:{xmlns:os,width:l,height:d,style:{overflow:"visible"}}};return Uh(e)?Fe.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[u]}):(u.attributes.style.position="absolute",Fe.success(u))}}class I_ extends ae{constructor(e){super(xe,"linear",!0),this.id=e.id||"",this.type=fe(e.type,["toRight","toBottom","toLeft","toTop"]),this.use=e.use||"",this.usehref=e.usehref||"",this.color=null,this.extras=null}[xt](e){e=e?e[xt]():"#FFFFFF";const n=this.type.replace(/([RBLT])/," $1").toLowerCase(),i=this.color?this.color[xt]():"#000000";return`linear-gradient(${n}, ${e}, ${i})`}}class S_ extends Gt{constructor(e){super(xe,"lockDocument"),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||""}[Dt](){this[oe]=fe(this[oe],["auto","0","1"])}}class C_ extends ae{constructor(e){super(xe,"manifest",!0),this.action=fe(e.action,["include","all","exclude"]),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.ref=new F}}class R_ extends ae{constructor(e){super(xe,"margin",!0),this.bottomInset=Se(e.bottomInset,"0"),this.id=e.id||"",this.leftInset=Se(e.leftInset,"0"),this.rightInset=Se(e.rightInset,"0"),this.topInset=Se(e.topInset,"0"),this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null}[xt](){return{margin:Je(this.topInset)+" "+Je(this.rightInset)+" "+Je(this.bottomInset)+" "+Je(this.leftInset)}}}class M_ extends ae{constructor(e){super(xe,"mdp"),this.id=e.id||"",this.permissions=Qe({data:e.permissions,defaultValue:2,validate:n=>n===1||n===3}),this.signatureType=fe(e.signatureType,["filler","author"]),this.use=e.use||"",this.usehref=e.usehref||""}}class U_ extends ae{constructor(e){super(xe,"medium"),this.id=e.id||"",this.imagingBBox=ww(e.imagingBBox),this.long=Se(e.long),this.orientation=fe(e.orientation,["portrait","landscape"]),this.short=Se(e.short),this.stock=e.stock||"",this.trayIn=fe(e.trayIn,["auto","delegate","pageFront"]),this.trayOut=fe(e.trayOut,["auto","delegate"]),this.use=e.use||"",this.usehref=e.usehref||""}}class T_ extends ae{constructor(e){super(xe,"message",!0),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.text=new F}}class L_ extends ae{constructor(e){super(xe,"numericEdit",!0),this.hScrollPolicy=fe(e.hScrollPolicy,["auto","off","on"]),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[Xe](e){const n=ra(this,"border","font","margin"),i=this[et]()[et](),r={name:"input",attributes:{type:"text",fieldId:i[vt],dataId:i[Ya]?.[vt]||i[vt],class:["xfaTextfield"],style:n,"aria-label":cs(i),"aria-required":!1}};return Zc(i)&&(r.attributes["aria-required"]=!0,r.attributes.required=!0),Fe.success({name:"label",attributes:{class:["xfaLabel"]},children:[r]})}}class F_ extends ae{constructor(e){super(xe,"occur",!0),this.id=e.id||"",this.initial=e.initial!==""?Qe({data:e.initial,defaultValue:"",validate:n=>!0}):"",this.max=e.max!==""?Qe({data:e.max,defaultValue:1,validate:n=>!0}):"",this.min=e.min!==""?Qe({data:e.min,defaultValue:1,validate:n=>!0}):"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null}[Ba](){const e=this[et](),n=this.min;this.min===""&&(this.min=e instanceof so||e instanceof qc?0:1),this.max===""&&(n===""?this.max=e instanceof so||e instanceof qc?-1:1:this.max=this.min),this.max!==-1&&this.max<this.min&&(this.max=this.min),this.initial===""&&(this.initial=e instanceof zh?1:this.min)}}class N_ extends ot{constructor(e){super(xe,"oid"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class B_ extends ae{constructor(e){super(xe,"oids",!0),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||"",this.oid=new F}}class i4 extends ae{constructor(e){super(xe,"overflow"),this.id=e.id||"",this.leader=e.leader||"",this.target=e.target||"",this.trailer=e.trailer||"",this.use=e.use||"",this.usehref=e.usehref||""}[Tn](){if(!this[ne]){const e=this[et](),n=this[an](),i=n[Fi](this.target,e),r=n[Fi](this.leader,e),s=n[Fi](this.trailer,e);this[ne]={target:i?.[0]||null,leader:r?.[0]||null,trailer:s?.[0]||null,addLeader:!1,addTrailer:!1}}return this[ne]}}class so extends ae{constructor(e){super(xe,"pageArea",!0),this.blankOrNotBlank=fe(e.blankOrNotBlank,["any","blank","notBlank"]),this.id=e.id||"",this.initialNumber=Qe({data:e.initialNumber,defaultValue:1,validate:n=>!0}),this.name=e.name||"",this.numbered=Qe({data:e.numbered,defaultValue:1,validate:n=>!0}),this.oddOrEven=fe(e.oddOrEven,["any","even","odd"]),this.pagePosition=fe(e.pagePosition,["any","first","last","only","rest"]),this.relevant=Qa(e.relevant),this.use=e.use||"",this.usehref=e.usehref||"",this.desc=null,this.extras=null,this.medium=null,this.occur=null,this.area=new F,this.contentArea=new F,this.draw=new F,this.exclGroup=new F,this.field=new F,this.subform=new F}[Lc](){return this[ne]?!this.occur||this.occur.max===-1||this[ne].numberOfUse<this.occur.max:(this[ne]={numberOfUse:0},!0)}[Qs](){delete this[ne]}[Mi](){this[ne]||={numberOfUse:0};const e=this[et]();return e.relation==="orderedOccurrence"&&this[Lc]()?(this[ne].numberOfUse+=1,this):e[Mi]()}[ns](){return this[ne].space||{width:0,height:0}}[Xe](){this[ne]||={numberOfUse:1};const e=[];this[ne].children=e;const n=Object.create(null);if(this.medium&&this.medium.short&&this.medium.long){if(n.width=Je(this.medium.short),n.height=Je(this.medium.long),this[ne].space={width:this.medium.short,height:this.medium.long},this.medium.orientation==="landscape"){const i=n.width;n.width=n.height,n.height=i,this[ne].space={width:this.medium.long,height:this.medium.short}}}else L("XFA - No medium specified in pageArea: please file a bug.");return this[br]({filter:new Set(["area","draw","field","subform"]),include:!0}),this[br]({filter:new Set(["contentArea"]),include:!0}),Fe.success({name:"div",children:e,attributes:{class:["xfaPage"],id:this[vt],style:n,xfaName:this.name}})}}class qc extends ae{constructor(e){super(xe,"pageSet",!0),this.duplexImposition=fe(e.duplexImposition,["longEdge","shortEdge"]),this.id=e.id||"",this.name=e.name||"",this.relation=fe(e.relation,["orderedOccurrence","duplexPaginated","simplexPaginated"]),this.relevant=Qa(e.relevant),this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.occur=null,this.pageArea=new F,this.pageSet=new F}[Qs](){for(const e of this.pageArea.children)e[Qs]();for(const e of this.pageSet.children)e[Qs]()}[Lc](){return!this.occur||this.occur.max===-1||this[ne].numberOfUse<this.occur.max}[Mi](){if(this[ne]||={numberOfUse:1,pageIndex:-1,pageSetIndex:-1},this.relation==="orderedOccurrence"){if(this[ne].pageIndex+1<this.pageArea.children.length)return this[ne].pageIndex+=1,this.pageArea.children[this[ne].pageIndex][Mi]();if(this[ne].pageSetIndex+1<this.pageSet.children.length)return this[ne].pageSetIndex+=1,this.pageSet.children[this[ne].pageSetIndex][Mi]();if(this[Lc]())return this[ne].numberOfUse+=1,this[ne].pageIndex=-1,this[ne].pageSetIndex=-1,this[Mi]();const s=this[et]();return s instanceof qc?s[Mi]():(this[Qs](),this[Mi]())}const e=this[an]()[ne].pageNumber,n=e%2===0?"even":"odd",i=e===0?"first":"rest";let r=this.pageArea.children.find(s=>s.oddOrEven===n&&s.pagePosition===i);return r||(r=this.pageArea.children.find(s=>s.oddOrEven==="any"&&s.pagePosition===i),r)||(r=this.pageArea.children.find(s=>s.oddOrEven==="any"&&s.pagePosition==="any"),r)?r:this.pageArea.children[0]}}class Y_ extends ae{constructor(e){super(xe,"para",!0),this.hAlign=fe(e.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=e.id||"",this.lineHeight=e.lineHeight?Se(e.lineHeight,"0pt"):"",this.marginLeft=e.marginLeft?Se(e.marginLeft,"0pt"):"",this.marginRight=e.marginRight?Se(e.marginRight,"0pt"):"",this.orphans=Qe({data:e.orphans,defaultValue:0,validate:n=>n>=0}),this.preserve=e.preserve||"",this.radixOffset=e.radixOffset?Se(e.radixOffset,"0pt"):"",this.spaceAbove=e.spaceAbove?Se(e.spaceAbove,"0pt"):"",this.spaceBelow=e.spaceBelow?Se(e.spaceBelow,"0pt"):"",this.tabDefault=e.tabDefault?Se(this.tabDefault):"",this.tabStops=(e.tabStops||"").trim().split(/\s+/).map((n,i)=>i%2===1?Se(n):n),this.textIndent=e.textIndent?Se(e.textIndent,"0pt"):"",this.use=e.use||"",this.usehref=e.usehref||"",this.vAlign=fe(e.vAlign,["top","bottom","middle"]),this.widows=Qe({data:e.widows,defaultValue:0,validate:n=>n>=0}),this.hyphenation=null}[xt](){const e=ra(this,"hAlign");return this.marginLeft!==""&&(e.paddingLeft=Je(this.marginLeft)),this.marginRight!==""&&(e.paddingRight=Je(this.marginRight)),this.spaceAbove!==""&&(e.paddingTop=Je(this.spaceAbove)),this.spaceBelow!==""&&(e.paddingBottom=Je(this.spaceBelow)),this.textIndent!==""&&(e.textIndent=Je(this.textIndent),T9(e)),this.lineHeight>0&&(e.lineHeight=Je(this.lineHeight)),this.tabDefault!==""&&(e.tabSize=Je(this.tabDefault)),this.tabStops.length>0,this.hyphenatation&&Object.assign(e,this.hyphenatation[xt]()),e}}class H_ extends ae{constructor(e){super(xe,"passwordEdit",!0),this.hScrollPolicy=fe(e.hScrollPolicy,["auto","off","on"]),this.id=e.id||"",this.passwordChar=e.passwordChar||"*",this.use=e.use||"",this.usehref=e.usehref||"",this.border=null,this.extras=null,this.margin=null}}class Z_ extends ae{constructor(e){super(xe,"pattern",!0),this.id=e.id||"",this.type=fe(e.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),this.use=e.use||"",this.usehref=e.usehref||"",this.color=null,this.extras=null}[xt](e){e=e?e[xt]():"#FFFFFF";const n=this.color?this.color[xt]():"#000000",i=5,r="repeating-linear-gradient",s=`${e},${e} ${i}px,${n} ${i}px,${n} ${2*i}px`;switch(this.type){case"crossHatch":return`${r}(to top,${s}) ${r}(to right,${s})`;case"crossDiagonal":return`${r}(45deg,${s}) ${r}(-45deg,${s})`;case"diagonalLeft":return`${r}(45deg,${s})`;case"diagonalRight":return`${r}(-45deg,${s})`;case"horizontal":return`${r}(to top,${s})`;case"vertical":return`${r}(to right,${s})`}return""}}class z_ extends ot{constructor(e){super(xe,"picture"),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||""}}class q_ extends ae{constructor(e){super(xe,"proto",!0),this.appearanceFilter=new F,this.arc=new F,this.area=new F,this.assist=new F,this.barcode=new F,this.bindItems=new F,this.bookend=new F,this.boolean=new F,this.border=new F,this.break=new F,this.breakAfter=new F,this.breakBefore=new F,this.button=new F,this.calculate=new F,this.caption=new F,this.certificate=new F,this.certificates=new F,this.checkButton=new F,this.choiceList=new F,this.color=new F,this.comb=new F,this.connect=new F,this.contentArea=new F,this.corner=new F,this.date=new F,this.dateTime=new F,this.dateTimeEdit=new F,this.decimal=new F,this.defaultUi=new F,this.desc=new F,this.digestMethod=new F,this.digestMethods=new F,this.draw=new F,this.edge=new F,this.encoding=new F,this.encodings=new F,this.encrypt=new F,this.encryptData=new F,this.encryption=new F,this.encryptionMethod=new F,this.encryptionMethods=new F,this.event=new F,this.exData=new F,this.exObject=new F,this.exclGroup=new F,this.execute=new F,this.extras=new F,this.field=new F,this.fill=new F,this.filter=new F,this.float=new F,this.font=new F,this.format=new F,this.handler=new F,this.hyphenation=new F,this.image=new F,this.imageEdit=new F,this.integer=new F,this.issuers=new F,this.items=new F,this.keep=new F,this.keyUsage=new F,this.line=new F,this.linear=new F,this.lockDocument=new F,this.manifest=new F,this.margin=new F,this.mdp=new F,this.medium=new F,this.message=new F,this.numericEdit=new F,this.occur=new F,this.oid=new F,this.oids=new F,this.overflow=new F,this.pageArea=new F,this.pageSet=new F,this.para=new F,this.passwordEdit=new F,this.pattern=new F,this.picture=new F,this.radial=new F,this.reason=new F,this.reasons=new F,this.rectangle=new F,this.ref=new F,this.script=new F,this.setProperty=new F,this.signData=new F,this.signature=new F,this.signing=new F,this.solid=new F,this.speak=new F,this.stipple=new F,this.subform=new F,this.subformSet=new F,this.subjectDN=new F,this.subjectDNs=new F,this.submit=new F,this.text=new F,this.textEdit=new F,this.time=new F,this.timeStamp=new F,this.toolTip=new F,this.traversal=new F,this.traverse=new F,this.ui=new F,this.validate=new F,this.value=new F,this.variables=new F}}class $_ extends ae{constructor(e){super(xe,"radial",!0),this.id=e.id||"",this.type=fe(e.type,["toEdge","toCenter"]),this.use=e.use||"",this.usehref=e.usehref||"",this.color=null,this.extras=null}[xt](e){e=e?e[xt]():"#FFFFFF";const n=this.color?this.color[xt]():"#000000";return`radial-gradient(circle at center, ${this.type==="toEdge"?`${e},${n}`:`${n},${e}`})`}}class G_ extends ot{constructor(e){super(xe,"reason"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class X_ extends ae{constructor(e){super(xe,"reasons",!0),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||"",this.reason=new F}}class r4 extends ae{constructor(e){super(xe,"rectangle",!0),this.hand=fe(e.hand,["even","left","right"]),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.corner=new F(4),this.edge=new F(4),this.fill=null}[Xe](){const e=this.edge.children.length?this.edge.children[0]:new zc({}),n=e[xt](),i=Object.create(null);this.fill?.presence==="visible"?Object.assign(i,this.fill[xt]()):i.fill="transparent",i.strokeWidth=Je(e.presence==="visible"?e.thickness:0),i.stroke=n.color;const s=(this.corner.children.length?this.corner.children[0]:new e4({}))[xt](),a={name:"svg",children:[{name:"rect",attributes:{xmlns:os,width:"100%",height:"100%",x:0,y:0,rx:s.radius,ry:s.radius,style:i}}],attributes:{xmlns:os,style:{overflow:"visible"},width:"100%",height:"100%"}},c=this[et]()[et]();return Uh(c)?Fe.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[a]}):(a.attributes.style.position="absolute",Fe.success(a))}}class W_ extends ot{constructor(e){super(xe,"ref"),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||""}}class V_ extends ot{constructor(e){super(xe,"script"),this.binding=e.binding||"",this.contentType=e.contentType||"",this.id=e.id||"",this.name=e.name||"",this.runAt=fe(e.runAt,["client","both","server"]),this.use=e.use||"",this.usehref=e.usehref||""}}class Hh extends ae{constructor(e){super(xe,"setProperty"),this.connection=e.connection||"",this.ref=e.ref||"",this.target=e.target||""}}class K_ extends ae{constructor(e){super(xe,"signData",!0),this.id=e.id||"",this.operation=fe(e.operation,["sign","clear","verify"]),this.ref=e.ref||"",this.target=e.target||"",this.use=e.use||"",this.usehref=e.usehref||"",this.filter=null,this.manifest=null}}class Q_ extends ae{constructor(e){super(xe,"signature",!0),this.id=e.id||"",this.type=fe(e.type,["PDF1.3","PDF1.6"]),this.use=e.use||"",this.usehref=e.usehref||"",this.border=null,this.extras=null,this.filter=null,this.manifest=null,this.margin=null}}class J_ extends ae{constructor(e){super(xe,"signing",!0),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||"",this.certificate=new F}}class eO extends ae{constructor(e){super(xe,"solid",!0),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null}[xt](e){return e?e[xt]():"#FFFFFF"}}class tO extends ot{constructor(e){super(xe,"speak"),this.disable=Qe({data:e.disable,defaultValue:0,validate:n=>n===1}),this.id=e.id||"",this.priority=fe(e.priority,["custom","caption","name","toolTip"]),this.rid=e.rid||"",this.use=e.use||"",this.usehref=e.usehref||""}}class nO extends ae{constructor(e){super(xe,"stipple",!0),this.id=e.id||"",this.rate=Qe({data:e.rate,defaultValue:50,validate:n=>n>=0&&n<=100}),this.use=e.use||"",this.usehref=e.usehref||"",this.color=null,this.extras=null}[xt](e){const n=this.rate/100;return wt.makeHexColor(Math.round(e.value.r*(1-n)+this.value.r*n),Math.round(e.value.g*(1-n)+this.value.g*n),Math.round(e.value.b*(1-n)+this.value.b*n))}}class s4 extends ae{constructor(e){super(xe,"subform",!0),this.access=fe(e.access,["open","nonInteractive","protected","readOnly"]),this.allowMacro=Qe({data:e.allowMacro,defaultValue:0,validate:n=>n===1}),this.anchorType=fe(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=Qe({data:e.colSpan,defaultValue:1,validate:n=>n>=1||n===-1}),this.columnWidths=(e.columnWidths||"").trim().split(/\s+/).map(n=>n==="-1"?-1:Se(n)),this.h=e.h?Se(e.h):"",this.hAlign=fe(e.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=e.id||"",this.layout=fe(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.locale=e.locale||"",this.maxH=Se(e.maxH,"0pt"),this.maxW=Se(e.maxW,"0pt"),this.mergeMode=fe(e.mergeMode,["consumeData","matchTemplate"]),this.minH=Se(e.minH,"0pt"),this.minW=Se(e.minW,"0pt"),this.name=e.name||"",this.presence=fe(e.presence,["visible","hidden","inactive","invisible"]),this.relevant=Qa(e.relevant),this.restoreState=fe(e.restoreState,["manual","auto"]),this.scope=fe(e.scope,["name","none"]),this.use=e.use||"",this.usehref=e.usehref||"",this.w=e.w?Se(e.w):"",this.x=Se(e.x,"0pt"),this.y=Se(e.y,"0pt"),this.assist=null,this.bind=null,this.bookend=null,this.border=null,this.break=null,this.calculate=null,this.desc=null,this.extras=null,this.keep=null,this.margin=null,this.occur=null,this.overflow=null,this.pageSet=null,this.para=null,this.traversal=null,this.validate=null,this.variables=null,this.area=new F,this.breakAfter=new F,this.breakBefore=new F,this.connect=new F,this.draw=new F,this.event=new F,this.exObject=new F,this.exclGroup=new F,this.field=new F,this.proto=new F,this.setProperty=new F,this.subform=new F,this.subformSet=new F}[nn](){const e=this[et]();return e instanceof Zh?e[nn]():e}[as](){return!0}[Ti](){return this.layout.endsWith("-tb")&&this[ne].attempt===0&&this[ne].numberInLine>0||this[et]()[Ti]()}*[eo](){yield*Lh(this)}[Ic](){return H9(this)}[ts](e,n){Z9(this,e,n)}[ns](){return z9(this)}[Ui](){const e=this[nn]();return e[Ui]()?this[ne]._isSplittable!==void 0?this[ne]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[ne]._isSplittable=!1,!1):this.keep&&this.keep.intact!=="none"?(this[ne]._isSplittable=!1,!1):e.layout?.endsWith("-tb")&&e[ne].numberInLine!==0?!1:(this[ne]._isSplittable=!0,!0):!1}[Xe](e){if(Sf(this),this.break){if(this.break.after!=="auto"||this.break.afterTarget!==""){const k=new V9({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});k[It]=this[It],this[$t](k),this.breakAfter.push(k)}if(this.break.before!=="auto"||this.break.beforeTarget!==""){const k=new K9({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});k[It]=this[It],this[$t](k),this.breakBefore.push(k)}if(this.break.overflowTarget!==""){const k=new i4({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});k[It]=this[It],this[$t](k),this.overflow.push(k)}this[pr](this.break),this.break=null}if(this.presence==="hidden"||this.presence==="inactive")return Fe.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&L("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){const k=this.breakBefore.children[0];if($9(k))return Fe.breakNode(k)}if(this[ne]?.afterBreakAfter)return Fe.EMPTY;jf(this);const n=[],i={id:this[vt],class:[]};Mh(this,i.class),this[ne]||=Object.create(null),Object.assign(this[ne],{children:n,line:null,attributes:i,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});const r=this[an](),s=r[ne].noLayoutFailure,o=this[Ui]();if(o||Rf(this),!Df(this,e))return Fe.FAILURE;const a=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){const k=this[nn]().columnWidths;Array.isArray(k)&&k.length>0&&(this[ne].columnWidths=k,this[ne].currentColumn=0)}const c=ra(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),f=["xfaSubform"],l=U9(this);if(l&&f.push(l),i.style=c,i.class=f,this.name&&(i.xfaName=this.name),this.overflow){const k=this.overflow[Tn]();k.addLeader&&(k.addLeader=!1,G9(this,k.leader,e))}this[ao]();const d=this.layout==="lr-tb"||this.layout==="rl-tb",h=d?If:1;for(;this[ne].attempt<h;this[ne].attempt++){d&&this[ne].attempt===If-1&&(this[ne].numberInLine=0);const k=this[br]({filter:a,include:!0});if(k.success)break;if(k.isBreak())return this[ga](),k;if(d&&this[ne].attempt===0&&this[ne].numberInLine===0&&!r[ne].noLayoutFailure){this[ne].attempt=h;break}}if(this[ga](),o||Mf(this),r[ne].noLayoutFailure=s,this[ne].attempt===h)return this.overflow&&(this[an]()[ne].overflowNode=this.overflow),o||delete this[ne],Fe.FAILURE;if(this.overflow){const k=this.overflow[Tn]();k.addTrailer&&(k.addTrailer=!1,G9(this,k.trailer,e))}let u=0,g=0;this.margin&&(u=this.margin.leftInset+this.margin.rightInset,g=this.margin.topInset+this.margin.bottomInset);const p=Math.max(this[ne].width+u,this.w||0),x=Math.max(this[ne].height+g,this.h||0),m=[this.x,this.y,p,x];if(this.w===""&&(c.width=Je(p)),this.h===""&&(c.height=Je(x)),(c.width==="0px"||c.height==="0px")&&n.length===0)return Fe.EMPTY;const w={name:"div",attributes:i,children:n};Cf(this,i);const O=Fe.success(ss(this,w),m);if(this.breakAfter.children.length>=1){const k=this.breakAfter.children[0];if($9(k))return this[ne].afterBreakAfter=O,Fe.breakNode(k)}return delete this[ne],O}}class Zh extends ae{constructor(e){super(xe,"subformSet",!0),this.id=e.id||"",this.name=e.name||"",this.relation=fe(e.relation,["ordered","choice","unordered"]),this.relevant=Qa(e.relevant),this.use=e.use||"",this.usehref=e.usehref||"",this.bookend=null,this.break=null,this.desc=null,this.extras=null,this.occur=null,this.overflow=null,this.breakAfter=new F,this.breakBefore=new F,this.subform=new F,this.subformSet=new F}*[eo](){yield*Lh(this)}[nn](){let e=this[et]();for(;!(e instanceof s4);)e=e[et]();return e}[as](){return!0}}class aO extends Gt{constructor(e){super(xe,"subjectDN"),this.delimiter=e.delimiter||",",this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}[Dt](){this[oe]=new Map(this[oe].split(this.delimiter).map(e=>(e=e.split("=",2),e[0]=e[0].trim(),e)))}}class iO extends ae{constructor(e){super(xe,"subjectDNs",!0),this.id=e.id||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||"",this.subjectDN=new F}}class rO extends ae{constructor(e){super(xe,"submit",!0),this.embedPDF=Qe({data:e.embedPDF,defaultValue:0,validate:n=>n===1}),this.format=fe(e.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),this.id=e.id||"",this.target=e.target||"",this.textEncoding=vf({data:e.textEncoding?e.textEncoding.toLowerCase():"",defaultValue:"",validate:n=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(n)||n.match(/iso-8859-\d{2}/)}),this.use=e.use||"",this.usehref=e.usehref||"",this.xdpContent=e.xdpContent||"",this.encrypt=null,this.encryptData=new F,this.signData=new F}}class zh extends ae{constructor(e){super(xe,"template",!0),this.baseProfile=fe(e.baseProfile,["full","interactiveForms"]),this.extras=null,this.subform=new F}[Dt](){this.subform.children.length===0&&L("XFA - No subforms in template node."),this.subform.children.length>=2&&L("XFA - Several subforms in template node: please file a bug."),this[Va]=Sw}[Ui](){return!0}[Fi](e,n){return e.startsWith("#")?[this[to].get(e.slice(1))]:mr(this,n,e,!0,!0)}*[w9](){if(!this.subform.children.length)return Fe.success({name:"div",children:[]});this[ne]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]};const e=this.subform.children[0];e.pageSet[Qs]();const n=e.pageSet.pageArea.children,i={name:"div",children:[]};let r=null,s=null,o=null;if(e.breakBefore.children.length>=1?(s=e.breakBefore.children[0],o=s.target):e.subform.children.length>=1&&e.subform.children[0].breakBefore.children.length>=1?(s=e.subform.children[0].breakBefore.children[0],o=s.target):e.break?.beforeTarget?(s=e.break,o=s.beforeTarget):e.subform.children.length>=1&&e.subform.children[0].break?.beforeTarget&&(s=e.subform.children[0].break,o=s.beforeTarget),s){const g=this[Fi](o,s[et]());g instanceof so&&(r=g,s[ne]={})}r||=n[0],r[ne]={numberOfUse:1};const a=r[et]();a[ne]={numberOfUse:1,pageIndex:a.pageArea.children.indexOf(r),pageSetIndex:0};let c,f=null,l=null,d=!0,h=0,u=0;for(;;){if(d)h=0;else if(i.children.pop(),++h===Iw)return L("XFA - Something goes wrong: please file a bug."),i;c=null,this[ne].currentPageArea=r;const g=r[Xe]().html;i.children.push(g),f&&(this[ne].noLayoutFailure=!0,g.children.push(f[Xe](r[ne].space).html),f=null),l&&(this[ne].noLayoutFailure=!0,g.children.push(l[Xe](r[ne].space).html),l=null);const p=r.contentArea.children,x=g.children.filter(w=>w.attributes.class.includes("xfaContentarea"));d=!1,this[ne].firstUnsplittable=null,this[ne].noLayoutFailure=!1;const m=w=>{const O=e[Ic]();O&&(d||=O.children?.length>0,x[w].children.push(O))};for(let w=u,O=p.length;w<O;w++){const k=this[ne].currentContentArea=p[w],E={width:k.w,height:k.h};u=0,f&&(x[w].children.push(f[Xe](E).html),f=null),l&&(x[w].children.push(l[Xe](E).html),l=null);const D=e[Xe](E);if(D.success)return D.html?(d||=D.html.children?.length>0,x[w].children.push(D.html)):!d&&i.children.length>1&&i.children.pop(),i;if(D.isBreak()){const v=D.breakNode;if(m(w),v.targetType==="auto")continue;v.leader&&(f=this[Fi](v.leader,v[et]()),f=f?f[0]:null),v.trailer&&(l=this[Fi](v.trailer,v[et]()),l=l?l[0]:null),v.targetType==="pageArea"?(c=v[ne].target,w=1/0):v[ne].target?(c=v[ne].target,u=v[ne].index+1,w=1/0):w=v[ne].index;continue}if(this[ne].overflowNode){const v=this[ne].overflowNode;this[ne].overflowNode=null;const S=v[Tn](),C=S.target;S.addLeader=S.leader!==null,S.addTrailer=S.trailer!==null,m(w);const R=w;if(w=1/0,C instanceof so)c=C;else if(C instanceof Nh){const T=p.indexOf(C);T!==-1?T>R?w=T-1:u=T:(c=C[et](),u=c.contentArea.children.indexOf(C))}continue}m(w)}this[ne].pageNumber+=1,c&&(c[Lc]()?c[ne].numberOfUse+=1:c=null),r=c||r[Mi](),yield null}}}class o4 extends Gt{constructor(e){super(xe,"text"),this.id=e.id||"",this.maxChars=Qe({data:e.maxChars,defaultValue:0,validate:n=>n>=0}),this.name=e.name||"",this.rid=e.rid||"",this.use=e.use||"",this.usehref=e.usehref||""}[yf](){return!0}[pi](e){return e[rn]===sn.xhtml.id?(this[oe]=e,!0):(L(`XFA - Invalid content in Text: ${e[yt]}.`),!1)}[Li](e){this[oe]instanceof ae||super[Li](e)}[Dt](){typeof this[oe]=="string"&&(this[oe]=this[oe].replaceAll(`\r
|
|
20
|
+
`,`
|
|
21
|
+
`))}[Tn](){return typeof this[oe]=="string"?this[oe].split(/[\u2029\u2028\n]/).filter(e=>!!e).join(`
|
|
22
|
+
`):this[oe][ln]()}[Xe](e){if(typeof this[oe]=="string"){const n=yr(this[oe]).html;return this[oe].includes("\u2029")?(n.name="div",n.children=[],this[oe].split("\u2029").map(i=>i.split(/[\u2028\n]/).flatMap(r=>[{name:"span",value:r},{name:"br"}])).forEach(i=>{n.children.push({name:"p",children:i})})):/[\u2028\n]/.test(this[oe])&&(n.name="div",n.children=[],this[oe].split(/[\u2028\n]/).forEach(i=>{n.children.push({name:"span",value:i},{name:"br"})})),Fe.success(n)}return this[oe][Xe](e)}}class c4 extends ae{constructor(e){super(xe,"textEdit",!0),this.allowRichText=Qe({data:e.allowRichText,defaultValue:0,validate:n=>n===1}),this.hScrollPolicy=fe(e.hScrollPolicy,["auto","off","on"]),this.id=e.id||"",this.multiLine=Qe({data:e.multiLine,defaultValue:"",validate:n=>n===0||n===1}),this.use=e.use||"",this.usehref=e.usehref||"",this.vScrollPolicy=fe(e.vScrollPolicy,["auto","off","on"]),this.border=null,this.comb=null,this.extras=null,this.margin=null}[Xe](e){const n=ra(this,"border","font","margin");let i;const r=this[et]()[et]();return this.multiLine===""&&(this.multiLine=r instanceof t4?1:0),this.multiLine===1?i={name:"textarea",attributes:{dataId:r[Ya]?.[vt]||r[vt],fieldId:r[vt],class:["xfaTextfield"],style:n,"aria-label":cs(r),"aria-required":!1}}:i={name:"input",attributes:{type:"text",dataId:r[Ya]?.[vt]||r[vt],fieldId:r[vt],class:["xfaTextfield"],style:n,"aria-label":cs(r),"aria-required":!1}},Zc(r)&&(i.attributes["aria-required"]=!0,i.attributes.required=!0),Fe.success({name:"label",attributes:{class:["xfaLabel"]},children:[i]})}}class sO extends ot{constructor(e){super(xe,"time"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}[Dt](){const e=this[oe].trim();this[oe]=e?new Date(e):null}[Xe](e){return yr(this[oe]?this[oe].toString():"")}}class oO extends ae{constructor(e){super(xe,"timeStamp"),this.id=e.id||"",this.server=e.server||"",this.type=fe(e.type,["optional","required"]),this.use=e.use||"",this.usehref=e.usehref||""}}class cO extends ot{constructor(e){super(xe,"toolTip"),this.id=e.id||"",this.rid=e.rid||"",this.use=e.use||"",this.usehref=e.usehref||""}}class fO extends ae{constructor(e){super(xe,"traversal",!0),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.traverse=new F}}class lO extends ae{constructor(e){super(xe,"traverse",!0),this.id=e.id||"",this.operation=fe(e.operation,["next","back","down","first","left","right","up"]),this.ref=e.ref||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.script=null}get name(){return this.operation}[Tc](){return!1}}class qh extends ae{constructor(e){super(xe,"ui",!0),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.picture=null,this.barcode=null,this.button=null,this.checkButton=null,this.choiceList=null,this.dateTimeEdit=null,this.defaultUi=null,this.imageEdit=null,this.numericEdit=null,this.passwordEdit=null,this.signature=null,this.textEdit=null}[Tn](){if(this[ne]===void 0){for(const e of Object.getOwnPropertyNames(this)){if(e==="extras"||e==="picture")continue;const n=this[e];if(n instanceof ae)return this[ne]=n,n}this[ne]=null}return this[ne]}[Xe](e){const n=this[Tn]();return n?n[Xe](e):Fe.EMPTY}}class dO extends ae{constructor(e){super(xe,"validate",!0),this.formatTest=fe(e.formatTest,["warning","disabled","error"]),this.id=e.id||"",this.nullTest=fe(e.nullTest,["disabled","error","warning"]),this.scriptTest=fe(e.scriptTest,["error","disabled","warning"]),this.use=e.use||"",this.usehref=e.usehref||"",this.extras=null,this.message=null,this.picture=null,this.script=null}}class $h extends ae{constructor(e){super(xe,"value",!0),this.id=e.id||"",this.override=Qe({data:e.override,defaultValue:0,validate:n=>n===1}),this.relevant=Qa(e.relevant),this.use=e.use||"",this.usehref=e.usehref||"",this.arc=null,this.boolean=null,this.date=null,this.dateTime=null,this.decimal=null,this.exData=null,this.float=null,this.image=null,this.integer=null,this.line=null,this.rectangle=null,this.text=null,this.time=null}[pa](e){const n=this[et]();if(n instanceof Bh&&n.ui?.imageEdit){this.image||(this.image=new a4({}),this[$t](this.image)),this.image[oe]=e[oe];return}const i=e[yt];if(this[i]!==null){this[i][oe]=e[oe];return}for(const r of Object.getOwnPropertyNames(this)){const s=this[r];s instanceof ae&&(this[r]=null,this[pr](s))}this[e[yt]]=e,this[$t](e)}[ln](){if(this.exData)return typeof this.exData[oe]=="string"?this.exData[oe].trim():this.exData[oe][ln]().trim();for(const e of Object.getOwnPropertyNames(this)){if(e==="image")continue;const n=this[e];if(n instanceof ae)return(n[oe]||"").toString().trim()}return null}[Xe](e){for(const n of Object.getOwnPropertyNames(this)){const i=this[n];if(i instanceof ae)return i[Xe](e)}return Fe.EMPTY}}class hO extends ae{constructor(e){super(xe,"variables",!0),this.id=e.id||"",this.use=e.use||"",this.usehref=e.usehref||"",this.boolean=new F,this.date=new F,this.dateTime=new F,this.decimal=new F,this.exData=new F,this.float=new F,this.image=new F,this.integer=new F,this.manifest=new F,this.script=new F,this.text=new F,this.time=new F}[Tc](){return!0}}class Uf{static[Ka](e,n){if(Uf.hasOwnProperty(e)){const i=Uf[e](n);return i[y9](n),i}}static appearanceFilter(e){return new Uw(e)}static arc(e){return new X9(e)}static area(e){return new Tw(e)}static assist(e){return new Lw(e)}static barcode(e){return new Fw(e)}static bind(e){return new Nw(e)}static bindItems(e){return new Fh(e)}static bookend(e){return new Bw(e)}static boolean(e){return new Yw(e)}static border(e){return new W9(e)}static break(e){return new Hw(e)}static breakAfter(e){return new V9(e)}static breakBefore(e){return new K9(e)}static button(e){return new Zw(e)}static calculate(e){return new zw(e)}static caption(e){return new qw(e)}static certificate(e){return new $w(e)}static certificates(e){return new Gw(e)}static checkButton(e){return new Q9(e)}static choiceList(e){return new J9(e)}static color(e){return new Xw(e)}static comb(e){return new Ww(e)}static connect(e){return new Vw(e)}static contentArea(e){return new Nh(e)}static corner(e){return new e4(e)}static date(e){return new Kw(e)}static dateTime(e){return new Qw(e)}static dateTimeEdit(e){return new Jw(e)}static decimal(e){return new e_(e)}static defaultUi(e){return new t_(e)}static desc(e){return new n_(e)}static digestMethod(e){return new a_(e)}static digestMethods(e){return new i_(e)}static draw(e){return new t4(e)}static edge(e){return new zc(e)}static encoding(e){return new r_(e)}static encodings(e){return new s_(e)}static encrypt(e){return new o_(e)}static encryptData(e){return new c_(e)}static encryption(e){return new f_(e)}static encryptionMethod(e){return new l_(e)}static encryptionMethods(e){return new d_(e)}static event(e){return new h_(e)}static exData(e){return new u_(e)}static exObject(e){return new b_(e)}static exclGroup(e){return new n4(e)}static execute(e){return new g_(e)}static extras(e){return new p_(e)}static field(e){return new Bh(e)}static fill(e){return new m_(e)}static filter(e){return new x_(e)}static float(e){return new y_(e)}static font(e){return new w_(e)}static format(e){return new __(e)}static handler(e){return new O_(e)}static hyphenation(e){return new k_(e)}static image(e){return new a4(e)}static imageEdit(e){return new P_(e)}static integer(e){return new v_(e)}static issuers(e){return new A_(e)}static items(e){return new Yh(e)}static keep(e){return new E_(e)}static keyUsage(e){return new j_(e)}static line(e){return new D_(e)}static linear(e){return new I_(e)}static lockDocument(e){return new S_(e)}static manifest(e){return new C_(e)}static margin(e){return new R_(e)}static mdp(e){return new M_(e)}static medium(e){return new U_(e)}static message(e){return new T_(e)}static numericEdit(e){return new L_(e)}static occur(e){return new F_(e)}static oid(e){return new N_(e)}static oids(e){return new B_(e)}static overflow(e){return new i4(e)}static pageArea(e){return new so(e)}static pageSet(e){return new qc(e)}static para(e){return new Y_(e)}static passwordEdit(e){return new H_(e)}static pattern(e){return new Z_(e)}static picture(e){return new z_(e)}static proto(e){return new q_(e)}static radial(e){return new $_(e)}static reason(e){return new G_(e)}static reasons(e){return new X_(e)}static rectangle(e){return new r4(e)}static ref(e){return new W_(e)}static script(e){return new V_(e)}static setProperty(e){return new Hh(e)}static signData(e){return new K_(e)}static signature(e){return new Q_(e)}static signing(e){return new J_(e)}static solid(e){return new eO(e)}static speak(e){return new tO(e)}static stipple(e){return new nO(e)}static subform(e){return new s4(e)}static subformSet(e){return new Zh(e)}static subjectDN(e){return new aO(e)}static subjectDNs(e){return new iO(e)}static submit(e){return new rO(e)}static template(e){return new zh(e)}static text(e){return new o4(e)}static textEdit(e){return new c4(e)}static time(e){return new sO(e)}static timeStamp(e){return new oO(e)}static toolTip(e){return new cO(e)}static traversal(e){return new fO(e)}static traverse(e){return new lO(e)}static ui(e){return new qh(e)}static validate(e){return new dO(e)}static value(e){return new $h(e)}static variables(e){return new hO(e)}}const f4=sn.datasets.id;function Tf(t){const e=new o4({});return e[oe]=t,e}class uO{constructor(e){this.root=e,this.datasets=e.datasets,this.data=e.datasets?.data||new xi(sn.datasets.id,"data"),this.emptyMerge=this.data[jn]().length===0,this.root.form=this.form=e.template[Wa]()}_isConsumeData(){return!this.emptyMerge&&this._mergeMode}_isMatchTemplate(){return!this._isConsumeData()}bind(){return this._bindElement(this.form,this.data),this.form}getData(){return this.data}_bindValue(e,n,i){if(e[Ya]=n,e[Mc]())if(n[no]()){const r=n[wh]();e[pa](Tf(r))}else if(e instanceof Bh&&e.ui?.choiceList?.open==="multiSelect"){const r=n[jn]().map(s=>s[oe].trim()).join(`
|
|
23
|
+
`);e[pa](Tf(r))}else this._isConsumeData()&&L("XFA - Nodes haven't the same type.");else!n[no]()||this._isMatchTemplate()?this._bindElement(e,n):L("XFA - Nodes haven't the same type.")}_findDataByNameToConsume(e,n,i,r){if(!e)return null;let s,o;for(let a=0;a<3;a++){for(s=i[Rc](e,!1,!0);o=s.next().value,!!o;)if(n===o[no]())return o;if(i[rn]===sn.datasets.id&&i[yt]==="data")break;i=i[et]()}return r?(s=this.data[Rc](e,!0,!1),o=s.next().value,o||(s=this.data[yh](e,!0),o=s.next().value,o?.[no]())?o:null):null}_setProperties(e,n){if(e.hasOwnProperty("setProperty"))for(const{ref:i,target:r,connection:s}of e.setProperty.children){if(s||!i)continue;const o=mr(this.root,n,i,!1,!1);if(!o){L(`XFA - Invalid reference: ${i}.`);continue}const[a]=o;if(!a[gr](this.data)){L("XFA - Invalid node: must be a data node.");continue}const c=mr(this.root,e,r,!1,!1);if(!c){L(`XFA - Invalid target: ${r}.`);continue}const[f]=c;if(!f[gr](e)){L("XFA - Invalid target: must be a property or subproperty.");continue}const l=f[et]();if(f instanceof Hh||l instanceof Hh){L("XFA - Invalid target: cannot be a setProperty or one of its properties.");continue}if(f instanceof Fh||l instanceof Fh){L("XFA - Invalid target: cannot be a bindItems or one of its properties.");continue}const d=a[ln](),h=f[yt];if(f instanceof Ch){const u=Object.create(null);u[h]=d;const g=Reflect.construct(Object.getPrototypeOf(l).constructor,[u]);l[h]=g[h];continue}if(!f.hasOwnProperty(oe)){L("XFA - Invalid node to use in setProperty");continue}f[Ya]=a,f[oe]=d,f[Dt]()}}_bindItems(e,n){if(!e.hasOwnProperty("items")||!e.hasOwnProperty("bindItems")||e.bindItems.isEmpty())return;for(const s of e.items.children)e[pr](s);e.items.clear();const i=new Yh({}),r=new Yh({});e[$t](i),e.items.push(i),e[$t](r),e.items.push(r);for(const{ref:s,labelRef:o,valueRef:a,connection:c}of e.bindItems.children){if(c||!s)continue;const f=mr(this.root,n,s,!1,!1);if(!f){L(`XFA - Invalid reference: ${s}.`);continue}for(const l of f){if(!l[gr](this.datasets)){L(`XFA - Invalid ref (${s}): must be a datasets child.`);continue}const d=mr(this.root,l,o,!0,!1);if(!d){L(`XFA - Invalid label: ${o}.`);continue}const[h]=d;if(!h[gr](this.datasets)){L("XFA - Invalid label: must be a datasets child.");continue}const u=mr(this.root,l,a,!0,!1);if(!u){L(`XFA - Invalid value: ${a}.`);continue}const[g]=u;if(!g[gr](this.datasets)){L("XFA - Invalid value: must be a datasets child.");continue}const p=Tf(h[ln]()),x=Tf(g[ln]());i[$t](p),i.text.push(p),r[$t](x),r.text.push(x)}}}_bindOccurrences(e,n,i){let r;if(n.length>1&&(r=e[Wa](),r[pr](r.occur),r.occur=null),this._bindValue(e,n[0],i),this._setProperties(e,n[0]),this._bindItems(e,n[0]),n.length===1)return;const s=e[et](),o=e[yt],a=s[_h](e);for(let c=1,f=n.length;c<f;c++){const l=n[c],d=r[Wa]();s[o].push(d),s[Of](a+c,d),this._bindValue(d,l,i),this._setProperties(d,l),this._bindItems(d,l)}}_createOccurrences(e){if(!this.emptyMerge)return;const{occur:n}=e;if(!n||n.initial<=1)return;const i=e[et](),r=e[yt];if(!(i[r]instanceof F))return;let s;e.name?s=i[r].children.filter(c=>c.name===e.name).length:s=i[r].children.length;const o=i[_h](e)+1,a=n.initial-s;if(a){const c=e[Wa]();c[pr](c.occur),c.occur=null,i[r].push(c),i[Of](o,c);for(let f=1;f<a;f++){const l=c[Wa]();i[r].push(l),i[Of](o+f,l)}}}_getOccurInfo(e){const{name:n,occur:i}=e;if(!i||!n)return[1,1];const r=i.max===-1?1/0:i.max;return[i.min,r]}_setAndBind(e,n){this._setProperties(e,n),this._bindItems(e,n),this._bindElement(e,n)}_bindElement(e,n){const i=[];this._createOccurrences(e);for(const r of e[jn]()){if(r[Ya])continue;if(this._mergeMode===void 0&&r[yt]==="subform"){this._mergeMode=r.mergeMode==="consumeData";const d=n[jn]();if(d.length>0)this._bindOccurrences(r,[d[0]],null);else if(this.emptyMerge){const h=n[rn]===f4?-1:n[rn],u=r[Ya]=new xi(h,r.name||"root");n[$t](u),this._bindElement(r,u)}continue}if(!r[as]())continue;let s=!1,o=null,a=null,c=null;if(r.bind){switch(r.bind.match){case"none":this._setAndBind(r,n);continue;case"global":s=!0;break;case"dataRef":if(!r.bind.ref){L(`XFA - ref is empty in node ${r[yt]}.`),this._setAndBind(r,n);continue}a=r.bind.ref;break}r.bind.picture&&(o=r.bind.picture[oe])}const[f,l]=this._getOccurInfo(r);if(a)if(c=mr(this.root,n,a,!0,!1),c===null){if(c=jw(this.data,n,a),!c)continue;this._isConsumeData()&&(c[gi]=!0),this._setAndBind(r,c);continue}else this._isConsumeData()&&(c=c.filter(d=>!d[gi])),c.length>l?c=c.slice(0,l):c.length===0&&(c=null),c&&this._isConsumeData()&&c.forEach(d=>{d[gi]=!0});else{if(!r.name){this._setAndBind(r,n);continue}if(this._isConsumeData()){const d=[];for(;d.length<l;){const h=this._findDataByNameToConsume(r.name,r[Mc](),n,s);if(!h)break;h[gi]=!0,d.push(h)}c=d.length>0?d:null}else{if(c=n[Rc](r.name,!1,this.emptyMerge).next().value,!c){if(f===0){i.push(r);continue}const d=n[rn]===f4?-1:n[rn];c=r[Ya]=new xi(d,r.name),this.emptyMerge&&(c[gi]=!0),n[$t](c),this._setAndBind(r,c);continue}this.emptyMerge&&(c[gi]=!0),c=[c]}}c?this._bindOccurrences(r,c,o):f>0?this._setAndBind(r,n):i.push(r)}i.forEach(r=>r[et]()[pr](r))}}class bO{constructor(e,n){this.data=n,this.dataset=e.datasets||null}serialize(e){const n=[[-1,this.data[jn]()]];for(;n.length>0;){const r=n.at(-1),[s,o]=r;if(s+1===o.length){n.pop();continue}const a=o[++r[0]],c=e.get(a[vt]);if(c)a[pa](c);else{const l=a[m9]();for(const d of l.values()){const h=e.get(d[vt]);if(h){d[pa](h);break}}}const f=a[jn]();f.length>0&&n.push([-1,f])}const i=['<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">'];if(this.dataset)for(const r of this.dataset[jn]())r[yt]!=="data"&&r[Nc](i);return this.data[Nc](i),i.push("</xfa:datasets>"),i.join("")}}const de=sn.config.id;class gO extends ae{constructor(e){super(de,"acrobat",!0),this.acrobat7=null,this.autoSave=null,this.common=null,this.validate=null,this.validateApprovalSignatures=null,this.submitUrl=new F}}class pO extends ae{constructor(e){super(de,"acrobat7",!0),this.dynamicRender=null}}class mO extends At{constructor(e){super(de,"ADBE_JSConsole",["delegate","Enable","Disable"])}}class xO extends At{constructor(e){super(de,"ADBE_JSDebugger",["delegate","Enable","Disable"])}}class yO extends dn{constructor(e){super(de,"addSilentPrint")}}class wO extends dn{constructor(e){super(de,"addViewerPreferences")}}class _O extends I9{constructor(e){super(de,"adjustData")}}class OO extends Ja{constructor(e){super(de,"adobeExtensionLevel",0,n=>n>=1&&n<=8)}}class kO extends ae{constructor(e){super(de,"agent",!0),this.name=e.name?e.name.trim():"",this.common=new F}}class PO extends Gt{constructor(e){super(de,"alwaysEmbed")}}class vO extends ot{constructor(e){super(de,"amd")}}class AO extends ae{constructor(e){super(de,"area"),this.level=Qe({data:e.level,defaultValue:0,validate:n=>n>=1&&n<=3}),this.name=fe(e.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"])}}class EO extends At{constructor(e){super(de,"attributes",["preserve","delegate","ignore"])}}class jO extends At{constructor(e){super(de,"autoSave",["disabled","enabled"])}}class DO extends ot{constructor(e){super(de,"base")}}class IO extends ae{constructor(e){super(de,"batchOutput"),this.format=fe(e.format,["none","concat","zip","zipCompress"])}}class SO extends Gt{constructor(e){super(de,"behaviorOverride")}[Dt](){this[oe]=new Map(this[oe].trim().split(/\s+/).filter(e=>e.includes(":")).map(e=>e.split(":",2)))}}class CO extends ae{constructor(e){super(de,"cache",!0),this.templateCache=null}}class RO extends dn{constructor(e){super(de,"change")}}class MO extends ae{constructor(e){super(de,"common",!0),this.data=null,this.locale=null,this.localeSet=null,this.messaging=null,this.suppressBanner=null,this.template=null,this.validationMessaging=null,this.versionControl=null,this.log=new F}}class UO extends ae{constructor(e){super(de,"compress"),this.scope=fe(e.scope,["imageOnly","document"])}}class TO extends dn{constructor(e){super(de,"compressLogicalStructure")}}class LO extends I9{constructor(e){super(de,"compressObjectStream")}}class FO extends ae{constructor(e){super(de,"compression",!0),this.compressLogicalStructure=null,this.compressObjectStream=null,this.level=null,this.type=null}}class NO extends ae{constructor(e){super(de,"config",!0),this.acrobat=null,this.present=null,this.trace=null,this.agent=new F}}class BO extends At{constructor(e){super(de,"conformance",["A","B"])}}class YO extends dn{constructor(e){super(de,"contentCopy")}}class HO extends Ja{constructor(e){super(de,"copies",1,n=>n>=1)}}class ZO extends ot{constructor(e){super(de,"creator")}}class zO extends Ja{constructor(e){super(de,"currentPage",0,n=>n>=0)}}class qO extends ae{constructor(e){super(de,"data",!0),this.adjustData=null,this.attributes=null,this.incrementalLoad=null,this.outputXSL=null,this.range=null,this.record=null,this.startNode=null,this.uri=null,this.window=null,this.xsl=null,this.excludeNS=new F,this.transform=new F}}class $O extends ae{constructor(e){super(de,"debug",!0),this.uri=null}}class GO extends Gt{constructor(e){super(de,"defaultTypeface"),this.writingScript=fe(e.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"])}}class XO extends At{constructor(e){super(de,"destination",["pdf","pcl","ps","webClient","zpl"])}}class WO extends dn{constructor(e){super(de,"documentAssembly")}}class VO extends ae{constructor(e){super(de,"driver",!0),this.name=e.name?e.name.trim():"",this.fontInfo=null,this.xdc=null}}class KO extends At{constructor(e){super(de,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}}class QO extends At{constructor(e){super(de,"dynamicRender",["forbidden","required"])}}class JO extends dn{constructor(e){super(de,"embed")}}class ek extends dn{constructor(e){super(de,"encrypt")}}class tk extends ae{constructor(e){super(de,"encryption",!0),this.encrypt=null,this.encryptionLevel=null,this.permissions=null}}class nk extends At{constructor(e){super(de,"encryptionLevel",["40bit","128bit"])}}class ak extends ot{constructor(e){super(de,"enforce")}}class ik extends ae{constructor(e){super(de,"equate"),this.force=Qe({data:e.force,defaultValue:1,validate:n=>n===0}),this.from=e.from||"",this.to=e.to||""}}class rk extends ae{constructor(e){super(de,"equateRange"),this.from=e.from||"",this.to=e.to||"",this._unicodeRange=e.unicodeRange||""}get unicodeRange(){const e=[],n=/U\+([0-9a-fA-F]+)/,i=this._unicodeRange;for(let r of i.split(",").map(s=>s.trim()).filter(s=>!!s))r=r.split("-",2).map(s=>{const o=s.match(n);return o?parseInt(o[1],16):0}),r.length===1&&r.push(r[0]),e.push(r);return ge(this,"unicodeRange",e)}}class sk extends Gt{constructor(e){super(de,"exclude")}[Dt](){this[oe]=this[oe].trim().split(/\s+/).filter(e=>e&&["calculate","close","enter","exit","initialize","ready","validate"].includes(e))}}class ok extends ot{constructor(e){super(de,"excludeNS")}}class ck extends At{constructor(e){super(de,"flipLabel",["usePrinterSetting","on","off"])}}class fk extends ae{constructor(e){super(de,"fontInfo",!0),this.embed=null,this.map=null,this.subsetBelow=null,this.alwaysEmbed=new F,this.defaultTypeface=new F,this.neverEmbed=new F}}class lk extends dn{constructor(e){super(de,"formFieldFilling")}}class dk extends ot{constructor(e){super(de,"groupParent")}}class hk extends At{constructor(e){super(de,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}}class uk extends ot{constructor(e){super(de,"includeXDPContent")}}class bk extends At{constructor(e){super(de,"incrementalLoad",["none","forwardOnly"])}}class gk extends dn{constructor(e){super(de,"incrementalMerge")}}class pk extends dn{constructor(e){super(de,"interactive")}}class mk extends At{constructor(e){super(de,"jog",["usePrinterSetting","none","pageSet"])}}class xk extends ae{constructor(e){super(de,"labelPrinter",!0),this.name=fe(e.name,["zpl","dpl","ipl","tcpl"]),this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class yk extends At{constructor(e){super(de,"layout",["paginate","panel"])}}class wk extends Ja{constructor(e){super(de,"level",0,n=>n>0)}}class _k extends dn{constructor(e){super(de,"linearized")}}class Ok extends ot{constructor(e){super(de,"locale")}}class kk extends ot{constructor(e){super(de,"localeSet")}}class Pk extends ae{constructor(e){super(de,"log",!0),this.mode=null,this.threshold=null,this.to=null,this.uri=null}}class vk extends ae{constructor(e){super(de,"map",!0),this.equate=new F,this.equateRange=new F}}class Ak extends ae{constructor(e){super(de,"mediumInfo",!0),this.map=null}}class Ek extends ae{constructor(e){super(de,"message",!0),this.msgId=null,this.severity=null}}class jk extends ae{constructor(e){super(de,"messaging",!0),this.message=new F}}class Dk extends At{constructor(e){super(de,"mode",["append","overwrite"])}}class Ik extends dn{constructor(e){super(de,"modifyAnnots")}}class Sk extends Ja{constructor(e){super(de,"msgId",1,n=>n>=1)}}class Ck extends ot{constructor(e){super(de,"nameAttr")}}class Rk extends Gt{constructor(e){super(de,"neverEmbed")}}class Mk extends Ja{constructor(e){super(de,"numberOfCopies",null,n=>n>=2&&n<=5)}}class Uk extends ae{constructor(e){super(de,"openAction",!0),this.destination=null}}class Tk extends ae{constructor(e){super(de,"output",!0),this.to=null,this.type=null,this.uri=null}}class Lk extends ot{constructor(e){super(de,"outputBin")}}class Fk extends ae{constructor(e){super(de,"outputXSL",!0),this.uri=null}}class Nk extends At{constructor(e){super(de,"overprint",["none","both","draw","field"])}}class Bk extends ot{constructor(e){super(de,"packets")}[Dt](){this[oe]!=="*"&&(this[oe]=this[oe].trim().split(/\s+/).filter(e=>["config","datasets","template","xfdf","xslt"].includes(e)))}}class Yk extends ae{constructor(e){super(de,"pageOffset"),this.x=Qe({data:e.x,defaultValue:"useXDCSetting",validate:n=>!0}),this.y=Qe({data:e.y,defaultValue:"useXDCSetting",validate:n=>!0})}}class Hk extends ot{constructor(e){super(de,"pageRange")}[Dt](){const e=this[oe].trim().split(/\s+/).map(i=>parseInt(i,10)),n=[];for(let i=0,r=e.length;i<r;i+=2)n.push(e.slice(i,i+2));this[oe]=n}}class Zk extends At{constructor(e){super(de,"pagination",["simplex","duplexShortEdge","duplexLongEdge"])}}class zk extends At{constructor(e){super(de,"paginationOverride",["none","forceDuplex","forceDuplexLongEdge","forceDuplexShortEdge","forceSimplex"])}}class qk extends Ja{constructor(e){super(de,"part",1,n=>!1)}}class $k extends ae{constructor(e){super(de,"pcl",!0),this.name=e.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.pageOffset=null,this.staple=null,this.xdc=null}}class Gk extends ae{constructor(e){super(de,"pdf",!0),this.name=e.name||"",this.adobeExtensionLevel=null,this.batchOutput=null,this.compression=null,this.creator=null,this.encryption=null,this.fontInfo=null,this.interactive=null,this.linearized=null,this.openAction=null,this.pdfa=null,this.producer=null,this.renderPolicy=null,this.scriptModel=null,this.silentPrint=null,this.submitFormat=null,this.tagged=null,this.version=null,this.viewerPreferences=null,this.xdc=null}}class Xk extends ae{constructor(e){super(de,"pdfa",!0),this.amd=null,this.conformance=null,this.includeXDPContent=null,this.part=null}}class Wk extends ae{constructor(e){super(de,"permissions",!0),this.accessibleContent=null,this.change=null,this.contentCopy=null,this.documentAssembly=null,this.formFieldFilling=null,this.modifyAnnots=null,this.plaintextMetadata=null,this.print=null,this.printHighQuality=null}}class Vk extends dn{constructor(e){super(de,"pickTrayByPDFSize")}}class Kk extends ot{constructor(e){super(de,"picture")}}class Qk extends dn{constructor(e){super(de,"plaintextMetadata")}}class Jk extends At{constructor(e){super(de,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}}class eP extends ae{constructor(e){super(de,"present",!0),this.behaviorOverride=null,this.cache=null,this.common=null,this.copies=null,this.destination=null,this.incrementalMerge=null,this.layout=null,this.output=null,this.overprint=null,this.pagination=null,this.paginationOverride=null,this.script=null,this.validate=null,this.xdp=null,this.driver=new F,this.labelPrinter=new F,this.pcl=new F,this.pdf=new F,this.ps=new F,this.submitUrl=new F,this.webClient=new F,this.zpl=new F}}class tP extends dn{constructor(e){super(de,"print")}}class nP extends dn{constructor(e){super(de,"printHighQuality")}}class aP extends At{constructor(e){super(de,"printScaling",["appdefault","noScaling"])}}class iP extends ot{constructor(e){super(de,"printerName")}}class rP extends ot{constructor(e){super(de,"producer")}}class sP extends ae{constructor(e){super(de,"ps",!0),this.name=e.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.staple=null,this.xdc=null}}class oP extends Gt{constructor(e){super(de,"range")}[Dt](){this[oe]=this[oe].split(",",2).map(e=>e.split("-").map(n=>parseInt(n.trim(),10))).filter(e=>e.every(n=>!isNaN(n))).map(e=>(e.length===1&&e.push(e[0]),e))}}class cP extends Gt{constructor(e){super(de,"record")}[Dt](){this[oe]=this[oe].trim();const e=parseInt(this[oe],10);!isNaN(e)&&e>=0&&(this[oe]=e)}}class fP extends Gt{constructor(e){super(de,"relevant")}[Dt](){this[oe]=this[oe].trim().split(/\s+/)}}class lP extends Gt{constructor(e){super(de,"rename")}[Dt](){this[oe]=this[oe].trim(),(this[oe].toLowerCase().startsWith("xml")||new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u").test(this[oe]))&&L("XFA - Rename: invalid XFA name")}}class dP extends At{constructor(e){super(de,"renderPolicy",["server","client"])}}class hP extends At{constructor(e){super(de,"runScripts",["both","client","none","server"])}}class uP extends ae{constructor(e){super(de,"script",!0),this.currentPage=null,this.exclude=null,this.runScripts=null}}class bP extends At{constructor(e){super(de,"scriptModel",["XFA","none"])}}class gP extends At{constructor(e){super(de,"severity",["ignore","error","information","trace","warning"])}}class pP extends ae{constructor(e){super(de,"silentPrint",!0),this.addSilentPrint=null,this.printerName=null}}class mP extends ae{constructor(e){super(de,"staple"),this.mode=fe(e.mode,["usePrinterSetting","on","off"])}}class xP extends ot{constructor(e){super(de,"startNode")}}class yP extends Ja{constructor(e){super(de,"startPage",0,n=>!0)}}class wP extends At{constructor(e){super(de,"submitFormat",["html","delegate","fdf","xml","pdf"])}}class _P extends ot{constructor(e){super(de,"submitUrl")}}class OP extends Ja{constructor(e){super(de,"subsetBelow",100,n=>n>=0&&n<=100)}}class kP extends dn{constructor(e){super(de,"suppressBanner")}}class PP extends dn{constructor(e){super(de,"tagged")}}class vP extends ae{constructor(e){super(de,"template",!0),this.base=null,this.relevant=null,this.startPage=null,this.uri=null,this.xsl=null}}class AP extends At{constructor(e){super(de,"threshold",["trace","error","information","warning"])}}class EP extends At{constructor(e){super(de,"to",["null","memory","stderr","stdout","system","uri"])}}class jP extends ae{constructor(e){super(de,"templateCache"),this.maxEntries=Qe({data:e.maxEntries,defaultValue:5,validate:n=>n>=0})}}class DP extends ae{constructor(e){super(de,"trace",!0),this.area=new F}}class IP extends ae{constructor(e){super(de,"transform",!0),this.groupParent=null,this.ifEmpty=null,this.nameAttr=null,this.picture=null,this.presence=null,this.rename=null,this.whitespace=null}}class SP extends At{constructor(e){super(de,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}}class CP extends ot{constructor(e){super(de,"uri")}}class RP extends At{constructor(e){super(de,"validate",["preSubmit","prePrint","preExecute","preSave"])}}class MP extends Gt{constructor(e){super(de,"validateApprovalSignatures")}[Dt](){this[oe]=this[oe].trim().split(/\s+/).filter(e=>["docReady","postSign"].includes(e))}}class UP extends At{constructor(e){super(de,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}}let TP=class extends At{constructor(e){super(de,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}};class LP extends ae{constructor(e){super(de,"VersionControl"),this.outputBelow=fe(e.outputBelow,["warn","error","update"]),this.sourceAbove=fe(e.sourceAbove,["warn","error"]),this.sourceBelow=fe(e.sourceBelow,["update","maintain"])}}class FP extends ae{constructor(e){super(de,"viewerPreferences",!0),this.ADBE_JSConsole=null,this.ADBE_JSDebugger=null,this.addViewerPreferences=null,this.duplexOption=null,this.enforce=null,this.numberOfCopies=null,this.pageRange=null,this.pickTrayByPDFSize=null,this.printScaling=null}}class NP extends ae{constructor(e){super(de,"webClient",!0),this.name=e.name?e.name.trim():"",this.fontInfo=null,this.xdc=null}}class BP extends At{constructor(e){super(de,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}}class YP extends Gt{constructor(e){super(de,"window")}[Dt](){const e=this[oe].split(",",2).map(n=>parseInt(n.trim(),10));if(e.some(n=>isNaN(n))){this[oe]=[0,0];return}e.length===1&&e.push(e[0]),this[oe]=e}}class HP extends ae{constructor(e){super(de,"xdc",!0),this.uri=new F,this.xsl=new F}}class ZP extends ae{constructor(e){super(de,"xdp",!0),this.packets=null}}class zP extends ae{constructor(e){super(de,"xsl",!0),this.debug=null,this.uri=null}}class qP extends ae{constructor(e){super(de,"zpl",!0),this.name=e.name?e.name.trim():"",this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class Lf{static[Ka](e,n){if(Lf.hasOwnProperty(e))return Lf[e](n)}static acrobat(e){return new gO(e)}static acrobat7(e){return new pO(e)}static ADBE_JSConsole(e){return new mO(e)}static ADBE_JSDebugger(e){return new xO(e)}static addSilentPrint(e){return new yO(e)}static addViewerPreferences(e){return new wO(e)}static adjustData(e){return new _O(e)}static adobeExtensionLevel(e){return new OO(e)}static agent(e){return new kO(e)}static alwaysEmbed(e){return new PO(e)}static amd(e){return new vO(e)}static area(e){return new AO(e)}static attributes(e){return new EO(e)}static autoSave(e){return new jO(e)}static base(e){return new DO(e)}static batchOutput(e){return new IO(e)}static behaviorOverride(e){return new SO(e)}static cache(e){return new CO(e)}static change(e){return new RO(e)}static common(e){return new MO(e)}static compress(e){return new UO(e)}static compressLogicalStructure(e){return new TO(e)}static compressObjectStream(e){return new LO(e)}static compression(e){return new FO(e)}static config(e){return new NO(e)}static conformance(e){return new BO(e)}static contentCopy(e){return new YO(e)}static copies(e){return new HO(e)}static creator(e){return new ZO(e)}static currentPage(e){return new zO(e)}static data(e){return new qO(e)}static debug(e){return new $O(e)}static defaultTypeface(e){return new GO(e)}static destination(e){return new XO(e)}static documentAssembly(e){return new WO(e)}static driver(e){return new VO(e)}static duplexOption(e){return new KO(e)}static dynamicRender(e){return new QO(e)}static embed(e){return new JO(e)}static encrypt(e){return new ek(e)}static encryption(e){return new tk(e)}static encryptionLevel(e){return new nk(e)}static enforce(e){return new ak(e)}static equate(e){return new ik(e)}static equateRange(e){return new rk(e)}static exclude(e){return new sk(e)}static excludeNS(e){return new ok(e)}static flipLabel(e){return new ck(e)}static fontInfo(e){return new fk(e)}static formFieldFilling(e){return new lk(e)}static groupParent(e){return new dk(e)}static ifEmpty(e){return new hk(e)}static includeXDPContent(e){return new uk(e)}static incrementalLoad(e){return new bk(e)}static incrementalMerge(e){return new gk(e)}static interactive(e){return new pk(e)}static jog(e){return new mk(e)}static labelPrinter(e){return new xk(e)}static layout(e){return new yk(e)}static level(e){return new wk(e)}static linearized(e){return new _k(e)}static locale(e){return new Ok(e)}static localeSet(e){return new kk(e)}static log(e){return new Pk(e)}static map(e){return new vk(e)}static mediumInfo(e){return new Ak(e)}static message(e){return new Ek(e)}static messaging(e){return new jk(e)}static mode(e){return new Dk(e)}static modifyAnnots(e){return new Ik(e)}static msgId(e){return new Sk(e)}static nameAttr(e){return new Ck(e)}static neverEmbed(e){return new Rk(e)}static numberOfCopies(e){return new Mk(e)}static openAction(e){return new Uk(e)}static output(e){return new Tk(e)}static outputBin(e){return new Lk(e)}static outputXSL(e){return new Fk(e)}static overprint(e){return new Nk(e)}static packets(e){return new Bk(e)}static pageOffset(e){return new Yk(e)}static pageRange(e){return new Hk(e)}static pagination(e){return new Zk(e)}static paginationOverride(e){return new zk(e)}static part(e){return new qk(e)}static pcl(e){return new $k(e)}static pdf(e){return new Gk(e)}static pdfa(e){return new Xk(e)}static permissions(e){return new Wk(e)}static pickTrayByPDFSize(e){return new Vk(e)}static picture(e){return new Kk(e)}static plaintextMetadata(e){return new Qk(e)}static presence(e){return new Jk(e)}static present(e){return new eP(e)}static print(e){return new tP(e)}static printHighQuality(e){return new nP(e)}static printScaling(e){return new aP(e)}static printerName(e){return new iP(e)}static producer(e){return new rP(e)}static ps(e){return new sP(e)}static range(e){return new oP(e)}static record(e){return new cP(e)}static relevant(e){return new fP(e)}static rename(e){return new lP(e)}static renderPolicy(e){return new dP(e)}static runScripts(e){return new hP(e)}static script(e){return new uP(e)}static scriptModel(e){return new bP(e)}static severity(e){return new gP(e)}static silentPrint(e){return new pP(e)}static staple(e){return new mP(e)}static startNode(e){return new xP(e)}static startPage(e){return new yP(e)}static submitFormat(e){return new wP(e)}static submitUrl(e){return new _P(e)}static subsetBelow(e){return new OP(e)}static suppressBanner(e){return new kP(e)}static tagged(e){return new PP(e)}static template(e){return new vP(e)}static templateCache(e){return new jP(e)}static threshold(e){return new AP(e)}static to(e){return new EP(e)}static trace(e){return new DP(e)}static transform(e){return new IP(e)}static type(e){return new SP(e)}static uri(e){return new CP(e)}static validate(e){return new RP(e)}static validateApprovalSignatures(e){return new MP(e)}static validationMessaging(e){return new UP(e)}static version(e){return new TP(e)}static versionControl(e){return new LP(e)}static viewerPreferences(e){return new FP(e)}static webClient(e){return new NP(e)}static whitespace(e){return new BP(e)}static window(e){return new YP(e)}static xdc(e){return new HP(e)}static xdp(e){return new ZP(e)}static xsl(e){return new zP(e)}static zpl(e){return new qP(e)}}const Za=sn.connectionSet.id;class $P extends ae{constructor(e){super(Za,"connectionSet",!0),this.wsdlConnection=new F,this.xmlConnection=new F,this.xsdConnection=new F}}class GP extends ae{constructor(e){super(Za,"effectiveInputPolicy"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class XP extends ae{constructor(e){super(Za,"effectiveOutputPolicy"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class WP extends ot{constructor(e){super(Za,"operation"),this.id=e.id||"",this.input=e.input||"",this.name=e.name||"",this.output=e.output||"",this.use=e.use||"",this.usehref=e.usehref||""}}class VP extends ot{constructor(e){super(Za,"rootElement"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class KP extends ot{constructor(e){super(Za,"soapAction"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class QP extends ot{constructor(e){super(Za,"soapAddress"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class JP extends ot{constructor(e){super(Za,"uri"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class ev extends ot{constructor(e){super(Za,"wsdlAddress"),this.id=e.id||"",this.name=e.name||"",this.use=e.use||"",this.usehref=e.usehref||""}}class tv extends ae{constructor(e){super(Za,"wsdlConnection",!0),this.dataDescription=e.dataDescription||"",this.name=e.name||"",this.effectiveInputPolicy=null,this.effectiveOutputPolicy=null,this.operation=null,this.soapAction=null,this.soapAddress=null,this.wsdlAddress=null}}class nv extends ae{constructor(e){super(Za,"xmlConnection",!0),this.dataDescription=e.dataDescription||"",this.name=e.name||"",this.uri=null}}class av extends ae{constructor(e){super(Za,"xsdConnection",!0),this.dataDescription=e.dataDescription||"",this.name=e.name||"",this.rootElement=null,this.uri=null}}class Ff{static[Ka](e,n){if(Ff.hasOwnProperty(e))return Ff[e](n)}static connectionSet(e){return new $P(e)}static effectiveInputPolicy(e){return new GP(e)}static effectiveOutputPolicy(e){return new XP(e)}static operation(e){return new WP(e)}static rootElement(e){return new VP(e)}static soapAction(e){return new KP(e)}static soapAddress(e){return new QP(e)}static uri(e){return new JP(e)}static wsdlAddress(e){return new ev(e)}static wsdlConnection(e){return new tv(e)}static xmlConnection(e){return new nv(e)}static xsdConnection(e){return new av(e)}}const Gh=sn.datasets.id;class iv extends xi{constructor(e){super(Gh,"data",e)}[Uc](){return!0}}class rv extends ae{constructor(e){super(Gh,"datasets",!0),this.data=null,this.Signature=null}[pi](e){const n=e[yt];(n==="data"&&e[rn]===Gh||n==="Signature"&&e[rn]===sn.signature.id)&&(this[n]=e),this[$t](e)}}class Nf{static[Ka](e,n){if(Nf.hasOwnProperty(e))return Nf[e](n)}static datasets(e){return new rv(e)}static data(e){return new iv(e)}}const Xt=sn.localeSet.id;class sv extends ae{constructor(e){super(Xt,"calendarSymbols",!0),this.name="gregorian",this.dayNames=new F(2),this.eraNames=null,this.meridiemNames=null,this.monthNames=new F(2)}}class ov extends ot{constructor(e){super(Xt,"currencySymbol"),this.name=fe(e.name,["symbol","isoname","decimal"])}}class cv extends ae{constructor(e){super(Xt,"currencySymbols",!0),this.currencySymbol=new F(3)}}class fv extends ot{constructor(e){super(Xt,"datePattern"),this.name=fe(e.name,["full","long","med","short"])}}class lv extends ae{constructor(e){super(Xt,"datePatterns",!0),this.datePattern=new F(4)}}class dv extends Gt{constructor(e){super(Xt,"dateTimeSymbols")}}class hv extends ot{constructor(e){super(Xt,"day")}}class uv extends ae{constructor(e){super(Xt,"dayNames",!0),this.abbr=Qe({data:e.abbr,defaultValue:0,validate:n=>n===1}),this.day=new F(7)}}class bv extends ot{constructor(e){super(Xt,"era")}}class gv extends ae{constructor(e){super(Xt,"eraNames",!0),this.era=new F(2)}}class pv extends ae{constructor(e){super(Xt,"locale",!0),this.desc=e.desc||"",this.name="isoname",this.calendarSymbols=null,this.currencySymbols=null,this.datePatterns=null,this.dateTimeSymbols=null,this.numberPatterns=null,this.numberSymbols=null,this.timePatterns=null,this.typeFaces=null}}class mv extends ae{constructor(e){super(Xt,"localeSet",!0),this.locale=new F}}class xv extends ot{constructor(e){super(Xt,"meridiem")}}class yv extends ae{constructor(e){super(Xt,"meridiemNames",!0),this.meridiem=new F(2)}}class wv extends ot{constructor(e){super(Xt,"month")}}class _v extends ae{constructor(e){super(Xt,"monthNames",!0),this.abbr=Qe({data:e.abbr,defaultValue:0,validate:n=>n===1}),this.month=new F(12)}}class Ov extends ot{constructor(e){super(Xt,"numberPattern"),this.name=fe(e.name,["full","long","med","short"])}}class kv extends ae{constructor(e){super(Xt,"numberPatterns",!0),this.numberPattern=new F(4)}}class Pv extends ot{constructor(e){super(Xt,"numberSymbol"),this.name=fe(e.name,["decimal","grouping","percent","minus","zero"])}}class vv extends ae{constructor(e){super(Xt,"numberSymbols",!0),this.numberSymbol=new F(5)}}class Av extends ot{constructor(e){super(Xt,"timePattern"),this.name=fe(e.name,["full","long","med","short"])}}class Ev extends ae{constructor(e){super(Xt,"timePatterns",!0),this.timePattern=new F(4)}}class jv extends ae{constructor(e){super(Xt,"typeFace",!0),this.name=e.name|""}}class Dv extends ae{constructor(e){super(Xt,"typeFaces",!0),this.typeFace=new F}}class Bf{static[Ka](e,n){if(Bf.hasOwnProperty(e))return Bf[e](n)}static calendarSymbols(e){return new sv(e)}static currencySymbol(e){return new ov(e)}static currencySymbols(e){return new cv(e)}static datePattern(e){return new fv(e)}static datePatterns(e){return new lv(e)}static dateTimeSymbols(e){return new dv(e)}static day(e){return new hv(e)}static dayNames(e){return new uv(e)}static era(e){return new bv(e)}static eraNames(e){return new gv(e)}static locale(e){return new pv(e)}static localeSet(e){return new mv(e)}static meridiem(e){return new xv(e)}static meridiemNames(e){return new yv(e)}static month(e){return new wv(e)}static monthNames(e){return new _v(e)}static numberPattern(e){return new Ov(e)}static numberPatterns(e){return new kv(e)}static numberSymbol(e){return new Pv(e)}static numberSymbols(e){return new vv(e)}static timePattern(e){return new Av(e)}static timePatterns(e){return new Ev(e)}static typeFace(e){return new jv(e)}static typeFaces(e){return new Dv(e)}}const Iv=sn.signature.id;class Sv extends ae{constructor(e){super(Iv,"signature",!0)}}class Yf{static[Ka](e,n){if(Yf.hasOwnProperty(e))return Yf[e](n)}static signature(e){return new Sv(e)}}const Cv=sn.stylesheet.id;class Rv extends ae{constructor(e){super(Cv,"stylesheet",!0)}}class Hf{static[Ka](e,n){if(Hf.hasOwnProperty(e))return Hf[e](n)}static stylesheet(e){return new Rv(e)}}const Mv=sn.xdp.id;class Uv extends ae{constructor(e){super(Mv,"xdp",!0),this.uuid=e.uuid||"",this.timeStamp=e.timeStamp||"",this.config=null,this.connectionSet=null,this.datasets=null,this.localeSet=null,this.stylesheet=new F,this.template=null}[kh](e){const n=sn[e[yt]];return n&&e[rn]===n.id}}class Zf{static[Ka](e,n){if(Zf.hasOwnProperty(e))return Zf[e](n)}static xdp(e){return new Uv(e)}}const Tv=sn.xhtml.id,zf=Symbol(),Lv=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),Fv=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",t=>t==="none"?"none":"normal"],["xfa-font-horizontal-scale",t=>`scaleX(${Math.max(0,parseInt(t)/100).toFixed(2)})`],["xfa-font-vertical-scale",t=>`scaleY(${Math.max(0,parseInt(t)/100).toFixed(2)})`],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",(t,e)=>(t=e.fontSize=Math.abs(Se(t)),Je(.99*t))],["letter-spacing",t=>Je(Se(t))],["line-height",t=>Je(Se(t))],["margin",t=>Je(Se(t))],["margin-bottom",t=>Je(Se(t))],["margin-left",t=>Je(Se(t))],["margin-right",t=>Je(Se(t))],["margin-top",t=>Je(Se(t))],["text-indent",t=>Je(Se(t))],["font-family",t=>t],["vertical-align",t=>Je(Se(t))]]),Nv=/\s+/g,Bv=/[\r\n]+/g,Yv=/\r\n?/g;function Hv(t,e,n){const i=Object.create(null);if(!t)return i;const r=Object.create(null);for(const[s,o]of t.split(";").map(a=>a.split(":",2))){const a=Fv.get(s);if(a==="")continue;let c=o;a&&(c=typeof a=="string"?a:a(o,r)),s.endsWith("scale")?i.transform=i.transform?`${i[s]} ${c}`:c:i[s.replaceAll(/-([a-zA-Z])/g,(f,l)=>l.toUpperCase())]=c}if(i.fontFamily&&N9({typeface:i.fontFamily,weight:i.fontWeight||"normal",posture:i.fontStyle||"normal",size:r.fontSize||0},e,e[It].fontFinder,i),n&&i.verticalAlign&&i.verticalAlign!=="0px"&&i.fontSize){const a=Se(i.fontSize);i.fontSize=Je(a*.583),i.verticalAlign=Je(Math.sign(Se(i.verticalAlign))*a*.333)}return n&&i.fontSize&&(i.fontSize=`calc(${i.fontSize} * var(--total-scale-factor))`),T9(i),i}function Zv(t){return t.style?t.style.split(";").filter(e=>!!e.trim()).map(e=>e.split(":",2).map(n=>n.trim())).filter(([e,n])=>(e==="font-family"&&t[It].usedTypefaces.add(n),Lv.has(e))).map(e=>e.join(":")).join(";"):""}const zv=new Set(["body","html"]);class va extends xi{constructor(e,n){super(Tv,n),this[zf]=!1,this.style=e.style||""}[Ba](e){super[Ba](e),this.style=Zv(this)}[yf](){return!zv.has(this[yt])}[Li](e,n=!1){n?this[zf]=!0:(e=e.replaceAll(Bv,""),this.style.includes("xfa-spacerun:yes")||(e=e.replaceAll(Nv," "))),e&&(this[oe]+=e)}[mi](e,n=!0){const i=Object.create(null),r={top:NaN,bottom:NaN,left:NaN,right:NaN};let s=null;for(const[o,a]of this.style.split(";").map(c=>c.split(":",2)))switch(o){case"font-family":i.typeface=kf(a);break;case"font-size":i.size=Se(a);break;case"font-weight":i.weight=a;break;case"font-style":i.posture=a;break;case"letter-spacing":i.letterSpacing=Se(a);break;case"margin":const c=a.split(/ \t/).map(f=>Se(f));switch(c.length){case 1:r.top=r.bottom=r.left=r.right=c[0];break;case 2:r.top=r.bottom=c[0],r.left=r.right=c[1];break;case 3:r.top=c[0],r.bottom=c[2],r.left=r.right=c[1];break;case 4:r.top=c[0],r.left=c[1],r.bottom=c[2],r.right=c[3];break}break;case"margin-top":r.top=Se(a);break;case"margin-bottom":r.bottom=Se(a);break;case"margin-left":r.left=Se(a);break;case"margin-right":r.right=Se(a);break;case"line-height":s=Se(a);break}if(e.pushData(i,r,s),this[oe])e.addString(this[oe]);else for(const o of this[jn]()){if(o[yt]==="#text"){e.addString(o[oe]);continue}o[mi](e)}n&&e.popFont()}[Xe](e){const n=[];if(this[ne]={children:n},this[br]({}),n.length===0&&!this[oe])return Fe.EMPTY;let i;return this[zf]?i=this[oe]?this[oe].replaceAll(Yv,`
|
|
24
|
+
`):void 0:i=this[oe]||void 0,Fe.success({name:this[yt],attributes:{href:this.href,style:Hv(this.style,this,this[zf])},children:n,value:i})}}let qv=class extends va{constructor(e){super(e,"a"),this.href=B9(e.href)||""}},$v=class extends va{constructor(e){super(e,"b")}[mi](e){e.pushFont({weight:"bold"}),super[mi](e),e.popFont()}};class Gv extends va{constructor(e){super(e,"body")}[Xe](e){const n=super[Xe](e),{html:i}=n;return i?(i.name="div",i.attributes.class=["xfaRich"],n):Fe.EMPTY}}class Xv extends va{constructor(e){super(e,"br")}[ln](){return`
|
|
25
|
+
`}[mi](e){e.addString(`
|
|
26
|
+
`)}[Xe](e){return Fe.success({name:"br"})}}class Wv extends va{constructor(e){super(e,"html")}[Xe](e){const n=[];if(this[ne]={children:n},this[br]({}),n.length===0)return Fe.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[oe]||""});if(n.length===1){const i=n[0];if(i.attributes?.class.includes("xfaRich"))return Fe.success(i)}return Fe.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:n})}}let Vv=class extends va{constructor(e){super(e,"i")}[mi](e){e.pushFont({posture:"italic"}),super[mi](e),e.popFont()}};class Kv extends va{constructor(e){super(e,"li")}}class Qv extends va{constructor(e){super(e,"ol")}}let Jv=class extends va{constructor(e){super(e,"p")}[mi](e){super[mi](e,!1),e.addString(`
|
|
27
|
+
`),e.addPara(),e.popFont()}[ln](){return this[et]()[jn]().at(-1)===this?super[ln]():super[ln]()+`
|
|
28
|
+
`}};class eA extends va{constructor(e){super(e,"span")}}class tA extends va{constructor(e){super(e,"sub")}}class nA extends va{constructor(e){super(e,"sup")}}class aA extends va{constructor(e){super(e,"ul")}}class oo{static[Ka](e,n){if(oo.hasOwnProperty(e))return oo[e](n)}static a(e){return new qv(e)}static b(e){return new $v(e)}static body(e){return new Gv(e)}static br(e){return new Xv(e)}static html(e){return new Wv(e)}static i(e){return new Vv(e)}static li(e){return new Kv(e)}static ol(e){return new Qv(e)}static p(e){return new Jv(e)}static span(e){return new eA(e)}static sub(e){return new tA(e)}static sup(e){return new nA(e)}static ul(e){return new aA(e)}}const l4={config:Lf,connection:Ff,datasets:Nf,localeSet:Bf,signature:Yf,stylesheet:Hf,template:Uf,xdp:Zf,xhtml:oo};class d4{constructor(e){this.namespaceId=e}[Ka](e,n){return new xi(this.namespaceId,e,n)}}class iA extends ae{constructor(e){super(-1,"root",Object.create(null)),this.element=null,this[to]=e}[pi](e){return this.element=e,!0}[Dt](){super[Dt](),this.element.template instanceof zh&&(this[to].set(x9,this.element),this.element.template[Fc](this[to]),this.element.template[to]=this[to])}}class rA extends ae{constructor(){super(-1,"",Object.create(null))}[pi](e){return!1}}class sA{constructor(e=null){this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max(...Object.values(sn).map(({id:n})=>n)),this._currentNamespace=e||new d4(++this._nextNsId)}buildRoot(e){return new iA(e)}build({nsPrefix:e,name:n,attributes:i,namespace:r,prefixes:s}){const o=r!==null;if(o&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(r)),s&&this._addNamespacePrefix(s),i.hasOwnProperty(is)){const f=l4.datasets,l=i[is];let d=null;for(const[h,u]of Object.entries(l))if(this._getNamespaceToUse(h)===f){d={xfa:u};break}d?i[is]=d:delete i[is]}const c=this._getNamespaceToUse(e)?.[Ka](n,i)||new rA;return c[Uc]()&&this._nsAgnosticLevel++,(o||s||c[Uc]())&&(c[wf]={hasNamespace:o,prefixes:s,nsAgnostic:c[Uc]()}),c}isNsAgnostic(){return this._nsAgnosticLevel>0}_searchNamespace(e){let n=this._namespaces.get(e);if(n)return n;for(const[i,{check:r}]of Object.entries(sn))if(r(e)){if(n=l4[i],n)return this._namespaces.set(e,n),n;break}return n=new d4(++this._nextNsId),this._namespaces.set(e,n),n}_addNamespacePrefix(e){for(const{prefix:n,value:i}of e){const r=this._searchNamespace(i);let s=this._namespacePrefixes.get(n);s||(s=[],this._namespacePrefixes.set(n,s)),s.push(r)}}_getNamespaceToUse(e){if(!e)return this._currentNamespace;const n=this._namespacePrefixes.get(e);return n?.length>0?n.at(-1):(L(`Unknown namespace prefix: ${e}.`),null)}clean(e){const{hasNamespace:n,prefixes:i,nsAgnostic:r}=e;n&&(this._currentNamespace=this._namespaceStack.pop()),i&&i.forEach(({prefix:s})=>{this._namespacePrefixes.get(s).pop()}),r&&this._nsAgnosticLevel--}}class qf extends u9{constructor(e=null,n=!1){super(),this._builder=new sA(e),this._stack=[],this._globalData={usedTypefaces:new Set},this._ids=new Map,this._current=this._builder.buildRoot(this._ids),this._errorCode=ba.NoError,this._whiteRegex=/^\s+$/,this._nbsps=/\xa0+/g,this._richText=n}parse(e){if(this.parseXml(e),this._errorCode===ba.NoError)return this._current[Dt](),this._current.element}onText(e){if(e=e.replace(this._nbsps,n=>n.slice(1)+" "),this._richText||this._current[yf]()){this._current[Li](e,this._richText);return}this._whiteRegex.test(e)||this._current[Li](e.trim())}onCdata(e){this._current[Li](e)}_mkAttributes(e,n){let i=null,r=null;const s=Object.create({});for(const{name:o,value:a}of e)if(o==="xmlns")i?L(`XFA - multiple namespace definition in <${n}>`):i=a;else if(o.startsWith("xmlns:")){const c=o.substring(6);r??=[],r.push({prefix:c,value:a})}else{const c=o.indexOf(":");if(c===-1)s[o]=a;else{const f=s[is]??=Object.create(null),[l,d]=[o.slice(0,c),o.slice(c+1)],h=f[l]||=Object.create(null);h[d]=a}}return[i,r,s]}_getNameAndPrefix(e,n){const i=e.indexOf(":");return i===-1?[e,null]:[e.substring(i+1),n?"":e.substring(0,i)]}onBeginElement(e,n,i){const[r,s,o]=this._mkAttributes(n,e),[a,c]=this._getNameAndPrefix(e,this._builder.isNsAgnostic()),f=this._builder.build({nsPrefix:c,name:a,attributes:o,namespace:r,prefixes:s});if(f[It]=this._globalData,i){f[Dt](),this._current[pi](f)&&f[Ph](this._ids),f[Ba](this._builder);return}this._stack.push(this._current),this._current=f}onEndElement(e){const n=this._current;if(n[Oh]()&&typeof n[oe]=="string"){const i=new qf;i._globalData=this._globalData;const r=i.parse(n[oe]);n[oe]=null,n[pi](r)}n[Dt](),this._current=this._stack.pop(),this._current[pi](n)&&n[Ph](this._ids),n[Ba](this._builder)}onError(e){this._errorCode=e}}class $c{constructor(e){try{this.root=new qf().parse($c._createDocument(e));const n=new uO(this.root);this.form=n.bind(),this.dataHandler=new bO(this.root,n.getData()),this.form[It].template=this.form}catch(n){L(`XFA - an error occurred during parsing and binding: ${n}`)}}isValid(){return!!(this.root&&this.form)}_createPagesHelper(){const e=this.form[w9]();return new Promise((n,i)=>{const r=()=>{try{const s=e.next();s.done?n(s.value):setTimeout(r,0)}catch(s){i(s)}};setTimeout(r,0)})}async _createPages(){try{this.pages=await this._createPagesHelper(),this.dims=this.pages.children.map(e=>{const{width:n,height:i}=e.attributes.style;return[0,0,parseInt(n),parseInt(i)]})}catch(e){L(`XFA - an error occurred during layout: ${e}`)}}getBoundingBox(e){return this.dims[e]}async getNumPages(){return this.pages||await this._createPages(),this.dims.length}setImages(e){this.form[It].images=e}setFonts(e){this.form[It].fontFinder=new _w(e);const n=[];for(let i of this.form[It].usedTypefaces)i=kf(i),this.form[It].fontFinder.find(i)||n.push(i);return n.length>0?n:null}appendFonts(e,n){this.form[It].fontFinder.add(e,n)}async getPages(){this.pages||await this._createPages();const e=this.pages;return this.pages=null,e}serializeData(e){return this.dataHandler.serialize(e)}static _createDocument(e){return e["/xdp:xdp"]?Object.values(e).join(""):e["xdp:xdp"]}static getRichTextAsHtml(e){if(!e||typeof e!="string")return null;try{let n=new qf(oo,!0).parse(e);if(!["body","xhtml"].includes(n[yt])){const o=oo.body({});o[$t](n),n=o}const i=n[Xe]();if(!i.success)return null;const{html:r}=i,{attributes:s}=r;return s&&(s.class&&(s.class=s.class.filter(o=>!o.startsWith("xfa"))),s.dir="auto"),{html:r,str:n[ln]()}}catch(n){L(`XFA - an error occurred during parsing of rich text: ${n}`)}return null}}class Ni{static createGlobals(e){return Promise.all([e.ensureCatalog("acroForm"),e.ensureDoc("xfaDatasets"),e.ensureCatalog("structTreeRoot"),e.ensureCatalog("baseUrl"),e.ensureCatalog("attachments"),e.ensureCatalog("globalColorSpaceCache")]).then(([n,i,r,s,o,a])=>({pdfManager:e,acroForm:n instanceof q?n:q.empty,xfaDatasets:i,structTreeRoot:r,baseUrl:s,attachments:o,globalColorSpaceCache:a}),n=>(L(`createGlobals: "${n}".`),null))}static async create(e,n,i,r,s,o,a,c){const f=s?await this._getPageIndex(e,n,i.pdfManager):null;return i.pdfManager.ensure(this,"_create",[e,n,i,r,s,o,a,f,c])}static _create(e,n,i,r,s=!1,o=null,a=null,c=null,f=null){const l=e.fetchIfRef(n);if(!(l instanceof q))return;let d=l.get("Subtype");if(d=d instanceof le?d.name:null,a&&!a.has(gn[d.toUpperCase()]))return null;const{acroForm:h,pdfManager:u}=i,g=n instanceof ke?n.toString():`annot_${r.createObjId()}`,p={xref:e,ref:n,dict:l,subtype:d,id:g,annotationGlobals:i,collectFields:s,orphanFields:o,needAppearances:!s&&h.get("NeedAppearances")===!0,pageIndex:c,evaluatorOptions:u.evaluatorOptions,pageRef:f};switch(d){case"Link":return new hA(p);case"Text":return new dA(p);case"Widget":let x=Ra({dict:l,key:"FT"});switch(x=x instanceof le?x.name:null,x){case"Tx":return new cA(p);case"Btn":return new fA(p);case"Ch":return new lA(p);case"Sig":return new h4(p)}return L(`Unimplemented widget field type "${x}", falling back to base field type.`),new ei(p);case"Popup":return new Wh(p);case"FreeText":return new Vh(p);case"Line":return new uA(p);case"Square":return new bA(p);case"Circle":return new gA(p);case"PolyLine":return new u4(p);case"Polygon":return new b4(p);case"Caret":return new pA(p);case"Ink":return new Wc(p);case"Highlight":return new Kh(p);case"Underline":return new mA(p);case"Squiggly":return new xA(p);case"StrikeOut":return new yA(p);case"Stamp":return new co(p);case"FileAttachment":return new wA(p);default:return s||L(d?`Unimplemented annotation type "${d}", falling back to base annotation.`:"Annotation is missing the required /Subtype."),new Xc(p)}}static async _getPageIndex(e,n,i){try{const r=await e.fetchIfRefAsync(n);if(!(r instanceof q))return-1;const s=r.getRaw("P");if(s instanceof ke)try{return await i.ensureCatalog("getPageIndex",[s])}catch(a){st(`_getPageIndex -- not a valid page reference: "${a}".`)}if(r.has("Kids"))return-1;const o=await i.ensureDoc("numPages");for(let a=0;a<o;a++){const c=await i.getPage(a),f=await i.ensure(c,"annotations");for(const l of f)if(l instanceof ke&&T0(l,n))return a}}catch(r){L(`_getPageIndex: "${r}".`)}return-1}static generateImages(e,n,i){if(!i)return L("generateImages: OffscreenCanvas is not supported, cannot save or print some annotations with images."),null;let r;for(const{bitmapId:s,bitmap:o}of e)o&&(r||=new Map,r.set(s,co.createImage(o,n)));return r}static async saveNewAnnotations(e,n,i,r,s){const o=e.xref;let a;const c=[],{isOffscreenCanvasSupported:f}=e.options;for(const l of i)if(!l.deleted)switch(l.annotationType){case ci.FREETEXT:if(!a){const h=new q(o);h.setIfName("BaseFont","Helvetica"),h.setIfName("Type","Font"),h.setIfName("Subtype","Type1"),h.setIfName("Encoding","WinAnsiEncoding"),a=o.getNewTemporaryRef(),s.put(a,{data:h})}c.push(Vh.createNewAnnotation(o,l,s,{evaluator:e,task:n,baseFontRef:a}));break;case ci.HIGHLIGHT:l.quadPoints?c.push(Kh.createNewAnnotation(o,l,s)):c.push(Wc.createNewAnnotation(o,l,s));break;case ci.INK:c.push(Wc.createNewAnnotation(o,l,s));break;case ci.STAMP:const d=f?await r?.get(l.bitmapId):null;if(d?.imageStream){const{imageStream:h,smaskStream:u}=d;if(u){const p=o.getNewTemporaryRef();s.put(p,{data:u}),h.dict.set("SMask",p)}const g=d.imageRef=o.getNewTemporaryRef();s.put(g,{data:h}),d.imageStream=d.smaskStream=null}c.push(co.createNewAnnotation(o,l,s,{image:d}));break;case ci.SIGNATURE:c.push(co.createNewAnnotation(o,l,s,{}));break}return{annotations:(await Promise.all(c)).flat()}}static async printNewAnnotations(e,n,i,r,s){if(!r)return null;const{options:o,xref:a}=n,c=[];for(const f of r)if(!f.deleted)switch(f.annotationType){case ci.FREETEXT:c.push(Vh.createNewPrintAnnotation(e,a,f,{evaluator:n,task:i,evaluatorOptions:o}));break;case ci.HIGHLIGHT:f.quadPoints?c.push(Kh.createNewPrintAnnotation(e,a,f,{evaluatorOptions:o})):c.push(Wc.createNewPrintAnnotation(e,a,f,{evaluatorOptions:o}));break;case ci.INK:c.push(Wc.createNewPrintAnnotation(e,a,f,{evaluatorOptions:o}));break;case ci.STAMP:const l=o.isOffscreenCanvasSupported?await s?.get(f.bitmapId):null;if(l?.imageStream){const{imageStream:d,smaskStream:h}=l;h&&d.dict.set("SMask",h),l.imageRef=new Fs(d,d.length),l.imageStream=l.smaskStream=null}c.push(co.createNewPrintAnnotation(e,a,f,{image:l,evaluatorOptions:o}));break;case ci.SIGNATURE:c.push(co.createNewPrintAnnotation(e,a,f,{evaluatorOptions:o}));break}return Promise.all(c)}}function fs(t,e=new Uint8ClampedArray(3)){if(!Array.isArray(t))return e;const n=e||new Uint8ClampedArray(3);switch(t.length){case 0:return null;case 1:return _t.gray.getRgbItem(t,0,n,0),n;case 3:return _t.rgb.getRgbItem(t,0,n,0),n;case 4:return _t.cmyk.getRgbItem(t,0,n,0),n;default:return e}}function Ln(t,e=null){return t&&Array.from(t,n=>n/255)||e}function Gc(t,e){const n=t.getArray("QuadPoints");if(!Qn(n,null)||n.length===0||n.length%8>0)return null;const i=new Float32Array(n.length);for(let r=0,s=n.length;r<s;r+=8){const[o,a,c,f,l,d,h,u]=n.slice(r,r+8),g=Math.min(o,c,l,h),p=Math.max(o,c,l,h),x=Math.min(a,f,d,u),m=Math.max(a,f,d,u);if(e!==null&&(g<e[0]||p>e[2]||x<e[1]||m>e[3]))return null;i.set([g,m,p,m,g,x,p,x],r)}return i}function Xh(t,e,n){const i=new Float32Array([1/0,1/0,-1/0,-1/0]);wt.axialAlignedBoundingBox(e,n,i);const[r,s,o,a]=i;if(r===o||s===a)return[1,0,0,1,t[0],t[1]];const c=(t[2]-t[0])/(o-r),f=(t[3]-t[1])/(a-s);return[c,0,0,f,t[0]-r*c,t[1]-s*f]}class Xc{constructor(e){const{dict:n,xref:i,annotationGlobals:r,ref:s,orphanFields:o}=e,a=o?.get(s);a&&n.set("Parent",a),this.setTitle(n.get("T")),this.setContents(n.get("Contents")),this.setModificationDate(n.get("M")),this.setFlags(n.get("F")),this.setRectangle(n.getArray("Rect")),this.setColor(n.getArray("C")),this.setBorderStyle(n),this.setAppearance(n),this.setOptionalContent(n);const c=n.get("MK");this.setBorderAndBackgroundColors(c),this.setRotation(c,n),this.ref=e.ref instanceof ke?e.ref:null,this._streams=[],this.appearance&&this._streams.push(this.appearance);const f=!!(this.flags&Tt.LOCKED),l=!!(this.flags&Tt.LOCKEDCONTENTS);if(this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:e.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:e.subtype,hasOwnCanvas:!1,noRotate:!!(this.flags&Tt.NOROTATE),noHTML:f&&l,isEditable:!1,structParent:-1},r.structTreeRoot){let h=n.get("StructParent");this.data.structParent=h=Number.isInteger(h)&&h>=0?h:-1,r.structTreeRoot.addAnnotationIdToPage(e.pageRef,h)}if(e.collectFields){const h=n.get("Kids");if(Array.isArray(h)){const u=[];for(const g of h)g instanceof ke&&u.push(g.toString());u.length!==0&&(this.data.kidIds=u)}this.data.actions=F0(i,n,c2),this.data.fieldName=this._constructFieldName(n),this.data.pageIndex=e.pageIndex}const d=n.get("IT");d instanceof le&&(this.data.it=d.name),this._isOffscreenCanvasSupported=e.evaluatorOptions.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}_hasFlag(e,n){return!!(e&n)}_buildFlags(e,n){let{flags:i}=this;return e===void 0?n===void 0?void 0:n?i&~Tt.PRINT:i&~Tt.HIDDEN|Tt.PRINT:e?(i|=Tt.PRINT,n?i&~Tt.NOVIEW|Tt.HIDDEN:i&~Tt.HIDDEN|Tt.NOVIEW):(i&=~(Tt.HIDDEN|Tt.NOVIEW),n?i&~Tt.PRINT:i|Tt.PRINT)}_isViewable(e){return!this._hasFlag(e,Tt.INVISIBLE)&&!this._hasFlag(e,Tt.NOVIEW)}_isPrintable(e){return this._hasFlag(e,Tt.PRINT)&&!this._hasFlag(e,Tt.HIDDEN)&&!this._hasFlag(e,Tt.INVISIBLE)}mustBeViewed(e,n){const i=e?.get(this.data.id)?.noView;return i!==void 0?!i:this.viewable&&!this._hasFlag(this.flags,Tt.HIDDEN)}mustBePrinted(e){const n=e?.get(this.data.id)?.noPrint;return n!==void 0?!n:this.printable}mustBeViewedWhenEditing(e,n=null){return e?!this.data.isEditable:!n?.has(this.data.id)}get viewable(){return this.data.quadPoints===null?!1:this.flags===0?!0:this._isViewable(this.flags)}get printable(){return this.data.quadPoints===null||this.flags===0?!1:this._isPrintable(this.flags)}_parseStringHelper(e){const n=typeof e=="string"?mt(e):"",i=n&&n9(n).dir==="rtl"?"rtl":"ltr";return{str:n,dir:i}}setDefaultAppearance(e){const{dict:n,annotationGlobals:i}=e,r=Ra({dict:n,key:"DA"})||i.acroForm.get("DA");this._defaultAppearance=typeof r=="string"?r:"",this.data.defaultAppearanceData=gh(this._defaultAppearance)}setTitle(e){this._title=this._parseStringHelper(e)}setContents(e){this._contents=this._parseStringHelper(e)}setModificationDate(e){this.modificationDate=typeof e=="string"?e:null}setFlags(e){this.flags=Number.isInteger(e)&&e>0?e:0,this.flags&Tt.INVISIBLE&&this.constructor.name!=="Annotation"&&(this.flags^=Tt.INVISIBLE)}hasFlag(e){return this._hasFlag(this.flags,e)}setRectangle(e){this.rectangle=ji(e,[0,0,0,0])}setColor(e){this.color=fs(e)}setLineEndings(e){if(this.lineEndings=["None","None"],Array.isArray(e)&&e.length===2)for(let n=0;n<2;n++){const i=e[n];if(i instanceof le)switch(i.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[n]=i.name;continue}L(`Ignoring invalid lineEnding: ${i}`)}}setRotation(e,n){this.rotation=0;let i=e instanceof q?e.get("R")||0:n.get("Rotate")||0;Number.isInteger(i)&&i!==0&&(i%=360,i<0&&(i+=360),i%90===0&&(this.rotation=i))}setBorderAndBackgroundColors(e){e instanceof q?(this.borderColor=fs(e.getArray("BC"),null),this.backgroundColor=fs(e.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}setBorderStyle(e){if(this.borderStyle=new oA,e instanceof q)if(e.has("BS")){const n=e.get("BS");if(n instanceof q){const i=n.get("Type");(!i||zt(i,"Border"))&&(this.borderStyle.setWidth(n.get("W"),this.rectangle),this.borderStyle.setStyle(n.get("S")),this.borderStyle.setDashArray(n.getArray("D")))}}else if(e.has("Border")){const n=e.getArray("Border");Array.isArray(n)&&n.length>=3&&(this.borderStyle.setHorizontalCornerRadius(n[0]),this.borderStyle.setVerticalCornerRadius(n[1]),this.borderStyle.setWidth(n[2],this.rectangle),n.length===4&&this.borderStyle.setDashArray(n[3],!0))}else this.borderStyle.setWidth(0)}setAppearance(e){this.appearance=null;const n=e.get("AP");if(!(n instanceof q))return;const i=n.get("N");if(i instanceof at){this.appearance=i;return}if(!(i instanceof q))return;const r=e.get("AS");if(!(r instanceof le)||!i.has(r.name))return;const s=i.get(r.name);s instanceof at&&(this.appearance=s)}setOptionalContent(e){this.oc=null;const n=e.get("OC");n instanceof le?L("setOptionalContent: Support for /Name-entry is not implemented."):n instanceof q&&(this.oc=n)}async loadResources(e,n){const i=await n.dict.getAsync("Resources");return i&&await Ks.load(i,e,i.xref),i}async getOperatorList(e,n,i,r){const{hasOwnCanvas:s,id:o,rect:a}=this.data;let c=this.appearance;const f=!!(s&&i&Vn.DISPLAY);if(f&&(this.width===0||this.height===0))return this.data.hasOwnCanvas=!1,{opList:new En,separateForm:!1,separateCanvas:!1};if(!c){if(!f)return{opList:new En,separateForm:!1,separateCanvas:!1};c=new ea(""),c.dict=new q}const l=c.dict,d=await this.loadResources(xd,c),h=Pd(l.getArray("BBox"),[0,0,1,1]),u=ar(l.getArray("Matrix"),Ga),g=Xh(a,h,u),p=new En;let x;return this.oc&&(x=await e.parseMarkedContentProps(this.oc,null)),x!==void 0&&p.addOp(M.beginMarkedContentProps,["OC",x]),p.addOp(M.beginAnnotation,[o,a,g,u,f]),await e.getOperatorList({stream:c,task:n,resources:d,operatorList:p,fallbackFontDict:this._fallbackFontDict}),p.addOp(M.endAnnotation,[]),x!==void 0&&p.addOp(M.endMarkedContent,[]),this.reset(),{opList:p,separateForm:!1,separateCanvas:f}}async save(e,n,i,r){return null}get overlaysTextContent(){return!1}get hasTextContent(){return!1}async extractTextContent(e,n,i){if(!this.appearance)return;const r=await this.loadResources(yd,this.appearance),s=[],o=[];let a=null;const c={desiredSize:Math.Infinity,ready:!0,enqueue(f,l){for(const d of f.items)d.str!==void 0&&(a||=d.transform.slice(-2),o.push(d.str),d.hasEOL&&(s.push(o.join("").trimEnd()),o.length=0))}};if(await e.getTextContent({stream:this.appearance,task:n,resources:r,includeMarkedContent:!0,keepWhiteSpace:!0,sink:c,viewBox:i}),this.reset(),o.length&&s.push(o.join("").trimEnd()),s.length>1||s[0]){const f=this.appearance.dict,l=Pd(f.getArray("BBox"),null),d=ar(f.getArray("Matrix"),null);this.data.textPosition=this._transformPoint(a,l,d),this.data.textContent=s}}_transformPoint(e,n,i){const{rect:r}=this.data;n||=[0,0,1,1],i||=[1,0,0,1,0,0];const s=Xh(r,n,i);s[4]-=r[0],s[5]-=r[1];const o=e.slice();return wt.applyTransform(o,s),wt.applyTransform(o,i),o}getFieldObject(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}reset(){for(const e of this._streams)e.reset()}_constructFieldName(e){if(!e.has("T")&&!e.has("Parent"))return L("Unknown field name, falling back to empty field name."),"";if(!e.has("Parent"))return mt(e.get("T"));const n=[];e.has("T")&&n.unshift(mt(e.get("T")));let i=e;const r=new tn;for(e.objId&&r.put(e.objId);i.has("Parent")&&(i=i.get("Parent"),!(!(i instanceof q)||i.objId&&r.has(i.objId)));)i.objId&&r.put(i.objId),i.has("T")&&n.unshift(mt(i.get("T")));return n.join(".")}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}}class oA{constructor(){this.width=1,this.rawWidth=1,this.style=Cs.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}setWidth(e,n=[0,0,0,0]){if(e instanceof le){this.width=0;return}if(typeof e=="number"){if(e>0){this.rawWidth=e;const i=(n[2]-n[0])/2,r=(n[3]-n[1])/2;i>0&&r>0&&(e>i||e>r)&&(L(`AnnotationBorderStyle.setWidth - ignoring width: ${e}`),e=1)}this.width=e}}setStyle(e){if(e instanceof le)switch(e.name){case"S":this.style=Cs.SOLID;break;case"D":this.style=Cs.DASHED;break;case"B":this.style=Cs.BEVELED;break;case"I":this.style=Cs.INSET;break;case"U":this.style=Cs.UNDERLINE;break}}setDashArray(e,n=!1){if(Array.isArray(e)){let i=!0,r=!0;for(const s of e)if(+s>=0)s>0&&(r=!1);else{i=!1;break}e.length===0||i&&!r?(this.dashArray=e,n&&this.setStyle(le.get("D"))):this.width=0}else e&&(this.width=0)}setHorizontalCornerRadius(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}setVerticalCornerRadius(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}class ma extends Xc{constructor(e){super(e);const{dict:n}=e;if(n.has("IRT")){const r=n.getRaw("IRT");this.data.inReplyTo=r instanceof ke?r.toString():null;const s=n.get("RT");this.data.replyType=s instanceof le?s.name:hd.REPLY}let i=null;if(this.data.replyType===hd.GROUP){const r=n.get("IRT");this.setTitle(r.get("T")),this.data.titleObj=this._title,this.setContents(r.get("Contents")),this.data.contentsObj=this._contents,r.has("CreationDate")?(this.setCreationDate(r.get("CreationDate")),this.data.creationDate=this.creationDate):this.data.creationDate=null,r.has("M")?(this.setModificationDate(r.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,i=r.getRaw("Popup"),r.has("C")?(this.setColor(r.getArray("C")),this.data.color=this.color):this.data.color=null}else this.data.titleObj=this._title,this.setCreationDate(n.get("CreationDate")),this.data.creationDate=this.creationDate,i=n.getRaw("Popup"),n.has("C")||(this.data.color=null);this.data.popupRef=i instanceof ke?i.toString():null,n.has("RC")&&(this.data.richText=$c.getRichTextAsHtml(n.get("RC")))}setCreationDate(e){this.creationDate=typeof e=="string"?e:null}_setDefaultAppearance({xref:e,extra:n,strokeColor:i,fillColor:r,blendMode:s,strokeAlpha:o,fillAlpha:a,pointsCallback:c}){const f=this.data.rect=[1/0,1/0,-1/0,-1/0],l=["q"];n&&l.push(n),i&&l.push(`${i[0]} ${i[1]} ${i[2]} RG`),r&&l.push(`${r[0]} ${r[1]} ${r[2]} rg`);const d=this.data.quadPoints||Float32Array.from([this.rectangle[0],this.rectangle[3],this.rectangle[2],this.rectangle[3],this.rectangle[0],this.rectangle[1],this.rectangle[2],this.rectangle[1]]);for(let O=0,k=d.length;O<k;O+=8){const E=c(l,d.subarray(O,O+8));wt.rectBoundingBox(...E,f)}l.push("Q");const h=new q(e),u=new q(e);u.setIfName("Subtype","Form");const g=new ea(l.join(" "));g.dict=u,h.set("Fm0",g);const p=new q(e);s&&p.setIfName("BM",s),p.setIfNumber("CA",o),p.setIfNumber("ca",a);const x=new q(e);x.set("GS0",p);const m=new q(e);m.set("ExtGState",x),m.set("XObject",h);const w=new q(e);w.set("Resources",m),w.set("BBox",f),this.appearance=new ea("/GS0 gs /Fm0 Do"),this.appearance.dict=w,this._streams.push(this.appearance,g)}static async createNewAnnotation(e,n,i,r){const s=n.ref||=e.getNewTemporaryRef(),o=await this.createNewAppearanceStream(n,e,r);let a;if(o){const f=e.getNewTemporaryRef();a=this.createNewDict(n,e,{apRef:f}),i.put(f,{data:o})}else a=this.createNewDict(n,e,{});Number.isInteger(n.parentTreeId)&&a.set("StructParent",n.parentTreeId),i.put(s,{data:a});const c={ref:s};if(n.popup){const f=n.popup;if(f.deleted)return a.delete("Popup"),a.delete("Contents"),a.delete("RC"),c;const l=f.ref||=e.getNewTemporaryRef();f.parent=s;const d=Wh.createNewDict(f,e);return i.put(l,{data:d}),a.setIfDefined("Contents",_a(f.contents)),a.set("Popup",l),[c,{ref:l}]}return c}static async createNewPrintAnnotation(e,n,i,r){const s=await this.createNewAppearanceStream(i,n,r),o=this.createNewDict(i,n,s?{ap:s}:{}),a=new this.prototype.constructor({dict:o,xref:n,annotationGlobals:e,evaluatorOptions:r.evaluatorOptions});return i.ref&&(a.ref=a.refToReplace=i.ref),a}}class ei extends Xc{constructor(e){super(e);const{dict:n,xref:i,annotationGlobals:r}=e,s=this.data;this._needAppearances=e.needAppearances,s.annotationType=gn.WIDGET,s.fieldName===void 0&&(s.fieldName=this._constructFieldName(n)),s.actions===void 0&&(s.actions=F0(i,n,c2));let o=Ra({dict:n,key:"V",getArray:!0});s.fieldValue=this._decodeFormValue(o);const a=Ra({dict:n,key:"DV",getArray:!0});if(s.defaultFieldValue=this._decodeFormValue(a),o===void 0&&r.xfaDatasets){const h=this._title.str;h&&(this._hasValueFromXFA=!0,s.fieldValue=o=r.xfaDatasets.getValue(h))}o===void 0&&s.defaultFieldValue!==null&&(s.fieldValue=s.defaultFieldValue),s.alternativeText=mt(n.get("TU")||""),this.setDefaultAppearance(e),s.hasAppearance||=this._needAppearances&&s.fieldValue!==void 0&&s.fieldValue!==null;const c=Ra({dict:n,key:"FT"});s.fieldType=c instanceof le?c.name:null;const f=Ra({dict:n,key:"DR"}),l=r.acroForm.get("DR"),d=this.appearance?.dict.get("Resources");this._fieldResources={localResources:f,acroFormResources:l,appearanceResources:d,mergedResources:q.merge({xref:i,dictArray:[f,d,l],mergeSubDicts:!0})},s.fieldFlags=Ra({dict:n,key:"Ff"}),(!Number.isInteger(s.fieldFlags)||s.fieldFlags<0)&&(s.fieldFlags=0),s.password=this.hasFieldFlag($a.PASSWORD),s.readOnly=this.hasFieldFlag($a.READONLY),s.required=this.hasFieldFlag($a.REQUIRED),s.hidden=this._hasFlag(s.annotationFlags,Tt.HIDDEN)||this._hasFlag(s.annotationFlags,Tt.NOVIEW)}_decodeFormValue(e){return Array.isArray(e)?e.filter(n=>typeof n=="string").map(n=>mt(n)):e instanceof le?mt(e.name):typeof e=="string"?mt(e):null}hasFieldFlag(e){return!!(this.data.fieldFlags&e)}_isViewable(e){return!0}mustBeViewed(e,n){return n?this.viewable:super.mustBeViewed(e,n)&&!this._hasFlag(this.flags,Tt.NOVIEW)}getRotationMatrix(e){let n=e?.get(this.data.id)?.rotation;return n===void 0&&(n=this.rotation),n===0?Ga:N0(n,this.width,this.height)}getBorderAndBackgroundAppearances(e){let n=e?.get(this.data.id)?.rotation;if(n===void 0&&(n=this.rotation),!this.backgroundColor&&!this.borderColor)return"";const i=n===0||n===180?`0 0 ${this.width} ${this.height} re`:`0 0 ${this.height} ${this.width} re`;let r="";if(this.backgroundColor&&(r=`${ui(this.backgroundColor,!0)} ${i} f `),this.borderColor){const s=this.borderStyle.width||1;r+=`${s} w ${ui(this.borderColor,!1)} ${i} S `}return r}async getOperatorList(e,n,i,r){if(i&Vn.ANNOTATIONS_FORMS&&!(this instanceof h4)&&!this.data.noHTML&&!this.data.hasOwnCanvas)return{opList:new En,separateForm:!0,separateCanvas:!1};if(!this._hasText)return super.getOperatorList(e,n,i,r);const s=await this._getAppearance(e,n,i,r);if(this.appearance&&s===null)return super.getOperatorList(e,n,i,r);const o=new En;if(!this._defaultAppearance||s===null)return{opList:o,separateForm:!1,separateCanvas:!1};const a=!!(this.data.hasOwnCanvas&&i&Vn.DISPLAY),c=[1,0,0,1,0,0],f=[0,0,this.width,this.height],l=Xh(this.data.rect,f,c);let d;this.oc&&(d=await e.parseMarkedContentProps(this.oc,null)),d!==void 0&&o.addOp(M.beginMarkedContentProps,["OC",d]),o.addOp(M.beginAnnotation,[this.data.id,this.data.rect,l,this.getRotationMatrix(r),a]);const h=new ea(s);return await e.getOperatorList({stream:h,task:n,resources:this._fieldResources.mergedResources,operatorList:o}),o.addOp(M.endAnnotation,[]),d!==void 0&&o.addOp(M.endMarkedContent,[]),{opList:o,separateForm:!1,separateCanvas:a}}_getMKDict(e){const n=new q(null);return e&&n.set("R",e),n.setIfArray("BC",Ln(this.borderColor)),n.setIfArray("BG",Ln(this.backgroundColor)),n.size>0?n:null}amendSavedDict(e,n){}setValue(e,n,i,r){const{dict:s,ref:o}=np(e,this.ref,i);if(!s)e.set("V",n);else if(!r.has(o)){const a=s.clone();return a.set("V",n),r.put(o,{data:a}),a}return null}async save(e,n,i,r){const s=i?.get(this.data.id),o=this._buildFlags(s?.noView,s?.noPrint);let a=s?.value,c=s?.rotation;if(a===this.data.fieldValue||a===void 0){if(!this._hasValueFromXFA&&c===void 0&&o===void 0)return;a||=this.data.fieldValue}if(c===void 0&&!this._hasValueFromXFA&&Array.isArray(a)&&Array.isArray(this.data.fieldValue)&&Vo(a,this.data.fieldValue)&&o===void 0)return;c===void 0&&(c=this.rotation);let f=null;if(!this._needAppearances&&(f=await this._getAppearance(e,n,Vn.SAVE,i),f===null&&o===void 0))return;let l=!1;f?.needAppearances&&(l=!0,f=null);const{xref:d}=e,h=d.fetchIfRef(this.ref);if(!(h instanceof q))return;const u=new q(d);for(const m of h.getKeys())m!=="AP"&&u.set(m,h.getRaw(m));if(o!==void 0&&(u.set("F",o),f===null&&!l)){const m=h.getRaw("AP");m&&u.set("AP",m)}const g={path:this.data.fieldName,value:a},p=this.setValue(u,Array.isArray(a)?a.map(_a):_a(a),d,r);this.amendSavedDict(i,p||u);const x=this._getMKDict(c);if(x&&u.set("MK",x),r.put(this.ref,{data:u,xfa:g,needAppearances:l}),f!==null){const m=d.getNewTemporaryRef(),w=new q(d);u.set("AP",w),w.set("N",m);const O=this._getSaveFieldResources(d),k=new ea(f),E=k.dict=new q(d);E.setIfName("Subtype","Form"),E.set("Resources",O);const D=c%180===0?[0,0,this.width,this.height]:[0,0,this.height,this.width];E.set("BBox",D);const v=this.getRotationMatrix(i);v!==Ga&&E.set("Matrix",v),r.put(m,{data:k,xfa:null,needAppearances:!1})}u.set("M",`D:${Br()}`)}async _getAppearance(e,n,i,r){if(this.data.password)return null;const s=r?.get(this.data.id);let o,a;if(s&&(o=s.formattedValue||s.value,a=s.rotation),a===void 0&&o===void 0&&!this._needAppearances&&(!this._hasValueFromXFA||this.appearance))return null;const c=this.getBorderAndBackgroundAppearances(r);if(o===void 0&&(o=this.data.fieldValue,!o))return`/Tx BMC q ${c}Q EMC`;if(Array.isArray(o)&&o.length===1&&(o=o[0]),On(typeof o=="string","Expected `value` to be a string."),o=o.trimEnd(),this.data.combo&&(o=this.data.options.find(({exportValue:H})=>o===H)?.displayValue||o),o==="")return`/Tx BMC q ${c}Q EMC`;a===void 0&&(a=this.rotation);let f=-1,l;this.data.multiLine?(l=o.split(/\r\n?|\n/).map(T=>T.normalize("NFC")),f=l.length):l=[o.replace(/\r\n?|\n/,"").normalize("NFC")];const d=1,h=2;let{width:u,height:g}=this;(a===90||a===270)&&([u,g]=[g,u]),this._defaultAppearance||(this.data.defaultAppearanceData=gh(this._defaultAppearance="/Helvetica 0 Tf 0 g"));let p=await ei._getFontData(e,n,this.data.defaultAppearanceData,this._fieldResources.mergedResources),x,m,w;const O=[];let k=!1;for(const T of l){const H=p.encodeString(T);H.length>1&&(k=!0),O.push(H.join(""))}if(k&&i&Vn.SAVE)return{needAppearances:!0};if(k&&this._isOffscreenCanvasSupported){const T=this.data.comb?"monospace":"sans-serif",H=new bi(e.xref,T),$=H.createFontResources(l.join("")),W=$.getRaw("Font");if(this._fieldResources.mergedResources.has("Font")){const B=this._fieldResources.mergedResources.get("Font");for(const z of W.getKeys())B.set(z,W.getRaw(z))}else this._fieldResources.mergedResources.set("Font",W);const Y=H.fontName.name;p=await ei._getFontData(e,n,{fontName:Y,fontSize:0},$);for(let B=0,z=O.length;B<z;B++)O[B]=k2(l[B]);const Z=Object.assign(Object.create(null),this.data.defaultAppearanceData);this.data.defaultAppearanceData.fontSize=0,this.data.defaultAppearanceData.fontName=Y,[x,m,w]=this._computeFontSize(g-2*d,u-2*h,o,p,f),this.data.defaultAppearanceData=Z}else this._isOffscreenCanvasSupported||L("_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly."),[x,m,w]=this._computeFontSize(g-2*d,u-2*h,o,p,f);let E=p.descent;isNaN(E)?E=i2*w:E=Math.max(i2*w,Math.abs(E)*m);const D=Math.min(Math.floor((g-m)/2),d),v=this.data.textAlignment;if(this.data.multiLine)return this._getMultilineAppearance(x,O,p,m,u,g,v,h,D,E,w,r);if(this.data.comb)return this._getCombAppearance(x,p,O[0],m,u,g,h,D,E,w,r);const S=D+E;if(v===0||v>2)return`/Tx BMC q ${c}BT `+x+` 1 0 0 1 ${ut(h)} ${ut(S)} Tm (${Us(O[0])}) Tj ET Q EMC`;const C={shift:0},R=this._renderText(O[0],p,m,u,v,C,h,S);return`/Tx BMC q ${c}BT `+x+` 1 0 0 1 0 0 Tm ${R} ET Q EMC`}static async _getFontData(e,n,i,r){const s=new En,o={font:null,clone(){return this}},{fontName:a,fontSize:c}=i;return await e.handleSetFont(r,[a&&le.get(a),c],null,s,n,o,null),o.font}_getTextWidth(e,n){return Math.sumPrecise(n.charsToGlyphs(e).map(i=>i.width))/1e3}_computeFontSize(e,n,i,r,s){let{fontSize:o}=this.data.defaultAppearanceData,a=(o||12)*Ai,c=Math.round(e/a);if(!o){const f=h=>Math.floor(h*100)/100;if(s===-1){const h=this._getTextWidth(i,r);o=f(Math.min(e/Ai,n/h)),c=1}else{const h=i.split(/\r\n?|\n/),u=[];for(const p of h){const x=r.encodeString(p).join(""),m=r.charsToGlyphs(x),w=r.getCharPositions(x);u.push({line:x,glyphs:m,positions:w})}const g=p=>{let x=0;for(const m of u){const w=this._splitLine(null,r,p,n,m);if(x+=w.length*p,x>e)return!0}return!1};for(c=Math.max(c,s);;){if(a=e/c,o=f(a/Ai),g(o)){c++;continue}break}}const{fontName:l,fontColor:d}=this.data.defaultAppearanceData;this._defaultAppearance=sw({fontSize:o,fontName:l,fontColor:d})}return[this._defaultAppearance,o,e/c]}_renderText(e,n,i,r,s,o,a,c){let f;if(s===1){const d=this._getTextWidth(e,n)*i;f=(r-d)/2}else if(s===2){const d=this._getTextWidth(e,n)*i;f=r-d-a}else f=a;const l=ut(f-o.shift);return o.shift=f,c=ut(c),`${l} ${c} Td (${Us(e)}) Tj`}_getSaveFieldResources(e){const{localResources:n,appearanceResources:i,acroFormResources:r}=this._fieldResources,s=this.data.defaultAppearanceData?.fontName;if(!s)return n||q.empty;for(const o of[n,i])if(o instanceof q){const a=o.get("Font");if(a instanceof q&&a.has(s))return o}if(r instanceof q){const o=r.get("Font");if(o instanceof q&&o.has(s)){const a=new q(e);a.set(s,o.getRaw(s));const c=new q(e);return c.set("Font",a),q.merge({xref:e,dictArray:[c,n],mergeSubDicts:!0})}}return n||q.empty}getFieldObject(){return null}}class cA extends ei{constructor(e){super(e);const{dict:n}=e;n.has("PMD")&&(this.flags|=Tt.HIDDEN,this.data.hidden=!0,L("Barcodes are not supported")),this.data.hasOwnCanvas=this.data.readOnly&&!this.data.noHTML,this._hasText=!0,typeof this.data.fieldValue!="string"&&(this.data.fieldValue="");let i=Ra({dict:n,key:"Q"});(!Number.isInteger(i)||i<0||i>2)&&(i=null),this.data.textAlignment=i;let r=Ra({dict:n,key:"MaxLen"});(!Number.isInteger(r)||r<0)&&(r=0),this.data.maxLen=r,this.data.multiLine=this.hasFieldFlag($a.MULTILINE),this.data.comb=this.hasFieldFlag($a.COMB)&&!this.data.multiLine&&!this.data.password&&!this.hasFieldFlag($a.FILESELECT)&&this.data.maxLen!==0,this.data.doNotScroll=this.hasFieldFlag($a.DONOTSCROLL);const{data:{actions:s}}=this;if(!s)return;const o=/^AF(Date|Time)_(?:Keystroke|Format)(?:Ex)?\(['"]?([^'"]+)['"]?\);$/;let a=!1;(s.Format?.length===1&&s.Keystroke?.length===1&&o.test(s.Format[0])&&o.test(s.Keystroke[0])||s.Format?.length===0&&s.Keystroke?.length===1&&o.test(s.Keystroke[0])||s.Keystroke?.length===0&&s.Format?.length===1&&o.test(s.Format[0]))&&(a=!0);const c=[];s.Format&&c.push(...s.Format),s.Keystroke&&c.push(...s.Keystroke),a&&(delete s.Keystroke,s.Format=c);for(const f of c){const l=f.match(o);if(!l)continue;const d=l[1]==="Date";let h=l[2];const u=parseInt(h,10);if(!isNaN(u)&&Math.floor(Math.log10(u))+1===l[2].length&&(h=(d?ow:cw)[u]??h),this.data.datetimeFormat=h,!a)break;if(d){/HH|MM|ss|h/.test(h)?(this.data.datetimeType="datetime-local",this.data.timeStep=/ss/.test(h)?1:60):this.data.datetimeType="date";break}this.data.datetimeType="time",this.data.timeStep=/ss/.test(h)?1:60;break}}get hasTextContent(){return!!this.appearance&&!this._needAppearances}_getCombAppearance(e,n,i,r,s,o,a,c,f,l,d){const h=s/this.data.maxLen,u=this.getBorderAndBackgroundAppearances(d),g=[],p=n.getCharPositions(i);for(const[m,w]of p)g.push(`(${Us(i.substring(m,w))}) Tj`);const x=g.join(` ${ut(h)} 0 Td `);return`/Tx BMC q ${u}BT `+e+` 1 0 0 1 ${ut(a)} ${ut(c+f)} Tm ${x} ET Q EMC`}_getMultilineAppearance(e,n,i,r,s,o,a,c,f,l,d,h){const u=[],g=s-2*c,p={shift:0};for(let w=0,O=n.length;w<O;w++){const k=n[w],E=this._splitLine(k,i,r,g);for(let D=0,v=E.length;D<v;D++){const S=E[D],C=w===0&&D===0?-f-(d-l):-d;u.push(this._renderText(S,i,r,s,a,p,c,C))}}const x=this.getBorderAndBackgroundAppearances(h),m=u.join(`
|
|
29
|
+
`);return`/Tx BMC q ${x}BT `+e+` 1 0 0 1 0 ${ut(o)} Tm ${m} ET Q EMC`}_splitLine(e,n,i,r,s={}){e=s.line||e;const o=s.glyphs||n.charsToGlyphs(e);if(o.length<=1)return[e];const a=s.positions||n.getCharPositions(e),c=i/1e3,f=[];let l=-1,d=-1,h=-1,u=0,g=0;for(let p=0,x=o.length;p<x;p++){const[m,w]=a[p],O=o[p],k=O.width*c;O.unicode===" "?g+k>r?(f.push(e.substring(u,m)),u=m,g=k,l=-1,h=-1):(g+=k,l=m,d=w,h=p):g+k>r?l!==-1?(f.push(e.substring(u,d)),u=d,p=h+1,l=-1,g=0):(f.push(e.substring(u,m)),u=m,g=k):g+=k}return u<e.length&&f.push(e.substring(u,e.length)),f}async extractTextContent(e,n,i){await super.extractTextContent(e,n,i);const r=this.data.textContent;if(!r)return;const s=r.join(`
|
|
30
|
+
`);if(s===this.data.fieldValue)return;const o=s.replaceAll(/([.*+?^${}()|[\]\\])|(\s+)/g,(a,c)=>c?`\\${c}`:"\\s+");new RegExp(`^\\s*${o}\\s*$`).test(this.data.fieldValue)&&(this.data.textContent=this.data.fieldValue.split(`
|
|
31
|
+
`))}getFieldObject(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.data.password,charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,datetimeFormat:this.data.datetimeFormat,hasDatetimeHTML:!!this.data.datetimeType,type:"text"}}}class fA extends ei{constructor(e){super(e),this.checkedAppearance=null,this.uncheckedAppearance=null;const n=this.hasFieldFlag($a.RADIO),i=this.hasFieldFlag($a.PUSHBUTTON);this.data.checkBox=!n&&!i,this.data.radioButton=n&&!i,this.data.pushButton=i,this.data.isTooltipOnly=!1,this.data.checkBox?this._processCheckBox(e):this.data.radioButton?this._processRadioButton(e):this.data.pushButton?(this.data.hasOwnCanvas=!0,this.data.noHTML=!1,this._processPushButton(e)):L("Invalid field flags for button widget annotation")}async getOperatorList(e,n,i,r){if(this.data.pushButton)return super.getOperatorList(e,n,i,!1,r);let s=null,o=null;if(r){const c=r.get(this.data.id);s=c?c.value:null,o=c?c.rotation:null}if(s===null&&this.appearance)return super.getOperatorList(e,n,i,r);s==null&&(s=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue);const a=s?this.checkedAppearance:this.uncheckedAppearance;if(a){const c=this.appearance,f=ar(a.dict.getArray("Matrix"),Ga);o&&a.dict.set("Matrix",this.getRotationMatrix(r)),this.appearance=a;const l=super.getOperatorList(e,n,i,r);return this.appearance=c,a.dict.set("Matrix",f),l}return{opList:new En,separateForm:!1,separateCanvas:!1}}async save(e,n,i,r){if(this.data.checkBox){this._saveCheckbox(e,n,i,r);return}this.data.radioButton&&this._saveRadioButton(e,n,i,r)}async _saveCheckbox(e,n,i,r){if(!i)return;const s=i.get(this.data.id),o=this._buildFlags(s?.noView,s?.noPrint);let a=s?.rotation,c=s?.value;if(a===void 0&&o===void 0&&(c===void 0||this.data.fieldValue===this.data.exportValue===c))return;let f=e.xref.fetchIfRef(this.ref);if(!(f instanceof q))return;f=f.clone(),a===void 0&&(a=this.rotation),c===void 0&&(c=this.data.fieldValue===this.data.exportValue);const l={path:this.data.fieldName,value:c?this.data.exportValue:""},d=le.get(c?this.data.exportValue:"Off");this.setValue(f,d,e.xref,r),f.set("AS",d),f.set("M",`D:${Br()}`),o!==void 0&&f.set("F",o);const h=this._getMKDict(a);h&&f.set("MK",h),r.put(this.ref,{data:f,xfa:l,needAppearances:!1})}async _saveRadioButton(e,n,i,r){if(!i)return;const s=i.get(this.data.id),o=this._buildFlags(s?.noView,s?.noPrint);let a=s?.rotation,c=s?.value;if(a===void 0&&o===void 0&&(c===void 0||this.data.fieldValue===this.data.buttonValue===c))return;let f=e.xref.fetchIfRef(this.ref);if(!(f instanceof q))return;f=f.clone(),c===void 0&&(c=this.data.fieldValue===this.data.buttonValue),a===void 0&&(a=this.rotation);const l={path:this.data.fieldName,value:c?this.data.buttonValue:""},d=le.get(c?this.data.buttonValue:"Off");c&&this.setValue(f,d,e.xref,r),f.set("AS",d),f.set("M",`D:${Br()}`),o!==void 0&&f.set("F",o);const h=this._getMKDict(a);h&&f.set("MK",h),r.put(this.ref,{data:f,xfa:l,needAppearances:!1})}_getDefaultCheckedAppearance(e,n){const{width:i,height:r}=this,s=[0,0,i,r],o=.8,a=Math.min(i,r)*o;let c,f;n==="check"?(c={width:.755*a,height:.705*a},f="3"):n==="disc"?(c={width:.791*a,height:.705*a},f="l"):ht(`_getDefaultCheckedAppearance - unsupported type: ${n}`);const l=ut((i-c.width)/2),d=ut((r-c.height)/2),h=`q BT /PdfJsZaDb ${a} Tf 0 g ${l} ${d} Td (${f}) Tj ET Q`,u=new q(e.xref);u.set("FormType",1),u.setIfName("Subtype","Form"),u.setIfName("Type","XObject"),u.set("BBox",s),u.set("Matrix",[1,0,0,1,0,0]),u.set("Length",h.length);const g=new q(e.xref),p=new q(e.xref);p.set("PdfJsZaDb",this.fallbackFontDict),g.set("Font",p),u.set("Resources",g),this.checkedAppearance=new ea(h),this.checkedAppearance.dict=u,this._streams.push(this.checkedAppearance)}_processCheckBox(e){const n=e.dict.get("AP");if(!(n instanceof q))return;const i=n.get("N");if(!(i instanceof q))return;const r=this._decodeFormValue(e.dict.get("AS"));typeof r=="string"&&(this.data.fieldValue=r);const s=this.data.fieldValue!==null&&this.data.fieldValue!=="Off"?this.data.fieldValue:"Yes",o=this._decodeFormValue(i.getKeys());if(o.length===0)o.push("Off",s);else if(o.length===1)o[0]==="Off"?o.push(s):o.unshift("Off");else if(o.includes(s))o.length=0,o.push("Off",s);else{const f=o.find(l=>l!=="Off");o.length=0,o.push("Off",f)}o.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=o[1];const a=i.get(this.data.exportValue);this.checkedAppearance=a instanceof at?a:null;const c=i.get("Off");this.uncheckedAppearance=c instanceof at?c:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,this.data.defaultFieldValue===null&&(this.data.defaultFieldValue="Off")}_processRadioButton(e){this.data.buttonValue=null;const n=e.dict.get("Parent");if(n instanceof q){this.parent=e.dict.getRaw("Parent");const a=n.get("V");a instanceof le&&(this.data.fieldValue=this._decodeFormValue(a))}const i=e.dict.get("AP");if(!(i instanceof q))return;const r=i.get("N");if(!(r instanceof q))return;for(const a of r.getKeys())if(a!=="Off"){this.data.buttonValue=this._decodeFormValue(a);break}const s=r.get(this.data.buttonValue);this.checkedAppearance=s instanceof at?s:null;const o=r.get("Off");this.uncheckedAppearance=o instanceof at?o:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,this.data.defaultFieldValue===null&&(this.data.defaultFieldValue="Off")}_processPushButton(e){const{dict:n,annotationGlobals:i}=e;if(!n.has("A")&&!n.has("AA")&&!this.data.alternativeText){L("Push buttons without action dictionaries are not supported");return}this.data.isTooltipOnly=!n.has("A")&&!n.has("AA"),Vs.parseDestDictionary({destDict:n,resultObj:this.data,docBaseUrl:i.baseUrl,docAttachments:i.attachments})}getFieldObject(){let e="button",n;return this.data.checkBox?(e="checkbox",n=this.data.exportValue):this.data.radioButton&&(e="radiobutton",n=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:n,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:e}}get fallbackFontDict(){const e=new q;return e.setIfName("BaseFont","ZapfDingbats"),e.setIfName("Type","FallbackType"),e.setIfName("Subtype","FallbackType"),e.setIfName("Encoding","ZapfDingbatsEncoding"),ge(this,"fallbackFontDict",e)}}class lA extends ei{constructor(e){super(e);const{dict:n,xref:i}=e;this.indices=n.getArray("I"),this.hasIndices=Array.isArray(this.indices)&&this.indices.length>0,this.data.options=[];const r=Ra({dict:n,key:"Opt"});if(Array.isArray(r))for(let s=0,o=r.length;s<o;s++){const a=i.fetchIfRef(r[s]),c=Array.isArray(a);this.data.options[s]={exportValue:this._decodeFormValue(c?i.fetchIfRef(a[0]):a),displayValue:this._decodeFormValue(c?i.fetchIfRef(a[1]):a)}}if(!this.hasIndices)typeof this.data.fieldValue=="string"?this.data.fieldValue=[this.data.fieldValue]:this.data.fieldValue||=[];else{this.data.fieldValue=[];const s=this.data.options.length;for(const o of this.indices)Number.isInteger(o)&&o>=0&&o<s&&this.data.fieldValue.push(this.data.options[o].exportValue)}this.data.options.length===0&&this.data.fieldValue.length>0&&(this.data.options=this.data.fieldValue.map(s=>({exportValue:s,displayValue:s}))),this.data.combo=this.hasFieldFlag($a.COMBO),this.data.multiSelect=this.hasFieldFlag($a.MULTISELECT),this._hasText=!0}getFieldObject(){const e=this.data.combo?"combobox":"listbox",n=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:n,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:e}}amendSavedDict(e,n){if(!this.hasIndices)return;let i=e?.get(this.data.id)?.value;Array.isArray(i)||(i=[i]);const r=[],{options:s}=this.data;for(let o=0,a=0,c=s.length;o<c;o++)s[o].exportValue===i[a]&&(r.push(o),a+=1);n.set("I",r)}async _getAppearance(e,n,i,r){if(this.data.combo)return super._getAppearance(e,n,i,r);let s,o;const a=r?.get(this.data.id);if(a&&(o=a.rotation,s=a.value),o===void 0&&s===void 0&&!this._needAppearances)return null;s===void 0?s=this.data.fieldValue:Array.isArray(s)||(s=[s]);const c=1,f=2;let{width:l,height:d}=this;(o===90||o===270)&&([l,d]=[d,l]);const h=this.data.options.length,u=[];for(let S=0;S<h;S++){const{exportValue:C}=this.data.options[S];s.includes(C)&&u.push(S)}this._defaultAppearance||(this.data.defaultAppearanceData=gh(this._defaultAppearance="/Helvetica 0 Tf 0 g"));const g=await ei._getFontData(e,n,this.data.defaultAppearanceData,this._fieldResources.mergedResources);let p,{fontSize:x}=this.data.defaultAppearanceData;if(x)p=this._defaultAppearance;else{const S=(d-c)/h;let C=-1,R;for(const{displayValue:T}of this.data.options){const H=this._getTextWidth(T,g);H>C&&(C=H,R=T)}[p,x]=this._computeFontSize(S,l-2*f,R,g,-1)}const m=x*Ai,w=(m-x)/2,O=Math.floor(d/m);let k=0;if(u.length>0){const S=Math.min(...u),C=Math.max(...u);k=Math.max(0,C-O+1),k>S&&(k=S)}const E=Math.min(k+O+1,h),D=["/Tx BMC q",`1 1 ${l} ${d} re W n`];if(u.length){D.push("0.600006 0.756866 0.854904 rg");for(const S of u)k<=S&&S<E&&D.push(`1 ${d-(S-k+1)*m} ${l} ${m} re f`)}D.push("BT",p,`1 0 0 1 0 ${d} Tm`);const v={shift:0};for(let S=k;S<E;S++){const{displayValue:C}=this.data.options[S],R=S===k?w:0;D.push(this._renderText(C,g,x,l,0,v,f,-m+R))}return D.push("ET Q EMC"),D.join(`
|
|
32
|
+
`)}}class h4 extends ei{constructor(e){super(e),this.data.fieldValue=null,this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!this.data.hasOwnCanvas}getFieldObject(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}class dA extends ma{constructor(e){super(e),this.data.noRotate=!0,this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1;const{dict:i}=e;this.data.annotationType=gn.TEXT,this.data.hasAppearance?this.data.name="NoIcon":(this.data.rect[1]=this.data.rect[3]-22,this.data.rect[2]=this.data.rect[0]+22,this.data.name=i.has("Name")?i.get("Name").name:"Note"),i.has("State")?(this.data.state=i.get("State")||null,this.data.stateModel=i.get("StateModel")||null):(this.data.state=null,this.data.stateModel=null)}}class hA extends Xc{constructor(e){super(e);const{dict:n,annotationGlobals:i}=e;this.data.annotationType=gn.LINK,this.data.noHTML=!1;const r=Gc(n,this.rectangle);r&&(this.data.quadPoints=r),this.data.borderColor||=this.data.color,Vs.parseDestDictionary({destDict:n,resultObj:this.data,docBaseUrl:i.baseUrl,docAttachments:i.attachments})}get overlaysTextContent(){return!0}}class Wh extends Xc{constructor(e){super(e);const{dict:n}=e;this.data.annotationType=gn.POPUP,this.data.noHTML=!1,(this.width===0||this.height===0)&&(this.data.rect=null);let i=n.get("Parent");if(!i){L("Popup annotation has a missing or invalid parent annotation.");return}this.data.parentRect=ji(i.getArray("Rect"),null),this.data.creationDate=i.get("CreationDate")||"";const r=i.get("RT");if(zt(r,hd.GROUP)&&(i=i.get("IRT")),i.has("M")?(this.setModificationDate(i.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,i.has("C")?(this.setColor(i.getArray("C")),this.data.color=this.color):this.data.color=null,!this.viewable){const s=i.get("F");this._isViewable(s)&&this.setFlags(s)}this.setTitle(i.get("T")),this.data.titleObj=this._title,this.setContents(i.get("Contents")),this.data.contentsObj=this._contents,i.has("RC")&&(this.data.richText=$c.getRichTextAsHtml(i.get("RC"))),this.data.open=!!n.get("Open")}static createNewDict(e,n,i){const{oldAnnotation:r,rect:s,parent:o}=e,a=r||new q(n);return a.setIfNotExists("Type",le.get("Annot")),a.setIfNotExists("Subtype",le.get("Popup")),a.setIfNotExists("Open",!1),a.setIfArray("Rect",s),a.set("Parent",o),a}static async createNewAppearanceStream(e,n,i){return null}}class Vh extends ma{constructor(e){super(e),this.data.hasOwnCanvas=this.data.noRotate,this.data.isEditable=!this.data.noHTML,this.data.noHTML=!1;const{annotationGlobals:n,evaluatorOptions:i,xref:r}=e;if(this.data.annotationType=gn.FREETEXT,this.setDefaultAppearance(e),this._hasAppearance=!!this.appearance,this._hasAppearance){const{fontColor:s,fontSize:o}=rw(this.appearance,i,r,n.globalColorSpaceCache);this.data.defaultAppearanceData.fontColor=s,this.data.defaultAppearanceData.fontSize=o||10}else{this.data.defaultAppearanceData.fontSize||=10;const{fontColor:s,fontSize:o}=this.data.defaultAppearanceData;if(this._contents.str){this.data.textContent=this._contents.str.split(/\r\n?|\n/).map(l=>l.trimEnd());const{coords:a,bbox:c,matrix:f}=bi.getFirstPositionInfo(this.rectangle,this.rotation,o);this.data.textPosition=this._transformPoint(a,c,f)}if(this._isOffscreenCanvasSupported){const a=e.dict.get("CA"),c=new bi(r,"sans-serif");this.appearance=c.createAppearance(this._contents.str,this.rectangle,this.rotation,o,s,a),this._streams.push(this.appearance)}else L("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.")}}get hasTextContent(){return this._hasAppearance}static createNewDict(e,n,{apRef:i,ap:r}){const{color:s,date:o,fontSize:a,oldAnnotation:c,rect:f,rotation:l,user:d,value:h}=e,u=c||new q(n);u.setIfNotExists("Type",le.get("Annot")),u.setIfNotExists("Subtype",le.get("FreeText")),u.set(c?"M":"CreationDate",`D:${Br(o)}`),c&&u.delete("RC"),u.setIfArray("Rect",f);const g=`/Helv ${a} Tf ${ui(s,!0)}`;if(u.set("DA",g),u.setIfDefined("Contents",_a(h)),u.setIfNotExists("F",4),u.setIfNotExists("Border",[0,0,0]),u.setIfNumber("Rotate",l),u.setIfDefined("T",_a(d)),i||r){const p=new q(n);u.set("AP",p),p.set("N",i||r)}return u}static async createNewAppearanceStream(e,n,i){const{baseFontRef:r,evaluator:s,task:o}=i,{color:a,fontSize:c,rect:f,rotation:l,value:d}=e;if(!a)return null;const h=new q(n),u=new q(n);if(r)u.set("Helv",r);else{const V=new q(n);V.setIfName("BaseFont","Helvetica"),V.setIfName("Type","Font"),V.setIfName("Subtype","Type1"),V.setIfName("Encoding","WinAnsiEncoding"),u.set("Helv",V)}h.set("Font",u);const g=await ei._getFontData(s,o,{fontName:"Helv",fontSize:c},h),[p,x,m,w]=f;let O=m-p,k=w-x;l%180!==0&&([O,k]=[k,O]);const E=d.split(`
|
|
33
|
+
`),D=c/1e3;let v=-1/0;const S=[];for(let V of E){const Q=g.encodeString(V);if(Q.length>1)return null;V=Q.join(""),S.push(V);let N=0;const J=g.charsToGlyphs(V);for(const ce of J)N+=ce.width*D;v=Math.max(v,N)}let C=1;v>O&&(C=O/v);let R=1;const T=Ai*c,H=(Ai-C0)*c,$=T*E.length;$>k&&(R=k/$);const W=Math.min(C,R),Y=c*W;let Z,B,z;switch(l){case 0:z=[1,0,0,1],B=[f[0],f[1],O,k],Z=[f[0],f[3]-H];break;case 90:z=[0,1,-1,0],B=[f[1],-f[2],O,k],Z=[f[1],-f[0]-H];break;case 180:z=[-1,0,0,-1],B=[-f[2],-f[3],O,k],Z=[-f[2],-f[1]-H];break;case 270:z=[0,-1,1,0],B=[-f[3],f[0],O,k],Z=[-f[3],f[2]-H];break}const ee=["q",`${z.join(" ")} 0 0 cm`,`${B.join(" ")} re W n`,"BT",`${ui(a,!0)}`,`0 Tc /Helv ${ut(Y)} Tf`];ee.push(`${Z.join(" ")} Td (${Us(S[0])}) Tj`);const X=ut(T);for(let V=1,Q=S.length;V<Q;V++){const N=S[V];ee.push(`0 -${X} Td (${Us(N)}) Tj`)}ee.push("ET","Q");const te=ee.join(`
|
|
34
|
+
`),Ee=new q(n);Ee.set("FormType",1),Ee.setIfName("Subtype","Form"),Ee.setIfName("Type","XObject"),Ee.set("BBox",f),Ee.set("Resources",h),Ee.set("Matrix",[1,0,0,1,-f[0],-f[1]]);const Pe=new ea(te);return Pe.dict=Ee,Pe}}class uA extends ma{constructor(e){super(e);const{dict:n,xref:i}=e;this.data.annotationType=gn.LINE,this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1;const r=Pd(n.getArray("L"),[0,0,0,0]);if(this.data.lineCoordinates=wt.normalizeRect(r),this.setLineEndings(n.getArray("LE")),this.data.lineEndings=this.lineEndings,!this.appearance){const s=Ln(this.color,[0,0,0]),o=n.get("CA"),a=fs(n.getArray("IC"),null),c=Ln(a),f=c?o:null,l=this.borderStyle.width||1,d=2*l,h=[this.data.lineCoordinates[0]-d,this.data.lineCoordinates[1]-d,this.data.lineCoordinates[2]+d,this.data.lineCoordinates[3]+d];wt.intersect(this.rectangle,h)||(this.rectangle=h),this._setDefaultAppearance({xref:i,extra:`${l} w`,strokeColor:s,fillColor:c,strokeAlpha:o,fillAlpha:f,pointsCallback:(u,g)=>(u.push(`${r[0]} ${r[1]} m`,`${r[2]} ${r[3]} l`,"S"),[g[0]-l,g[7]-l,g[2]+l,g[3]+l])})}}}class bA extends ma{constructor(e){super(e);const{dict:n,xref:i}=e;if(this.data.annotationType=gn.SQUARE,this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1,!this.appearance){const r=Ln(this.color,[0,0,0]),s=n.get("CA"),o=fs(n.getArray("IC"),null),a=Ln(o),c=a?s:null;if(this.borderStyle.width===0&&!a)return;this._setDefaultAppearance({xref:i,extra:`${this.borderStyle.width} w`,strokeColor:r,fillColor:a,strokeAlpha:s,fillAlpha:c,pointsCallback:(f,l)=>{const d=l[4]+this.borderStyle.width/2,h=l[5]+this.borderStyle.width/2,u=l[6]-l[4]-this.borderStyle.width,g=l[3]-l[7]-this.borderStyle.width;return f.push(`${d} ${h} ${u} ${g} re`),a?f.push("B"):f.push("S"),[l[0],l[7],l[2],l[3]]}})}}}class gA extends ma{constructor(e){super(e);const{dict:n,xref:i}=e;if(this.data.annotationType=gn.CIRCLE,!this.appearance){const r=Ln(this.color,[0,0,0]),s=n.get("CA"),o=fs(n.getArray("IC"),null),a=Ln(o),c=a?s:null;if(this.borderStyle.width===0&&!a)return;const f=4/3*Math.tan(Math.PI/(2*4));this._setDefaultAppearance({xref:i,extra:`${this.borderStyle.width} w`,strokeColor:r,fillColor:a,strokeAlpha:s,fillAlpha:c,pointsCallback:(l,d)=>{const h=d[0]+this.borderStyle.width/2,u=d[1]-this.borderStyle.width/2,g=d[6]-this.borderStyle.width/2,p=d[7]+this.borderStyle.width/2,x=h+(g-h)/2,m=u+(p-u)/2,w=(g-h)/2*f,O=(p-u)/2*f;return l.push(`${x} ${p} m`,`${x+w} ${p} ${g} ${m+O} ${g} ${m} c`,`${g} ${m-O} ${x+w} ${u} ${x} ${u} c`,`${x-w} ${u} ${h} ${m-O} ${h} ${m} c`,`${h} ${m+O} ${x-w} ${p} ${x} ${p} c`,"h"),a?l.push("B"):l.push("S"),[d[0],d[7],d[2],d[3]]}})}}}class u4 extends ma{constructor(e){super(e);const{dict:n,xref:i}=e;this.data.annotationType=gn.POLYLINE,this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1,this.data.vertices=null,this instanceof b4||(this.setLineEndings(n.getArray("LE")),this.data.lineEndings=this.lineEndings);const r=n.getArray("Vertices");if(!Qn(r,null))return;const s=this.data.vertices=Float32Array.from(r);if(!this.appearance){const o=Ln(this.color,[0,0,0]),a=n.get("CA");let c=fs(n.getArray("IC"),null);c&&(c=Ln(c));let f;c?this.color?f=c.every((u,g)=>u===o[g])?"f":"B":f="f":f="S";const l=this.borderStyle.width||1,d=2*l,h=[1/0,1/0,-1/0,-1/0];for(let u=0,g=s.length;u<g;u+=2)wt.rectBoundingBox(s[u]-d,s[u+1]-d,s[u]+d,s[u+1]+d,h);wt.intersect(this.rectangle,h)||(this.rectangle=h),this._setDefaultAppearance({xref:i,extra:`${l} w`,strokeColor:o,strokeAlpha:a,fillColor:c,fillAlpha:c?a:null,pointsCallback:(u,g)=>{for(let p=0,x=s.length;p<x;p+=2)u.push(`${s[p]} ${s[p+1]} ${p===0?"m":"l"}`);return u.push(f),[g[0],g[7],g[2],g[3]]}})}}}class b4 extends u4{constructor(e){super(e),this.data.annotationType=gn.POLYGON}}class pA extends ma{constructor(e){super(e),this.data.annotationType=gn.CARET}}class Wc extends ma{constructor(e){super(e),this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1;const{dict:n,xref:i}=e;this.data.annotationType=gn.INK,this.data.inkLists=[],this.data.isEditable=!this.data.noHTML,this.data.noHTML=!1,this.data.opacity=n.get("CA")||1;const r=n.getArray("InkList");if(Array.isArray(r)){for(let s=0,o=r.length;s<o;++s){if(!Array.isArray(r[s]))continue;const a=new Float32Array(r[s].length);this.data.inkLists.push(a);for(let c=0,f=r[s].length;c<f;c+=2){const l=i.fetchIfRef(r[s][c]),d=i.fetchIfRef(r[s][c+1]);typeof l=="number"&&typeof d=="number"&&(a[c]=l,a[c+1]=d)}}if(!this.appearance){const s=Ln(this.color,[0,0,0]),o=n.get("CA"),a=this.borderStyle.width||1,c=2*a,f=[1/0,1/0,-1/0,-1/0];for(const l of this.data.inkLists)for(let d=0,h=l.length;d<h;d+=2)wt.rectBoundingBox(l[d]-c,l[d+1]-c,l[d]+c,l[d+1]+c,f);wt.intersect(this.rectangle,f)||(this.rectangle=f),this._setDefaultAppearance({xref:i,extra:`${a} w`,strokeColor:s,strokeAlpha:o,pointsCallback:(l,d)=>{for(const h of this.data.inkLists){for(let u=0,g=h.length;u<g;u+=2)l.push(`${h[u]} ${h[u+1]} ${u===0?"m":"l"}`);l.push("S")}return[d[0],d[7],d[2],d[3]]}})}}}static createNewDict(e,n,{apRef:i,ap:r}){const{oldAnnotation:s,color:o,date:a,opacity:c,paths:f,outlines:l,rect:d,rotation:h,thickness:u,user:g}=e,p=s||new q(n);if(p.setIfNotExists("Type",le.get("Annot")),p.setIfNotExists("Subtype",le.get("Ink")),p.set(s?"M":"CreationDate",`D:${Br(a)}`),p.setIfArray("Rect",d),p.setIfArray("InkList",l?.points||f?.points),p.setIfNotExists("F",4),p.setIfNumber("Rotate",h),p.setIfDefined("T",_a(g)),l&&p.setIfName("IT","InkHighlight"),u>0){const x=new q(n);p.set("BS",x),x.set("W",u)}if(p.setIfArray("C",Ln(o)),p.setIfNumber("CA",c),r||i){const x=new q(n);p.set("AP",x),x.set("N",i||r)}return p}static async createNewAppearanceStream(e,n,i){if(e.outlines)return this.createNewAppearanceStreamForHighlight(e,n,i);const{color:r,rect:s,paths:o,thickness:a,opacity:c}=e;if(!r)return null;const f=[`${a} w 1 J 1 j`,`${ui(r,!1)}`];c!==1&&f.push("/R0 gs");for(const u of o.lines){f.push(`${ut(u[4])} ${ut(u[5])} m`);for(let g=6,p=u.length;g<p;g+=6)if(isNaN(u[g]))f.push(`${ut(u[g+4])} ${ut(u[g+5])} l`);else{const[x,m,w,O,k,E]=u.slice(g,g+6);f.push([x,m,w,O,k,E].map(ut).join(" ")+" c")}u.length===6&&f.push(`${ut(u[4])} ${ut(u[5])} l`)}f.push("S");const l=f.join(`
|
|
35
|
+
`),d=new q(n);if(d.set("FormType",1),d.setIfName("Subtype","Form"),d.setIfName("Type","XObject"),d.set("BBox",s),d.set("Length",l.length),c!==1){const u=new q(n),g=new q(n),p=new q(n);p.set("CA",c),p.setIfName("Type","ExtGState"),g.set("R0",p),u.set("ExtGState",g),d.set("Resources",u)}const h=new ea(l);return h.dict=d,h}static async createNewAppearanceStreamForHighlight(e,n,i){const{color:r,rect:s,outlines:{outline:o},opacity:a}=e;if(!r)return null;const c=[`${ui(r,!0)}`,"/R0 gs"];c.push(`${ut(o[4])} ${ut(o[5])} m`);for(let p=6,x=o.length;p<x;p+=6)if(isNaN(o[p]))c.push(`${ut(o[p+4])} ${ut(o[p+5])} l`);else{const[m,w,O,k,E,D]=o.slice(p,p+6);c.push([m,w,O,k,E,D].map(ut).join(" ")+" c")}c.push("h f");const f=c.join(`
|
|
36
|
+
`),l=new q(n);l.set("FormType",1),l.setIfName("Subtype","Form"),l.setIfName("Type","XObject"),l.set("BBox",s),l.set("Length",f.length);const d=new q(n),h=new q(n);d.set("ExtGState",h),l.set("Resources",d);const u=new q(n);h.set("R0",u),u.setIfName("BM","Multiply"),a!==1&&(u.set("ca",a),u.setIfName("Type","ExtGState"));const g=new ea(f);return g.dict=l,g}}class Kh extends ma{constructor(e){super(e);const{dict:n,xref:i}=e;if(this.data.annotationType=gn.HIGHLIGHT,this.data.isEditable=!this.data.noHTML,this.data.noHTML=!1,this.data.opacity=n.get("CA")||1,this.data.quadPoints=Gc(n,null)){const s=this.appearance?.dict.get("Resources");if(!this.appearance||!s?.has("ExtGState")){this.appearance&&L("HighlightAnnotation - ignoring built-in appearance stream.");const o=Ln(this.color,[1,1,0]),a=n.get("CA");this._setDefaultAppearance({xref:i,fillColor:o,blendMode:"Multiply",fillAlpha:a,pointsCallback:(c,f)=>(c.push(`${f[0]} ${f[1]} m`,`${f[2]} ${f[3]} l`,`${f[6]} ${f[7]} l`,`${f[4]} ${f[5]} l`,"f"),[f[0],f[7],f[2],f[3]])})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}static createNewDict(e,n,{apRef:i,ap:r}){const{color:s,date:o,oldAnnotation:a,opacity:c,rect:f,rotation:l,user:d,quadPoints:h}=e,u=a||new q(n);if(u.setIfNotExists("Type",le.get("Annot")),u.setIfNotExists("Subtype",le.get("Highlight")),u.set(a?"M":"CreationDate",`D:${Br(o)}`),u.setIfArray("Rect",f),u.setIfNotExists("F",4),u.setIfNotExists("Border",[0,0,0]),u.setIfNumber("Rotate",l),u.setIfArray("QuadPoints",h),u.setIfArray("C",Ln(s)),u.setIfNumber("CA",c),u.setIfDefined("T",_a(d)),i||r){const g=new q(n);u.set("AP",g),g.set("N",i||r)}return u}static async createNewAppearanceStream(e,n,i){const{color:r,rect:s,outlines:o,opacity:a}=e;if(!r)return null;const c=[`${ui(r,!0)}`,"/R0 gs"],f=[];for(const x of o){f.length=0,f.push(`${ut(x[0])} ${ut(x[1])} m`);for(let m=2,w=x.length;m<w;m+=2)f.push(`${ut(x[m])} ${ut(x[m+1])} l`);f.push("h"),c.push(f.join(`
|
|
37
|
+
`))}c.push("f*");const l=c.join(`
|
|
38
|
+
`),d=new q(n);d.set("FormType",1),d.setIfName("Subtype","Form"),d.setIfName("Type","XObject"),d.set("BBox",s),d.set("Length",l.length);const h=new q(n),u=new q(n);h.set("ExtGState",u),d.set("Resources",h);const g=new q(n);u.set("R0",g),g.setIfName("BM","Multiply"),a!==1&&(g.set("ca",a),g.setIfName("Type","ExtGState"));const p=new ea(l);return p.dict=d,p}}class mA extends ma{constructor(e){super(e);const{dict:n,xref:i}=e;if(this.data.annotationType=gn.UNDERLINE,this.data.quadPoints=Gc(n,null)){if(!this.appearance){const s=Ln(this.color,[0,0,0]),o=n.get("CA");this._setDefaultAppearance({xref:i,extra:"[] 0 d 0.571 w",strokeColor:s,strokeAlpha:o,pointsCallback:(a,c)=>(a.push(`${c[4]} ${c[5]+1.3} m`,`${c[6]} ${c[7]+1.3} l`,"S"),[c[0],c[7],c[2],c[3]])})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}}class xA extends ma{constructor(e){super(e);const{dict:n,xref:i}=e;if(this.data.annotationType=gn.SQUIGGLY,this.data.quadPoints=Gc(n,null)){if(!this.appearance){const s=Ln(this.color,[0,0,0]),o=n.get("CA");this._setDefaultAppearance({xref:i,extra:"[] 0 d 1 w",strokeColor:s,strokeAlpha:o,pointsCallback:(a,c)=>{const f=(c[1]-c[5])/6;let l=f,d=c[4];const h=c[5],u=c[6];a.push(`${d} ${h+l} m`);do d+=2,l=l===0?f:0,a.push(`${d} ${h+l} l`);while(d<u);return a.push("S"),[c[4],h-2*f,u,h+2*f]}})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}}class yA extends ma{constructor(e){super(e);const{dict:n,xref:i}=e;if(this.data.annotationType=gn.STRIKEOUT,this.data.quadPoints=Gc(n,null)){if(!this.appearance){const s=Ln(this.color,[0,0,0]),o=n.get("CA");this._setDefaultAppearance({xref:i,extra:"[] 0 d 1 w",strokeColor:s,strokeAlpha:o,pointsCallback:(a,c)=>(a.push(`${(c[0]+c[4])/2} ${(c[1]+c[5])/2} m`,`${(c[2]+c[6])/2} ${(c[3]+c[7])/2} l`,"S"),[c[0],c[7],c[2],c[3]])})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}}class co extends ma{#e=null;constructor(e){super(e),this.data.annotationType=gn.STAMP,this.data.hasOwnCanvas=this.data.noRotate,this.data.isEditable=!this.data.noHTML,this.data.noHTML=!1}mustBeViewedWhenEditing(e,n=null){return e?(this.data.isEditable&&(this.#e??=this.data.hasOwnCanvas,this.data.hasOwnCanvas=!0),!0):(this.#e!==null&&(this.data.hasOwnCanvas=this.#e,this.#e=null),!n?.has(this.data.id))}static async createImage(e,n){const{width:i,height:r}=e,s=new OffscreenCanvas(i,r),o=s.getContext("2d",{alpha:!0});o.drawImage(e,0,0);const a=o.getImageData(0,0,i,r).data,c=new Uint32Array(a.buffer),f=c.some(da.isLittleEndian?x=>x>>>24!==255:x=>(x&255)!==255);f&&(o.fillStyle="white",o.fillRect(0,0,i,r),o.drawImage(e,0,0));const l=s.convertToBlob({type:"image/jpeg",quality:1}).then(x=>x.arrayBuffer()),d=le.get("XObject"),h=le.get("Image"),u=new q(n);u.set("Type",d),u.set("Subtype",h),u.set("BitsPerComponent",8),u.setIfName("ColorSpace","DeviceRGB"),u.setIfName("Filter","DCTDecode"),u.set("BBox",[0,0,i,r]),u.set("Width",i),u.set("Height",r);let g=null;if(f){const x=new Uint8Array(c.length);if(da.isLittleEndian)for(let w=0,O=c.length;w<O;w++)x[w]=c[w]>>>24;else for(let w=0,O=c.length;w<O;w++)x[w]=c[w]&255;const m=new q(n);m.set("Type",d),m.set("Subtype",h),m.set("BitsPerComponent",8),m.setIfName("ColorSpace","DeviceGray"),m.set("Width",i),m.set("Height",r),g=new qt(x,0,0,m)}return{imageStream:new qt(await l,0,0,u),smaskStream:g,width:i,height:r}}static createNewDict(e,n,{apRef:i,ap:r}){const{date:s,oldAnnotation:o,rect:a,rotation:c,user:f}=e,l=o||new q(n);if(l.setIfNotExists("Type",le.get("Annot")),l.setIfNotExists("Subtype",le.get("Stamp")),l.set(o?"M":"CreationDate",`D:${Br(s)}`),l.setIfArray("Rect",a),l.setIfNotExists("F",4),l.setIfNotExists("Border",[0,0,0]),l.setIfNumber("Rotate",c),l.setIfDefined("T",_a(f)),i||r){const d=new q(n);l.set("AP",d),d.set("N",i||r)}return l}static async#t(e,n){const{areContours:i,color:r,rect:s,lines:o,thickness:a}=e;if(!r)return null;const c=[`${a} w 1 J 1 j`,`${ui(r,i)}`];for(const h of o){c.push(`${ut(h[4])} ${ut(h[5])} m`);for(let u=6,g=h.length;u<g;u+=6)if(isNaN(h[u]))c.push(`${ut(h[u+4])} ${ut(h[u+5])} l`);else{const[p,x,m,w,O,k]=h.slice(u,u+6);c.push([p,x,m,w,O,k].map(ut).join(" ")+" c")}h.length===6&&c.push(`${ut(h[4])} ${ut(h[5])} l`)}c.push(i?"F":"S");const f=c.join(`
|
|
39
|
+
`),l=new q(n);l.set("FormType",1),l.setIfName("Subtype","Form"),l.setIfName("Type","XObject"),l.set("BBox",s),l.set("Length",f.length);const d=new ea(f);return d.dict=l,d}static async createNewAppearanceStream(e,n,i){if(e.oldAnnotation)return null;if(e.isSignature)return this.#t(e,n);const{rotation:r}=e,{imageRef:s,width:o,height:a}=i.image,c=new q(n),f=new q(n);c.set("XObject",f),f.set("Im0",s);const l=`q ${o} 0 0 ${a} 0 0 cm /Im0 Do Q`,d=new q(n);if(d.set("FormType",1),d.setIfName("Subtype","Form"),d.setIfName("Type","XObject"),d.set("BBox",[0,0,o,a]),d.set("Resources",c),r){const u=N0(r,o,a);d.set("Matrix",u)}const h=new ea(l);return h.dict=d,h}}class wA extends ma{constructor(e){super(e);const{dict:n,xref:i}=e,r=new mh(n.get("FS"),i);this.data.annotationType=gn.FILEATTACHMENT,this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1,this.data.file=r.serializable;const s=n.get("Name");this.data.name=s instanceof le?mt(s.name):"PushPin";const o=n.get("ca");this.data.fillAlpha=typeof o=="number"&&o>=0&&o<=1?o:null}}const _A={get r(){return ge(this,"r",new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]))},get k(){return ge(this,"k",new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]))}};function wr(t,e,n){let i=1732584193,r=-271733879,s=-1732584194,o=271733878;const a=n+72&-64,c=new Uint8Array(a);let f,l;for(f=0;f<n;++f)c[f]=t[e++];c[f++]=128;const d=a-8;f<d&&(f=d),c[f++]=n<<3&255,c[f++]=n>>5&255,c[f++]=n>>13&255,c[f++]=n>>21&255,c[f++]=n>>>29&255,f+=3;const h=new Int32Array(16),{k:u,r:g}=_A;for(f=0;f<a;){for(l=0;l<16;++l,f+=4)h[l]=c[f]|c[f+1]<<8|c[f+2]<<16|c[f+3]<<24;let p=i,x=r,m=s,w=o,O,k;for(l=0;l<64;++l){l<16?(O=x&m|~x&w,k=l):l<32?(O=w&x|~w&m,k=5*l+1&15):l<48?(O=x^m^w,k=3*l+5&15):(O=m^(x|~w),k=7*l&15);const E=w,D=p+O+u[l]+h[k]|0,v=g[l];w=m,m=x,x=x+(D<<v|D>>>32-v)|0,p=E}i=i+p|0,r=r+x|0,s=s+m|0,o=o+w|0}return new Uint8Array([i&255,i>>8&255,i>>16&255,i>>>24&255,r&255,r>>8&255,r>>16&255,r>>>24&255,s&255,s>>8&255,s>>16&255,s>>>24&255,o&255,o>>8&255,o>>16&255,o>>>24&255])}function g4(t){try{return Wo(t)}catch(e){return L(`UTF-8 decoding failed: "${e}".`),t}}class OA extends pf{constructor(e){super(e),this.node=null}onEndElement(e){const n=super.onEndElement(e);if(n&&e==="xfa:datasets")throw this.node=n,new Error("Aborting DatasetXMLParser.")}}class kA{constructor(e){if(e.datasets)this.node=new pf({hasAttributes:!0}).parseFromString(e.datasets).documentElement;else{const n=new OA({hasAttributes:!0});try{n.parseFromString(e["xdp:xdp"])}catch{}this.node=n.node}}getValue(e){if(!this.node||!e)return"";const n=this.node.searchNode(w2(e),0);return n?n.firstChild?.nodeName==="value"?n.children.map(r=>g4(r.textContent)):g4(n.textContent):""}}class PA{#e;#t=1/0;#n=1/0;#a=-1/0;#i=-1/0;#s=null;#o=[];#r=[];#c=-1;#f=!1;constructor(e){this.#e=e;const n=e.data.quadPoints;if(!n){[this.#t,this.#n,this.#a,this.#i]=e.data.rect;return}for(let i=0,r=n.length;i<r;i+=8)this.#t=Math.min(this.#t,n[i]),this.#a=Math.max(this.#a,n[i+2]),this.#n=Math.min(this.#n,n[i+5]),this.#i=Math.max(this.#i,n[i+1]);n.length>8&&(this.#s=n)}overlaps(e){return!(this.#t>=e.#a||this.#a<=e.#t||this.#n>=e.#i||this.#i<=e.#n)}#l(e,n){if(this.#t>=e||this.#a<=e||this.#n>=n||this.#i<=n)return!1;const i=this.#s;if(!i)return!0;if(this.#c>=0){const r=this.#c;if(!(i[r]>=e||i[r+2]<=e||i[r+5]>=n||i[r+1]<=n))return!0;this.#c=-1}for(let r=0,s=i.length;r<s;r+=8)if(!(i[r]>=e||i[r+2]<=e||i[r+5]>=n||i[r+1]<=n))return this.#c=r,!0;return!1}addGlyph(e,n,i){return this.#l(e,n)?(this.#r.length>0&&(this.#o.push(this.#r.join("")),this.#r.length=0),this.#o.push(i),this.#f=!0,!0):(this.disableExtraChars(),!1)}addExtraChar(e){this.#f&&this.#r.push(e)}disableExtraChars(){this.#f&&(this.#f=!1,this.#r.length=0)}setText(){this.#e.data.overlaidText=this.#o.join("")}}class vA{#e=new Map;constructor(e){for(const n of e){if(!n.data.quadPoints&&!n.data.rect)continue;const i=new PA(n);for(const[r,s]of this.#e)r.overlaps(i)&&(s?s.add(i):this.#e.set(r,new Set([i])));this.#e.set(i,null)}}addGlyph(e,n,i,r){const s=e[4]+n/2,o=e[5]+i/2;let a;for(const[c,f]of this.#e){if(a){a.has(c)?c.addGlyph(s,o,r):c.disableExtraChars();continue}c.addGlyph(s,o,r)&&(a=f)}}addExtraChar(e){for(const n of this.#e.keys())n.addExtraChar(e)}setText(){for(const e of this.#e.keys())e.setText()}}class we{constructor(e,n){this.high=e|0,this.low=n|0}and(e){this.high&=e.high,this.low&=e.low}xor(e){this.high^=e.high,this.low^=e.low}shiftRight(e){e>=32?(this.low=this.high>>>e-32|0,this.high=0):(this.low=this.low>>>e|this.high<<32-e,this.high=this.high>>>e|0)}rotateRight(e){let n,i;e&32?(i=this.low,n=this.high):(n=this.low,i=this.high),e&=31,this.low=n>>>e|i<<32-e,this.high=i>>>e|n<<32-e}not(){this.high=~this.high,this.low=~this.low}add(e){const n=(this.low>>>0)+(e.low>>>0);let i=(this.high>>>0)+(e.high>>>0);n>4294967295&&(i+=1),this.low=n|0,this.high=i|0}copyTo(e,n){e[n]=this.high>>>24&255,e[n+1]=this.high>>16&255,e[n+2]=this.high>>8&255,e[n+3]=this.high&255,e[n+4]=this.low>>>24&255,e[n+5]=this.low>>16&255,e[n+6]=this.low>>8&255,e[n+7]=this.low&255}assign(e){this.high=e.high,this.low=e.low}}const AA={get k(){return ge(this,"k",[new we(1116352408,3609767458),new we(1899447441,602891725),new we(3049323471,3964484399),new we(3921009573,2173295548),new we(961987163,4081628472),new we(1508970993,3053834265),new we(2453635748,2937671579),new we(2870763221,3664609560),new we(3624381080,2734883394),new we(310598401,1164996542),new we(607225278,1323610764),new we(1426881987,3590304994),new we(1925078388,4068182383),new we(2162078206,991336113),new we(2614888103,633803317),new we(3248222580,3479774868),new we(3835390401,2666613458),new we(4022224774,944711139),new we(264347078,2341262773),new we(604807628,2007800933),new we(770255983,1495990901),new we(1249150122,1856431235),new we(1555081692,3175218132),new we(1996064986,2198950837),new we(2554220882,3999719339),new we(2821834349,766784016),new we(2952996808,2566594879),new we(3210313671,3203337956),new we(3336571891,1034457026),new we(3584528711,2466948901),new we(113926993,3758326383),new we(338241895,168717936),new we(666307205,1188179964),new we(773529912,1546045734),new we(1294757372,1522805485),new we(1396182291,2643833823),new we(1695183700,2343527390),new we(1986661051,1014477480),new we(2177026350,1206759142),new we(2456956037,344077627),new we(2730485921,1290863460),new we(2820302411,3158454273),new we(3259730800,3505952657),new we(3345764771,106217008),new we(3516065817,3606008344),new we(3600352804,1432725776),new we(4094571909,1467031594),new we(275423344,851169720),new we(430227734,3100823752),new we(506948616,1363258195),new we(659060556,3750685593),new we(883997877,3785050280),new we(958139571,3318307427),new we(1322822218,3812723403),new we(1537002063,2003034995),new we(1747873779,3602036899),new we(1955562222,1575990012),new we(2024104815,1125592928),new we(2227730452,2716904306),new we(2361852424,442776044),new we(2428436474,593698344),new we(2756734187,3733110249),new we(3204031479,2999351573),new we(3329325298,3815920427),new we(3391569614,3928383900),new we(3515267271,566280711),new we(3940187606,3454069534),new we(4118630271,4000239992),new we(116418474,1914138554),new we(174292421,2731055270),new we(289380356,3203993006),new we(460393269,320620315),new we(685471733,587496836),new we(852142971,1086792851),new we(1017036298,365543100),new we(1126000580,2618297676),new we(1288033470,3409855158),new we(1501505948,4234509866),new we(1607167915,987167468),new we(1816402316,1246189591)])}};function EA(t,e,n,i,r){t.assign(e),t.and(n),r.assign(e),r.not(),r.and(i),t.xor(r)}function jA(t,e,n,i,r){t.assign(e),t.and(n),r.assign(e),r.and(i),t.xor(r),r.assign(n),r.and(i),t.xor(r)}function DA(t,e,n){t.assign(e),t.rotateRight(28),n.assign(e),n.rotateRight(34),t.xor(n),n.assign(e),n.rotateRight(39),t.xor(n)}function IA(t,e,n){t.assign(e),t.rotateRight(14),n.assign(e),n.rotateRight(18),t.xor(n),n.assign(e),n.rotateRight(41),t.xor(n)}function SA(t,e,n){t.assign(e),t.rotateRight(1),n.assign(e),n.rotateRight(8),t.xor(n),n.assign(e),n.shiftRight(7),t.xor(n)}function CA(t,e,n){t.assign(e),t.rotateRight(19),n.assign(e),n.rotateRight(61),t.xor(n),n.assign(e),n.shiftRight(6),t.xor(n)}function p4(t,e,n,i=!1){let r,s,o,a,c,f,l,d;i?(r=new we(3418070365,3238371032),s=new we(1654270250,914150663),o=new we(2438529370,812702999),a=new we(355462360,4144912697),c=new we(1731405415,4290775857),f=new we(2394180231,1750603025),l=new we(3675008525,1694076839),d=new we(1203062813,3204075428)):(r=new we(1779033703,4089235720),s=new we(3144134277,2227873595),o=new we(1013904242,4271175723),a=new we(2773480762,1595750129),c=new we(1359893119,2917565137),f=new we(2600822924,725511199),l=new we(528734635,4215389547),d=new we(1541459225,327033209));const h=Math.ceil((n+17)/128)*128,u=new Uint8Array(h);let g,p;for(g=0;g<n;++g)u[g]=t[e++];u[g++]=128;const x=h-16;g<x&&(g=x),g+=11,u[g++]=n>>>29&255,u[g++]=n>>21&255,u[g++]=n>>13&255,u[g++]=n>>5&255,u[g++]=n<<3&255;const m=new Array(80);for(g=0;g<80;g++)m[g]=new we(0,0);const{k:w}=AA;let O=new we(0,0),k=new we(0,0),E=new we(0,0),D=new we(0,0),v=new we(0,0),S=new we(0,0),C=new we(0,0),R=new we(0,0);const T=new we(0,0),H=new we(0,0),$=new we(0,0),W=new we(0,0);let Y;for(g=0;g<h;){for(p=0;p<16;++p)m[p].high=u[g]<<24|u[g+1]<<16|u[g+2]<<8|u[g+3],m[p].low=u[g+4]<<24|u[g+5]<<16|u[g+6]<<8|u[g+7],g+=8;for(p=16;p<80;++p)Y=m[p],CA(Y,m[p-2],W),Y.add(m[p-7]),SA($,m[p-15],W),Y.add($),Y.add(m[p-16]);for(O.assign(r),k.assign(s),E.assign(o),D.assign(a),v.assign(c),S.assign(f),C.assign(l),R.assign(d),p=0;p<80;++p)T.assign(R),IA($,v,W),T.add($),EA($,v,S,C,W),T.add($),T.add(w[p]),T.add(m[p]),DA(H,O,W),jA($,O,k,E,W),H.add($),Y=R,R=C,C=S,S=v,D.add(T),v=D,D=E,E=k,k=O,Y.assign(T),Y.add(H),O=Y;r.add(O),s.add(k),o.add(E),a.add(D),c.add(v),f.add(S),l.add(C),d.add(R)}let Z;return i?(Z=new Uint8Array(48),r.copyTo(Z,0),s.copyTo(Z,8),o.copyTo(Z,16),a.copyTo(Z,24),c.copyTo(Z,32),f.copyTo(Z,40)):(Z=new Uint8Array(64),r.copyTo(Z,0),s.copyTo(Z,8),o.copyTo(Z,16),a.copyTo(Z,24),c.copyTo(Z,32),f.copyTo(Z,40),l.copyTo(Z,48),d.copyTo(Z,56)),Z}function RA(t,e,n){return p4(t,e,n,!0)}const MA={get k(){return ge(this,"k",[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298])}};function yi(t,e){return t>>>e|t<<32-e}function UA(t,e,n){return t&e^~t&n}function TA(t,e,n){return t&e^t&n^e&n}function LA(t){return yi(t,2)^yi(t,13)^yi(t,22)}function FA(t){return yi(t,6)^yi(t,11)^yi(t,25)}function NA(t){return yi(t,7)^yi(t,18)^t>>>3}function BA(t){return yi(t,17)^yi(t,19)^t>>>10}function Qh(t,e,n){let i=1779033703,r=3144134277,s=1013904242,o=2773480762,a=1359893119,c=2600822924,f=528734635,l=1541459225;const d=Math.ceil((n+9)/64)*64,h=new Uint8Array(d);let u,g;for(u=0;u<n;++u)h[u]=t[e++];h[u++]=128;const p=d-8;u<p&&(u=p),u+=3,h[u++]=n>>>29&255,h[u++]=n>>21&255,h[u++]=n>>13&255,h[u++]=n>>5&255,h[u++]=n<<3&255;const x=new Uint32Array(64),{k:m}=MA;for(u=0;u<d;){for(g=0;g<16;++g)x[g]=h[u]<<24|h[u+1]<<16|h[u+2]<<8|h[u+3],u+=4;for(g=16;g<64;++g)x[g]=BA(x[g-2])+x[g-7]+NA(x[g-15])+x[g-16]|0;let w=i,O=r,k=s,E=o,D=a,v=c,S=f,C=l,R,T;for(g=0;g<64;++g)R=C+FA(D)+UA(D,v,S)+m[g]+x[g],T=LA(w)+TA(w,O,k),C=S,S=v,v=D,D=E+R|0,E=k,k=O,O=w,w=R+T|0;i=i+w|0,r=r+O|0,s=s+k|0,o=o+E|0,a=a+D|0,c=c+v|0,f=f+S|0,l=l+C|0}return new Uint8Array([i>>24&255,i>>16&255,i>>8&255,i&255,r>>24&255,r>>16&255,r>>8&255,r&255,s>>24&255,s>>16&255,s>>8&255,s&255,o>>24&255,o>>16&255,o>>8&255,o&255,a>>24&255,a>>16&255,a>>8&255,a&255,c>>24&255,c>>16&255,c>>8&255,c&255,f>>24&255,f>>16&255,f>>8&255,f&255,l>>24&255,l>>16&255,l>>8&255,l&255])}const m4=512;class YA extends ta{constructor(e,n,i){super(n),this.str=e,this.dict=e.dict,this.decrypt=i,this.nextChunk=null,this.initialized=!1}readBlock(){let e;if(this.initialized?e=this.nextChunk:(e=this.str.getBytes(m4),this.initialized=!0),!e?.length){this.eof=!0;return}this.nextChunk=this.str.getBytes(m4);const n=this.nextChunk?.length>0,i=this.decrypt;e=i(e,!n);const r=this.bufferLength,s=r+e.length;this.ensureBuffer(s).set(e,r),this.bufferLength=s}}class ls{constructor(e){this.a=0,this.b=0;const n=new Uint8Array(256),i=e.length;for(let r=0;r<256;++r)n[r]=r;for(let r=0,s=0;r<256;++r){const o=n[r];s=s+o+e[r%i]&255,n[r]=n[s],n[s]=o}this.s=n}encryptBlock(e){let n=this.a,i=this.b;const r=this.s,s=e.length,o=new Uint8Array(s);for(let a=0;a<s;++a){n=n+1&255;const c=r[n];i=i+c&255;const f=r[i];r[n]=f,r[i]=c,o[a]=e[a]^r[c+f&255]}return this.a=n,this.b=i,o}decryptBlock(e){return this.encryptBlock(e)}encrypt(e){return this.encryptBlock(e)}}class HA{decryptBlock(e){return e}encrypt(e){return e}}class Jh{_s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]);_inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]);_mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]);_mixCol=new Uint8Array(256).map((e,n)=>n<128?n<<1:n<<1^27);constructor(){this.buffer=new Uint8Array(16),this.bufferPosition=0}_expandKey(e){ht("Cannot call `_expandKey` on the base class")}_decrypt(e,n){let i,r,s;const o=new Uint8Array(16);o.set(e);for(let a=0,c=this._keySize;a<16;++a,++c)o[a]^=n[c];for(let a=this._cyclesOfRepetition-1;a>=1;--a){i=o[13],o[13]=o[9],o[9]=o[5],o[5]=o[1],o[1]=i,i=o[14],r=o[10],o[14]=o[6],o[10]=o[2],o[6]=i,o[2]=r,i=o[15],r=o[11],s=o[7],o[15]=o[3],o[11]=i,o[7]=r,o[3]=s;for(let c=0;c<16;++c)o[c]=this._inv_s[o[c]];for(let c=0,f=a*16;c<16;++c,++f)o[c]^=n[f];for(let c=0;c<16;c+=4){const f=this._mix[o[c]],l=this._mix[o[c+1]],d=this._mix[o[c+2]],h=this._mix[o[c+3]];i=f^l>>>8^l<<24^d>>>16^d<<16^h>>>24^h<<8,o[c]=i>>>24&255,o[c+1]=i>>16&255,o[c+2]=i>>8&255,o[c+3]=i&255}}i=o[13],o[13]=o[9],o[9]=o[5],o[5]=o[1],o[1]=i,i=o[14],r=o[10],o[14]=o[6],o[10]=o[2],o[6]=i,o[2]=r,i=o[15],r=o[11],s=o[7],o[15]=o[3],o[11]=i,o[7]=r,o[3]=s;for(let a=0;a<16;++a)o[a]=this._inv_s[o[a]],o[a]^=n[a];return o}_encrypt(e,n){const i=this._s;let r,s,o;const a=new Uint8Array(16);a.set(e);for(let c=0;c<16;++c)a[c]^=n[c];for(let c=1;c<this._cyclesOfRepetition;c++){for(let f=0;f<16;++f)a[f]=i[a[f]];o=a[1],a[1]=a[5],a[5]=a[9],a[9]=a[13],a[13]=o,o=a[2],s=a[6],a[2]=a[10],a[6]=a[14],a[10]=o,a[14]=s,o=a[3],s=a[7],r=a[11],a[3]=a[15],a[7]=o,a[11]=s,a[15]=r;for(let f=0;f<16;f+=4){const l=a[f],d=a[f+1],h=a[f+2],u=a[f+3];r=l^d^h^u,a[f]^=r^this._mixCol[l^d],a[f+1]^=r^this._mixCol[d^h],a[f+2]^=r^this._mixCol[h^u],a[f+3]^=r^this._mixCol[u^l]}for(let f=0,l=c*16;f<16;++f,++l)a[f]^=n[l]}for(let c=0;c<16;++c)a[c]=i[a[c]];o=a[1],a[1]=a[5],a[5]=a[9],a[9]=a[13],a[13]=o,o=a[2],s=a[6],a[2]=a[10],a[6]=a[14],a[10]=o,a[14]=s,o=a[3],s=a[7],r=a[11],a[3]=a[15],a[7]=o,a[11]=s,a[15]=r;for(let c=0,f=this._keySize;c<16;++c,++f)a[c]^=n[f];return a}_decryptBlock2(e,n){const i=e.length;let r=this.buffer,s=this.bufferPosition;const o=[];let a=this.iv;for(let l=0;l<i;++l){if(r[s]=e[l],++s,s<16)continue;const d=this._decrypt(r,this._key);for(let h=0;h<16;++h)d[h]^=a[h];a=r,o.push(d),r=new Uint8Array(16),s=0}if(this.buffer=r,this.bufferLength=s,this.iv=a,o.length===0)return new Uint8Array(0);let c=16*o.length;if(n){const l=o.at(-1);let d=l[15];if(d<=16){for(let h=15,u=16-d;h>=u;--h)if(l[h]!==d){d=0;break}c-=d,o[o.length-1]=l.subarray(0,16-d)}}const f=new Uint8Array(c);for(let l=0,d=0,h=o.length;l<h;++l,d+=16)f.set(o[l],d);return f}decryptBlock(e,n,i=null){const r=e.length,s=this.buffer;let o=this.bufferPosition;if(i)this.iv=i;else{for(let a=0;o<16&&a<r;++a,++o)s[o]=e[a];if(o<16)return this.bufferLength=o,new Uint8Array(0);this.iv=s,e=e.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=this._decryptBlock2,this.decryptBlock(e,n)}encrypt(e,n){const i=e.length;let r=this.buffer,s=this.bufferPosition;const o=[];n||=new Uint8Array(16);for(let f=0;f<i;++f){if(r[s]=e[f],++s,s<16)continue;for(let d=0;d<16;++d)r[d]^=n[d];const l=this._encrypt(r,this._key);n=l,o.push(l),r=new Uint8Array(16),s=0}if(this.buffer=r,this.bufferLength=s,this.iv=n,o.length===0)return new Uint8Array(0);const a=16*o.length,c=new Uint8Array(a);for(let f=0,l=0,d=o.length;f<d;++f,l+=16)c.set(o[f],l);return c}}class x4 extends Jh{_rcon=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]);constructor(e){super(),this._cyclesOfRepetition=10,this._keySize=160,this._key=this._expandKey(e)}_expandKey(e){const i=this._s,r=this._rcon,s=new Uint8Array(176);s.set(e);for(let o=16,a=1;o<176;++a){let c=s[o-3],f=s[o-2],l=s[o-1],d=s[o-4];c=i[c],f=i[f],l=i[l],d=i[d],c^=r[a];for(let h=0;h<4;++h)s[o]=c^=s[o-16],o++,s[o]=f^=s[o-16],o++,s[o]=l^=s[o-16],o++,s[o]=d^=s[o-16],o++}return s}}class eu extends Jh{constructor(e){super(),this._cyclesOfRepetition=14,this._keySize=224,this._key=this._expandKey(e)}_expandKey(e){const i=this._s,r=new Uint8Array(240);r.set(e);let s=1,o,a,c,f;for(let l=32,d=1;l<240;++d){l%32===16?(o=i[o],a=i[a],c=i[c],f=i[f]):l%32===0&&(o=r[l-3],a=r[l-2],c=r[l-1],f=r[l-4],o=i[o],a=i[a],c=i[c],f=i[f],o^=s,(s<<=1)>=256&&(s=(s^27)&255));for(let h=0;h<4;++h)r[l]=o^=r[l-32],l++,r[l]=a^=r[l-32],l++,r[l]=c^=r[l-32],l++,r[l]=f^=r[l-32],l++}return r}}class y4{_hash(e,n,i){ht("Abstract method `_hash` called")}checkOwnerPassword(e,n,i,r){const s=new Uint8Array(e.length+56);s.set(e,0),s.set(n,e.length),s.set(i,e.length+n.length);const o=this._hash(e,s,i);return Vo(o,r)}checkUserPassword(e,n,i){const r=new Uint8Array(e.length+8);r.set(e,0),r.set(n,e.length);const s=this._hash(e,r,[]);return Vo(s,i)}getOwnerKey(e,n,i,r){const s=new Uint8Array(e.length+56);s.set(e,0),s.set(n,e.length),s.set(i,e.length+n.length);const o=this._hash(e,s,i);return new eu(o).decryptBlock(r,!1,new Uint8Array(16))}getUserKey(e,n,i){const r=new Uint8Array(e.length+8);r.set(e,0),r.set(n,e.length);const s=this._hash(e,r,[]);return new eu(s).decryptBlock(i,!1,new Uint8Array(16))}}class ZA extends y4{_hash(e,n,i){return Qh(n,0,n.length)}}class zA extends y4{_hash(e,n,i){let r=Qh(n,0,n.length).subarray(0,32),s=[0],o=0;for(;o<64||s.at(-1)>o-32;){const a=e.length+r.length+i.length,c=new Uint8Array(a);let f=0;c.set(e,f),f+=e.length,c.set(r,f),f+=r.length,c.set(i,f);const l=new Uint8Array(a*64);for(let u=0,g=0;u<64;u++,g+=a)l.set(c,g);s=new x4(r.subarray(0,16)).encrypt(l,r.subarray(16,32));const h=Math.sumPrecise(s.slice(0,16))%3;h===0?r=Qh(s,0,s.length):h===1?r=RA(s,0,s.length):h===2&&(r=p4(s,0,s.length)),o++}return r.subarray(0,32)}}class w4{constructor(e,n){this.StringCipherConstructor=e,this.StreamCipherConstructor=n}createStream(e,n){const i=new this.StreamCipherConstructor;return new YA(e,n,function(s,o){return i.decryptBlock(s,o)})}decryptString(e){const n=new this.StringCipherConstructor;let i=Sn(e);return i=n.decryptBlock(i,!0),la(i)}encryptString(e){const n=new this.StringCipherConstructor;if(n instanceof Jh){const s=16-e.length%16;e+=String.fromCharCode(s).repeat(s);const o=new Uint8Array(16);crypto.getRandomValues(o);let a=Sn(e);a=n.encrypt(a,o);const c=new Uint8Array(16+a.length);return c.set(o),c.set(a,16),la(c)}let i=Sn(e);return i=n.encrypt(i),la(i)}}class fo{static get _defaultPasswordBytes(){return ge(this,"_defaultPasswordBytes",new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]))}#e(e,n,i,r,s,o,a,c,f,l,d,h){if(n){const g=Math.min(127,n.length);n=n.subarray(0,g)}else n=[];const u=e===6?new zA:new ZA;return u.checkUserPassword(n,c,a)?u.getUserKey(n,f,d):n.length&&u.checkOwnerPassword(n,r,o,i)?u.getOwnerKey(n,s,o,l):null}#t(e,n,i,r,s,o,a,c){const f=40+i.length+e.length,l=new Uint8Array(f);let d=0,h,u;if(n)for(u=Math.min(32,n.length);d<u;++d)l[d]=n[d];for(h=0;d<32;)l[d++]=fo._defaultPasswordBytes[h++];l.set(i,d),d+=i.length,l[d++]=s&255,l[d++]=s>>8&255,l[d++]=s>>16&255,l[d++]=s>>>24&255,l.set(e,d),d+=e.length,o>=4&&!c&&(l.fill(255,d,d+4),d+=4);let g=wr(l,0,d);const p=a>>3;if(o>=3)for(h=0;h<50;++h)g=wr(g,0,p);const x=g.subarray(0,p);let m,w;if(o>=3){d=0,l.set(fo._defaultPasswordBytes,d),d+=32,l.set(e,d),d+=e.length,m=new ls(x),w=m.encryptBlock(wr(l,0,d)),u=x.length;const O=new Uint8Array(u);for(h=1;h<=19;++h){for(let k=0;k<u;++k)O[k]=x[k]^h;m=new ls(O),w=m.encryptBlock(w)}}else m=new ls(x),w=m.encryptBlock(fo._defaultPasswordBytes);return w.every((O,k)=>r[k]===O)?x:null}#n(e,n,i,r){const s=new Uint8Array(32);let o=0;const a=Math.min(32,e.length);for(;o<a;++o)s[o]=e[o];let c=0;for(;o<32;)s[o++]=fo._defaultPasswordBytes[c++];let f=wr(s,0,o);const l=r>>3;if(i>=3)for(c=0;c<50;++c)f=wr(f,0,f.length);let d,h;if(i>=3){h=n;const u=new Uint8Array(l);for(c=19;c>=0;c--){for(let g=0;g<l;++g)u[g]=f[g]^c;d=new ls(u),h=d.encryptBlock(h)}}else d=new ls(f.subarray(0,l)),h=d.encryptBlock(n);return h}#a(e,n,i,r=!1){const s=i.length,o=new Uint8Array(s+9);o.set(i);let a=s;return o[a++]=e&255,o[a++]=e>>8&255,o[a++]=e>>16&255,o[a++]=n&255,o[a++]=n>>8&255,r&&(o[a++]=115,o[a++]=65,o[a++]=108,o[a++]=84),wr(o,0,a).subarray(0,Math.min(s+5,16))}#i(e,n,i,r,s){if(!(n instanceof le))throw new re("Invalid crypt filter name.");const o=this,c=e.get(n.name)?.get("CFM");if(!c||c.name==="None")return function(){return new HA};if(c.name==="V2")return function(){return new ls(o.#a(i,r,s,!1))};if(c.name==="AESV2")return function(){return new x4(o.#a(i,r,s,!0))};if(c.name==="AESV3")return function(){return new eu(s)};throw new re("Unknown crypto method")}constructor(e,n,i){const r=e.get("Filter");if(!zt(r,"Standard"))throw new re("unknown encryption method");this.filterName=r.name,this.dict=e;const s=e.get("V");if(!Number.isInteger(s)||s!==1&&s!==2&&s!==4&&s!==5)throw new re("unsupported encryption algorithm");this.algorithm=s;let o=e.get("Length");if(!o)if(s<=3)o=40;else{const m=e.get("CF"),w=e.get("StmF");m instanceof q&&w instanceof le&&(m.suppressEncryption=!0,o=m.get(w.name)?.get("Length")||128,o<40&&(o<<=3))}if(!Number.isInteger(o)||o<40||o%8!==0)throw new re("invalid key length");const a=Sn(e.get("O")),c=Sn(e.get("U")),f=a.subarray(0,32),l=c.subarray(0,32),d=e.get("P"),h=e.get("R"),u=(s===4||s===5)&&e.get("EncryptMetadata")!==!1;this.encryptMetadata=u;const g=Sn(n);let p;if(i){if(h===6)try{i=gd(i)}catch{L("CipherTransformFactory: Unable to convert UTF8 encoded password.")}p=Sn(i)}let x;if(s!==5)x=this.#t(g,p,f,l,d,h,o,u);else{const m=a.subarray(32,40),w=a.subarray(40,48),O=c.subarray(0,48),k=c.subarray(32,40),E=c.subarray(40,48),D=Sn(e.get("OE")),v=Sn(e.get("UE")),S=Sn(e.get("Perms"));x=this.#e(h,p,f,m,w,O,l,k,E,D,v,S)}if(!x){if(!i)throw new Go("No password given",f2.NEED_PASSWORD);const m=this.#n(p,f,h,o);x=this.#t(g,m,f,l,d,h,o,u)}if(!x)throw new Go("Incorrect Password",f2.INCORRECT_PASSWORD);if(s===4&&x.length<16?(this.encryptionKey=new Uint8Array(16),this.encryptionKey.set(x)):this.encryptionKey=x,s>=4){const m=e.get("CF");m instanceof q&&(m.suppressEncryption=!0),this.cf=m,this.stmf=e.get("StmF")||le.get("Identity"),this.strf=e.get("StrF")||le.get("Identity"),this.eff=e.get("EFF")||this.stmf}}createCipherTransform(e,n){if(this.algorithm===4||this.algorithm===5)return new w4(this.#i(this.cf,this.strf,e,n,this.encryptionKey),this.#i(this.cf,this.stmf,e,n,this.encryptionKey));const i=this.#a(e,n,this.encryptionKey,!1),r=function(){return new ls(i)};return new w4(r,r)}}class qA{#e=null;constructor(e,n){this.stream=e,this.pdfManager=n,this.entries=[],this._xrefStms=new Set,this._cacheMap=new Map,this._pendingRefs=new tn,this._newPersistentRefNum=null,this._newTemporaryRefNum=null,this._persistentRefsCache=null}getNewPersistentRef(e){this._newPersistentRefNum===null&&(this._newPersistentRefNum=this.entries.length||1);const n=this._newPersistentRefNum++;return this._cacheMap.set(n,e),ke.get(n,0)}getNewTemporaryRef(){if(this._newTemporaryRefNum===null&&(this._newTemporaryRefNum=this.entries.length||1,this._newPersistentRefNum)){this._persistentRefsCache=new Map;for(let e=this._newTemporaryRefNum;e<this._newPersistentRefNum;e++)this._persistentRefsCache.set(e,this._cacheMap.get(e)),this._cacheMap.delete(e)}return ke.get(this._newTemporaryRefNum++,0)}resetNewTemporaryRef(){if(this._newTemporaryRefNum=null,this._persistentRefsCache)for(const[e,n]of this._persistentRefsCache)this._cacheMap.set(e,n);this._persistentRefsCache=null}setStartXRef(e){this.startXRefQueue=[e]}parse(e=!1){let n;e?(L("Indexing all PDF objects"),n=this.indexObjects()):n=this.readXRef(),n.assignXref(this),this.trailer=n;let i;try{i=n.get("Encrypt")}catch(s){if(s instanceof Ut)throw s;L(`XRef.parse - Invalid "Encrypt" reference: "${s}".`)}if(i instanceof q){const s=n.get("ID"),o=s?.length?s[0]:"";i.suppressEncryption=!0,this.encrypt=new fo(i,o,this.pdfManager.password)}let r;try{r=n.get("Root")}catch(s){if(s instanceof Ut)throw s;L(`XRef.parse - Invalid "Root" reference: "${s}".`)}if(r instanceof q)try{if(r.get("Pages")instanceof q){this.root=r;return}}catch(s){if(s instanceof Ut)throw s;L(`XRef.parse - Invalid "Pages" reference: "${s}".`)}throw e?new Xo("Invalid Root reference."):new Ms}processXRefTable(e){"tableState"in this||(this.tableState={entryNum:0,streamPos:e.lexer.stream.pos,parserBuf1:e.buf1,parserBuf2:e.buf2});const n=this.readXRefTable(e);if(!pn(n,"trailer"))throw new re("Invalid XRef table: could not find trailer dictionary");let i=e.getObj();if(!(i instanceof q)&&i.dict&&(i=i.dict),!(i instanceof q))throw new re("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,i}readXRefTable(e){const n=e.lexer.stream,i=this.tableState;n.pos=i.streamPos,e.buf1=i.parserBuf1,e.buf2=i.parserBuf2;let r;for(;;){if(!("firstEntryNum"in i)||!("entryCount"in i)){if(pn(r=e.getObj(),"trailer"))break;i.firstEntryNum=r,i.entryCount=e.getObj()}let s=i.firstEntryNum;const o=i.entryCount;if(!Number.isInteger(s)||!Number.isInteger(o))throw new re("Invalid XRef table: wrong types in subsection header");for(let a=i.entryNum;a<o;a++){i.streamPos=n.pos,i.entryNum=a,i.parserBuf1=e.buf1,i.parserBuf2=e.buf2;const c={};c.offset=e.getObj(),c.gen=e.getObj();const f=e.getObj();if(f instanceof cn)switch(f.cmd){case"f":c.free=!0;break;case"n":c.uncompressed=!0;break}if(!Number.isInteger(c.offset)||!Number.isInteger(c.gen)||!(c.free||c.uncompressed))throw new re(`Invalid entry in XRef subsection: ${s}, ${o}`);a===0&&c.free&&s===1&&(s=0),this.entries[a+s]||(this.entries[a+s]=c)}i.entryNum=0,i.streamPos=n.pos,i.parserBuf1=e.buf1,i.parserBuf2=e.buf2,delete i.firstEntryNum,delete i.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new re("Invalid XRef table: unexpected first object");return r}processXRefStream(e){if(!("streamState"in this)){const{dict:n,pos:i}=e,r=n.get("W"),s=n.get("Index")||[0,n.get("Size")];this.streamState={entryRanges:s,byteWidths:r,entryNum:0,streamPos:i}}return this.readXRefStream(e),delete this.streamState,e.dict}readXRefStream(e){const n=this.streamState;e.pos=n.streamPos;const[i,r,s]=n.byteWidths,o=n.entryRanges;for(;o.length>0;){const[a,c]=o;if(!Number.isInteger(a)||!Number.isInteger(c))throw new re(`Invalid XRef range fields: ${a}, ${c}`);if(!Number.isInteger(i)||!Number.isInteger(r)||!Number.isInteger(s))throw new re(`Invalid XRef entry fields length: ${a}, ${c}`);for(let f=n.entryNum;f<c;++f){n.entryNum=f,n.streamPos=e.pos;let l=0,d=0,h=0;for(let g=0;g<i;++g){const p=e.getByte();if(p===-1)throw new re("Invalid XRef byteWidths 'type'.");l=l<<8|p}i===0&&(l=1);for(let g=0;g<r;++g){const p=e.getByte();if(p===-1)throw new re("Invalid XRef byteWidths 'offset'.");d=d<<8|p}for(let g=0;g<s;++g){const p=e.getByte();if(p===-1)throw new re("Invalid XRef byteWidths 'generation'.");h=h<<8|p}const u={};switch(u.offset=d,u.gen=h,l){case 0:u.free=!0;break;case 1:u.uncompressed=!0;break;case 2:break;default:throw new re(`Invalid XRef entry type: ${l}`)}this.entries[a+f]||(this.entries[a+f]=u)}n.entryNum=0,n.streamPos=e.pos,o.splice(0,2)}}indexObjects(){function a(R,T){let H="",$=R[T];for(;$!==10&&$!==13&&$!==60&&!(++T>=R.length);)H+=String.fromCharCode($),$=R[T];return H}function c(R,T,H){const $=H.length,W=R.length;let Y=0;for(;T<W;){let Z=0;for(;Z<$&&R[T+Z]===H[Z];)++Z;if(Z>=$)break;T++,Y++}return Y}const f=/\b(endobj|\d+\s+\d+\s+obj|xref|trailer\s*<<)\b/g,l=/\b(startxref|\d+\s+\d+\s+obj)\b/g,d=/^(\d+)\s+(\d+)\s+obj\b/,h=new Uint8Array([116,114,97,105,108,101,114]),u=new Uint8Array([115,116,97,114,116,120,114,101,102]),g=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();const p=this.stream;p.pos=0;const x=p.getBytes(),m=la(x),w=x.length;let O=p.start;const k=[],E=[];for(;O<w;){let R=x[O];if(R===9||R===10||R===13||R===32){++O;continue}if(R===37){do{if(++O,O>=w)break;R=x[O]}while(R!==10&&R!==13);continue}const T=a(x,O);let H;if(T.startsWith("xref")&&(T.length===4||/\s/.test(T[4])))O+=c(x,O,h),k.push(O),O+=c(x,O,u);else if(H=d.exec(T)){const $=H[1]|0,W=H[2]|0,Y=O+T.length;let Z,B=!1;if(!this.entries[$])B=!0;else if(this.entries[$].gen===W)try{new sr({lexer:new Xa(p.makeSubStream(Y))}).getObj(),B=!0}catch(te){te instanceof wd?L(`indexObjects -- checking object (${T}): "${te}".`):B=!0}B&&(this.entries[$]={offset:O-p.start,gen:W,uncompressed:!0}),f.lastIndex=Y;const z=f.exec(m);z?(Z=f.lastIndex+1-O,z[1]!=="endobj"&&(L(`indexObjects: Found "${z[1]}" inside of another "obj", caused by missing "endobj" -- trying to recover.`),Z-=z[1].length+1)):Z=w-O;const ee=x.subarray(O,O+Z),X=c(ee,0,g);X<Z&&ee[X+5]<64&&(E.push(O-p.start),this._xrefStms.add(O-p.start)),O+=Z}else if(T.startsWith("trailer")&&(T.length===7||/\s/.test(T[7]))){k.push(O);const $=O+T.length;let W;l.lastIndex=$;const Y=l.exec(m);Y?(W=l.lastIndex+1-O,Y[1]!=="startxref"&&(L(`indexObjects: Found "${Y[1]}" after "trailer", caused by missing "startxref" -- trying to recover.`),W-=Y[1].length+1)):W=w-O,O+=W}else O+=T.length+1}for(const R of E)this.startXRefQueue.push(R),this.readXRef(!0);const D=[];let v=!1;for(const R of k){p.pos=R;const T=new sr({lexer:new Xa(p),xref:this,allowStreams:!0,recoveryMode:!0}),H=T.getObj();if(!pn(H,"trailer"))continue;const $=T.getObj();$ instanceof q&&(D.push($),$.has("Encrypt")&&(v=!0))}let S,C;for(const R of[...D,"genFallback",...D]){if(R==="genFallback"){if(!C)break;this._generationFallback=!0;continue}let T=!1;try{const H=R.get("Root");if(!(H instanceof q))continue;const $=H.get("Pages");if(!($ instanceof q))continue;const W=$.get("Count");Number.isInteger(W)&&(T=!0)}catch(H){C=H;continue}if(T&&(!v||R.has("Encrypt"))&&R.has("ID"))return R;S=R}if(S)return S;if(this.topDict)return this.topDict;if(!D.length)for(const R in this.entries){if(!Object.hasOwn(this.entries,R))continue;const T=this.entries[R],H=ke.get(parseInt(R),T.gen);let $;try{$=this.fetch(H)}catch{continue}if($ instanceof at&&($=$.dict),$ instanceof q&&$.has("Root"))return $}throw new Xo("Invalid PDF structure.")}readXRef(e=!1){const n=this.stream,i=new Set;for(;this.startXRefQueue.length;){try{const r=this.startXRefQueue[0];if(i.has(r)){L("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}i.add(r),n.pos=r+n.start;const s=new sr({lexer:new Xa(n),xref:this,allowStreams:!0});let o=s.getObj(),a;if(pn(o,"xref"))a=this.processXRefTable(s),this.topDict||(this.topDict=a),o=a.get("XRefStm"),Number.isInteger(o)&&!this._xrefStms.has(o)&&(this._xrefStms.add(o),this.startXRefQueue.push(o),this.#e??=o);else if(Number.isInteger(o)){if(!Number.isInteger(s.getObj())||!pn(s.getObj(),"obj")||!((o=s.getObj())instanceof at))throw new re("Invalid XRef stream");if(a=this.processXRefStream(o),this.topDict||(this.topDict=a),!a)throw new re("Failed to read XRef stream")}else throw new re("Invalid XRef stream header");o=a.get("Prev"),Number.isInteger(o)?this.startXRefQueue.push(o):o instanceof ke&&this.startXRefQueue.push(o.num)}catch(r){if(r instanceof Ut)throw r;st("(while reading XRef): "+r)}this.startXRefQueue.shift()}if(this.topDict)return this.topDict;if(!e)throw new Ms}get lastXRefStreamPos(){return this.#e??(this._xrefStms.size>0?Math.max(...this._xrefStms):null)}getEntry(e){const n=this.entries[e];return n&&!n.free&&n.offset?n:null}fetchIfRef(e,n=!1){return e instanceof ke?this.fetch(e,n):e}fetch(e,n=!1){if(!(e instanceof ke))throw new Error("ref object is not a reference");const i=e.num,r=this._cacheMap.get(i);if(r!==void 0)return r instanceof q&&!r.objId&&(r.objId=e.toString()),r;let s=this.getEntry(i);if(s===null)return s;if(this._pendingRefs.has(e))return this._pendingRefs.remove(e),L(`Ignoring circular reference: ${e}.`),J6;this._pendingRefs.put(e);try{s=s.uncompressed?this.fetchUncompressed(e,s,n):this.fetchCompressed(e,s,n),this._pendingRefs.remove(e)}catch(o){throw this._pendingRefs.remove(e),o}return s instanceof q?s.objId=e.toString():s instanceof at&&(s.dict.objId=e.toString()),s}fetchUncompressed(e,n,i=!1){const r=e.gen;let s=e.num;if(n.gen!==r){const d=`Inconsistent generation in XRef: ${e}`;if(this._generationFallback&&n.gen<r)return L(d),this.fetchUncompressed(ke.get(s,n.gen),n,i);throw new nr(d)}const o=this.stream.makeSubStream(n.offset+this.stream.start),a=new sr({lexer:new Xa(o),xref:this,allowStreams:!0}),c=a.getObj(),f=a.getObj(),l=a.getObj();if(c!==s||f!==r||!(l instanceof cn))throw new nr(`Bad (uncompressed) XRef entry: ${e}`);if(l.cmd!=="obj"){if(l.cmd.startsWith("obj")&&(s=parseInt(l.cmd.substring(3),10),!Number.isNaN(s)))return s;throw new nr(`Bad (uncompressed) XRef entry: ${e}`)}return n=this.encrypt&&!i?a.getObj(this.encrypt.createCipherTransform(s,r)):a.getObj(),n instanceof at||this._cacheMap.set(s,n),n}fetchCompressed(e,n,i=!1){const r=n.offset,s=this.fetch(ke.get(r,0));if(!(s instanceof at))throw new re("bad ObjStm stream");const o=s.dict.get("First"),a=s.dict.get("N");if(!Number.isInteger(o)||!Number.isInteger(a))throw new re("invalid first and n parameters for ObjStm stream");let c=new sr({lexer:new Xa(s),xref:this,allowStreams:!0});const f=new Array(a),l=new Array(a);for(let u=0;u<a;++u){const g=c.getObj();if(!Number.isInteger(g))throw new re(`invalid object number in the ObjStm stream: ${g}`);const p=c.getObj();if(!Number.isInteger(p))throw new re(`invalid object offset in the ObjStm stream: ${p}`);f[u]=g;const x=this.getEntry(g);x?.offset===r&&x.gen!==u&&(x.gen=u),l[u]=p}const d=(s.start||0)+o,h=new Array(a);for(let u=0;u<a;++u){const g=u<a-1?l[u+1]-l[u]:void 0;if(g<0)throw new re("Invalid offset in the ObjStm stream.");c=new sr({lexer:new Xa(s.makeSubStream(d+l[u],g,s.dict)),xref:this,allowStreams:!0});const p=c.getObj();if(h[u]=p,p instanceof at)continue;const x=f[u],m=this.entries[x];m&&m.offset===r&&m.gen===u&&this._cacheMap.set(x,p)}if(n=h[n.gen],n===void 0)throw new nr(`Bad (compressed) XRef entry: ${e}`);return n}async fetchIfRefAsync(e,n){return e instanceof ke?this.fetchAsync(e,n):e}async fetchAsync(e,n){try{return this.fetch(e,n)}catch(i){if(!(i instanceof Ut))throw i;return await this.pdfManager.requestRange(i.begin,i.end),this.fetchAsync(e,n)}}getCatalogObj(){return this.root}}const $A=[0,0,612,792];class _4{#e=!1;#t=null;constructor({pdfManager:e,xref:n,pageIndex:i,pageDict:r,ref:s,globalIdFactory:o,fontCache:a,builtInCMapCache:c,standardFontDataCache:f,globalColorSpaceCache:l,globalImageCache:d,systemFontCache:h,nonBlendModesSet:u,xfaFactory:g}){this.pdfManager=e,this.pageIndex=i,this.pageDict=r,this.xref=n,this.ref=s,this.fontCache=a,this.builtInCMapCache=c,this.standardFontDataCache=f,this.globalColorSpaceCache=l,this.globalImageCache=d,this.systemFontCache=h,this.nonBlendModesSet=u,this.evaluatorOptions=e.evaluatorOptions,this.xfaFactory=g;const p={obj:0};this._localIdFactory=class extends o{static createObjId(){return`p${i}_${++p.obj}`}static getPageObjId(){return`p${s.toString()}`}}}#n(e){return new Gs({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalColorSpaceCache:this.globalColorSpaceCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions})}#a(e,n=!1){const i=Ra({dict:this.pageDict,key:e,getArray:n,stopWhenFound:!1});return Array.isArray(i)?i.length===1||!(i[0]instanceof q)?i[0]:q.merge({xref:this.xref,dictArray:i}):i}get content(){return this.pageDict.getArray("Contents")}get resources(){const e=this.#a("Resources");return ge(this,"resources",e instanceof q?e:q.empty)}#i(e){if(this.xfaData)return this.xfaData.bbox;const n=ji(this.#a(e,!0),null);if(n){if(n[2]-n[0]>0&&n[3]-n[1]>0)return n;L(`Empty, or invalid, /${e} entry.`)}return null}get mediaBox(){return ge(this,"mediaBox",this.#i("MediaBox")||$A)}get cropBox(){return ge(this,"cropBox",this.#i("CropBox")||this.mediaBox)}get userUnit(){const e=this.pageDict.get("UserUnit");return ge(this,"userUnit",typeof e=="number"&&e>0?e:1)}get view(){const{cropBox:e,mediaBox:n}=this;if(e!==n&&!Vo(e,n)){const i=wt.intersect(e,n);if(i&&i[2]-i[0]>0&&i[3]-i[1]>0)return ge(this,"view",i);L("Empty /CropBox and /MediaBox intersection.")}return ge(this,"view",n)}get rotate(){let e=this.#a("Rotate")||0;return e%90!==0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360),ge(this,"rotate",e)}#s(e,n){if(this.evaluatorOptions.ignoreErrors){L(`getContentStream - ignoring sub-stream (${n}): "${e}".`);return}throw e}async getContentStream(){const e=await this.pdfManager.ensure(this,"content");return e instanceof at?e:Array.isArray(e)?new Fp(e,this.#s.bind(this)):new Dd}get xfaData(){return ge(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async#o(e,n,i){const r=[];for(const s of e)if(s.id){const o=ke.fromString(s.id);if(!o){L(`A non-linked annotation cannot be modified: ${s.id}`);continue}if(s.deleted){if(n.put(o,o),s.popupRef){const a=ke.fromString(s.popupRef);a&&n.put(a,a)}continue}if(s.popup?.deleted){const a=ke.fromString(s.popupRef);a&&n.put(a,a)}i?.put(o),s.ref=o,r.push(this.xref.fetchAsync(o).then(a=>{a instanceof q&&(s.oldAnnotation=a.clone())},()=>{L(`Cannot fetch \`oldAnnotation\` for: ${o}.`)})),delete s.id}await Promise.all(r)}async saveNewAnnotations(e,n,i,r,s){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");const o=this.#n(e),a=new ha,c=new tn;await this.#o(i,a,c);const f=this.pageDict,l=this.annotations.filter(u=>!(u instanceof ke&&a.has(u))),d=await Ni.saveNewAnnotations(o,n,i,r,s);for(const{ref:u}of d.annotations)u instanceof ke&&!c.has(u)&&l.push(u);const h=f.clone();h.set("Annots",l),s.put(this.ref,{data:h});for(const u of a)s.put(u,{data:null})}async save(e,n,i,r){const s=this.#n(e),o=await this._parsedAnnotations,a=[];for(const c of o)a.push(c.save(s,n,i,r).catch(function(f){return L(`save - ignoring annotation data during "${n.name}" task: "${f}".`),null}));return Promise.all(a)}async loadResources(e){await(this.#t??=this.pdfManager.ensure(this,"resources")),await Ks.load(this.resources,e,this.xref)}async#r(e,n){const i=e?.get("Resources");return i instanceof q&&i.size?(await Ks.load(i,n,this.xref),q.merge({xref:this.xref,dictArray:[i,this.resources],mergeSubDicts:!0})):this.resources}async getOperatorList({handler:e,sink:n,task:i,intent:r,cacheKey:s,annotationStorage:o=null,modifiedIds:a=null}){const c=this.getContentStream(),f=this.loadResources(xd),l=this.#n(e),h=(this.xfaFactory?null:O2(o))?.get(this.pageIndex);let u=Promise.resolve(null),g=null;if(h){const H=this.pdfManager.ensureDoc("annotationGlobals");let $;const W=new Set;for(const{bitmapId:Z,bitmap:B}of h)Z&&!B&&!W.has(Z)&&W.add(Z);const{isOffscreenCanvasSupported:Y}=this.evaluatorOptions;if(W.size>0){const Z=h.slice();for(const[B,z]of o)B.startsWith(r2)&&z.bitmap&&W.has(z.bitmapId)&&Z.push(z);$=Ni.generateImages(Z,this.xref,Y)}else $=Ni.generateImages(h,this.xref,Y);g=new tn,u=Promise.all([H,this.#o(h,g,null)]).then(([Z])=>Z?Ni.printNewAnnotations(Z,l,i,h,$):null)}const p=Promise.all([c,f]).then(async([H])=>{const $=await this.#r(H.dict,xd),W=new En(r,n);return e.send("StartRenderPage",{transparency:l.hasBlendModes($,this.nonBlendModesSet),pageIndex:this.pageIndex,cacheKey:s}),await l.getOperatorList({stream:H,task:i,resources:$,operatorList:W}),W});let[x,m,w]=await Promise.all([p,this._parsedAnnotations,u]);if(w){m=m.filter(H=>!(H.ref&&g.has(H.ref)));for(let H=0,$=w.length;H<$;H++){const W=w[H];if(W.refToReplace){const Y=m.findIndex(Z=>Z.ref&&T0(Z.ref,W.refToReplace));Y>=0&&(m.splice(Y,1,W),w.splice(H--,1),$--)}}m=m.concat(w)}if(m.length===0||r&Vn.ANNOTATIONS_DISABLE)return x.flush(!0),{length:x.totalLength};const O=!!(r&Vn.ANNOTATIONS_FORMS),k=!!(r&Vn.IS_EDITING),E=!!(r&Vn.ANY),D=!!(r&Vn.DISPLAY),v=!!(r&Vn.PRINT),S=[];for(const H of m)(E||D&&H.mustBeViewed(o,O)&&H.mustBeViewedWhenEditing(k,a)||v&&H.mustBePrinted(o))&&S.push(H.getOperatorList(l,i,r,o).catch(function($){return L(`getOperatorList - ignoring annotation data during "${i.name}" task: "${$}".`),{opList:null,separateForm:!1,separateCanvas:!1}}));const C=await Promise.all(S);let R=!1,T=!1;for(const{opList:H,separateForm:$,separateCanvas:W}of C)x.addOpList(H),R||=$,T||=W;return x.flush(!0,{form:R,canvas:T}),{length:x.totalLength}}async extractTextContent({handler:e,task:n,includeMarkedContent:i,disableNormalization:r,sink:s,intersector:o=null}){const a=this.getContentStream(),c=this.loadResources(yd),f=this.pdfManager.ensureCatalog("lang"),[l,,d]=await Promise.all([a,c,f]),h=await this.#r(l.dict,yd);return this.#n(e).getTextContent({stream:l,task:n,resources:h,includeMarkedContent:i,disableNormalization:r,sink:s,viewBox:this.view,lang:d,intersector:o})}async getStructTree(){const e=await this.pdfManager.ensureCatalog("structTreeRoot");if(!e)return null;await this._parsedAnnotations;try{const n=await this.pdfManager.ensure(this,"_parseStructTree",[e]);return await this.pdfManager.ensure(n,"serializable")}catch(n){return L(`getStructTree: "${n}".`),null}}_parseStructTree(e){const n=new g9(e,this.pageDict);return n.parse(this.ref),n}async getAnnotationsData(e,n,i){const r=await this._parsedAnnotations;if(r.length===0)return r;const s=[],o=[];let a;const c=!!(i&Vn.ANY),f=!!(i&Vn.DISPLAY),l=!!(i&Vn.PRINT),d=[];for(const h of r){const u=c||f&&h.viewable;(u||l&&h.printable)&&s.push(h.data),h.hasTextContent&&u?(a??=this.#n(e),o.push(h.extractTextContent(a,n,[-1/0,-1/0,1/0,1/0]).catch(function(g){L(`getAnnotationsData - ignoring textContent during "${n.name}" task: "${g}".`)}))):h.overlaysTextContent&&u&&d.push(h)}if(d.length>0){const h=new vA(d);o.push(this.extractTextContent({handler:e,task:n,includeMarkedContent:!1,disableNormalization:!1,sink:null,viewBox:this.view,lang:null,intersector:h}).then(()=>{h.setText()}))}return await Promise.all(o),s}get annotations(){const e=this.#a("Annots");return ge(this,"annotations",Array.isArray(e)?e:[])}get _parsedAnnotations(){const e=this.pdfManager.ensure(this,"annotations").then(async n=>{if(n.length===0)return n;const[i,r]=await Promise.all([this.pdfManager.ensureDoc("annotationGlobals"),this.pdfManager.ensureDoc("fieldObjects")]);if(!i)return[];const s=r?.orphanFields,o=[];for(const l of n)o.push(Ni.create(this.xref,l,i,this._localIdFactory,!1,s,null,this.ref).catch(function(d){return L(`_parsedAnnotations: "${d}".`),null}));const a=[];let c,f;for(const l of await Promise.all(o))if(l){if(l instanceof ei){(f||=[]).push(l);continue}if(l instanceof Wh){(c||=[]).push(l);continue}a.push(l)}return f&&a.push(...f),c&&a.push(...c),a});return this.#e=!0,ge(this,"_parsedAnnotations",e)}get jsActions(){const e=F0(this.xref,this.pageDict,Z6);return ge(this,"jsActions",e)}async collectAnnotationsByType(e,n,i,r,s){const{pageIndex:o}=this;if(this.#e){const c=await this._parsedAnnotations;for(const{data:f}of c)(!i||i.has(f.annotationType))&&(f.pageIndex=o,r.push(Promise.resolve(f)));return}const a=await this.pdfManager.ensure(this,"annotations");for(const c of a)r.push(Ni.create(this.xref,c,s,this._localIdFactory,!1,null,i,this.ref).then(async f=>{if(!f)return null;if(f.data.pageIndex=o,f.hasTextContent&&f.viewable){const l=this.#n(e);await f.extractTextContent(l,n,[-1/0,-1/0,1/0,1/0])}return f.data}).catch(function(f){return L(`collectAnnotationsByType: "${f}".`),null}))}}const O4=new Uint8Array([37,80,68,70,45]),k4=new Uint8Array([115,116,97,114,116,120,114,101,102]),GA=new Uint8Array([101,110,100,111,98,106]);function tu(t,e,n=1024,i=!1){const r=e.length,s=t.peekBytes(n),o=s.length-r;if(o<=0)return!1;if(i){const a=r-1;let c=s.length-1;for(;c>=a;){let f=0;for(;f<r&&s[c-f]===e[a-f];)f++;if(f>=r)return t.pos+=c-a,!0;c--}}else{let a=0;for(;a<=o;){let c=0;for(;c<r&&s[a+c]===e[c];)c++;if(c>=r)return t.pos+=a,!0;a++}}return!1}class nu{#e=new Map;#t=null;constructor(e,n){if(n.length<=0)throw new Xo("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=e,this.stream=n,this.xref=new qA(n,e);const i={font:0};this._globalIdFactory=class{static getDocId(){return`g_${e.docId}`}static createFontId(){return`f${++i.font}`}static createObjId(){ht("Abstract method `createObjId` called.")}static getPageObjId(){ht("Abstract method `getPageObjId` called.")}}}parse(e){this.xref.parse(e),this.catalog=new Vs(this.pdfManager,this.xref)}get linearization(){let e=null;try{e=Im.create(this.stream)}catch(n){if(n instanceof Ut)throw n;st(n)}return ge(this,"linearization",e)}get startXRef(){const e=this.stream;let n=0;if(this.linearization){if(e.reset(),tu(e,GA)){e.skip(6);let i=e.peekByte();for(;wa(i);)e.pos++,i=e.peekByte();n=e.pos-e.start}}else{const r=k4.length;let s=!1,o=e.end;for(;!s&&o>0;)o-=1024-r,o<0&&(o=0),e.pos=o,s=tu(e,k4,1024,!0);if(s){e.skip(9);let a;do a=e.getByte();while(wa(a));let c="";for(;a>=32&&a<=57;)c+=String.fromCharCode(a),a=e.getByte();n=parseInt(c,10),isNaN(n)&&(n=0)}}return ge(this,"startXRef",n)}checkHeader(){const e=this.stream;if(e.reset(),!tu(e,O4))return;e.moveStart(),e.skip(O4.length);let n="",i;for(;(i=e.getByte())>32&&n.length<7;)n+=String.fromCharCode(i);x2.test(n)?this.#t=n:L(`Invalid PDF header version: ${n}`)}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){let e=0;return this.catalog.hasActualNumPages?e=this.catalog.numPages:this.xfaFactory?e=this.xfaFactory.getNumPages():this.linearization?e=this.linearization.numPages:e=this.catalog.numPages,ge(this,"numPages",e)}#n(e,n=0){return Array.isArray(e)?e.every(r=>{if(r=this.xref.fetchIfRef(r),!(r instanceof q))return!1;if(r.has("Kids"))return++n>10?(L("#hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):this.#n(r.get("Kids"),n);const s=zt(r.get("FT"),"Sig"),o=r.get("Rect"),a=Array.isArray(o)&&o.every(c=>c===0);return s&&a}):!1}#a(e,n,i=new tn){if(Array.isArray(e))for(let r of e){if(r instanceof ke){if(i.has(r))continue;i.put(r)}if(r=this.xref.fetchIfRef(r),!(r instanceof q))continue;if(r.has("Kids")){this.#a(r.get("Kids"),n,i);continue}if(!zt(r.get("FT"),"Sig"))continue;const o=r.get("V");if(!(o instanceof q))continue;const a=o.get("SubFilter");a instanceof le&&n.add(a.name)}}get _xfaStreams(){const{acroForm:e}=this.catalog;if(!e)return null;const n=e.get("XFA"),i=new Map(["xdp:xdp","template","datasets","config","connectionSet","localeSet","stylesheet","/xdp:xdp"].map(r=>[r,null]));if(n instanceof at&&!n.isEmpty)return i.set("xdp:xdp",n),i;if(!Array.isArray(n)||n.length===0)return null;for(let r=0,s=n.length;r<s;r+=2){let o;if(r===0?o="xdp:xdp":r===s-2?o="/xdp:xdp":o=n[r],!i.has(o))continue;const a=this.xref.fetchIfRef(n[r+1]);!(a instanceof at)||a.isEmpty||i.set(o,a)}return i}get xfaDatasets(){const e=this._xfaStreams;if(!e)return ge(this,"xfaDatasets",null);for(const n of["datasets","xdp:xdp"]){const i=e.get(n);if(i)try{const r=Wo(i.getString()),s={[n]:r};return ge(this,"xfaDatasets",new kA(s))}catch{L("XFA - Invalid utf-8 string.");break}}return ge(this,"xfaDatasets",null)}get xfaData(){const e=this._xfaStreams;if(!e)return null;const n=Object.create(null);for(const[i,r]of e)if(r)try{n[i]=Wo(r.getString())}catch{return L("XFA - Invalid utf-8 string."),null}return n}get xfaFactory(){let e;return this.pdfManager.enableXfa&&this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm&&(e=this.xfaData),ge(this,"xfaFactory",e?new $c(e):null)}get isPureXfa(){return this.xfaFactory?this.xfaFactory.isValid():!1}get htmlForXfa(){return this.xfaFactory?this.xfaFactory.getPages():null}async#i(){const e=await this.pdfManager.ensureCatalog("xfaImages");e&&this.xfaFactory.setImages(e)}async#s(e,n){const i=await this.pdfManager.ensureCatalog("acroForm");if(!i)return;const r=await i.getAsync("DR");if(!(r instanceof q))return;await Ks.load(r,["Font"],this.xref);const s=r.get("Font");if(!(s instanceof q))return;const o=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions,{useSystemFonts:!1}),{builtInCMapCache:a,fontCache:c,standardFontDataCache:f}=this.catalog,l=new Gs({xref:this.xref,handler:e,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:c,builtInCMapCache:a,standardFontDataCache:f,options:o}),d=new En,h=[],u={get font(){return h.at(-1)},set font(w){h.push(w)},clone(){return this}},g=(w,O,k)=>l.handleSetFont(r,[le.get(w),1],null,d,n,u,O,k).catch(E=>(L(`loadXfaFonts: "${E}".`),null)),p=[];for(const[w,O]of s){const k=O.get("FontDescriptor");if(!(k instanceof q))continue;let E=k.get("FontFamily");E=E.replaceAll(/[ ]+(\d)/g,"$1");const D=k.get("FontWeight"),v=-k.get("ItalicAngle"),S={fontFamily:E,fontWeight:D,italicAngle:v};op(S)&&p.push(g(w,null,S))}await Promise.all(p);const x=this.xfaFactory.setFonts(h);if(!x)return;o.ignoreErrors=!0,p.length=0,h.length=0;const m=new Set;for(const w of x)ch(`${w}-Regular`)||m.add(w);m.size&&x.push("PdfJS-Fallback");for(const w of x)if(!m.has(w))for(const O of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const k=`${w}-${O.name}`;p.push(g(k,qg(k),{fontFamily:w,fontWeight:O.fontWeight,italicAngle:O.italicAngle}))}await Promise.all(p),this.xfaFactory.appendFonts(h,m)}loadXfaResources(e,n){return Promise.all([this.#s(e,n).catch(()=>{}),this.#i()])}serializeXfaData(e){return this.xfaFactory?this.xfaFactory.serializeData(e):null}get version(){return this.catalog.version||this.#t}get formInfo(){const e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},{acroForm:n}=this.catalog;if(!n)return ge(this,"formInfo",e);try{const i=n.get("Fields"),r=Array.isArray(i)&&i.length>0;e.hasFields=r;const s=n.get("XFA");e.hasXfa=Array.isArray(s)&&s.length>0||s instanceof at&&!s.isEmpty;const a=!!(n.get("SigFlags")&1),c=a&&this.#n(i);e.hasAcroForm=r&&!c,e.hasSignatures=a}catch(i){if(i instanceof Ut)throw i;L(`Cannot fetch form information: "${i}".`)}return ge(this,"formInfo",e)}get documentInfo(){const{catalog:e,formInfo:n,xref:i}=this,r={PDFFormatVersion:this.version,Language:e.lang,EncryptFilterName:i.encrypt?.filterName??null,IsLinearized:!!this.linearization,IsAcroFormPresent:n.hasAcroForm,IsXFAPresent:n.hasXfa,IsCollectionPresent:!!e.collection,IsSignaturesPresent:n.hasSignatures};let s;try{s=i.trailer.get("Info")}catch(o){if(o instanceof Ut)throw o;st("The document information dictionary is invalid.")}if(!(s instanceof q))return ge(this,"documentInfo",r);for(const[o,a]of s){switch(o){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if(typeof a=="string"){r[o]=mt(a);continue}break;case"Trapped":if(a instanceof le){r[o]=a;continue}break;default:let c;switch(typeof a){case"string":c=mt(a);break;case"number":case"boolean":c=a;break;default:a instanceof le&&(c=a);break}if(c===void 0){L(`Bad value, for custom key "${o}", in Info: ${a}.`);continue}r.Custom??=Object.create(null),r.Custom[o]=c;continue}L(`Bad value, for key "${o}", in Info: ${a}.`)}return ge(this,"documentInfo",r)}get fingerprints(){const n="\0".repeat(16);function i(a){return typeof a=="string"&&a.length===16&&a!==n}const r=this.xref.trailer.get("ID");let s,o;return Array.isArray(r)&&i(r[0])?(s=Sn(r[0]),r[1]!==r[0]&&i(r[1])&&(o=Sn(r[1]))):s=wr(this.stream.getByteRange(0,1024),0,1024),ge(this,"fingerprints",[u2(s),o?u2(o):null])}async#o(e){const{catalog:n,linearization:i,xref:r}=this,s=ke.get(i.objectNumberFirst,0);try{const o=await r.fetchAsync(s);if(o instanceof q){let a=o.getRaw("Type");if(a instanceof ke&&(a=await r.fetchAsync(a)),zt(a,"Page")||!o.has("Type")&&!o.has("Kids")&&o.has("Contents"))return n.pageKidsCountCache.has(s)||n.pageKidsCountCache.put(s,1),n.pageIndexCache.has(s)||n.pageIndexCache.put(s,0),[o,s]}throw new re("The Linearization dictionary doesn't point to a valid Page dictionary.")}catch(o){return L(`_getLinearizationPage: "${o.message}".`),n.getPageDict(e)}}getPage(e){const n=this.#e.get(e);if(n)return n;const{catalog:i,linearization:r,xfaFactory:s}=this;let o;return s?o=Promise.resolve([q.empty,null]):r?.pageFirst===e?o=this.#o(e):o=i.getPageDict(e),o=o.then(([a,c])=>new _4({pdfManager:this.pdfManager,xref:this.xref,pageIndex:e,pageDict:a,ref:c,globalIdFactory:this._globalIdFactory,fontCache:i.fontCache,builtInCMapCache:i.builtInCMapCache,standardFontDataCache:i.standardFontDataCache,globalColorSpaceCache:i.globalColorSpaceCache,globalImageCache:i.globalImageCache,systemFontCache:i.systemFontCache,nonBlendModesSet:i.nonBlendModesSet,xfaFactory:s})),this.#e.set(e,o),o}async checkFirstPage(e=!1){if(!e)try{await this.getPage(0)}catch(n){if(n instanceof nr)throw this.#e.delete(0),await this.cleanup(),new Ms}}async checkLastPage(e=!1){const{catalog:n,pdfManager:i}=this;n.setActualNumPages();let r;try{if(await Promise.all([i.ensureDoc("xfaFactory"),i.ensureDoc("linearization"),i.ensureCatalog("numPages")]),this.xfaFactory)return;if(this.linearization?r=this.linearization.numPages:r=n.numPages,Number.isInteger(r)){if(r<=1)return}else throw new re("Page count is not an integer.");await this.getPage(r-1)}catch(s){if(this.#e.delete(r-1),await this.cleanup(),s instanceof nr&&!e)throw new Ms;L(`checkLastPage - invalid /Pages tree /Count: ${r}.`);let o;try{o=await n.getAllPageDicts(e)}catch(a){if(a instanceof nr&&!e)throw new Ms;n.setActualNumPages(1);return}for(const[a,[c,f]]of o){let l;c instanceof Error?(l=Promise.reject(c),l.catch(()=>{})):l=Promise.resolve(new _4({pdfManager:i,xref:this.xref,pageIndex:a,pageDict:c,ref:f,globalIdFactory:this._globalIdFactory,fontCache:n.fontCache,builtInCMapCache:n.builtInCMapCache,standardFontDataCache:n.standardFontDataCache,globalColorSpaceCache:this.globalColorSpaceCache,globalImageCache:n.globalImageCache,systemFontCache:n.systemFontCache,nonBlendModesSet:n.nonBlendModesSet,xfaFactory:null})),this.#e.set(a,l)}n.setActualNumPages(o.size)}}async fontFallback(e,n){const{catalog:i,pdfManager:r}=this;for(const s of await Promise.all(i.fontCache))if(s.loadedName===e){s.fallback(n,r.evaluatorOptions);return}}async cleanup(e=!1){return this.catalog?this.catalog.cleanup(e):ph()}async#r(e,n,i,r,s,o,a){const{xref:c}=this;if(!(i instanceof ke)||o.has(i))return;o.put(i);const f=await c.fetchAsync(i);if(!(f instanceof q))return;let l=await f.getAsync("Subtype");switch(l=l instanceof le?l.name:null,l){case"Link":return}if(f.has("T")){const h=mt(await f.getAsync("T"));e=e===""?h:`${e}.${h}`}else{let h=f;for(;;){if(h=h.getRaw("Parent")||n,h instanceof ke){if(o.has(h))break;h=await c.fetchAsync(h)}if(!(h instanceof q))break;if(h.has("T")){const u=mt(await h.getAsync("T"));e=e===""?u:`${e}.${u}`;break}}}if(n&&!f.has("Parent")&&zt(f.get("Subtype"),"Widget")&&a.put(i,n),r.has(e)||r.set(e,[]),r.get(e).push(Ni.create(c,i,s,null,!0,a,null,null).then(h=>h?.getFieldObject()).catch(function(h){return L(`#collectFieldObjects: "${h}".`),null})),!f.has("Kids"))return;const d=await f.getAsync("Kids");if(Array.isArray(d))for(const h of d)await this.#r(e,i,h,r,s,o,a)}get fieldObjects(){const e=this.pdfManager.ensureDoc("formInfo").then(async n=>{if(!n.hasFields)return null;const i=await this.annotationGlobals;if(!i)return null;const{acroForm:r}=i,s=new tn,o=Object.create(null),a=new Map,c=new ha;for(const l of r.get("Fields"))await this.#r("",null,l,a,i,s,c);const f=[];for(const[l,d]of a)f.push(Promise.all(d).then(h=>{h=h.filter(u=>!!u),h.length>0&&(o[l]=h)}));return await Promise.all(f),{allFields:bd(o)>0?o:null,orphanFields:c}});return ge(this,"fieldObjects",e)}get hasJSActions(){const e=this.pdfManager.ensureDoc("_parseHasJSActions");return ge(this,"hasJSActions",e)}async _parseHasJSActions(){const[e,n]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return e?!0:n?.allFields?Object.values(n.allFields).some(i=>i.some(r=>r.actions!==null)):!1}get calculationOrderIds(){const e=this.catalog.acroForm?.get("CO");if(!Array.isArray(e)||e.length===0)return ge(this,"calculationOrderIds",null);const n=[];for(const i of e)i instanceof ke&&n.push(i.toString());return ge(this,"calculationOrderIds",n.length?n:null)}get annotationGlobals(){return ge(this,"annotationGlobals",Ni.createGlobals(this.pdfManager))}}function XA(t){if(t){const e=M0(t);if(e)return e.href;L(`Invalid absolute docBaseUrl: "${t}".`)}return null}class P4{constructor({docBaseUrl:e,docId:n,enableXfa:i,evaluatorOptions:r,handler:s,password:o}){this._docBaseUrl=XA(e),this._docId=n,this._password=o,this.enableXfa=i,r.isOffscreenCanvasSupported&&=da.isOffscreenCanvasSupported,r.isImageDecoderSupported&&=da.isImageDecoderSupported,this.evaluatorOptions=Object.freeze(r),ua.setOptions(r),Fs.setOptions(r),En.setOptions(r);const a={...r,handler:s};W0.setOptions(a),Di.setOptions(a),Qo.setOptions(a)}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){return this._docBaseUrl}ensureDoc(e,n){return this.ensure(this.pdfDocument,e,n)}ensureXRef(e,n){return this.ensure(this.pdfDocument.xref,e,n)}ensureCatalog(e,n){return this.ensure(this.pdfDocument.catalog,e,n)}getPage(e){return this.pdfDocument.getPage(e)}fontFallback(e,n){return this.pdfDocument.fontFallback(e,n)}cleanup(e=!1){return this.pdfDocument.cleanup(e)}async ensure(e,n,i){ht("Abstract method `ensure` called")}requestRange(e,n){ht("Abstract method `requestRange` called")}requestLoadedStream(e=!1){ht("Abstract method `requestLoadedStream` called")}sendProgressiveData(e){ht("Abstract method `sendProgressiveData` called")}updatePassword(e){this._password=e}terminate(e){ht("Abstract method `terminate` called")}}class au extends P4{constructor(e){super(e);const n=new qt(e.source);this.pdfDocument=new nu(this,n),this._loadedStreamPromise=Promise.resolve(n)}async ensure(e,n,i){const r=e[n];return typeof r=="function"?r.apply(e,i):r}requestRange(e,n){return Promise.resolve()}requestLoadedStream(e=!1){return this._loadedStreamPromise}terminate(e){}}class lo extends P4{constructor(e){super(e),this.streamManager=this.constructor.createStreamManager(e),this.pdfDocument=new nu(this,this.streamManager.getStream())}static createStreamManager(e){return new Jo(e.source,{msgHandler:e.handler,length:e.length,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize})}async ensure(e,n,i){try{const r=e[n];return typeof r=="function"?r.apply(e,i):r}catch(r){if(!(r instanceof Ut))throw r;return await this.requestRange(r.begin,r.end),this.ensure(e,n,i)}}requestRange(e,n){return this.streamManager.requestRange(e,n)}requestLoadedStream(e=!1){return this.streamManager.requestAllChunks(e)}sendProgressiveData(e){this.streamManager.onReceiveData({chunk:e})}terminate(e){this.streamManager.abort(e)}}const $f={DATA:1,ERROR:2},hn={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function v4(){}function Aa(t){if(t instanceof In||t instanceof Xo||t instanceof Go||t instanceof d2||t instanceof ud)return t;switch(t instanceof Error||typeof t=="object"&&t!==null||ht('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),t.name){case"AbortException":return new In(t.message);case"InvalidPDFException":return new Xo(t.message);case"PasswordException":return new Go(t.message,t.code);case"ResponseException":return new d2(t.message,t.status,t.missing);case"UnknownErrorException":return new ud(t.message,t.details)}return new ud(t.message,t.toString())}class iu{#e=new AbortController;constructor(e,n,i){this.sourceName=e,this.targetName=n,this.comObj=i,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),i.addEventListener("message",this.#t.bind(this),{signal:this.#e.signal})}#t({data:e}){if(e.targetName!==this.sourceName)return;if(e.stream){this.#a(e);return}if(e.callback){const i=e.callbackId,r=this.callbackCapabilities[i];if(!r)throw new Error(`Cannot resolve callback ${i}`);if(delete this.callbackCapabilities[i],e.callback===$f.DATA)r.resolve(e.data);else if(e.callback===$f.ERROR)r.reject(Aa(e.reason));else throw new Error("Unexpected callback case");return}const n=this.actionHandler[e.action];if(!n)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const i=this.sourceName,r=e.sourceName,s=this.comObj;Promise.try(n,e.data).then(function(o){s.postMessage({sourceName:i,targetName:r,callback:$f.DATA,callbackId:e.callbackId,data:o})},function(o){s.postMessage({sourceName:i,targetName:r,callback:$f.ERROR,callbackId:e.callbackId,reason:Aa(o)})});return}if(e.streamId){this.#n(e);return}n(e.data)}on(e,n){const i=this.actionHandler;if(i[e])throw new Error(`There is already an actionName called "${e}"`);i[e]=n}send(e,n,i){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:n},i)}sendWithPromise(e,n,i){const r=this.callbackId++,s=Promise.withResolvers();this.callbackCapabilities[r]=s;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:r,data:n},i)}catch(o){s.reject(o)}return s.promise}sendWithStream(e,n,i,r){const s=this.streamId++,o=this.sourceName,a=this.targetName,c=this.comObj;return new ReadableStream({start:f=>{const l=Promise.withResolvers();return this.streamControllers[s]={controller:f,startCall:l,pullCall:null,cancelCall:null,isClosed:!1},c.postMessage({sourceName:o,targetName:a,action:e,streamId:s,data:n,desiredSize:f.desiredSize},r),l.promise},pull:f=>{const l=Promise.withResolvers();return this.streamControllers[s].pullCall=l,c.postMessage({sourceName:o,targetName:a,stream:hn.PULL,streamId:s,desiredSize:f.desiredSize}),l.promise},cancel:f=>{On(f instanceof Error,"cancel must have a valid reason");const l=Promise.withResolvers();return this.streamControllers[s].cancelCall=l,this.streamControllers[s].isClosed=!0,c.postMessage({sourceName:o,targetName:a,stream:hn.CANCEL,streamId:s,reason:Aa(f)}),l.promise}},i)}#n(e){const n=e.streamId,i=this.sourceName,r=e.sourceName,s=this.comObj,o=this,a=this.actionHandler[e.action],c={enqueue(f,l=1,d){if(this.isCancelled)return;const h=this.desiredSize;this.desiredSize-=l,h>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),s.postMessage({sourceName:i,targetName:r,stream:hn.ENQUEUE,streamId:n,chunk:f},d)},close(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:r,stream:hn.CLOSE,streamId:n}),delete o.streamSinks[n])},error(f){On(f instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:r,stream:hn.ERROR,streamId:n,reason:Aa(f)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};c.sinkCapability.resolve(),c.ready=c.sinkCapability.promise,this.streamSinks[n]=c,Promise.try(a,e.data,c).then(function(){s.postMessage({sourceName:i,targetName:r,stream:hn.START_COMPLETE,streamId:n,success:!0})},function(f){s.postMessage({sourceName:i,targetName:r,stream:hn.START_COMPLETE,streamId:n,reason:Aa(f)})})}#a(e){const n=e.streamId,i=this.sourceName,r=e.sourceName,s=this.comObj,o=this.streamControllers[n],a=this.streamSinks[n];switch(e.stream){case hn.START_COMPLETE:e.success?o.startCall.resolve():o.startCall.reject(Aa(e.reason));break;case hn.PULL_COMPLETE:e.success?o.pullCall.resolve():o.pullCall.reject(Aa(e.reason));break;case hn.PULL:if(!a){s.postMessage({sourceName:i,targetName:r,stream:hn.PULL_COMPLETE,streamId:n,success:!0});break}a.desiredSize<=0&&e.desiredSize>0&&a.sinkCapability.resolve(),a.desiredSize=e.desiredSize,Promise.try(a.onPull||v4).then(function(){s.postMessage({sourceName:i,targetName:r,stream:hn.PULL_COMPLETE,streamId:n,success:!0})},function(f){s.postMessage({sourceName:i,targetName:r,stream:hn.PULL_COMPLETE,streamId:n,reason:Aa(f)})});break;case hn.ENQUEUE:if(On(o,"enqueue should have stream controller"),o.isClosed)break;o.controller.enqueue(e.chunk);break;case hn.CLOSE:if(On(o,"close should have stream controller"),o.isClosed)break;o.isClosed=!0,o.controller.close(),this.#i(o,n);break;case hn.ERROR:On(o,"error should have stream controller"),o.controller.error(Aa(e.reason)),this.#i(o,n);break;case hn.CANCEL_COMPLETE:e.success?o.cancelCall.resolve():o.cancelCall.reject(Aa(e.reason)),this.#i(o,n);break;case hn.CANCEL:if(!a)break;const c=Aa(e.reason);Promise.try(a.onCancel||v4,c).then(function(){s.postMessage({sourceName:i,targetName:r,stream:hn.CANCEL_COMPLETE,streamId:n,success:!0})},function(f){s.postMessage({sourceName:i,targetName:r,stream:hn.CANCEL_COMPLETE,streamId:n,reason:Aa(f)})}),a.sinkCapability.reject(c),a.isCancelled=!0,delete this.streamSinks[n];break;default:throw new Error("Unexpected stream case")}}async#i(e,n){await Promise.allSettled([e.startCall?.promise,e.pullCall?.promise,e.cancelCall?.promise]),delete this.streamControllers[n]}destroy(){this.#e?.abort(),this.#e=null}}async function A4(t,e,n,{encrypt:i=null}){const r=i?.createCipherTransform(t.num,t.gen);n.push(`${t.num} ${t.gen} obj
|
|
40
|
+
`),e instanceof q?await Gf(e,n,r):e instanceof at?await E4(e,n,r):(Array.isArray(e)||ArrayBuffer.isView(e))&&await j4(e,n,r),n.push(`
|
|
41
|
+
endobj
|
|
42
|
+
`)}async function Gf(t,e,n){e.push("<<");for(const i of t.getKeys())e.push(` /${vd(i)} `),await D4(t.getRaw(i),e,n);e.push(">>")}async function E4(t,e,n){let i=t.getBytes();const{dict:r}=t,[s,o]=await Promise.all([r.getAsync("Filter"),r.getAsync("DecodeParms")]),a=Array.isArray(s)?await r.xref.fetchIfRefAsync(s[0]):s,c=zt(a,"FlateDecode"),f=256;if(i.length>=f||c)try{const d=new CompressionStream("deflate"),h=d.writable.getWriter();await h.ready,h.write(i).then(async()=>{await h.ready,await h.close()}).catch(()=>{});const u=await new Response(d.readable).arrayBuffer();i=new Uint8Array(u);let g,p;s?c||(g=Array.isArray(s)?[le.get("FlateDecode"),...s]:[le.get("FlateDecode"),s],o&&(p=Array.isArray(o)?[null,...o]:[null,o])):g=le.get("FlateDecode"),g&&r.set("Filter",g),p&&r.set("DecodeParms",p)}catch(d){st(`writeStream - cannot compress data: "${d}".`)}let l=la(i);n&&(l=n.encryptString(l)),r.set("Length",l.length),await Gf(r,e,n),e.push(` stream
|
|
43
|
+
`,l,`
|
|
44
|
+
endstream`)}async function j4(t,e,n){e.push("[");let i=!0;for(const r of t)i?i=!1:e.push(" "),await D4(r,e,n);e.push("]")}async function D4(t,e,n){t instanceof le?e.push(`/${vd(t.name)}`):t instanceof ke?e.push(`${t.num} ${t.gen} R`):Array.isArray(t)||ArrayBuffer.isView(t)?await j4(t,e,n):typeof t=="string"?(n&&(t=n.encryptString(t)),e.push(`(${Us(t)})`)):typeof t=="number"?e.push(ut(t)):typeof t=="boolean"?e.push(t.toString()):t instanceof q?await Gf(t,e,n):t instanceof at?await E4(t,e,n):t===null?e.push("null"):L(`Unhandled value in writer: ${typeof t}, please file a bug.`)}function ru(t,e,n,i){for(let r=e+n-1;r>n-1;r--)i[r]=t&255,t>>=8;return n+e}function I4(t,e,n){const i=t.length;for(let r=0;r<i;r++)n[e+r]=t.charCodeAt(r)&255;return e+i}function WA(t,e){const n=Math.floor(Date.now()/1e3),i=e.filename||"",r=[n.toString(),i,t.toString(),...e.infoMap.values()],s=Math.sumPrecise(r.map(c=>c.length)),o=new Uint8Array(s);let a=0;for(const c of r)a=I4(c,a,o);return la(wr(o,0,o.length))}function VA(t,e){const n=new pf({hasAttributes:!0}).parseFromString(t);for(const{xfa:r}of e){if(!r)continue;const{path:s,value:o}=r;if(!s)continue;const a=w2(s);let c=n.documentElement.searchNode(a,0);!c&&a.length>1&&(c=n.documentElement.searchNode([a.at(-1)],0)),c?c.childNodes=Array.isArray(o)?o.map(f=>new Dc("value",f)):[new Dc("#text",o)]:L(`Node not found for path: ${s}`)}const i=[];return n.documentElement.dump(i),i.join("")}async function KA({xref:t,acroForm:e,acroFormRef:n,hasXfa:i,hasXfaDatasetsEntry:r,xfaDatasetsRef:s,needAppearances:o,changes:a}){if(i&&!r&&!s&&L("XFA - Cannot save it"),!o&&(!i||!s||r))return;const c=e.clone();if(i&&!r){const f=e.get("XFA").slice();f.splice(2,0,"datasets"),f.splice(3,0,s),c.set("XFA",f)}o&&c.set("NeedAppearances",!0),a.put(n,{data:c})}function QA({xfaData:t,xfaDatasetsRef:e,changes:n,xref:i}){if(t===null){const s=i.fetchIfRef(e);t=VA(s.getString(),n)}const r=new ea(t);r.dict=new q(i),r.dict.setIfName("Type","EmbeddedFile"),n.put(e,{data:r})}async function JA(t,e,n,i,r){r.push(`xref
|
|
45
|
+
`);const s=S4(n);let o=0;for(const{ref:a,data:c}of n)a.num===s[o]&&(r.push(`${s[o]} ${s[o+1]}
|
|
46
|
+
`),o+=2),c!==null?(r.push(`${e.toString().padStart(10,"0")} ${Math.min(a.gen,65535).toString().padStart(5,"0")} n\r
|
|
47
|
+
`),e+=c.length):r.push(`0000000000 ${Math.min(a.gen+1,65535).toString().padStart(5,"0")} f\r
|
|
48
|
+
`);C4(e,t,i),r.push(`trailer
|
|
49
|
+
`),await Gf(i,r),r.push(`
|
|
50
|
+
startxref
|
|
51
|
+
`,e.toString(),`
|
|
52
|
+
%%EOF
|
|
53
|
+
`)}function S4(t){const e=[];for(const{ref:n}of t)n.num===e.at(-2)+e.at(-1)?e[e.length-1]+=1:e.push(n.num,1);return e}async function eE(t,e,n,i,r){const s=[];let o=0,a=0;for(const{ref:p,data:x}of n){let m;o=Math.max(o,e),x!==null?(m=Math.min(p.gen,65535),s.push([1,e,m]),e+=x.length):(m=Math.min(p.gen+1,65535),s.push([0,0,m])),a=Math.max(a,m)}i.set("Index",S4(n));const c=P2(o),f=P2(a),l=[1,c,f];i.set("W",l),C4(e,t,i);const d=Math.sumPrecise(l),h=new Uint8Array(d*s.length),u=new qt(h);u.dict=i;let g=0;for(const[p,x,m]of s)g=ru(p,l[0],g,h),g=ru(x,l[1],g,h),g=ru(m,l[2],g,h);await A4(t.newRef,u,r,{}),r.push(`startxref
|
|
54
|
+
`,e.toString(),`
|
|
55
|
+
%%EOF
|
|
56
|
+
`)}function C4(t,e,n){if(Array.isArray(e.fileIds)&&e.fileIds.length>0){const i=WA(t,e);n.set("ID",[e.fileIds[0],i])}}function tE(t,e,n){const i=new q(null);i.set("Prev",t.startXRef);const r=t.newRef;return n?(e.put(r,{data:""}),i.set("Size",r.num+1),i.setIfName("Type","XRef")):i.set("Size",r.num),t.rootRef!==null&&i.set("Root",t.rootRef),t.infoRef!==null&&i.set("Info",t.infoRef),t.encryptRef!==null&&i.set("Encrypt",t.encryptRef),i}async function nE(t,e,n=[]){const i=[];for(const[r,{data:s}]of t.items()){if(s===null||typeof s=="string"){i.push({ref:r,data:s});continue}await A4(r,s,n,e),i.push({ref:r,data:n.join("")}),n.length=0}return i.sort((r,s)=>r.ref.num-s.ref.num)}async function aE({originalData:t,xrefInfo:e,changes:n,xref:i=null,hasXfa:r=!1,xfaDatasetsRef:s=null,hasXfaDatasetsEntry:o=!1,needAppearances:a,acroFormRef:c=null,acroForm:f=null,xfaData:l=null,useXrefStream:d=!1}){await KA({xref:i,acroForm:f,acroFormRef:c,hasXfa:r,hasXfaDatasetsEntry:o,xfaDatasetsRef:s,needAppearances:a,changes:n}),r&&QA({xfaData:l,xfaDatasetsRef:s,changes:n,xref:i});const h=tE(e,n,d),u=[],g=await nE(n,i,u);let p=t.length;const x=t.at(-1);x!==10&&x!==13&&(u.push(`
|
|
57
|
+
`),p+=1);for(const{data:k}of g)k!==null&&u.push(k);await(d?eE(e,p,g,h,u):JA(e,p,g,h,u));const m=t.length+Math.sumPrecise(u.map(k=>k.length)),w=new Uint8Array(m);w.set(t);let O=t.length;for(const k of u)O=I4(k,O,w);return w}class iE{constructor(e){this._msgHandler=e,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}getFullReader(){return On(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new rE(this._msgHandler),this._fullRequestReader}getRangeReader(e,n){const i=new sE(e,n,this._msgHandler);return this._rangeRequestReaders.push(i),i}cancelAllRequests(e){this._fullRequestReader?.cancel(e);for(const n of this._rangeRequestReaders.slice(0))n.cancel(e)}}class rE{constructor(e){this._msgHandler=e,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;const n=this._msgHandler.sendWithStream("GetReader");this._reader=n.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then(i=>{this._isStreamingSupported=i.isStreamingSupported,this._isRangeSupported=i.isRangeSupported,this._contentLength=i.contentLength})}get headersReady(){return this._headersReady}get contentLength(){return this._contentLength}get isStreamingSupported(){return this._isStreamingSupported}get isRangeSupported(){return this._isRangeSupported}async read(){const{value:e,done:n}=await this._reader.read();return n?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e)}}class sE{constructor(e,n,i){this._msgHandler=i,this.onProgress=null;const r=this._msgHandler.sendWithStream("GetRangeReader",{begin:e,end:n});this._reader=r.getReader()}get isStreamingSupported(){return!1}async read(){const{value:e,done:n}=await this._reader.read();return n?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e)}}self.createLocalPdfManager=function(t){return new au(t)},self.createNetworkPdfManager=function(t){return new lo(t)};class _r{constructor(e){this.name=e,this.terminated=!1,this._capability=Promise.withResolvers()}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}}function oE(t){return t.protocol==="blob:"}let su=!0;oE(location)?self.autoInitialize!==void 0&&(su=self.autoInitialize):su=new URLSearchParams(location.search).get("autoInitialize")===null;class R4{static{typeof window>"u"&&!Y6&&typeof self<"u"&&typeof self.postMessage=="function"&&"onmessage"in self&&su&&this.initializeFromPort(self)}static setup(e,n){let i=!1;e.on("test",r=>{i||(i=!0,e.send("test",r instanceof Uint8Array))}),e.on("configure",r=>{l2(r.verbosity)}),e.on("GetDocRequest",r=>this.createDocumentHandler(r,n))}static configureWorker(e){l2(e.verbosity)}static createDocumentHandler(e,n){let i,r=!1,s=null;const o=new Set,a=z6(),{docId:c,apiVersion:f,msgHandler:l}=e,d="5.4.211";if(f!==d)throw new Error(`The API version "${f}" does not match the Worker version "${d}".`);const h=(v,S)=>`The \`${v}.prototype\` contains unexpected enumerable property "${S}", thus breaking e.g. \`for...in\` iteration of ${v}s.`;for(const v in{})throw new Error(h("Object",v));for(const v in[])throw new Error(h("Array",v));const u=c+"_worker";let g=l||new iu(u,c,n);const p=e.loadPdfluxDocument,x=e.beforeLoadDocument;function m(){if(r)throw new Error("Worker was terminated")}function w(v){o.add(v)}function O(v){v.finish(),o.delete(v)}async function k(v){x&&await x(i,g),await i.ensureDoc("checkHeader"),await i.ensureDoc("parseStartXRef"),await i.ensureDoc("parse",[v]);let S=null;if(x)try{const $=await g.sendWithPromise("PrefetchFirstViewData",i.pdfDocument.numPages);$&&$.numPages&&(S=$.numPages)}catch{L("Prefetch first view data failed!")}p&&await p(),await i.ensureDoc("checkFirstPage",[v]),S?i.pdfDocument.catalog.setActualNumPages(S):await i.ensureDoc("checkLastPage",[v]),i.saveImportantChunks&&i.saveImportantChunks();const C=await i.ensureDoc("isPureXfa");if(C){const $=new _r("loadXfaResources");w($),await i.ensureDoc("loadXfaResources",[g,$]),O($)}const[R,T]=await Promise.all([i.ensureDoc("numPages"),i.ensureDoc("fingerprints")]),H=C?await i.ensureDoc("htmlForXfa"):null;return{numPages:R,fingerprints:T,htmlForXfa:H}}async function E({data:v,password:S,disableAutoFetch:C,rangeChunkSize:R,length:T,docBaseUrl:H,enableXfa:$,evaluatorOptions:W}){const Y={source:null,disableAutoFetch:C,docBaseUrl:H,docId:c,enableXfa:$,evaluatorOptions:W,handler:g,length:T,password:S,rangeChunkSize:R};if(v)return Y.source=v,self.createLocalPdfManager(Y);const Z=new iE(g),B=Z.getFullReader(),z=Promise.withResolvers();let ee,X=[],te=0;return B.headersReady.then(function(){if(B.isRangeSupported){Y.source=Z,Y.length=B.contentLength,Y.disableAutoFetch||=B.isStreamingSupported,ee=self.createNetworkPdfManager(Y);for(const Ee of X)ee.sendProgressiveData(Ee);X=[],z.resolve(ee),s=null}}).catch(function(Ee){z.reject(Ee),s=null}),new Promise(function(Ee,Pe){const V=function({value:Q,done:N}){try{if(m(),N){if(!ee){const J=y2(X);X=[],T&&J.length!==T&&L("reported HTTP length is different from actual"),Y.source=J,ee=new au(Y),z.resolve(ee)}s=null;return}te+=Q.byteLength,B.isStreamingSupported||g.send("DocProgress",{loaded:te,total:Math.max(te,B.contentLength||0)}),ee?ee.sendProgressiveData(Q):X.push(Q),B.read().then(V,Pe)}catch(J){Pe(J)}};B.read().then(V,Pe)}).catch(function(Ee){z.reject(Ee),s=null}),s=Ee=>{Z.cancelAllRequests(Ee)},z.promise}function D(v){function S(T){m(),g.send("GetDoc",{pdfInfo:T})}function C(T){if(m(),T instanceof Go){const H=new _r(`PasswordException: response ${T.code}`);w(H),g.sendWithPromise("PasswordRequest",T).then(function({password:$}){O(H),i.updatePassword($),R()}).catch(function(){O(H),g.send("DocException",T)})}else g.send("DocException",Aa(T))}function R(){m(),k(!1).then(S,function(T){if(m(),!(T instanceof Ms)){C(T);return}i.requestLoadedStream().then(function(){m(),k(!0).then(S,C)})})}m(),E(v).then(function(T){if(r)throw T.terminate(new In("Worker was terminated.")),new Error("Worker was terminated");i=T,i.requestLoadedStream(!0).then(H=>{g.send("DataLoaded",{length:H.bytes.byteLength})})}).then(R,C)}return g.on("GetPage",function(v){return i.getPage(v.pageIndex).then(function(S){return Promise.all([i.ensure(S,"rotate"),i.ensure(S,"ref"),i.ensure(S,"userUnit"),i.ensure(S,"view")]).then(function([C,R,T,H]){return{rotate:C,ref:R,refStr:R?.toString()??null,userUnit:T,view:H}})})}),g.on("GetPageIndex",function(v){const S=ke.get(v.num,v.gen);return i.ensureCatalog("getPageIndex",[S])}),g.on("GetDestinations",function(v){return i.ensureCatalog("destinations")}),g.on("GetDestination",function(v){return i.ensureCatalog("getDestination",[v.id])}),g.on("GetPageLabels",function(v){return i.ensureCatalog("pageLabels")}),g.on("GetPageLayout",function(v){return i.ensureCatalog("pageLayout")}),g.on("GetPageMode",function(v){return i.ensureCatalog("pageMode")}),g.on("GetViewerPreferences",function(v){return i.ensureCatalog("viewerPreferences")}),g.on("GetOpenAction",function(v){return i.ensureCatalog("openAction")}),g.on("GetAttachments",function(v){return i.ensureCatalog("attachments")}),g.on("GetDocJSActions",function(v){return i.ensureCatalog("jsActions")}),g.on("GetPageJSActions",function({pageIndex:v}){return i.getPage(v).then(S=>i.ensure(S,"jsActions"))}),g.on("GetAnnotationsByType",async function({types:v,pageIndexesToSkip:S}){const[C,R]=await Promise.all([i.ensureDoc("numPages"),i.ensureDoc("annotationGlobals")]);if(!R)return null;const T=[],H=[];let $=null;try{for(let Y=0,Z=C;Y<Z;Y++)S?.has(Y)||($||($=new _r("GetAnnotationsByType"),w($)),T.push(i.getPage(Y).then(async B=>B?B.collectAnnotationsByType(g,$,v,H,R)||[]:[])));return await Promise.all(T),(await Promise.all(H)).filter(Y=>!!Y)}finally{$&&O($)}}),g.on("GetOutline",function(v){return i.ensureCatalog("documentOutline")}),g.on("GetOptionalContentConfig",function(v){return i.ensureCatalog("optionalContentConfig")}),g.on("GetPermissions",function(v){return i.ensureCatalog("permissions")}),g.on("GetMetadata",function(v){return Promise.all([i.ensureDoc("documentInfo"),i.ensureCatalog("metadata")])}),g.on("GetMarkInfo",function(v){return i.ensureCatalog("markInfo")}),g.on("GetData",function(v){return i.requestLoadedStream().then(S=>S.bytes)}),g.on("GetAnnotations",function({pageIndex:v,intent:S}){return i.getPage(v).then(function(C){const R=new _r(`GetAnnotations: page ${v}`);return w(R),C.getAnnotationsData(g,R,S).then(T=>(O(R),T),T=>{throw O(R),T})})}),g.on("GetFieldObjects",function(v){return i.ensureDoc("fieldObjects").then(S=>S?.allFields||null)}),g.on("HasJSActions",function(v){return i.ensureDoc("hasJSActions")}),g.on("GetCalculationOrderIds",function(v){return i.ensureDoc("calculationOrderIds")}),g.on("SaveDocument",async function({isPureXfa:v,numPages:S,annotationStorage:C,filename:R}){const T=[i.requestLoadedStream(),i.ensureCatalog("acroForm"),i.ensureCatalog("acroFormRef"),i.ensureDoc("startXRef"),i.ensureDoc("xref"),i.ensureDoc("linearization"),i.ensureCatalog("structTreeRoot")],H=new ha,$=[],W=v?null:O2(C),[Y,Z,B,z,ee,X,te]=await Promise.all(T),Ee=ee.trailer.getRaw("Root")||null;let Pe;if(W){te?await te.canUpdateStructTree({pdfManager:i,newAnnotationsByPage:W})&&(Pe=te):await ur.canCreateStructureTree({catalogRef:Ee,pdfManager:i,newAnnotationsByPage:W})&&(Pe=null);const se=Ni.generateImages(C.values(),ee,i.evaluatorOptions.isOffscreenCanvasSupported),ve=Pe===void 0?$:[];for(const[De,Ve]of W)ve.push(i.getPage(De).then(We=>{const me=new _r(`Save (editor): page ${De}`);return w(me),We.saveNewAnnotations(g,me,Ve,se,H).finally(function(){O(me)})}));Pe===null?$.push(Promise.all(ve).then(async()=>{await ur.createStructureTree({newAnnotationsByPage:W,xref:ee,catalogRef:Ee,pdfManager:i,changes:H})})):Pe&&$.push(Promise.all(ve).then(async()=>{await Pe.updateStructureTree({newAnnotationsByPage:W,pdfManager:i,changes:H})}))}if(v)$.push(i.ensureDoc("serializeXfaData",[C]));else for(let se=0;se<S;se++)$.push(i.getPage(se).then(function(ve){const De=new _r(`Save: page ${se}`);return w(De),ve.save(g,De,C,H).finally(function(){O(De)})}));const V=await Promise.all($);let Q=null;if(v){if(Q=V[0],!Q)return Y.bytes}else if(H.size===0)return Y.bytes;const N=B&&Z instanceof q&&H.values().some(se=>se.needAppearances),J=Z instanceof q&&Z.get("XFA")||null;let ce=null,je=!1;if(Array.isArray(J)){for(let se=0,ve=J.length;se<ve;se+=2)J[se]==="datasets"&&(ce=J[se+1],je=!0);ce===null&&(ce=ee.getNewTemporaryRef())}else J&&L("Unsupported XFA type.");let be=Object.create(null);if(ee.trailer){const se=new Map,ve=ee.trailer.get("Info")||null;if(ve instanceof q)for(const[De,Ve]of ve)typeof Ve=="string"&&se.set(De,mt(Ve));be={rootRef:Ee,encryptRef:ee.trailer.getRaw("Encrypt")||null,newRef:ee.getNewTemporaryRef(),infoRef:ee.trailer.getRaw("Info")||null,infoMap:se,fileIds:ee.trailer.get("ID")||null,startXRef:X?z:ee.lastXRefStreamPos??z,filename:R}}return aE({originalData:Y.bytes,xrefInfo:be,changes:H,xref:ee,hasXfa:!!J,xfaDatasetsRef:ce,hasXfaDatasetsEntry:je,needAppearances:N,acroFormRef:B,acroForm:Z,xfaData:Q,useXrefStream:m2(ee.topDict,"XRef")}).finally(()=>{ee.resetNewTemporaryRef()})}),g.on("GetOperatorList",function(v,S){const C=v.pageIndex;i.getPage(C).then(function(R){const T=new _r(`GetOperatorList: page ${C}`);w(T);const H=a>=$o.INFOS?Date.now():0;R.getOperatorList({handler:g,sink:S,task:T,intent:v.intent,cacheKey:v.cacheKey,annotationStorage:v.annotationStorage,modifiedIds:v.modifiedIds}).then(function($){O(T),H&&st(`page=${C+1} - getOperatorList: time=${Date.now()-H}ms, len=${$.length}`),S.close()},function($){O(T),!T.terminated&&S.error($)})})}),g.on("GetTextContent",function(v,S){const{pageIndex:C,includeMarkedContent:R,disableNormalization:T}=v;i.getPage(C).then(function(H){const $=new _r("GetTextContent: page "+C);w($);const W=a>=$o.INFOS?Date.now():0;H.extractTextContent({handler:g,task:$,sink:S,includeMarkedContent:R,disableNormalization:T}).then(function(){O($),W&&st(`page=${C+1} - getTextContent: time=${Date.now()-W}ms`),S.close()},function(Y){O($),!$.terminated&&S.error(Y)})})}),g.on("GetStructTree",function(v){return i.getPage(v.pageIndex).then(S=>i.ensure(S,"getStructTree"))}),g.on("FontFallback",function(v){return i.fontFallback(v.id,g)}),g.on("Cleanup",function(v){return i.cleanup(!0)}),g.on("Terminate",function(v){r=!0;const S=[];if(i){i.terminate(new In("Worker was terminated."));const C=i.cleanup();S.push(C),i=null}else ph();s?.(new In("Worker was terminated."));for(const C of o)S.push(C.finished),C.terminate();return Promise.all(S).then(function(){g.destroy(),g=null})}),g.on("Ready",function(v){D(e),e=null}),u}static initializeFromPort(e){const n=new iu("worker","main",e);this.setup(n,e),n.send("ready",null)}}globalThis.pdfjsWorker={WorkerMessageHandler:R4};var M4=class extends iu{constructor(e,n,i){i.postMessage.isProxy||(i.postMessage=new Proxy(i.postMessage,{apply(r,s,o){const a=o[0];return typeof a=="object"&&a.data instanceof ImageBitmap&&o.push([a.data]),Reflect.apply(r,s,o)},get(r,s){return s==="isProxy"?!0:r[s]}})),super(e,n,i)}};function U4(){const t=Object.create(null);let e=!1;return Object.defineProperty(t,"settled",{get(){return e}}),t.promise=new Promise((n,i)=>{t.resolve=function(r){e=!0,n(r)},t.reject=function(r){e=!0,i(r)}}),t}/*! *****************************************************************************
|
|
58
|
+
Copyright (c) Microsoft Corporation.
|
|
59
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
60
|
+
purpose with or without fee is hereby granted.
|
|
61
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
62
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
63
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
64
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
65
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
66
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
67
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
68
|
+
***************************************************************************** */var Et=function(){return Et=Object.assign||function(e){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Et.apply(this,arguments)};function ou(t,e,n){if(n||arguments.length===2)for(var i=0,r=e.length,s;i<r;i++)(s||!(i in e))&&(s||(s=Array.prototype.slice.call(e,0,i)),s[i]=e[i]);return t.concat(s||Array.prototype.slice.call(e))}var Yt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,un=Object.keys,$n=Array.isArray;typeof Promise<"u"&&!Yt.Promise&&(Yt.Promise=Promise);function sa(t,e){return typeof e!="object"||un(e).forEach(function(n){t[n]=e[n]}),t}var Vc=Object.getPrototypeOf,cE={}.hasOwnProperty;function Ea(t,e){return cE.call(t,e)}function ho(t,e){typeof e=="function"&&(e=e(Vc(t))),(typeof Reflect>"u"?un:Reflect.ownKeys)(e).forEach(function(n){Bi(t,n,e[n])})}var T4=Object.defineProperty;function Bi(t,e,n,i){T4(t,e,sa(n&&Ea(n,"get")&&typeof n.get=="function"?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},i))}function uo(t){return{from:function(e){return t.prototype=Object.create(e.prototype),Bi(t.prototype,"constructor",t),{extend:ho.bind(null,t.prototype)}}}}var fE=Object.getOwnPropertyDescriptor;function cu(t,e){var n=fE(t,e),i;return n||(i=Vc(t))&&cu(i,e)}var lE=[].slice;function Xf(t,e,n){return lE.call(t,e,n)}function L4(t,e){return e(t)}function Kc(t){if(!t)throw new Error("Assertion Failed")}function F4(t){Yt.setImmediate?setImmediate(t):setTimeout(t,0)}function N4(t,e){return t.reduce(function(n,i,r){var s=e(i,r);return s&&(n[s[0]]=s[1]),n},{})}function dE(t,e,n){try{t.apply(null,n)}catch(i){e&&e(i)}}function Yi(t,e){if(Ea(t,e))return t[e];if(!e)return t;if(typeof e!="string"){for(var n=[],i=0,r=e.length;i<r;++i){var s=Yi(t,e[i]);n.push(s)}return n}var o=e.indexOf(".");if(o!==-1){var a=t[e.substr(0,o)];return a===void 0?void 0:Yi(a,e.substr(o+1))}}function ti(t,e,n){if(!(!t||e===void 0)&&!("isFrozen"in Object&&Object.isFrozen(t)))if(typeof e!="string"&&"length"in e){Kc(typeof n!="string"&&"length"in n);for(var i=0,r=e.length;i<r;++i)ti(t,e[i],n[i])}else{var s=e.indexOf(".");if(s!==-1){var o=e.substr(0,s),a=e.substr(s+1);if(a==="")n===void 0?$n(t)&&!isNaN(parseInt(o))?t.splice(o,1):delete t[o]:t[o]=n;else{var c=t[o];(!c||!Ea(t,o))&&(c=t[o]={}),ti(c,a,n)}}else n===void 0?$n(t)&&!isNaN(parseInt(e))?t.splice(e,1):delete t[e]:t[e]=n}}function hE(t,e){typeof e=="string"?ti(t,e,void 0):"length"in e&&[].map.call(e,function(n){ti(t,n,void 0)})}function B4(t){var e={};for(var n in t)Ea(t,n)&&(e[n]=t[n]);return e}var uE=[].concat;function Y4(t){return uE.apply([],t)}var H4="Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(Y4([8,16,32,64].map(function(t){return["Int","Uint","Float"].map(function(e){return e+t+"Array"})}))).filter(function(t){return Yt[t]}),bE=H4.map(function(t){return Yt[t]});N4(H4,function(t){return[t,!0]});var Or=null;function Qc(t){Or=typeof WeakMap<"u"&&new WeakMap;var e=fu(t);return Or=null,e}function fu(t){if(!t||typeof t!="object")return t;var e=Or&&Or.get(t);if(e)return e;if($n(t)){e=[],Or&&Or.set(t,e);for(var n=0,i=t.length;n<i;++n)e.push(fu(t[n]))}else if(bE.indexOf(t.constructor)>=0)e=t;else{var r=Vc(t);e=r===Object.prototype?{}:Object.create(r),Or&&Or.set(t,e);for(var s in t)Ea(t,s)&&(e[s]=fu(t[s]))}return e}var gE={}.toString;function lu(t){return gE.call(t).slice(8,-1)}var du=typeof Symbol<"u"?Symbol.iterator:"@@iterator",pE=typeof du=="symbol"?function(t){var e;return t!=null&&(e=t[du])&&e.apply(t)}:function(){return null},bo={};function Hi(t){var e,n,i,r;if(arguments.length===1){if($n(t))return t.slice();if(this===bo&&typeof t=="string")return[t];if(r=pE(t)){for(n=[];i=r.next(),!i.done;)n.push(i.value);return n}if(t==null)return[t];if(e=t.length,typeof e=="number"){for(n=new Array(e);e--;)n[e]=t[e];return n}return[t]}for(e=arguments.length,n=new Array(e);e--;)n[e]=arguments[e];return n}var hu=typeof Symbol<"u"?function(t){return t[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},wi=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function Z4(t,e){wi=t,z4=e}var z4=function(){return!0},mE=!new Error("").stack;function ds(){if(mE)try{throw ds.arguments,new Error}catch(t){return t}return new Error}function uu(t,e){var n=t.stack;return n?(e=e||0,n.indexOf(t.name)===0&&(e+=(t.name+t.message).split(`
|
|
69
|
+
`).length),n.split(`
|
|
70
|
+
`).slice(e).filter(z4).map(function(i){return`
|
|
71
|
+
`+i}).join("")):""}var xE=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],q4=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],bu=xE.concat(q4),yE={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function go(t,e){this._e=ds(),this.name=t,this.message=e}uo(go).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+uu(this._e,2))}},toString:function(){return this.name+": "+this.message}});function $4(t,e){return t+". Errors: "+Object.keys(e).map(function(n){return e[n].toString()}).filter(function(n,i,r){return r.indexOf(n)===i}).join(`
|
|
72
|
+
`)}function Wf(t,e,n,i){this._e=ds(),this.failures=e,this.failedKeys=i,this.successCount=n,this.message=$4(t,e)}uo(Wf).from(go);function Jc(t,e){this._e=ds(),this.name="BulkError",this.failures=Object.keys(e).map(function(n){return e[n]}),this.failuresByPos=e,this.message=$4(t,e)}uo(Jc).from(go);var gu=bu.reduce(function(t,e){return t[e]=e+"Error",t},{}),wE=go,rt=bu.reduce(function(t,e){var n=e+"Error";function i(r,s){this._e=ds(),this.name=n,r?typeof r=="string"?(this.message=""+r+(s?`
|
|
73
|
+
`+s:""),this.inner=s||null):typeof r=="object"&&(this.message=r.name+" "+r.message,this.inner=r):(this.message=yE[e]||n,this.inner=null)}return uo(i).from(wE),t[e]=i,t},{});rt.Syntax=SyntaxError,rt.Type=TypeError,rt.Range=RangeError;var G4=q4.reduce(function(t,e){return t[e+"Error"]=rt[e],t},{});function _E(t,e){if(!t||t instanceof go||t instanceof TypeError||t instanceof SyntaxError||!t.name||!G4[t.name])return t;var n=new G4[t.name](e||t.message,t);return"stack"in t&&Bi(n,"stack",{get:function(){return this.inner.stack}}),n}var Vf=bu.reduce(function(t,e){return["Syntax","Type","Range"].indexOf(e)===-1&&(t[e+"Error"]=rt[e]),t},{});Vf.ModifyError=Wf,Vf.DexieError=go,Vf.BulkError=Jc;function Lt(){}function e0(t){return t}function OE(t,e){return t==null||t===e0?e:function(n){return e(t(n))}}function hs(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function kE(t,e){return t===Lt?e:function(){var n=t.apply(this,arguments);n!==void 0&&(arguments[0]=n);var i=this.onsuccess,r=this.onerror;this.onsuccess=null,this.onerror=null;var s=e.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?hs(i,this.onsuccess):i),r&&(this.onerror=this.onerror?hs(r,this.onerror):r),s!==void 0?s:n}}function PE(t,e){return t===Lt?e:function(){t.apply(this,arguments);var n=this.onsuccess,i=this.onerror;this.onsuccess=this.onerror=null,e.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?hs(n,this.onsuccess):n),i&&(this.onerror=this.onerror?hs(i,this.onerror):i)}}function vE(t,e){return t===Lt?e:function(n){var i=t.apply(this,arguments);sa(n,i);var r=this.onsuccess,s=this.onerror;this.onsuccess=null,this.onerror=null;var o=e.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?hs(r,this.onsuccess):r),s&&(this.onerror=this.onerror?hs(s,this.onerror):s),i===void 0?o===void 0?void 0:o:sa(i,o)}}function AE(t,e){return t===Lt?e:function(){return e.apply(this,arguments)===!1?!1:t.apply(this,arguments)}}function pu(t,e){return t===Lt?e:function(){var n=t.apply(this,arguments);if(n&&typeof n.then=="function"){for(var i=this,r=arguments.length,s=new Array(r);r--;)s[r]=arguments[r];return n.then(function(){return e.apply(i,s)})}return e.apply(this,arguments)}}var t0={},EE=100,jE=20,X4=100,mu=typeof Promise>"u"?[]:function(){var t=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[t,Vc(t),t];var e=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[e,Vc(e),t]}(),xu=mu[0],Kf=mu[1],yu=mu[2],W4=Kf&&Kf.then,Qf=xu&&xu.constructor,wu=!!yu,_u=!1,DE=yu?function(){yu.then(nl)}:Yt.setImmediate?setImmediate.bind(null,nl):Yt.MutationObserver?function(){var t=document.createElement("div");new MutationObserver(function(){nl(),t=null}).observe(t,{attributes:!0}),t.setAttribute("i","1")}:function(){setTimeout(nl,0)},n0=function(t,e){a0.push([t,e]),Jf&&(DE(),Jf=!1)},Ou=!0,Jf=!0,us=[],el=[],ku=null,Pu=e0,po={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:r3,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(t){try{r3(t[0],t[1])}catch{}})}},nt=po,a0=[],bs=0,tl=[];function ze(t){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Lt,this._lib=!1;var e=this._PSD=nt;if(wi&&(this._stackHolder=ds(),this._prev=null,this._numPrev=0),typeof t!="function"){if(t!==t0)throw new TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],this._state===!1&&Au(this,this._value);return}this._state=null,this._value=null,++e.ref,K4(this,t)}var vu={get:function(){var t=nt,e=rl;function n(i,r){var s=this,o=!t.global&&(t!==nt||e!==rl),a=o&&!Zi(),c=new ze(function(f,l){Eu(s,new V4(ol(i,t,o,a),ol(r,t,o,a),f,l,t))});return wi&&e3(c,this),c}return n.prototype=t0,n},set:function(t){Bi(this,"then",t&&t.prototype===t0?vu:{get:function(){return t},set:vu.set})}};ho(ze.prototype,{then:vu,_then:function(t,e){Eu(this,new V4(null,null,t,e,nt))},catch:function(t){if(arguments.length===1)return this.then(null,t);var e=arguments[0],n=arguments[1];return typeof e=="function"?this.then(null,function(i){return i instanceof e?n(i):al(i)}):this.then(null,function(i){return i&&i.name===e?n(i):al(i)})},finally:function(t){return this.then(function(e){return t(),e},function(e){return t(),al(e)})},stack:{get:function(){if(this._stack)return this._stack;try{_u=!0;var t=J4(this,[],jE),e=t.join(`
|
|
74
|
+
From previous: `);return this._state!==null&&(this._stack=e),e}finally{_u=!1}}},timeout:function(t,e){var n=this;return t<1/0?new ze(function(i,r){var s=setTimeout(function(){return r(new rt.Timeout(e))},t);n.then(i,r).finally(clearTimeout.bind(null,s))}):this}}),typeof Symbol<"u"&&Symbol.toStringTag&&Bi(ze.prototype,Symbol.toStringTag,"Dexie.Promise"),po.env=t3();function V4(t,e,n,i,r){this.onFulfilled=typeof t=="function"?t:null,this.onRejected=typeof e=="function"?e:null,this.resolve=n,this.reject=i,this.psd=r}ho(ze,{all:function(){var t=Hi.apply(null,arguments).map(sl);return new ze(function(e,n){t.length===0&&e([]);var i=t.length;t.forEach(function(r,s){return ze.resolve(r).then(function(o){t[s]=o,--i||e(t)},n)})})},resolve:function(t){if(t instanceof ze)return t;if(t&&typeof t.then=="function")return new ze(function(n,i){t.then(n,i)});var e=new ze(t0,!0,t);return e3(e,ku),e},reject:al,race:function(){var t=Hi.apply(null,arguments).map(sl);return new ze(function(e,n){t.map(function(i){return ze.resolve(i).then(e,n)})})},PSD:{get:function(){return nt},set:function(t){return nt=t}},totalEchoes:{get:function(){return rl}},newPSD:kr,usePSD:xo,scheduler:{get:function(){return n0},set:function(t){n0=t}},rejectionMapper:{get:function(){return Pu},set:function(t){Pu=t}},follow:function(t,e){return new ze(function(n,i){return kr(function(r,s){var o=nt;o.unhandleds=[],o.onunhandled=s,o.finalize=hs(function(){var a=this;SE(function(){a.unhandleds.length===0?r():s(a.unhandleds[0])})},o.finalize),t()},e,n,i)})}}),Qf&&(Qf.allSettled&&Bi(ze,"allSettled",function(){var t=Hi.apply(null,arguments).map(sl);return new ze(function(e){t.length===0&&e([]);var n=t.length,i=new Array(n);t.forEach(function(r,s){return ze.resolve(r).then(function(o){return i[s]={status:"fulfilled",value:o}},function(o){return i[s]={status:"rejected",reason:o}}).then(function(){return--n||e(i)})})})}),Qf.any&&typeof AggregateError<"u"&&Bi(ze,"any",function(){var t=Hi.apply(null,arguments).map(sl);return new ze(function(e,n){t.length===0&&n(new AggregateError([]));var i=t.length,r=new Array(i);t.forEach(function(s,o){return ze.resolve(s).then(function(a){return e(a)},function(a){r[o]=a,--i||n(new AggregateError(r))})})})}));function K4(t,e){try{e(function(n){if(t._state===null){if(n===t)throw new TypeError("A promise cannot be resolved with itself.");var i=t._lib&&i0();n&&typeof n.then=="function"?K4(t,function(r,s){n instanceof ze?n._then(r,s):n.then(r,s)}):(t._state=!0,t._value=n,Q4(t)),i&&r0()}},Au.bind(null,t))}catch(n){Au(t,n)}}function Au(t,e){if(el.push(e),t._state===null){var n=t._lib&&i0();e=Pu(e),t._state=!1,t._value=e,wi&&e!==null&&typeof e=="object"&&!e._promise&&dE(function(){var i=cu(e,"stack");e._promise=t,Bi(e,"stack",{get:function(){return _u?i&&(i.get?i.get.apply(e):i.value):t.stack}})}),CE(t),Q4(t),n&&r0()}}function Q4(t){var e=t._listeners;t._listeners=[];for(var n=0,i=e.length;n<i;++n)Eu(t,e[n]);var r=t._PSD;--r.ref||r.finalize(),bs===0&&(++bs,n0(function(){--bs===0&&ju()},[]))}function Eu(t,e){if(t._state===null){t._listeners.push(e);return}var n=t._state?e.onFulfilled:e.onRejected;if(n===null)return(t._state?e.resolve:e.reject)(t._value);++e.psd.ref,++bs,n0(IE,[n,t,e])}function IE(t,e,n){try{ku=e;var i,r=e._value;e._state?i=t(r):(el.length&&(el=[]),i=t(r),el.indexOf(r)===-1&&RE(e)),n.resolve(i)}catch(s){n.reject(s)}finally{ku=null,--bs===0&&ju(),--n.psd.ref||n.psd.finalize()}}function J4(t,e,n){if(e.length===n)return e;var i="";if(t._state===!1){var r=t._value,s,o;r!=null?(s=r.name||"Error",o=r.message||r,i=uu(r,0)):(s=r,o=""),e.push(s+(o?": "+o:"")+i)}return wi&&(i=uu(t._stackHolder,2),i&&e.indexOf(i)===-1&&e.push(i),t._prev&&J4(t._prev,e,n)),e}function e3(t,e){var n=e?e._numPrev+1:0;n<EE&&(t._prev=e,t._numPrev=n)}function nl(){i0()&&r0()}function i0(){var t=Ou;return Ou=!1,Jf=!1,t}function r0(){var t,e,n;do for(;a0.length>0;)for(t=a0,a0=[],n=t.length,e=0;e<n;++e){var i=t[e];i[0].apply(null,i[1])}while(a0.length>0);Ou=!0,Jf=!0}function ju(){var t=us;us=[],t.forEach(function(i){i._PSD.onunhandled.call(null,i._value,i)});for(var e=tl.slice(0),n=e.length;n;)e[--n]()}function SE(t){function e(){t(),tl.splice(tl.indexOf(e),1)}tl.push(e),++bs,n0(function(){--bs===0&&ju()},[])}function CE(t){us.some(function(e){return e._value===t._value})||us.push(t)}function RE(t){for(var e=us.length;e;)if(us[--e]._value===t._value){us.splice(e,1);return}}function al(t){return new ze(t0,!1,t)}function Wt(t,e){var n=nt;return function(){var i=i0(),r=nt;try{return Pr(n,!0),t.apply(this,arguments)}catch(s){e&&e(s)}finally{Pr(r,!1),i&&r0()}}}var Gn={awaits:0,echoes:0,id:0},ME=0,il=[],Du=0,rl=0,UE=0;function kr(t,e,n,i){var r=nt,s=Object.create(r);s.parent=r,s.ref=0,s.global=!1,s.id=++UE;var o=po.env;s.env=wu?{Promise:ze,PromiseProp:{value:ze,configurable:!0,writable:!0},all:ze.all,race:ze.race,allSettled:ze.allSettled,any:ze.any,resolve:ze.resolve,reject:ze.reject,nthen:a3(o.nthen,s),gthen:a3(o.gthen,s)}:{},e&&sa(s,e),++r.ref,s.finalize=function(){--this.parent.ref||this.parent.finalize()};var a=xo(s,t,n,i);return s.ref===0&&s.finalize(),a}function mo(){return Gn.id||(Gn.id=++ME),++Gn.awaits,Gn.echoes+=X4,Gn.id}function Zi(){return Gn.awaits?(--Gn.awaits===0&&(Gn.id=0),Gn.echoes=Gn.awaits*X4,!0):!1}(""+W4).indexOf("[native code]")===-1&&(mo=Zi=Lt);function sl(t){return Gn.echoes&&t&&t.constructor===Qf?(mo(),t.then(function(e){return Zi(),e},function(e){return Zi(),mn(e)})):t}function TE(t){++rl,(!Gn.echoes||--Gn.echoes===0)&&(Gn.echoes=Gn.id=0),il.push(nt),Pr(t,!0)}function LE(){var t=il[il.length-1];il.pop(),Pr(t,!1)}function Pr(t,e){var n=nt;if((e?Gn.echoes&&(!Du++||t!==nt):Du&&(!--Du||t!==nt))&&n3(e?TE.bind(null,t):LE),t!==nt&&(nt=t,n===po&&(po.env=t3()),wu)){var i=po.env.Promise,r=t.env;Kf.then=r.nthen,i.prototype.then=r.gthen,(n.global||t.global)&&(Object.defineProperty(Yt,"Promise",r.PromiseProp),i.all=r.all,i.race=r.race,i.resolve=r.resolve,i.reject=r.reject,r.allSettled&&(i.allSettled=r.allSettled),r.any&&(i.any=r.any))}}function t3(){var t=Yt.Promise;return wu?{Promise:t,PromiseProp:Object.getOwnPropertyDescriptor(Yt,"Promise"),all:t.all,race:t.race,allSettled:t.allSettled,any:t.any,resolve:t.resolve,reject:t.reject,nthen:Kf.then,gthen:t.prototype.then}:{}}function xo(t,e,n,i,r){var s=nt;try{return Pr(t,!0),e(n,i,r)}finally{Pr(s,!1)}}function n3(t){W4.call(xu,t)}function ol(t,e,n,i){return typeof t!="function"?t:function(){var r=nt;n&&mo(),Pr(e,!0);try{return t.apply(this,arguments)}finally{Pr(r,!1),i&&n3(Zi)}}}function a3(t,e){return function(n,i){return t.call(this,ol(n,e),ol(i,e))}}var i3="unhandledrejection";function r3(t,e){var n;try{n=e.onuncatched(t)}catch{}if(n!==!1)try{var i,r={promise:e,reason:t};if(Yt.document&&document.createEvent?(i=document.createEvent("Event"),i.initEvent(i3,!0,!0),sa(i,r)):Yt.CustomEvent&&(i=new CustomEvent(i3,{detail:r}),sa(i,r)),i&&Yt.dispatchEvent&&(dispatchEvent(i),!Yt.PromiseRejectionEvent&&Yt.onunhandledrejection))try{Yt.onunhandledrejection(i)}catch{}wi&&i&&!i.defaultPrevented&&console.warn("Unhandled rejection: "+(t.stack||t))}catch{}}var mn=ze.reject;function Iu(t,e,n,i){if(!t.idbdb||!t._state.openComplete&&!nt.letThrough&&!t._vip){if(t._state.openComplete)return mn(new rt.DatabaseClosed(t._state.dbOpenError));if(!t._state.isBeingOpened){if(!t._options.autoOpen)return mn(new rt.DatabaseClosed);t.open().catch(Lt)}return t._state.dbReadyPromise.then(function(){return Iu(t,e,n,i)})}else{var r=t._createTransaction(e,n,t._dbSchema);try{r.create(),t._state.PR1398_maxLoop=3}catch(s){return s.name===gu.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),t._close(),t.open().then(function(){return Iu(t,e,n,i)})):mn(s)}return r._promise(e,function(s,o){return kr(function(){return nt.trans=r,i(s,o,r)})}).then(function(s){return r._completion.then(function(){return s})})}}var s3="3.2.4",gs=String.fromCharCode(65535),Su=-1/0,zi="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",o3="String expected.",s0=[],cl=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),FE=cl,NE=cl,c3=function(t){return!/(dexie\.js|dexie\.min\.js)/.test(t)},fl="__dbnames",Cu="readonly",Ru="readwrite";function ps(t,e){return t?e?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:t:e}var f3={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function ll(t){return typeof t=="string"&&!/\./.test(t)?function(e){return e[t]===void 0&&t in e&&(e=Qc(e),delete e[t]),e}:function(e){return e}}var BE=function(){function t(){}return t.prototype._trans=function(e,n,i){var r=this._tx||nt.trans,s=this.name;function o(c,f,l){if(!l.schema[s])throw new rt.NotFound("Table "+s+" not part of transaction");return n(l.idbtrans,l)}var a=i0();try{return r&&r.db===this.db?r===nt.trans?r._promise(e,o,i):kr(function(){return r._promise(e,o,i)},{trans:r,transless:nt.transless||nt}):Iu(this.db,e,[this.name],o)}finally{a&&r0()}},t.prototype.get=function(e,n){var i=this;return e&&e.constructor===Object?this.where(e).first(n):this._trans("readonly",function(r){return i.core.get({trans:r,key:e}).then(function(s){return i.hook.reading.fire(s)})}).then(n)},t.prototype.where=function(e){if(typeof e=="string")return new this.db.WhereClause(this,e);if($n(e))return new this.db.WhereClause(this,"["+e.join("+")+"]");var n=un(e);if(n.length===1)return this.where(n[0]).equals(e[n[0]]);var i=this.schema.indexes.concat(this.schema.primKey).filter(function(l){return l.compound&&n.every(function(d){return l.keyPath.indexOf(d)>=0})&&l.keyPath.every(function(d){return n.indexOf(d)>=0})})[0];if(i&&this.db._maxKey!==gs)return this.where(i.name).equals(i.keyPath.map(function(l){return e[l]}));!i&&wi&&console.warn("The query "+JSON.stringify(e)+" on "+this.name+" would benefit of a "+("compound index ["+n.join("+")+"]"));var r=this.schema.idxByName,s=this.db._deps.indexedDB;function o(l,d){try{return s.cmp(l,d)===0}catch{return!1}}var a=n.reduce(function(l,d){var h=l[0],u=l[1],g=r[d],p=e[d];return[h||g,h||!g?ps(u,g&&g.multi?function(x){var m=Yi(x,d);return $n(m)&&m.some(function(w){return o(p,w)})}:function(x){return o(p,Yi(x,d))}):u]},[null,null]),c=a[0],f=a[1];return c?this.where(c.name).equals(e[c.keyPath]).filter(f):i?this.filter(f):this.where(n).equals("")},t.prototype.filter=function(e){return this.toCollection().and(e)},t.prototype.count=function(e){return this.toCollection().count(e)},t.prototype.offset=function(e){return this.toCollection().offset(e)},t.prototype.limit=function(e){return this.toCollection().limit(e)},t.prototype.each=function(e){return this.toCollection().each(e)},t.prototype.toArray=function(e){return this.toCollection().toArray(e)},t.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},t.prototype.orderBy=function(e){return new this.db.Collection(new this.db.WhereClause(this,$n(e)?"["+e.join("+")+"]":e))},t.prototype.reverse=function(){return this.toCollection().reverse()},t.prototype.mapToClass=function(e){this.schema.mappedClass=e;var n=function(i){if(!i)return i;var r=Object.create(e.prototype);for(var s in i)if(Ea(i,s))try{r[s]=i[s]}catch{}return r};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=n,this.hook("reading",n),e},t.prototype.defineClass=function(){function e(n){sa(this,n)}return this.mapToClass(e)},t.prototype.add=function(e,n){var i=this,r=this.schema.primKey,s=r.auto,o=r.keyPath,a=e;return o&&s&&(a=ll(o)(e)),this._trans("readwrite",function(c){return i.core.mutate({trans:c,type:"add",keys:n!=null?[n]:null,values:[a]})}).then(function(c){return c.numFailures?ze.reject(c.failures[0]):c.lastResult}).then(function(c){if(o)try{ti(e,o,c)}catch{}return c})},t.prototype.update=function(e,n){if(typeof e=="object"&&!$n(e)){var i=Yi(e,this.schema.primKey.keyPath);if(i===void 0)return mn(new rt.InvalidArgument("Given object does not contain its primary key"));try{typeof n!="function"?un(n).forEach(function(r){ti(e,r,n[r])}):n(e,{value:e,primKey:i})}catch{}return this.where(":id").equals(i).modify(n)}else return this.where(":id").equals(e).modify(n)},t.prototype.put=function(e,n){var i=this,r=this.schema.primKey,s=r.auto,o=r.keyPath,a=e;return o&&s&&(a=ll(o)(e)),this._trans("readwrite",function(c){return i.core.mutate({trans:c,type:"put",values:[a],keys:n!=null?[n]:null})}).then(function(c){return c.numFailures?ze.reject(c.failures[0]):c.lastResult}).then(function(c){if(o)try{ti(e,o,c)}catch{}return c})},t.prototype.delete=function(e){var n=this;return this._trans("readwrite",function(i){return n.core.mutate({trans:i,type:"delete",keys:[e]})}).then(function(i){return i.numFailures?ze.reject(i.failures[0]):void 0})},t.prototype.clear=function(){var e=this;return this._trans("readwrite",function(n){return e.core.mutate({trans:n,type:"deleteRange",range:f3})}).then(function(n){return n.numFailures?ze.reject(n.failures[0]):void 0})},t.prototype.bulkGet=function(e){var n=this;return this._trans("readonly",function(i){return n.core.getMany({keys:e,trans:i}).then(function(r){return r.map(function(s){return n.hook.reading.fire(s)})})})},t.prototype.bulkAdd=function(e,n,i){var r=this,s=Array.isArray(n)?n:void 0;i=i||(s?void 0:n);var o=i?i.allKeys:void 0;return this._trans("readwrite",function(a){var c=r.schema.primKey,f=c.auto,l=c.keyPath;if(l&&s)throw new rt.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(s&&s.length!==e.length)throw new rt.InvalidArgument("Arguments objects and keys must have the same length");var d=e.length,h=l&&f?e.map(ll(l)):e;return r.core.mutate({trans:a,type:"add",keys:s,values:h,wantResults:o}).then(function(u){var g=u.numFailures,p=u.results,x=u.lastResult,m=u.failures,w=o?p:x;if(g===0)return w;throw new Jc(r.name+".bulkAdd(): "+g+" of "+d+" operations failed",m)})})},t.prototype.bulkPut=function(e,n,i){var r=this,s=Array.isArray(n)?n:void 0;i=i||(s?void 0:n);var o=i?i.allKeys:void 0;return this._trans("readwrite",function(a){var c=r.schema.primKey,f=c.auto,l=c.keyPath;if(l&&s)throw new rt.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(s&&s.length!==e.length)throw new rt.InvalidArgument("Arguments objects and keys must have the same length");var d=e.length,h=l&&f?e.map(ll(l)):e;return r.core.mutate({trans:a,type:"put",keys:s,values:h,wantResults:o}).then(function(u){var g=u.numFailures,p=u.results,x=u.lastResult,m=u.failures,w=o?p:x;if(g===0)return w;throw new Jc(r.name+".bulkPut(): "+g+" of "+d+" operations failed",m)})})},t.prototype.bulkDelete=function(e){var n=this,i=e.length;return this._trans("readwrite",function(r){return n.core.mutate({trans:r,type:"delete",keys:e})}).then(function(r){var s=r.numFailures,o=r.lastResult,a=r.failures;if(s===0)return o;throw new Jc(n.name+".bulkDelete(): "+s+" of "+i+" operations failed",a)})},t}();function o0(t){var e={},n=function(a,c){if(c){for(var f=arguments.length,l=new Array(f-1);--f;)l[f-1]=arguments[f];return e[a].subscribe.apply(null,l),t}else if(typeof a=="string")return e[a]};n.addEventType=s;for(var i=1,r=arguments.length;i<r;++i)s(arguments[i]);return n;function s(a,c,f){if(typeof a=="object")return o(a);c||(c=AE),f||(f=Lt);var l={subscribers:[],fire:f,subscribe:function(d){l.subscribers.indexOf(d)===-1&&(l.subscribers.push(d),l.fire=c(l.fire,d))},unsubscribe:function(d){l.subscribers=l.subscribers.filter(function(h){return h!==d}),l.fire=l.subscribers.reduce(c,f)}};return e[a]=n[a]=l,l}function o(a){un(a).forEach(function(c){var f=a[c];if($n(f))s(c,a[c][0],a[c][1]);else if(f==="asap")var l=s(c,e0,function(){for(var h=arguments.length,u=new Array(h);h--;)u[h]=arguments[h];l.subscribers.forEach(function(g){F4(function(){g.apply(null,u)})})});else throw new rt.InvalidArgument("Invalid event config")})}}function c0(t,e){return uo(e).from({prototype:t}),e}function YE(t){return c0(BE.prototype,function(n,i,r){this.db=t,this._tx=r,this.name=n,this.schema=i,this.hook=t._allTables[n]?t._allTables[n].hook:o0(null,{creating:[kE,Lt],reading:[OE,e0],updating:[vE,Lt],deleting:[PE,Lt]})})}function yo(t,e){return!(t.filter||t.algorithm||t.or)&&(e?t.justLimit:!t.replayFilter)}function Mu(t,e){t.filter=ps(t.filter,e)}function Uu(t,e,n){var i=t.replayFilter;t.replayFilter=i?function(){return ps(i(),e())}:e,t.justLimit=n&&!i}function HE(t,e){t.isMatch=ps(t.isMatch,e)}function dl(t,e){if(t.isPrimKey)return e.primaryKey;var n=e.getIndexByKeyPath(t.index);if(!n)throw new rt.Schema("KeyPath "+t.index+" on object store "+e.name+" is not indexed");return n}function l3(t,e,n){var i=dl(t,e.schema);return e.openCursor({trans:n,values:!t.keysOnly,reverse:t.dir==="prev",unique:!!t.unique,query:{index:i,range:t.range}})}function hl(t,e,n,i){var r=t.replayFilter?ps(t.filter,t.replayFilter()):t.filter;if(t.or){var s={},o=function(a,c,f){if(!r||r(c,f,function(h){return c.stop(h)},function(h){return c.fail(h)})){var l=c.primaryKey,d=""+l;d==="[object ArrayBuffer]"&&(d=""+new Uint8Array(l)),Ea(s,d)||(s[d]=!0,e(a,c,f))}};return Promise.all([t.or._iterate(o,n),d3(l3(t,i,n),t.algorithm,o,!t.keysOnly&&t.valueMapper)])}else return d3(l3(t,i,n),ps(t.algorithm,r),e,!t.keysOnly&&t.valueMapper)}function d3(t,e,n,i){var r=i?function(o,a,c){return n(i(o),a,c)}:n,s=Wt(r);return t.then(function(o){if(o)return o.start(function(){var a=function(){return o.continue()};(!e||e(o,function(c){return a=c},function(c){o.stop(c),a=Lt},function(c){o.fail(c),a=Lt}))&&s(o.value,o,function(c){return a=c}),a()})})}function oa(t,e){try{var n=h3(t),i=h3(e);if(n!==i)return n==="Array"?1:i==="Array"?-1:n==="binary"?1:i==="binary"?-1:n==="string"?1:i==="string"?-1:n==="Date"?1:i!=="Date"?NaN:-1;switch(n){case"number":case"Date":case"string":return t>e?1:t<e?-1:0;case"binary":return zE(u3(t),u3(e));case"Array":return ZE(t,e)}}catch{}return NaN}function ZE(t,e){for(var n=t.length,i=e.length,r=n<i?n:i,s=0;s<r;++s){var o=oa(t[s],e[s]);if(o!==0)return o}return n===i?0:n<i?-1:1}function zE(t,e){for(var n=t.length,i=e.length,r=n<i?n:i,s=0;s<r;++s)if(t[s]!==e[s])return t[s]<e[s]?-1:1;return n===i?0:n<i?-1:1}function h3(t){var e=typeof t;if(e!=="object")return e;if(ArrayBuffer.isView(t))return"binary";var n=lu(t);return n==="ArrayBuffer"?"binary":n}function u3(t){return t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(t)}var qE=function(){function t(){}return t.prototype._read=function(e,n){var i=this._ctx;return i.error?i.table._trans(null,mn.bind(null,i.error)):i.table._trans("readonly",e).then(n)},t.prototype._write=function(e){var n=this._ctx;return n.error?n.table._trans(null,mn.bind(null,n.error)):n.table._trans("readwrite",e,"locked")},t.prototype._addAlgorithm=function(e){var n=this._ctx;n.algorithm=ps(n.algorithm,e)},t.prototype._iterate=function(e,n){return hl(this._ctx,e,n,this._ctx.table.core)},t.prototype.clone=function(e){var n=Object.create(this.constructor.prototype),i=Object.create(this._ctx);return e&&sa(i,e),n._ctx=i,n},t.prototype.raw=function(){return this._ctx.valueMapper=null,this},t.prototype.each=function(e){var n=this._ctx;return this._read(function(i){return hl(n,e,i,n.table.core)})},t.prototype.count=function(e){var n=this;return this._read(function(i){var r=n._ctx,s=r.table.core;if(yo(r,!0))return s.count({trans:i,query:{index:dl(r,s.schema),range:r.range}}).then(function(a){return Math.min(a,r.limit)});var o=0;return hl(r,function(){return++o,!1},i,s).then(function(){return o})}).then(e)},t.prototype.sortBy=function(e,n){var i=e.split(".").reverse(),r=i[0],s=i.length-1;function o(f,l){return l?o(f[i[l]],l-1):f[r]}var a=this._ctx.dir==="next"?1:-1;function c(f,l){var d=o(f,s),h=o(l,s);return d<h?-a:d>h?a:0}return this.toArray(function(f){return f.sort(c)}).then(n)},t.prototype.toArray=function(e){var n=this;return this._read(function(i){var r=n._ctx;if(r.dir==="next"&&yo(r,!0)&&r.limit>0){var s=r.valueMapper,o=dl(r,r.table.core.schema);return r.table.core.query({trans:i,limit:r.limit,values:!0,query:{index:o,range:r.range}}).then(function(c){var f=c.result;return s?f.map(s):f})}else{var a=[];return hl(r,function(c){return a.push(c)},i,r.table.core).then(function(){return a})}},e)},t.prototype.offset=function(e){var n=this._ctx;return e<=0?this:(n.offset+=e,yo(n)?Uu(n,function(){var i=e;return function(r,s){return i===0?!0:i===1?(--i,!1):(s(function(){r.advance(i),i=0}),!1)}}):Uu(n,function(){var i=e;return function(){return--i<0}}),this)},t.prototype.limit=function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),Uu(this._ctx,function(){var n=e;return function(i,r,s){return--n<=0&&r(s),n>=0}},!0),this},t.prototype.until=function(e,n){return Mu(this._ctx,function(i,r,s){return e(i.value)?(r(s),n):!0}),this},t.prototype.first=function(e){return this.limit(1).toArray(function(n){return n[0]}).then(e)},t.prototype.last=function(e){return this.reverse().first(e)},t.prototype.filter=function(e){return Mu(this._ctx,function(n){return e(n.value)}),HE(this._ctx,e),this},t.prototype.and=function(e){return this.filter(e)},t.prototype.or=function(e){return new this.db.WhereClause(this._ctx.table,e,this)},t.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},t.prototype.desc=function(){return this.reverse()},t.prototype.eachKey=function(e){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(i,r){e(r.key,r)})},t.prototype.eachUniqueKey=function(e){return this._ctx.unique="unique",this.eachKey(e)},t.prototype.eachPrimaryKey=function(e){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(i,r){e(r.primaryKey,r)})},t.prototype.keys=function(e){var n=this._ctx;n.keysOnly=!n.isMatch;var i=[];return this.each(function(r,s){i.push(s.key)}).then(function(){return i}).then(e)},t.prototype.primaryKeys=function(e){var n=this._ctx;if(n.dir==="next"&&yo(n,!0)&&n.limit>0)return this._read(function(r){var s=dl(n,n.table.core.schema);return n.table.core.query({trans:r,values:!1,limit:n.limit,query:{index:s,range:n.range}})}).then(function(r){var s=r.result;return s}).then(e);n.keysOnly=!n.isMatch;var i=[];return this.each(function(r,s){i.push(s.primaryKey)}).then(function(){return i}).then(e)},t.prototype.uniqueKeys=function(e){return this._ctx.unique="unique",this.keys(e)},t.prototype.firstKey=function(e){return this.limit(1).keys(function(n){return n[0]}).then(e)},t.prototype.lastKey=function(e){return this.reverse().firstKey(e)},t.prototype.distinct=function(){var e=this._ctx,n=e.index&&e.table.schema.idxByName[e.index];if(!n||!n.multi)return this;var i={};return Mu(this._ctx,function(r){var s=r.primaryKey.toString(),o=Ea(i,s);return i[s]=!0,!o}),this},t.prototype.modify=function(e){var n=this,i=this._ctx;return this._write(function(r){var s;if(typeof e=="function")s=e;else{var o=un(e),a=o.length;s=function(m){for(var w=!1,O=0;O<a;++O){var k=o[O],E=e[k];Yi(m,k)!==E&&(ti(m,k,E),w=!0)}return w}}var c=i.table.core,f=c.schema.primaryKey,l=f.outbound,d=f.extractKey,h=n.db._options.modifyChunkSize||200,u=[],g=0,p=[],x=function(m,w){var O=w.failures,k=w.numFailures;g+=m-k;for(var E=0,D=un(O);E<D.length;E++){var v=D[E];u.push(O[v])}};return n.clone().primaryKeys().then(function(m){var w=function(O){var k=Math.min(h,m.length-O);return c.getMany({trans:r,keys:m.slice(O,O+k),cache:"immutable"}).then(function(E){for(var D=[],v=[],S=l?[]:null,C=[],R=0;R<k;++R){var T=E[R],H={value:Qc(T),primKey:m[O+R]};s.call(H,H.value,H)!==!1&&(H.value==null?C.push(m[O+R]):!l&&oa(d(T),d(H.value))!==0?(C.push(m[O+R]),D.push(H.value)):(v.push(H.value),l&&S.push(m[O+R])))}var $=yo(i)&&i.limit===1/0&&(typeof e!="function"||e===Tu)&&{index:i.index,range:i.range};return Promise.resolve(D.length>0&&c.mutate({trans:r,type:"add",values:D}).then(function(W){for(var Y in W.failures)C.splice(parseInt(Y),1);x(D.length,W)})).then(function(){return(v.length>0||$&&typeof e=="object")&&c.mutate({trans:r,type:"put",keys:S,values:v,criteria:$,changeSpec:typeof e!="function"&&e}).then(function(W){return x(v.length,W)})}).then(function(){return(C.length>0||$&&e===Tu)&&c.mutate({trans:r,type:"delete",keys:C,criteria:$}).then(function(W){return x(C.length,W)})}).then(function(){return m.length>O+k&&w(O+h)})})};return w(0).then(function(){if(u.length>0)throw new Wf("Error modifying one or more objects",u,g,p);return m.length})})})},t.prototype.delete=function(){var e=this._ctx,n=e.range;return yo(e)&&(e.isPrimKey&&!NE||n.type===3)?this._write(function(i){var r=e.table.core.schema.primaryKey,s=n;return e.table.core.count({trans:i,query:{index:r,range:s}}).then(function(o){return e.table.core.mutate({trans:i,type:"deleteRange",range:s}).then(function(a){var c=a.failures;a.lastResult,a.results;var f=a.numFailures;if(f)throw new Wf("Could not delete some values",Object.keys(c).map(function(l){return c[l]}),o-f);return o-f})})}):this.modify(Tu)},t}(),Tu=function(t,e){return e.value=null};function $E(t){return c0(qE.prototype,function(n,i){this.db=t;var r=f3,s=null;if(i)try{r=i()}catch(f){s=f}var o=n._ctx,a=o.table,c=a.hook.reading.fire;this._ctx={table:a,index:o.index,isPrimKey:!o.index||a.schema.primKey.keyPath&&o.index===a.schema.primKey.name,range:r,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:s,or:o.or,valueMapper:c!==e0?c:null}})}function GE(t,e){return t<e?-1:t===e?0:1}function XE(t,e){return t>e?-1:t===e?0:1}function ja(t,e,n){var i=t instanceof g3?new t.Collection(t):t;return i._ctx.error=n?new n(e):new TypeError(e),i}function wo(t){return new t.Collection(t,function(){return b3("")}).limit(0)}function WE(t){return t==="next"?function(e){return e.toUpperCase()}:function(e){return e.toLowerCase()}}function VE(t){return t==="next"?function(e){return e.toLowerCase()}:function(e){return e.toUpperCase()}}function KE(t,e,n,i,r,s){for(var o=Math.min(t.length,i.length),a=-1,c=0;c<o;++c){var f=e[c];if(f!==i[c])return r(t[c],n[c])<0?t.substr(0,c)+n[c]+n.substr(c+1):r(t[c],i[c])<0?t.substr(0,c)+i[c]+n.substr(c+1):a>=0?t.substr(0,a)+e[a]+n.substr(a+1):null;r(t[c],f)<0&&(a=c)}return o<i.length&&s==="next"?t+n.substr(t.length):o<t.length&&s==="prev"?t.substr(0,n.length):a<0?null:t.substr(0,a)+i[a]+n.substr(a+1)}function ul(t,e,n,i){var r,s,o,a,c,f,l,d=n.length;if(!n.every(function(p){return typeof p=="string"}))return ja(t,o3);function h(p){r=WE(p),s=VE(p),o=p==="next"?GE:XE;var x=n.map(function(m){return{lower:s(m),upper:r(m)}}).sort(function(m,w){return o(m.lower,w.lower)});a=x.map(function(m){return m.upper}),c=x.map(function(m){return m.lower}),f=p,l=p==="next"?"":i}h("next");var u=new t.Collection(t,function(){return vr(a[0],c[d-1]+i)});u._ondirectionchange=function(p){h(p)};var g=0;return u._addAlgorithm(function(p,x,m){var w=p.key;if(typeof w!="string")return!1;var O=s(w);if(e(O,c,g))return!0;for(var k=null,E=g;E<d;++E){var D=KE(w,O,a[E],c[E],o,f);D===null&&k===null?g=E+1:(k===null||o(k,D)>0)&&(k=D)}return x(k!==null?function(){p.continue(k+l)}:m),!1}),u}function vr(t,e,n,i){return{type:2,lower:t,upper:e,lowerOpen:n,upperOpen:i}}function b3(t){return{type:1,lower:t,upper:t}}var g3=function(){function t(){}return Object.defineProperty(t.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),t.prototype.between=function(e,n,i,r){i=i!==!1,r=r===!0;try{return this._cmp(e,n)>0||this._cmp(e,n)===0&&(i||r)&&!(i&&r)?wo(this):new this.Collection(this,function(){return vr(e,n,!i,!r)})}catch{return ja(this,zi)}},t.prototype.equals=function(e){return e==null?ja(this,zi):new this.Collection(this,function(){return b3(e)})},t.prototype.above=function(e){return e==null?ja(this,zi):new this.Collection(this,function(){return vr(e,void 0,!0)})},t.prototype.aboveOrEqual=function(e){return e==null?ja(this,zi):new this.Collection(this,function(){return vr(e,void 0,!1)})},t.prototype.below=function(e){return e==null?ja(this,zi):new this.Collection(this,function(){return vr(void 0,e,!1,!0)})},t.prototype.belowOrEqual=function(e){return e==null?ja(this,zi):new this.Collection(this,function(){return vr(void 0,e)})},t.prototype.startsWith=function(e){return typeof e!="string"?ja(this,o3):this.between(e,e+gs,!0,!0)},t.prototype.startsWithIgnoreCase=function(e){return e===""?this.startsWith(e):ul(this,function(n,i){return n.indexOf(i[0])===0},[e],gs)},t.prototype.equalsIgnoreCase=function(e){return ul(this,function(n,i){return n===i[0]},[e],"")},t.prototype.anyOfIgnoreCase=function(){var e=Hi.apply(bo,arguments);return e.length===0?wo(this):ul(this,function(n,i){return i.indexOf(n)!==-1},e,"")},t.prototype.startsWithAnyOfIgnoreCase=function(){var e=Hi.apply(bo,arguments);return e.length===0?wo(this):ul(this,function(n,i){return i.some(function(r){return n.indexOf(r)===0})},e,gs)},t.prototype.anyOf=function(){var e=this,n=Hi.apply(bo,arguments),i=this._cmp;try{n.sort(i)}catch{return ja(this,zi)}if(n.length===0)return wo(this);var r=new this.Collection(this,function(){return vr(n[0],n[n.length-1])});r._ondirectionchange=function(o){i=o==="next"?e._ascending:e._descending,n.sort(i)};var s=0;return r._addAlgorithm(function(o,a,c){for(var f=o.key;i(f,n[s])>0;)if(++s,s===n.length)return a(c),!1;return i(f,n[s])===0?!0:(a(function(){o.continue(n[s])}),!1)}),r},t.prototype.notEqual=function(e){return this.inAnyRange([[Su,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},t.prototype.noneOf=function(){var e=Hi.apply(bo,arguments);if(e.length===0)return new this.Collection(this);try{e.sort(this._ascending)}catch{return ja(this,zi)}var n=e.reduce(function(i,r){return i?i.concat([[i[i.length-1][1],r]]):[[Su,r]]},null);return n.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(n,{includeLowers:!1,includeUppers:!1})},t.prototype.inAnyRange=function(e,n){var i=this,r=this._cmp,s=this._ascending,o=this._descending,a=this._min,c=this._max;if(e.length===0)return wo(this);if(!e.every(function(E){return E[0]!==void 0&&E[1]!==void 0&&s(E[0],E[1])<=0}))return ja(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",rt.InvalidArgument);var f=!n||n.includeLowers!==!1,l=n&&n.includeUppers===!0;function d(E,D){for(var v=0,S=E.length;v<S;++v){var C=E[v];if(r(D[0],C[1])<0&&r(D[1],C[0])>0){C[0]=a(C[0],D[0]),C[1]=c(C[1],D[1]);break}}return v===S&&E.push(D),E}var h=s;function u(E,D){return h(E[0],D[0])}var g;try{g=e.reduce(d,[]),g.sort(u)}catch{return ja(this,zi)}var p=0,x=l?function(E){return s(E,g[p][1])>0}:function(E){return s(E,g[p][1])>=0},m=f?function(E){return o(E,g[p][0])>0}:function(E){return o(E,g[p][0])>=0};function w(E){return!x(E)&&!m(E)}var O=x,k=new this.Collection(this,function(){return vr(g[0][0],g[g.length-1][1],!f,!l)});return k._ondirectionchange=function(E){E==="next"?(O=x,h=s):(O=m,h=o),g.sort(u)},k._addAlgorithm(function(E,D,v){for(var S=E.key;O(S);)if(++p,p===g.length)return D(v),!1;return w(S)?!0:(i._cmp(S,g[p][1])===0||i._cmp(S,g[p][0])===0||D(function(){h===s?E.continue(g[p][0]):E.continue(g[p][1])}),!1)}),k},t.prototype.startsWithAnyOf=function(){var e=Hi.apply(bo,arguments);return e.every(function(n){return typeof n=="string"})?e.length===0?wo(this):this.inAnyRange(e.map(function(n){return[n,n+gs]})):ja(this,"startsWithAnyOf() only works with strings")},t}();function QE(t){return c0(g3.prototype,function(n,i,r){this.db=t,this._ctx={table:n,index:i===":id"?null:i,or:r};var s=t._deps.indexedDB;if(!s)throw new rt.MissingAPI;this._cmp=this._ascending=s.cmp.bind(s),this._descending=function(o,a){return s.cmp(a,o)},this._max=function(o,a){return s.cmp(o,a)>0?o:a},this._min=function(o,a){return s.cmp(o,a)<0?o:a},this._IDBKeyRange=t._deps.IDBKeyRange})}function _i(t){return Wt(function(e){return f0(e),t(e.target.error),!1})}function f0(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()}var l0="storagemutated",Ar="x-storagemutated-1",Er=o0(null,l0),JE=function(){function t(){}return t.prototype._lock=function(){return Kc(!nt.global),++this._reculock,this._reculock===1&&!nt.global&&(nt.lockOwnerFor=this),this},t.prototype._unlock=function(){if(Kc(!nt.global),--this._reculock===0)for(nt.global||(nt.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{xo(e[1],e[0])}catch{}}return this},t.prototype._locked=function(){return this._reculock&&nt.lockOwnerFor!==this},t.prototype.create=function(e){var n=this;if(!this.mode)return this;var i=this.db.idbdb,r=this.db._state.dbOpenError;if(Kc(!this.idbtrans),!e&&!i)switch(r&&r.name){case"DatabaseClosedError":throw new rt.DatabaseClosed(r);case"MissingAPIError":throw new rt.MissingAPI(r.message,r);default:throw new rt.OpenFailed(r)}if(!this.active)throw new rt.TransactionInactive;return Kc(this._completion._state===null),e=this.idbtrans=e||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):i.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability})),e.onerror=Wt(function(s){f0(s),n._reject(e.error)}),e.onabort=Wt(function(s){f0(s),n.active&&n._reject(new rt.Abort(e.error)),n.active=!1,n.on("abort").fire(s)}),e.oncomplete=Wt(function(){n.active=!1,n._resolve(),"mutatedParts"in e&&Er.storagemutated.fire(e.mutatedParts)}),this},t.prototype._promise=function(e,n,i){var r=this;if(e==="readwrite"&&this.mode!=="readwrite")return mn(new rt.ReadOnly("Transaction is readonly"));if(!this.active)return mn(new rt.TransactionInactive);if(this._locked())return new ze(function(o,a){r._blockedFuncs.push([function(){r._promise(e,n,i).then(o,a)},nt])});if(i)return kr(function(){var o=new ze(function(a,c){r._lock();var f=n(a,c,r);f&&f.then&&f.then(a,c)});return o.finally(function(){return r._unlock()}),o._lib=!0,o});var s=new ze(function(o,a){var c=n(o,a,r);c&&c.then&&c.then(o,a)});return s._lib=!0,s},t.prototype._root=function(){return this.parent?this.parent._root():this},t.prototype.waitFor=function(e){var n=this._root(),i=ze.resolve(e);if(n._waitingFor)n._waitingFor=n._waitingFor.then(function(){return i});else{n._waitingFor=i,n._waitingQueue=[];var r=n.idbtrans.objectStore(n.storeNames[0]);(function o(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(r.get(-1/0).onsuccess=o)})()}var s=n._waitingFor;return new ze(function(o,a){i.then(function(c){return n._waitingQueue.push(Wt(o.bind(null,c)))},function(c){return n._waitingQueue.push(Wt(a.bind(null,c)))}).finally(function(){n._waitingFor===s&&(n._waitingFor=null)})})},t.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new rt.Abort))},t.prototype.table=function(e){var n=this._memoizedTables||(this._memoizedTables={});if(Ea(n,e))return n[e];var i=this.schema[e];if(!i)throw new rt.NotFound("Table "+e+" not part of transaction");var r=new this.db.Table(e,i,this);return r.core=this.db.core.table(e),n[e]=r,r},t}();function ej(t){return c0(JE.prototype,function(n,i,r,s,o){var a=this;this.db=t,this.mode=n,this.storeNames=i,this.schema=r,this.chromeTransactionDurability=s,this.idbtrans=null,this.on=o0(this,"complete","error","abort"),this.parent=o||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new ze(function(c,f){a._resolve=c,a._reject=f}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(c){var f=a.active;return a.active=!1,a.on.error.fire(c),a.parent?a.parent._reject(c):f&&a.idbtrans&&a.idbtrans.abort(),mn(c)})})}function Lu(t,e,n,i,r,s,o){return{name:t,keyPath:e,unique:n,multi:i,auto:r,compound:s,src:(n&&!o?"&":"")+(i?"*":"")+(r?"++":"")+p3(e)}}function p3(t){return typeof t=="string"?t:t?"["+[].join.call(t,"+")+"]":""}function m3(t,e,n){return{name:t,primKey:e,indexes:n,mappedClass:null,idxByName:N4(n,function(i){return[i.name,i]})}}function tj(t){return t.length===1?t[0]:t}var d0=function(t){try{return t.only([[]]),d0=function(){return[[]]},[[]]}catch{return d0=function(){return gs},gs}};function Fu(t){return t==null?function(){}:typeof t=="string"?nj(t):function(e){return Yi(e,t)}}function nj(t){var e=t.split(".");return e.length===1?function(n){return n[t]}:function(n){return Yi(n,t)}}function x3(t){return[].slice.call(t)}var aj=0;function h0(t){return t==null?":id":typeof t=="string"?t:"["+t.join("+")+"]"}function ij(t,e,n){function i(d,h){var u=x3(d.objectStoreNames);return{schema:{name:d.name,tables:u.map(function(g){return h.objectStore(g)}).map(function(g){var p=g.keyPath,x=g.autoIncrement,m=$n(p),w=p==null,O={},k={name:g.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:w,compound:m,keyPath:p,autoIncrement:x,unique:!0,extractKey:Fu(p)},indexes:x3(g.indexNames).map(function(E){return g.index(E)}).map(function(E){var D=E.name,v=E.unique,S=E.multiEntry,C=E.keyPath,R=$n(C),T={name:D,compound:R,keyPath:C,unique:v,multiEntry:S,extractKey:Fu(C)};return O[h0(C)]=T,T}),getIndexByKeyPath:function(E){return O[h0(E)]}};return O[":id"]=k.primaryKey,p!=null&&(O[h0(p)]=k.primaryKey),k})},hasGetAll:u.length>0&&"getAll"in h.objectStore(u[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function r(d){if(d.type===3)return null;if(d.type===4)throw new Error("Cannot convert never type to IDBKeyRange");var h=d.lower,u=d.upper,g=d.lowerOpen,p=d.upperOpen,x=h===void 0?u===void 0?null:e.upperBound(u,!!p):u===void 0?e.lowerBound(h,!!g):e.bound(h,u,!!g,!!p);return x}function s(d){var h=d.name;function u(x){var m=x.trans,w=x.type,O=x.keys,k=x.values,E=x.range;return new Promise(function(D,v){D=Wt(D);var S=m.objectStore(h),C=S.keyPath==null,R=w==="put"||w==="add";if(!R&&w!=="delete"&&w!=="deleteRange")throw new Error("Invalid operation type: "+w);var T=(O||k||{length:1}).length;if(O&&k&&O.length!==k.length)throw new Error("Given keys array must have same length as given values array.");if(T===0)return D({numFailures:0,failures:{},results:[],lastResult:void 0});var H,$=[],W=[],Y=0,Z=function(Ee){++Y,f0(Ee)};if(w==="deleteRange"){if(E.type===4)return D({numFailures:Y,failures:W,results:[],lastResult:void 0});E.type===3?$.push(H=S.clear()):$.push(H=S.delete(r(E)))}else{var B=R?C?[k,O]:[k,null]:[O,null],z=B[0],ee=B[1];if(R)for(var X=0;X<T;++X)$.push(H=ee&&ee[X]!==void 0?S[w](z[X],ee[X]):S[w](z[X])),H.onerror=Z;else for(var X=0;X<T;++X)$.push(H=S[w](z[X])),H.onerror=Z}var te=function(Ee){var Pe=Ee.target.result;$.forEach(function(V,Q){return V.error!=null&&(W[Q]=V.error)}),D({numFailures:Y,failures:W,results:w==="delete"?O:$.map(function(V){return V.result}),lastResult:Pe})};H.onerror=function(Ee){Z(Ee),te(Ee)},H.onsuccess=te})}function g(x){var m=x.trans,w=x.values,O=x.query,k=x.reverse,E=x.unique;return new Promise(function(D,v){D=Wt(D);var S=O.index,C=O.range,R=m.objectStore(h),T=S.isPrimaryKey?R:R.index(S.name),H=k?E?"prevunique":"prev":E?"nextunique":"next",$=w||!("openKeyCursor"in T)?T.openCursor(r(C),H):T.openKeyCursor(r(C),H);$.onerror=_i(v),$.onsuccess=Wt(function(W){var Y=$.result;if(!Y){D(null);return}Y.___id=++aj,Y.done=!1;var Z=Y.continue.bind(Y),B=Y.continuePrimaryKey;B&&(B=B.bind(Y));var z=Y.advance.bind(Y),ee=function(){throw new Error("Cursor not started")},X=function(){throw new Error("Cursor not stopped")};Y.trans=m,Y.stop=Y.continue=Y.continuePrimaryKey=Y.advance=ee,Y.fail=Wt(v),Y.next=function(){var te=this,Ee=1;return this.start(function(){return Ee--?te.continue():te.stop()}).then(function(){return te})},Y.start=function(te){var Ee=new Promise(function(V,Q){V=Wt(V),$.onerror=_i(Q),Y.fail=Q,Y.stop=function(N){Y.stop=Y.continue=Y.continuePrimaryKey=Y.advance=X,V(N)}}),Pe=function(){if($.result)try{te()}catch(V){Y.fail(V)}else Y.done=!0,Y.start=function(){throw new Error("Cursor behind last entry")},Y.stop()};return $.onsuccess=Wt(function(V){$.onsuccess=Pe,Pe()}),Y.continue=Z,Y.continuePrimaryKey=B,Y.advance=z,Pe(),Ee},D(Y)},v)})}function p(x){return function(m){return new Promise(function(w,O){w=Wt(w);var k=m.trans,E=m.values,D=m.limit,v=m.query,S=D===1/0?void 0:D,C=v.index,R=v.range,T=k.objectStore(h),H=C.isPrimaryKey?T:T.index(C.name),$=r(R);if(D===0)return w({result:[]});if(x){var W=E?H.getAll($,S):H.getAllKeys($,S);W.onsuccess=function(z){return w({result:z.target.result})},W.onerror=_i(O)}else{var Y=0,Z=E||!("openKeyCursor"in H)?H.openCursor($):H.openKeyCursor($),B=[];Z.onsuccess=function(z){var ee=Z.result;if(!ee)return w({result:B});if(B.push(E?ee.value:ee.primaryKey),++Y===D)return w({result:B});ee.continue()},Z.onerror=_i(O)}})}}return{name:h,schema:d,mutate:u,getMany:function(x){var m=x.trans,w=x.keys;return new Promise(function(O,k){O=Wt(O);for(var E=m.objectStore(h),D=w.length,v=new Array(D),S=0,C=0,R,T=function(Y){var Z=Y.target;(v[Z._pos]=Z.result)!=null,++C===S&&O(v)},H=_i(k),$=0;$<D;++$){var W=w[$];W!=null&&(R=E.get(w[$]),R._pos=$,R.onsuccess=T,R.onerror=H,++S)}S===0&&O(v)})},get:function(x){var m=x.trans,w=x.key;return new Promise(function(O,k){O=Wt(O);var E=m.objectStore(h),D=E.get(w);D.onsuccess=function(v){return O(v.target.result)},D.onerror=_i(k)})},query:p(c),openCursor:g,count:function(x){var m=x.query,w=x.trans,O=m.index,k=m.range;return new Promise(function(E,D){var v=w.objectStore(h),S=O.isPrimaryKey?v:v.index(O.name),C=r(k),R=C?S.count(C):S.count();R.onsuccess=Wt(function(T){return E(T.target.result)}),R.onerror=_i(D)})}}}var o=i(t,n),a=o.schema,c=o.hasGetAll,f=a.tables.map(function(d){return s(d)}),l={};return f.forEach(function(d){return l[d.name]=d}),{stack:"dbcore",transaction:t.transaction.bind(t),table:function(d){var h=l[d];if(!h)throw new Error("Table '"+d+"' not found");return l[d]},MIN_KEY:-1/0,MAX_KEY:d0(e),schema:a}}function rj(t,e){return e.reduce(function(n,i){var r=i.create;return Et(Et({},n),r(n))},t)}function sj(t,e,n,i){var r=n.IDBKeyRange;n.indexedDB;var s=rj(ij(e,r,i),t.dbcore);return{dbcore:s}}function Nu(t,e){var n=t._novip,i=e.db,r=sj(n._middlewares,i,n._deps,e);n.core=r.dbcore,n.tables.forEach(function(s){var o=s.name;n.core.schema.tables.some(function(a){return a.name===o})&&(s.core=n.core.table(o),n[o]instanceof n.Table&&(n[o].core=s.core))})}function bl(t,e,n,i){var r=t._novip;n.forEach(function(s){var o=i[s];e.forEach(function(a){var c=cu(a,s);(!c||"value"in c&&c.value===void 0)&&(a===r.Transaction.prototype||a instanceof r.Transaction?Bi(a,s,{get:function(){return this.table(s)},set:function(f){T4(this,s,{value:f,writable:!0,configurable:!0,enumerable:!0})}}):a[s]=new r.Table(s,o))})})}function Bu(t,e){var n=t._novip;e.forEach(function(i){for(var r in i)i[r]instanceof n.Table&&delete i[r]})}function oj(t,e){return t._cfg.version-e._cfg.version}function cj(t,e,n,i){var r=t._dbSchema,s=t._createTransaction("readwrite",t._storeNames,r);s.create(n),s._completion.catch(i);var o=s._reject.bind(s),a=nt.transless||nt;kr(function(){nt.trans=s,nt.transless=a,e===0?(un(r).forEach(function(c){Yu(n,c,r[c].primKey,r[c].indexes)}),Nu(t,n),ze.follow(function(){return t.on.populate.fire(s)}).catch(o)):fj(t,e,s,n).catch(o)})}function fj(t,e,n,i){var r=t._novip,s=[],o=r._versions,a=r._dbSchema=Zu(r,r.idbdb,i),c=!1,f=o.filter(function(d){return d._cfg.version>=e});f.forEach(function(d){s.push(function(){var h=a,u=d._cfg.dbschema;zu(r,h,i),zu(r,u,i),a=r._dbSchema=u;var g=y3(h,u);g.add.forEach(function(k){Yu(i,k[0],k[1].primKey,k[1].indexes)}),g.change.forEach(function(k){if(k.recreate)throw new rt.Upgrade("Not yet support for changing primary key");var E=i.objectStore(k.name);k.add.forEach(function(D){return Hu(E,D)}),k.change.forEach(function(D){E.deleteIndex(D.name),Hu(E,D)}),k.del.forEach(function(D){return E.deleteIndex(D)})});var p=d._cfg.contentUpgrade;if(p&&d._cfg.version>e){Nu(r,i),n._memoizedTables={},c=!0;var x=B4(u);g.del.forEach(function(k){x[k]=h[k]}),Bu(r,[r.Transaction.prototype]),bl(r,[r.Transaction.prototype],un(x),x),n.schema=x;var m=hu(p);m&&mo();var w,O=ze.follow(function(){if(w=p(n),w&&m){var k=Zi.bind(null,null);w.then(k,k)}});return w&&typeof w.then=="function"?ze.resolve(w):O.then(function(){return w})}}),s.push(function(h){if(!c||!FE){var u=d._cfg.dbschema;dj(u,h)}Bu(r,[r.Transaction.prototype]),bl(r,[r.Transaction.prototype],r._storeNames,r._dbSchema),n.schema=r._dbSchema})});function l(){return s.length?ze.resolve(s.shift()(n.idbtrans)).then(l):ze.resolve()}return l().then(function(){lj(a,i)})}function y3(t,e){var n={del:[],add:[],change:[]},i;for(i in t)e[i]||n.del.push(i);for(i in e){var r=t[i],s=e[i];if(!r)n.add.push([i,s]);else{var o={name:i,def:s,recreate:!1,del:[],add:[],change:[]};if(""+(r.primKey.keyPath||"")!=""+(s.primKey.keyPath||"")||r.primKey.auto!==s.primKey.auto&&!cl)o.recreate=!0,n.change.push(o);else{var a=r.idxByName,c=s.idxByName,f=void 0;for(f in a)c[f]||o.del.push(f);for(f in c){var l=a[f],d=c[f];l?l.src!==d.src&&o.change.push(d):o.add.push(d)}(o.del.length>0||o.add.length>0||o.change.length>0)&&n.change.push(o)}}}return n}function Yu(t,e,n,i){var r=t.db.createObjectStore(e,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return i.forEach(function(s){return Hu(r,s)}),r}function lj(t,e){un(t).forEach(function(n){e.db.objectStoreNames.contains(n)||Yu(e,n,t[n].primKey,t[n].indexes)})}function dj(t,e){[].slice.call(e.db.objectStoreNames).forEach(function(n){return t[n]==null&&e.db.deleteObjectStore(n)})}function Hu(t,e){t.createIndex(e.name,e.keyPath,{unique:e.unique,multiEntry:e.multi})}function Zu(t,e,n){var i={},r=Xf(e.objectStoreNames,0);return r.forEach(function(s){for(var o=n.objectStore(s),a=o.keyPath,c=Lu(p3(a),a||"",!1,!1,!!o.autoIncrement,a&&typeof a!="string",!0),f=[],l=0;l<o.indexNames.length;++l){var d=o.index(o.indexNames[l]);a=d.keyPath;var h=Lu(d.name,a,!!d.unique,!!d.multiEntry,!1,a&&typeof a!="string",!1);f.push(h)}i[s]=m3(s,c,f)}),i}function hj(t,e,n){var i=t._novip;i.verno=e.version/10;var r=i._dbSchema=Zu(i,e,n);i._storeNames=Xf(e.objectStoreNames,0),bl(i,[i._allTables],un(r),r)}function uj(t,e){var n=Zu(t,t.idbdb,e),i=y3(n,t._dbSchema);return!(i.add.length||i.change.some(function(r){return r.add.length||r.change.length}))}function zu(t,e,n){for(var i=t._novip,r=n.db.objectStoreNames,s=0;s<r.length;++s){var o=r[s],a=n.objectStore(o);i._hasGetAll="getAll"in a;for(var c=0;c<a.indexNames.length;++c){var f=a.indexNames[c],l=a.index(f).keyPath,d=typeof l=="string"?l:"["+Xf(l).join("+")+"]";if(e[o]){var h=e[o].idxByName[d];h&&(h.name=f,delete e[o].idxByName[d],e[o].idxByName[f]=h)}}}typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&Yt.WorkerGlobalScope&&Yt instanceof Yt.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(i._hasGetAll=!1)}function bj(t){return t.split(",").map(function(e,n){e=e.trim();var i=e.replace(/([&*]|\+\+)/g,""),r=/^\[/.test(i)?i.match(/^\[(.*)\]$/)[1].split("+"):i;return Lu(i,r||null,/\&/.test(e),/\*/.test(e),/\+\+/.test(e),$n(r),n===0)})}var gj=function(){function t(){}return t.prototype._parseStoresSpec=function(e,n){un(e).forEach(function(i){if(e[i]!==null){var r=bj(e[i]),s=r.shift();if(s.multi)throw new rt.Schema("Primary key cannot be multi-valued");r.forEach(function(o){if(o.auto)throw new rt.Schema("Only primary key can be marked as autoIncrement (++)");if(!o.keyPath)throw new rt.Schema("Index must have a name and cannot be an empty string")}),n[i]=m3(i,s,r)}})},t.prototype.stores=function(e){var n=this.db;this._cfg.storesSource=this._cfg.storesSource?sa(this._cfg.storesSource,e):e;var i=n._versions,r={},s={};return i.forEach(function(o){sa(r,o._cfg.storesSource),s=o._cfg.dbschema={},o._parseStoresSpec(r,s)}),n._dbSchema=s,Bu(n,[n._allTables,n,n.Transaction.prototype]),bl(n,[n._allTables,n,n.Transaction.prototype,this._cfg.tables],un(s),s),n._storeNames=un(s),this},t.prototype.upgrade=function(e){return this._cfg.contentUpgrade=pu(this._cfg.contentUpgrade||Lt,e),this},t}();function pj(t){return c0(gj.prototype,function(n){this.db=t,this._cfg={version:n,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}function qu(t,e){var n=t._dbNamesDB;return n||(n=t._dbNamesDB=new Ju(fl,{addons:[],indexedDB:t,IDBKeyRange:e}),n.version(1).stores({dbnames:"name"})),n.table("dbnames")}function $u(t){return t&&typeof t.databases=="function"}function mj(t){var e=t.indexedDB,n=t.IDBKeyRange;return $u(e)?Promise.resolve(e.databases()).then(function(i){return i.map(function(r){return r.name}).filter(function(r){return r!==fl})}):qu(e,n).toCollection().primaryKeys()}function xj(t,e){var n=t.indexedDB,i=t.IDBKeyRange;!$u(n)&&e!==fl&&qu(n,i).put({name:e}).catch(Lt)}function yj(t,e){var n=t.indexedDB,i=t.IDBKeyRange;!$u(n)&&e!==fl&&qu(n,i).delete(e).catch(Lt)}function Gu(t){return kr(function(){return nt.letThrough=!0,t()})}function wj(){var t=!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent);if(!t||!indexedDB.databases)return Promise.resolve();var e;return new Promise(function(n){var i=function(){return indexedDB.databases().finally(n)};e=setInterval(i,100),i()}).finally(function(){return clearInterval(e)})}function _j(t){var e=t._state,n=t._deps.indexedDB;if(e.isBeingOpened||t.idbdb)return e.dbReadyPromise.then(function(){return e.dbOpenError?mn(e.dbOpenError):t});wi&&(e.openCanceller._stackHolder=ds()),e.isBeingOpened=!0,e.dbOpenError=null,e.openComplete=!1;var i=e.openCanceller;function r(){if(e.openCanceller!==i)throw new rt.DatabaseClosed("db.open() was cancelled")}var s=e.dbReadyResolve,o=null,a=!1;return ze.race([i,(typeof navigator>"u"?ze.resolve():wj()).then(function(){return new ze(function(c,f){if(r(),!n)throw new rt.MissingAPI;var l=t.name,d=e.autoSchema?n.open(l):n.open(l,Math.round(t.verno*10));if(!d)throw new rt.MissingAPI;d.onerror=_i(f),d.onblocked=Wt(t._fireOnBlocked),d.onupgradeneeded=Wt(function(h){if(o=d.transaction,e.autoSchema&&!t._options.allowEmptyDB){d.onerror=f0,o.abort(),d.result.close();var u=n.deleteDatabase(l);u.onsuccess=u.onerror=Wt(function(){f(new rt.NoSuchDatabase("Database "+l+" doesnt exist"))})}else{o.onerror=_i(f);var g=h.oldVersion>Math.pow(2,62)?0:h.oldVersion;a=g<1,t._novip.idbdb=d.result,cj(t,g/10,o,f)}},f),d.onsuccess=Wt(function(){o=null;var h=t._novip.idbdb=d.result,u=Xf(h.objectStoreNames);if(u.length>0)try{var g=h.transaction(tj(u),"readonly");e.autoSchema?hj(t,h,g):(zu(t,t._dbSchema,g),uj(t,g)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),Nu(t,g)}catch{}s0.push(t),h.onversionchange=Wt(function(p){e.vcFired=!0,t.on("versionchange").fire(p)}),h.onclose=Wt(function(p){t.on("close").fire(p)}),a&&xj(t._deps,l),c()},f)})})]).then(function(){return r(),e.onReadyBeingFired=[],ze.resolve(Gu(function(){return t.on.ready.fire(t.vip)})).then(function c(){if(e.onReadyBeingFired.length>0){var f=e.onReadyBeingFired.reduce(pu,Lt);return e.onReadyBeingFired=[],ze.resolve(Gu(function(){return f(t.vip)})).then(c)}})}).finally(function(){e.onReadyBeingFired=null,e.isBeingOpened=!1}).then(function(){return t}).catch(function(c){e.dbOpenError=c;try{o&&o.abort()}catch{}return i===e.openCanceller&&t._close(),mn(c)}).finally(function(){e.openComplete=!0,s()})}function Xu(t){var e=function(o){return t.next(o)},n=function(o){return t.throw(o)},i=s(e),r=s(n);function s(o){return function(a){var c=o(a),f=c.value;return c.done?f:!f||typeof f.then!="function"?$n(f)?Promise.all(f).then(i,r):i(f):f.then(i,r)}}return s(e)()}function Oj(t,e,n){var i=arguments.length;if(i<2)throw new rt.InvalidArgument("Too few arguments");for(var r=new Array(i-1);--i;)r[i-1]=arguments[i];n=r.pop();var s=Y4(r);return[t,s,n]}function w3(t,e,n,i,r){return ze.resolve().then(function(){var s=nt.transless||nt,o=t._createTransaction(e,n,t._dbSchema,i),a={trans:o,transless:s};if(i)o.idbtrans=i.idbtrans;else try{o.create(),t._state.PR1398_maxLoop=3}catch(d){return d.name===gu.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),t._close(),t.open().then(function(){return w3(t,e,n,null,r)})):mn(d)}var c=hu(r);c&&mo();var f,l=ze.follow(function(){if(f=r.call(o,o),f)if(c){var d=Zi.bind(null,null);f.then(d,d)}else typeof f.next=="function"&&typeof f.throw=="function"&&(f=Xu(f))},a);return(f&&typeof f.then=="function"?ze.resolve(f).then(function(d){return o.active?d:mn(new rt.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):l.then(function(){return f})).then(function(d){return i&&o._resolve(),o._completion.then(function(){return d})}).catch(function(d){return o._reject(d),mn(d)})})}function gl(t,e,n){for(var i=$n(t)?t.slice():[t],r=0;r<n;++r)i.push(e);return i}function kj(t){return Et(Et({},t),{table:function(e){var n=t.table(e),i=n.schema,r={},s=[];function o(p,x,m){var w=h0(p),O=r[w]=r[w]||[],k=p==null?0:typeof p=="string"?1:p.length,E=x>0,D=Et(Et({},m),{isVirtual:E,keyTail:x,keyLength:k,extractKey:Fu(p),unique:!E&&m.unique});if(O.push(D),D.isPrimaryKey||s.push(D),k>1){var v=k===2?p[0]:p.slice(0,k-1);o(v,x+1,m)}return O.sort(function(S,C){return S.keyTail-C.keyTail}),D}var a=o(i.primaryKey.keyPath,0,i.primaryKey);r[":id"]=[a];for(var c=0,f=i.indexes;c<f.length;c++){var l=f[c];o(l.keyPath,0,l)}function d(p){var x=r[h0(p)];return x&&x[0]}function h(p,x){return{type:p.type===1?2:p.type,lower:gl(p.lower,p.lowerOpen?t.MAX_KEY:t.MIN_KEY,x),lowerOpen:!0,upper:gl(p.upper,p.upperOpen?t.MIN_KEY:t.MAX_KEY,x),upperOpen:!0}}function u(p){var x=p.query.index;return x.isVirtual?Et(Et({},p),{query:{index:x,range:h(p.query.range,x.keyTail)}}):p}var g=Et(Et({},n),{schema:Et(Et({},i),{primaryKey:a,indexes:s,getIndexByKeyPath:d}),count:function(p){return n.count(u(p))},query:function(p){return n.query(u(p))},openCursor:function(p){var x=p.query.index,m=x.keyTail,w=x.isVirtual,O=x.keyLength;if(!w)return n.openCursor(p);function k(E){function D(S){S!=null?E.continue(gl(S,p.reverse?t.MAX_KEY:t.MIN_KEY,m)):p.unique?E.continue(E.key.slice(0,O).concat(p.reverse?t.MIN_KEY:t.MAX_KEY,m)):E.continue()}var v=Object.create(E,{continue:{value:D},continuePrimaryKey:{value:function(S,C){E.continuePrimaryKey(gl(S,t.MAX_KEY,m),C)}},primaryKey:{get:function(){return E.primaryKey}},key:{get:function(){var S=E.key;return O===1?S[0]:S.slice(0,O)}},value:{get:function(){return E.value}}});return v}return n.openCursor(u(p)).then(function(E){return E&&k(E)})}});return g}})}var Pj={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:kj};function Wu(t,e,n,i){return n=n||{},i=i||"",un(t).forEach(function(r){if(!Ea(e,r))n[i+r]=void 0;else{var s=t[r],o=e[r];if(typeof s=="object"&&typeof o=="object"&&s&&o){var a=lu(s),c=lu(o);a!==c?n[i+r]=e[r]:a==="Object"?Wu(s,o,n,i+r+"."):s!==o&&(n[i+r]=e[r])}else s!==o&&(n[i+r]=e[r])}}),un(e).forEach(function(r){Ea(t,r)||(n[i+r]=e[r])}),n}function vj(t,e){return e.type==="delete"?e.keys:e.keys||e.values.map(t.extractKey)}var Aj={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(t){return Et(Et({},t),{table:function(e){var n=t.table(e),i=n.schema.primaryKey,r=Et(Et({},n),{mutate:function(s){var o=nt.trans,a=o.table(e).hook,c=a.deleting,f=a.creating,l=a.updating;switch(s.type){case"add":if(f.fire===Lt)break;return o._promise("readwrite",function(){return d(s)},!0);case"put":if(f.fire===Lt&&l.fire===Lt)break;return o._promise("readwrite",function(){return d(s)},!0);case"delete":if(c.fire===Lt)break;return o._promise("readwrite",function(){return d(s)},!0);case"deleteRange":if(c.fire===Lt)break;return o._promise("readwrite",function(){return h(s)},!0)}return n.mutate(s);function d(g){var p=nt.trans,x=g.keys||vj(i,g);if(!x)throw new Error("Keys missing");return g=g.type==="add"||g.type==="put"?Et(Et({},g),{keys:x}):Et({},g),g.type!=="delete"&&(g.values=ou([],g.values,!0)),g.keys&&(g.keys=ou([],g.keys,!0)),Ej(n,g,x).then(function(m){var w=x.map(function(O,k){var E=m[k],D={onerror:null,onsuccess:null};if(g.type==="delete")c.fire.call(D,O,E,p);else if(g.type==="add"||E===void 0){var v=f.fire.call(D,O,g.values[k],p);O==null&&v!=null&&(O=v,g.keys[k]=O,i.outbound||ti(g.values[k],i.keyPath,O))}else{var S=Wu(E,g.values[k]),C=l.fire.call(D,S,O,E,p);if(C){var R=g.values[k];Object.keys(C).forEach(function(T){Ea(R,T)?R[T]=C[T]:ti(R,T,C[T])})}}return D});return n.mutate(g).then(function(O){for(var k=O.failures,E=O.results,D=O.numFailures,v=O.lastResult,S=0;S<x.length;++S){var C=E?E[S]:x[S],R=w[S];C==null?R.onerror&&R.onerror(k[S]):R.onsuccess&&R.onsuccess(g.type==="put"&&m[S]?g.values[S]:C)}return{failures:k,results:E,numFailures:D,lastResult:v}}).catch(function(O){return w.forEach(function(k){return k.onerror&&k.onerror(O)}),Promise.reject(O)})})}function h(g){return u(g.trans,g.range,1e4)}function u(g,p,x){return n.query({trans:g,values:!1,query:{index:i,range:p},limit:x}).then(function(m){var w=m.result;return d({type:"delete",keys:w,trans:g}).then(function(O){return O.numFailures>0?Promise.reject(O.failures[0]):w.length<x?{failures:[],numFailures:0,lastResult:void 0}:u(g,Et(Et({},p),{lower:w[w.length-1],lowerOpen:!0}),x)})})}}});return r}})}};function Ej(t,e,n){return e.type==="add"?Promise.resolve([]):t.getMany({trans:e.trans,keys:n,cache:"immutable"})}function _3(t,e,n){try{if(!e||e.keys.length<t.length)return null;for(var i=[],r=0,s=0;r<e.keys.length&&s<t.length;++r)oa(e.keys[r],t[s])===0&&(i.push(n?Qc(e.values[r]):e.values[r]),++s);return i.length===t.length?i:null}catch{return null}}var jj={stack:"dbcore",level:-1,create:function(t){return{table:function(e){var n=t.table(e);return Et(Et({},n),{getMany:function(i){if(!i.cache)return n.getMany(i);var r=_3(i.keys,i.trans._cache,i.cache==="clone");return r?ze.resolve(r):n.getMany(i).then(function(s){return i.trans._cache={keys:i.keys,values:i.cache==="clone"?Qc(s):s},s})},mutate:function(i){return i.type!=="add"&&(i.trans._cache=null),n.mutate(i)}})}}}},Vu;function Ku(t){return!("from"in t)}var qi=function(t,e){if(this)sa(this,arguments.length?{d:1,from:t,to:arguments.length>1?e:t}:{d:0});else{var n=new qi;return t&&"d"in t&&sa(n,t),n}};ho(qi.prototype,(Vu={add:function(t){return pl(this,t),this},addKey:function(t){return u0(this,t,t),this},addKeys:function(t){var e=this;return t.forEach(function(n){return u0(e,n,n)}),this}},Vu[du]=function(){return Qu(this)},Vu));function u0(t,e,n){var i=oa(e,n);if(!isNaN(i)){if(i>0)throw RangeError();if(Ku(t))return sa(t,{from:e,to:n,d:1});var r=t.l,s=t.r;if(oa(n,t.from)<0)return r?u0(r,e,n):t.l={from:e,to:n,d:1,l:null,r:null},O3(t);if(oa(e,t.to)>0)return s?u0(s,e,n):t.r={from:e,to:n,d:1,l:null,r:null},O3(t);oa(e,t.from)<0&&(t.from=e,t.l=null,t.d=s?s.d+1:1),oa(n,t.to)>0&&(t.to=n,t.r=null,t.d=t.l?t.l.d+1:1);var o=!t.r;r&&!t.l&&pl(t,r),s&&o&&pl(t,s)}}function pl(t,e){function n(i,r){var s=r.from,o=r.to,a=r.l,c=r.r;u0(i,s,o),a&&n(i,a),c&&n(i,c)}Ku(e)||n(t,e)}function Dj(t,e){var n=Qu(e),i=n.next();if(i.done)return!1;for(var r=i.value,s=Qu(t),o=s.next(r.from),a=o.value;!i.done&&!o.done;){if(oa(a.from,r.to)<=0&&oa(a.to,r.from)>=0)return!0;oa(r.from,a.from)<0?r=(i=n.next(a.from)).value:a=(o=s.next(r.from)).value}return!1}function Qu(t){var e=Ku(t)?null:{s:0,n:t};return{next:function(n){for(var i=arguments.length>0;e;)switch(e.s){case 0:if(e.s=1,i)for(;e.n.l&&oa(n,e.n.from)<0;)e={up:e,n:e.n.l,s:1};else for(;e.n.l;)e={up:e,n:e.n.l,s:1};case 1:if(e.s=2,!i||oa(n,e.n.to)<=0)return{value:e.n,done:!1};case 2:if(e.n.r){e.s=3,e={up:e,n:e.n.r,s:0};continue}case 3:e=e.up}return{done:!0}}}}function O3(t){var e,n,i=(((e=t.r)===null||e===void 0?void 0:e.d)||0)-(((n=t.l)===null||n===void 0?void 0:n.d)||0),r=i>1?"r":i<-1?"l":"";if(r){var s=r==="r"?"l":"r",o=Et({},t),a=t[r];t.from=a.from,t.to=a.to,t[r]=a[r],o[r]=a[s],t[s]=o,o.d=k3(o)}t.d=k3(t)}function k3(t){var e=t.r,n=t.l;return(e?n?Math.max(e.d,n.d):e.d:n?n.d:0)+1}var Ij={stack:"dbcore",level:0,create:function(t){var e=t.schema.name,n=new qi(t.MIN_KEY,t.MAX_KEY);return Et(Et({},t),{table:function(i){var r=t.table(i),s=r.schema,o=s.primaryKey,a=o.extractKey,c=o.outbound,f=Et(Et({},r),{mutate:function(h){var u=h.trans,g=u.mutatedParts||(u.mutatedParts={}),p=function(v){var S="idb://"+e+"/"+i+"/"+v;return g[S]||(g[S]=new qi)},x=p(""),m=p(":dels"),w=h.type,O=h.type==="deleteRange"?[h.range]:h.type==="delete"?[h.keys]:h.values.length<50?[[],h.values]:[],k=O[0],E=O[1],D=h.trans._cache;return r.mutate(h).then(function(v){if($n(k)){w!=="delete"&&(k=v.results),x.addKeys(k);var S=_3(k,D);!S&&w!=="add"&&m.addKeys(k),(S||E)&&Sj(p,s,S,E)}else if(k){var C={from:k.lower,to:k.upper};m.add(C),x.add(C)}else x.add(n),m.add(n),s.indexes.forEach(function(R){return p(R.name).add(n)});return v})}}),l=function(h){var u,g,p=h.query,x=p.index,m=p.range;return[x,new qi((u=m.lower)!==null&&u!==void 0?u:t.MIN_KEY,(g=m.upper)!==null&&g!==void 0?g:t.MAX_KEY)]},d={get:function(h){return[o,new qi(h.key)]},getMany:function(h){return[o,new qi().addKeys(h.keys)]},count:l,query:l,openCursor:l};return un(d).forEach(function(h){f[h]=function(u){var g=nt.subscr;if(g){var p=function(D){var v="idb://"+e+"/"+i+"/"+D;return g[v]||(g[v]=new qi)},x=p(""),m=p(":dels"),w=d[h](u),O=w[0],k=w[1];if(p(O.name||"").add(k),!O.isPrimaryKey)if(h==="count")m.add(n);else{var E=h==="query"&&c&&u.values&&r.query(Et(Et({},u),{values:!1}));return r[h].apply(this,arguments).then(function(D){if(h==="query"){if(c&&u.values)return E.then(function(R){var T=R.result;return x.addKeys(T),D});var v=u.values?D.result.map(a):D.result;u.values?x.addKeys(v):m.addKeys(v)}else if(h==="openCursor"){var S=D,C=u.values;return S&&Object.create(S,{key:{get:function(){return m.addKey(S.primaryKey),S.key}},primaryKey:{get:function(){var R=S.primaryKey;return m.addKey(R),R}},value:{get:function(){return C&&x.addKey(S.primaryKey),S.value}}})}return D})}}return r[h].apply(this,arguments)}}),f}})}};function Sj(t,e,n,i){function r(s){var o=t(s.name||"");function a(f){return f!=null?s.extractKey(f):null}var c=function(f){return s.multiEntry&&$n(f)?f.forEach(function(l){return o.addKey(l)}):o.addKey(f)};(n||i).forEach(function(f,l){var d=n&&a(n[l]),h=i&&a(i[l]);oa(d,h)!==0&&(d!=null&&c(d),h!=null&&c(h))})}e.indexes.forEach(r)}var Ju=function(){function t(e,n){var i=this;this._middlewares={},this.verno=0;var r=t.dependencies;this._options=n=Et({addons:t.addons,autoOpen:!0,indexedDB:r.indexedDB,IDBKeyRange:r.IDBKeyRange},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};var s=n.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var o={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:Lt,dbReadyPromise:null,cancelOpen:Lt,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};o.dbReadyPromise=new ze(function(a){o.dbReadyResolve=a}),o.openCanceller=new ze(function(a,c){o.cancelOpen=c}),this._state=o,this.name=e,this.on=o0(this,"populate","blocked","versionchange","close",{ready:[pu,Lt]}),this.on.ready.subscribe=L4(this.on.ready.subscribe,function(a){return function(c,f){t.vip(function(){var l=i._state;if(l.openComplete)l.dbOpenError||ze.resolve().then(c),f&&a(c);else if(l.onReadyBeingFired)l.onReadyBeingFired.push(c),f&&a(c);else{a(c);var d=i;f||a(function h(){d.on.ready.unsubscribe(c),d.on.ready.unsubscribe(h)})}})}}),this.Collection=$E(this),this.Table=YE(this),this.Transaction=ej(this),this.Version=pj(this),this.WhereClause=QE(this),this.on("versionchange",function(a){a.newVersion>0?console.warn("Another connection wants to upgrade database '"+i.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+i.name+"'. Closing db now to resume the delete request."),i.close()}),this.on("blocked",function(a){!a.newVersion||a.newVersion<a.oldVersion?console.warn("Dexie.delete('"+i.name+"') was blocked"):console.warn("Upgrade '"+i.name+"' blocked by other connection holding version "+a.oldVersion/10)}),this._maxKey=d0(n.IDBKeyRange),this._createTransaction=function(a,c,f,l){return new i.Transaction(a,c,f,i._options.chromeTransactionDurability,l)},this._fireOnBlocked=function(a){i.on("blocked").fire(a),s0.filter(function(c){return c.name===i.name&&c!==i&&!c._state.vcFired}).map(function(c){return c.on("versionchange").fire(a)})},this.use(Pj),this.use(Aj),this.use(Ij),this.use(jj),this.vip=Object.create(this,{_vip:{value:!0}}),s.forEach(function(a){return a(i)})}return t.prototype.version=function(e){if(isNaN(e)||e<.1)throw new rt.Type("Given version is not a positive number");if(e=Math.round(e*10)/10,this.idbdb||this._state.isBeingOpened)throw new rt.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,e);var n=this._versions,i=n.filter(function(r){return r._cfg.version===e})[0];return i||(i=new this.Version(e),n.push(i),n.sort(oj),i.stores({}),this._state.autoSchema=!1,i)},t.prototype._whenReady=function(e){var n=this;return this.idbdb&&(this._state.openComplete||nt.letThrough||this._vip)?e():new ze(function(i,r){if(n._state.openComplete)return r(new rt.DatabaseClosed(n._state.dbOpenError));if(!n._state.isBeingOpened){if(!n._options.autoOpen){r(new rt.DatabaseClosed);return}n.open().catch(Lt)}n._state.dbReadyPromise.then(i,r)}).then(e)},t.prototype.use=function(e){var n=e.stack,i=e.create,r=e.level,s=e.name;s&&this.unuse({stack:n,name:s});var o=this._middlewares[n]||(this._middlewares[n]=[]);return o.push({stack:n,create:i,level:r??10,name:s}),o.sort(function(a,c){return a.level-c.level}),this},t.prototype.unuse=function(e){var n=e.stack,i=e.name,r=e.create;return n&&this._middlewares[n]&&(this._middlewares[n]=this._middlewares[n].filter(function(s){return r?s.create!==r:i?s.name!==i:!1})),this},t.prototype.open=function(){return _j(this)},t.prototype._close=function(){var e=this._state,n=s0.indexOf(this);if(n>=0&&s0.splice(n,1),this.idbdb){try{this.idbdb.close()}catch{}this._novip.idbdb=null}e.dbReadyPromise=new ze(function(i){e.dbReadyResolve=i}),e.openCanceller=new ze(function(i,r){e.cancelOpen=r})},t.prototype.close=function(){this._close();var e=this._state;this._options.autoOpen=!1,e.dbOpenError=new rt.DatabaseClosed,e.isBeingOpened&&e.cancelOpen(e.dbOpenError)},t.prototype.delete=function(){var e=this,n=arguments.length>0,i=this._state;return new ze(function(r,s){var o=function(){e.close();var a=e._deps.indexedDB.deleteDatabase(e.name);a.onsuccess=Wt(function(){yj(e._deps,e.name),r()}),a.onerror=_i(s),a.onblocked=e._fireOnBlocked};if(n)throw new rt.InvalidArgument("Arguments not allowed in db.delete()");i.isBeingOpened?i.dbReadyPromise.then(o):o()})},t.prototype.backendDB=function(){return this.idbdb},t.prototype.isOpen=function(){return this.idbdb!==null},t.prototype.hasBeenClosed=function(){var e=this._state.dbOpenError;return e&&e.name==="DatabaseClosed"},t.prototype.hasFailed=function(){return this._state.dbOpenError!==null},t.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(t.prototype,"tables",{get:function(){var e=this;return un(this._allTables).map(function(n){return e._allTables[n]})},enumerable:!1,configurable:!0}),t.prototype.transaction=function(){var e=Oj.apply(this,arguments);return this._transaction.apply(this,e)},t.prototype._transaction=function(e,n,i){var r=this,s=nt.trans;(!s||s.db!==this||e.indexOf("!")!==-1)&&(s=null);var o=e.indexOf("?")!==-1;e=e.replace("!","").replace("?","");var a,c;try{if(c=n.map(function(l){var d=l instanceof r.Table?l.name:l;if(typeof d!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return d}),e=="r"||e===Cu)a=Cu;else if(e=="rw"||e==Ru)a=Ru;else throw new rt.InvalidArgument("Invalid transaction mode: "+e);if(s){if(s.mode===Cu&&a===Ru)if(o)s=null;else throw new rt.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");s&&c.forEach(function(l){if(s&&s.storeNames.indexOf(l)===-1)if(o)s=null;else throw new rt.SubTransaction("Table "+l+" not included in parent transaction.")}),o&&s&&!s.active&&(s=null)}}catch(l){return s?s._promise(null,function(d,h){h(l)}):mn(l)}var f=w3.bind(null,this,a,c,s,i);return s?s._promise(a,f,"lock"):nt.trans?xo(nt.transless,function(){return r._whenReady(f)}):this._whenReady(f)},t.prototype.table=function(e){if(!Ea(this._allTables,e))throw new rt.InvalidTable("Table "+e+" does not exist");return this._allTables[e]},t}(),Cj=typeof Symbol<"u"&&"observable"in Symbol?Symbol.observable:"@@observable",Rj=function(){function t(e){this._subscribe=e}return t.prototype.subscribe=function(e,n,i){return this._subscribe(!e||typeof e=="function"?{next:e,error:n,complete:i}:e)},t.prototype[Cj]=function(){return this},t}();function P3(t,e){return un(e).forEach(function(n){var i=t[n]||(t[n]=new qi);pl(i,e[n])}),t}function Mj(t){var e=!1,n=void 0,i=new Rj(function(r){var s=hu(t);function o(x){s&&mo();var m=function(){return kr(t,{subscr:x,trans:null})},w=nt.trans?xo(nt.transless,m):m();return s&&w.then(Zi,Zi),w}var a=!1,c={},f={},l={get closed(){return a},unsubscribe:function(){a=!0,Er.storagemutated.unsubscribe(g)}};r.start&&r.start(l);var d=!1,h=!1;function u(){return un(f).some(function(x){return c[x]&&Dj(c[x],f[x])})}var g=function(x){P3(c,x),u()&&p()},p=function(){if(!(d||a)){c={};var x={},m=o(x);h||(Er(l0,g),h=!0),d=!0,Promise.resolve(m).then(function(w){e=!0,n=w,d=!1,!a&&(u()?p():(c={},f=x,r.next&&r.next(w)))},function(w){d=!1,e=!1,r.error&&r.error(w),l.unsubscribe()})}};return p(),l});return i.hasValue=function(){return e},i.getValue=function(){return n},i}var e1;try{e1={indexedDB:Yt.indexedDB||Yt.mozIndexedDB||Yt.webkitIndexedDB||Yt.msIndexedDB,IDBKeyRange:Yt.IDBKeyRange||Yt.webkitIDBKeyRange}}catch{e1={indexedDB:null,IDBKeyRange:null}}var ms=Ju;ho(ms,Et(Et({},Vf),{delete:function(t){var e=new ms(t,{addons:[]});return e.delete()},exists:function(t){return new ms(t,{addons:[]}).open().then(function(e){return e.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(t){try{return mj(ms.dependencies).then(t)}catch{return mn(new rt.MissingAPI)}},defineClass:function(){function t(e){sa(this,e)}return t},ignoreTransaction:function(t){return nt.trans?xo(nt.transless,t):t()},vip:Gu,async:function(t){return function(){try{var e=Xu(t.apply(this,arguments));return!e||typeof e.then!="function"?ze.resolve(e):e}catch(n){return mn(n)}}},spawn:function(t,e,n){try{var i=Xu(t.apply(n,e||[]));return!i||typeof i.then!="function"?ze.resolve(i):i}catch(r){return mn(r)}},currentTransaction:{get:function(){return nt.trans||null}},waitFor:function(t,e){var n=ze.resolve(typeof t=="function"?ms.ignoreTransaction(t):t).timeout(e||6e4);return nt.trans?nt.trans.waitFor(n):n},Promise:ze,debug:{get:function(){return wi},set:function(t){Z4(t,t==="dexie"?function(){return!0}:c3)}},derive:uo,extend:sa,props:ho,override:L4,Events:o0,on:Er,liveQuery:Mj,extendObservabilitySet:P3,getByKeyPath:Yi,setByKeyPath:ti,delByKeyPath:hE,shallowClone:B4,deepClone:Qc,getObjectDiff:Wu,cmp:oa,asap:F4,minKey:Su,addons:[],connections:s0,errnames:gu,dependencies:e1,semVer:s3,version:s3.split(".").map(function(t){return parseInt(t)}).reduce(function(t,e,n){return t+e/Math.pow(10,n*2)})})),ms.maxKey=d0(ms.dependencies.IDBKeyRange),typeof dispatchEvent<"u"&&typeof addEventListener<"u"&&(Er(l0,function(t){if(!$i){var e;cl?(e=document.createEvent("CustomEvent"),e.initCustomEvent(Ar,!0,!0,t)):e=new CustomEvent(Ar,{detail:t}),$i=!0,dispatchEvent(e),$i=!1}}),addEventListener(Ar,function(t){var e=t.detail;$i||ml(e)}));function ml(t){var e=$i;try{$i=!0,Er.storagemutated.fire(t)}finally{$i=e}}var $i=!1;if(typeof BroadcastChannel<"u"){var xl=new BroadcastChannel(Ar);typeof xl.unref=="function"&&xl.unref(),Er(l0,function(t){$i||xl.postMessage(t)}),xl.onmessage=function(t){t.data&&ml(t.data)}}else if(typeof self<"u"&&typeof navigator<"u"){Er(l0,function(t){try{$i||(typeof localStorage<"u"&&localStorage.setItem(Ar,JSON.stringify({trig:Math.random(),changedParts:t})),typeof self.clients=="object"&&ou([],self.clients.matchAll({includeUncontrolled:!0}),!0).forEach(function(e){return e.postMessage({type:Ar,changedParts:t})}))}catch{}}),typeof addEventListener<"u"&&addEventListener("storage",function(t){if(t.key===Ar){var e=JSON.parse(t.newValue);e&&ml(e.changedParts)}});var v3=self.document&&navigator.serviceWorker;v3&&v3.addEventListener("message",Uj)}function Uj(t){var e=t.data;e&&e.type===Ar&&ml(e.changedParts)}ze.rejectionMapper=_E,Z4(wi,c3);const Tj=500*1024*1024;let Lj=class extends Ju{constructor(){super("PDFluxSDKCache"),this.version(1).stores({files:"[id+chunkSize]",fileChunks:"[docId+index]"})}};const ct=new Lj;async function Fj(){return ct.transaction("rw",ct.files,ct.fileChunks,async()=>{const t=(await ct.files.toCollection().sortBy("createdAt"))[0];if(!t)return;const{id:e,chunkDocId:n}=t;await ct.fileChunks.where("docId").equals(n).delete(),await ct.files.where("id").equals(e).delete()}).catch(t=>{console.error(t.stack||t)})}async function Nj(){return ct.transaction("r",ct.files,ct.fileChunks,async()=>{const t=await ct.files.toCollection().first();if(!t)return 0;const{chunkSize:e}=t;return await ct.fileChunks.count()*e}).catch(t=>{console.error(t.stack||t)})}async function A3(){await Nj()>Tj&&(await Fj(),A3())}function Bj(t,e){const{id:n,chunkDocId:i,chunkSize:r}=t;ct.transaction("rw",ct.files,ct.fileChunks,async()=>{const s=await ct.files.where({id:n,chunkSize:r}).first(),o=Date.now();s||(A3(),t.createdAt=o,await ct.files.add(t));for(let a=0;a<e.length;a+=1){const c=e[a];await ct.fileChunks.where("[docId+index]").equals([i,c.index]).first()||await ct.fileChunks.add({docId:i,index:c.index,data:c.data,createdAt:o})}}).catch(s=>{console.error(s.stack||s)})}function Yj(t,e){return ct.transaction("r",ct.fileChunks,async()=>(await Promise.all(e.map(async n=>ct.fileChunks.get({docId:t,index:n})))).filter(n=>n!==void 0)).catch(n=>{console.error(n.stack||n)})}function Hj(){return!0}function Zj(t){return ct.transaction("rw",ct.files,ct.fileChunks,async()=>{t=t||Hj;const e=await ct.files.filter(t).toArray();for(let n=0;n<e.length;n+=1){const i=e[n],r=0;ct.fileChunks.where("[docId+index]").aboveOrEqual([i.chunkDocId,r]).delete(),ct.files.where("[id+chunkSize]").equals([i.id,i.chunkSize]).delete()}}).catch(e=>{console.error(e.stack||e)})}function zj(t){return ct.transaction("rw",ct.files,ct.fileChunks,async()=>{const e=await ct.files.where("id").equals(t).toArray();for(let n=0;n<e.length;n+=1){const i=e[n],r=0;ct.fileChunks.where("[docId+index]").aboveOrEqual([i.chunkDocId,r]).delete(),ct.files.where("[id+chunkSize]").equals([i.id,i.chunkSize]).delete()}}).catch(e=>{console.error(e.stack||e)})}function qj(t){return ct.transaction("rw",ct.files,ct.fileChunks,async()=>ct.files.where("id").equals(t).first()).catch(e=>{console.error(e.stack||e)})}function $j(t){return ct.transaction("rw",ct.fileChunks,async()=>ct.fileChunks.where("docId").equals(t).toArray()).catch(e=>{console.error(e.stack||e)})}function Gj(t,e){const{id:n,chunkSize:i}=t,r=`${n}_${i}`;ct.transaction("rw",ct.files,ct.fileChunks,async()=>{if(await ct.files.where({id:n,chunkSize:i}).first()){console.warn("Record exists",t);return}const s=Date.now();t.createdAt=s,t.chunkDocId=r,await ct.files.add(t);const{byteLength:o}=e,a=Math.ceil(o/i);for(let c=0;c<a;c+=1){const f=c*i,l=Math.min(o,(c+1)*i);await ct.fileChunks.add({docId:r,index:c,data:e.slice(f,l),createdAt:s})}}).catch(s=>{console.error(s.stack||s)})}function Xj(t){Gi._options=t,Gi.configured=!0}function Wj(t){if(Gi._options.getCachedFileData){const e=Gi._options.getCachedFileData(t);return e&&e.id||console.warn('Wong `getCachedFileData` options, it should return {id: "", ... }'),e}return null}function Vj(t){Zj(t)}function Kj(t){zj(t)}function Qj(t,e){return Gj(t,e)}function Jj(t){return qj(t)}function eD(t){return $j(t)}function tD(t,e){return Bj(t,e)}function nD(t,e){return Yj(t,e)}class Gi{static configured=!1;static configure(e){return Xj.call(this,e)}static getFileData(e){return Wj.call(this,e)}static clear(e){return Vj.call(this,e)}static deleteFileCache(e){return Kj.call(this,e)}static cacheFile(e,n){return Qj.call(this,e,n)}static getFileCache(e){return Jj.call(this,e)}static getChunksCache(e){return eD.call(this,e)}static saveFileChunks(e,n){return tD.call(this,e,n)}static getFileChunks(e,n){return nD.call(this,e,n)}}function aD(t){this._numRangeChunks=t,this.isDataLoaded&&!this.manager._loadedStreamCapability.settled&&this.manager._loadedStreamCapability.resolve(this)}class E3 extends S2{constructor(e,n,i){super(e,n,i)}get isDataLoaded(){return this.numChunksLoaded===this.numChunks||this.numChunksLoaded===this._numRangeChunks}setChunkCount(e){return aD.call(this,e)}}function iD(t){this.stream=t}function rD(t){return this.chunkData.get(t)}function sD(t){return this.chunkData.has(t)}function oD(t,e){this.recentChunks.has(t)&&this.recentChunks.delete(t),this.recentChunks.add(t),this.chunkData.set(t,e)}function cD(){const t=this.recentChunks.keys().next().value;this.recentChunks.delete(t)}function fD(t,e){this._setRangeData(e,t)}function lD(t,e){const{chunkSize:n}=this.stream;if(t%n!==0)throw new Error(`Bad begin offset: ${t}`);const i=t+e.byteLength;if(i%n!==0&&i!==this.stream.byteLength)throw new Error(`Bad end offset: ${i}`);const r=this.stream.manager.getBeginChunk(t),s=this.stream.manager.getEndChunk(i);for(let o=r;o<s;++o){const a=o-r,c=Math.min((a+1)*n,e.byteLength),f=e.slice(a*n,c);this.setChunk(o,f)}}function dD(t,e){const{chunkSize:n}=this.stream,i=this.stream.manager.getBeginChunk(t),r=this.stream.manager.getEndChunk(e),s=Math.min(this.stream.byteLength,r*n),o=s-i*n,a=new Uint8Array(o);for(let f=i;f<r;++f){const l=this.chunkData.get(f);if(l){const d=(f-i)*n;a.set(l,d)}}const c=t%n;return a.slice(c,c+(e-t))}function hD(t,e){return this._getRangeData(t,e)}function uD(t){const e=this.stream.manager.getBeginChunk(t),n=this.chunkData.get(e),i=t%this.stream.chunkSize;return n[i]}function bD(t){const e=this.recentChunks;if(t){const n=e.size;let i=1;for(const r of e)if(t.has(r)&&(e.delete(r),e.add(r)),++i>n)break}for(;e.size>this.cacheSize;)this._removeFirst();for(const n of this.chunkData.keys())this.recentChunks.has(n)||this.chunkData.delete(n)}class gD{chunkData=new Map;recentChunks=new Set;constructor(e=20){this.cacheSize=e}bindStream(e){return iD.call(this,e)}get length(){return this.stream.byteLength}get byteLength(){return this.stream.byteLength}get buffer(){const e=new Uint8Array(this.stream.byteLength);for(const n of this.chunkData.keys()){const i=this.chunkData.get(n);i&&e.set(i,n*this.stream.chunkSize)}return e.buffer}getChunkData(e){return rD.call(this,e)}hasChunk(e){return sD.call(this,e)}setChunk(e,n){return oD.call(this,e,n)}_removeFirst(){return cD.call(this)}set(e,n){return fD.call(this,e,n)}_setRangeData(e,n){return lD.call(this,e,n)}_getRangeData(e,n){return dD.call(this,e,n)}subarray(e,n){return hD.call(this,e,n)}getByte(e){return uD.call(this,e)}ensureChunksSize(e){return bD.call(this,e)}}function pD(t){return this.bytes.hasChunk(t)}function mD(t,e){const{chunkSize:n}=this;if(t%n!==0)throw new Error(`Bad begin offset: ${t}`);const i=t+e.byteLength;if(i%n!==0&&i!==this.bytes.length)throw new Error(`Bad end offset: ${i}`);this.bytes.set(new Uint8Array(e),t);const r=this.manager.getBeginChunk(t),s=this.manager.getEndChunk(i);for(let o=r;o<s;++o)this._loadedChunks.add(o)}function xD(){const{pos:t}=this;return t>=this.end?-1:(t>=this.progressiveDataLength&&this.ensureByte(t),this.bytes.getByte(this.pos++))}function yD(){this.manager.importantChunks.size&&(this.bytes.ensureChunksSize(this.manager.importantChunks),this._loadedChunks=new Set(this.bytes.recentChunks))}function wD(t){this._loadedChunks=new Set(this.bytes.recentChunks),this.lastSuccessfulEnsureByteChunk=this.manager.getBeginChunk(t.begin)}class _D extends E3{chunkData=new Map;constructor(e,n,i,r=!1){super(0,n,i);const s=Math.ceil(e/n),o=Math.max(Math.floor(s/20),10),a=new gD(o);this.bytes=a,this.bytes.bindStream(this),this.byteLength=e,this.start=0,this.pos=this.start,this.end=e||this.bytes.length,this.dict=null,this.chunkSize=n,this._loadedChunks=new Set,this.numChunks=Math.ceil(e/n),this.manager=i,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1,r&&`${Math.ceil(e/n)}${a.cacheSize}`}hasChunk(e){return pD.call(this,e)}onReceiveData(e,n){return mD.call(this,e,n)}getByte(){return xD.call(this)}ensureChunksSize(){return yD.call(this)}syncLoadedChunks(e){return wD.call(this,e)}}const OD=3e3*1024*1024,t1=U4(),kD=(t,e=0)=>{let n=3735928559^e,i=1103547991^e;for(let r=0,s;r<t.length;r++)s=t.charCodeAt(r),n=Math.imul(n^s,2654435761),i=Math.imul(i^s,1597334677);return n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(i^i>>>13,3266489909),i=Math.imul(i^i>>>16,2246822507),i^=Math.imul(n^n>>>13,3266489909),4294967296*(2097151&i)+(n>>>0)};function PD(t){return t.map(e=>{const n=e.beginChunk,i=e.endChunk-1;return`${n}-${i}`}).join(",")}function n1(t,e){let n;try{n=new URL(t)}catch{n=new URL(t,location.origin)}return Object.keys(e).forEach(i=>n.searchParams.append(i,e[i])),n.toString()}async function vD(t,e){const n=t.headers.get("content-range"),i=Number(t.headers.get("x-range-unit")||1),r=await t.arrayBuffer(),s=[];let o=0;return n?n.replace(/^bytes\s+/,"").replace(/\/\d+$/,"").split(/,\s*/).forEach(a=>{const[c,f]=a.split("-").map(h=>Number(h)*i),l=f-c+i,d=Math.min(o+l,e);s.push({begin:c,chunk:new Uint8Array(r.slice(o,d))}),o+=l}):warn("Wong response format, content-range header is required!"),s}function j3(t,e){const n=t.startsWith("http"),i=new URL(e.responseURL);let r;return n?r=new URL(t):r=new URL(t,location.origin),r.origin!==i.origin||r.pathname!==i.pathname}function AD(t,e,n){const{start:i,end:r}=t;let s=new XMLHttpRequest;s.responseType="arraybuffer",s.open("GET",e,!1),s.setRequestHeader("Range",`bytes=${i}-${r}`),s.send(null);let o=new Uint8Array(s.response),a=j3(e,s);if(s.status===403){const c=new TextDecoder("utf-8").decode(o);if(n&&c.includes("Request has expired"))s=new XMLHttpRequest,s.responseType="arraybuffer",s.open("GET",n,!1),s.setRequestHeader("Range",`bytes=${i}-${r}`),s.send(null),o=new Uint8Array(s.response),a=j3(n,s);else throw new Error(`Request range error: ${c}`)}return{data:o,isRedirect:a,responseURL:s.responseURL}}function ED(t){return/^https?:\/\//i.test(t)}function jD(t){const e={},n=[];for(let i=0,{length:r}=t;i<r;i+=1){const s=t[i];s.children=[],e[s.index]=s}for(let i=0,{length:r}=t;i<r;i+=1){const s=t[i];e[s.parent]?e[s.parent].children.push(s):n.push(s)}return n}class DD extends nu{}const yl={},bn={wasmPath:"",isDesktopEnv:!1,disableExternalFont:!1,enableWordSegmentation:!1,enableLoadLinearizedPdf:!1,enableCachePassword:!1,wasmConfig:{selectTextUseRoughElement:!0},keepInvisibleText:!1,sendDataReceivedSignal:!1,disableGroupChunks:!1,pdfUrl:"",lazyFileChunkSize:0,enableMemoryOptimize:!1,enableLocalCache:!1,pdfBugEnabled:!1};async function ID(t,e){return this.enableMemoryOptimize&&this.stream.ensureChunksSize(),this.enableLocalCache&&await this.queryFileChunks(t),await Jo.prototype._requestChunks.call(this,t,e)}async function SD(t){if(t.length!==0)try{(await Gi.getFileChunks(this._customFileData.chunkDocId,t)).forEach(e=>{this.onReceiveData({begin:e.index*this.chunkSize,chunk:e.data},!0)})}catch{}}function CD(t){this.importantChunks=new Set(t)}function RD(t){const{chunk:e}=t,n=t.begin===void 0?this.progressiveDataLength:t.begin,i=n+e.byteLength,r=Math.floor(n/this.chunkSize),s=Math.floor((i-1)/this.chunkSize)+1,o=[];for(let c=r;c<s;++c){const f=c-r,l=f*this.chunkSize,d=Math.min((f+1)*this.chunkSize,e.byteLength);o.push({index:c,data:e.slice(l,d)})}const a={...this._customFileData,contentLength:this.length};try{Gi.saveFileChunks(a,o)}catch{}}function MD(t,e){this.enableLocalCache&&!e&&this.saveFileChunks(t),Jo.prototype.onReceiveData.call(this,t),this.enableMemoryOptimize&&this.stream.syncLoadedChunks(t)}function UD(t){return this._disableGroupChunks?t.map(e=>({beginChunk:e,endChunk:e+1})):Jo.prototype.groupChunks.call(this,t)}class TD extends Jo{importantChunks=new Set;constructor(e,n){super(e,n),this._disableGroupChunks=n.disableGroupChunks,this.enableMemoryOptimize=bn.enableMemoryOptimize,this.enableLocalCache=bn.enableLocalCache,this.enableMemoryOptimize?this.stream=new _D(this.length,this.chunkSize,this,bn.pdfBugEnabled):this.stream=new E3(this.length,this.chunkSize,this),this.currRequestId=0,this._customFileData=n.customFileData,this._customFileData.id===void 0&&(this._customFileData.id=n.pdfUrl),this._customFileData.chunkSize=this.chunkSize,this._customFileData.chunkDocId=`${this._customFileData.id}_${this.chunkSize}`,this.enableLocalCache&&Gi.getFileCache(this._customFileData.id).then(i=>{i&&(i.contentLength!==this.length?Gi.deleteFileCache(i.id):Gi.getChunksCache(yl.chunkDocId).then(r=>{for(const s of r){const{index:o,data:a}=s;this.onReceiveData({chunk:a,begin:yl.chunkSize*o},!0)}}))})}async _requestChunks(e,n=""){return ID.call(this,e,n)}async queryFileChunks(e){return SD.call(this,e)}saveImportantChunks(e){return CD.call(this,e)}saveFileChunks(e){return RD.call(this,e)}onReceiveData(e,n=!1){return MD.call(this,e,n)}groupChunks(e){return UD.call(this,e)}}function LD(t){return new TD(t.source,{msgHandler:t.handler,length:t.length,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,disableGroupChunks:t.disableGroupChunks,pdfUrl:t.pdfUrl,customFileData:t.customFileData,useCustomStream:bn.enableMemoryOptimize})}function FD(){this.streamManager.saveImportantChunks&&this.streamManager.saveImportantChunks(new Set(this.streamManager.stream._loadedChunks))}async function ND(t,e,n){try{const i=t[e];return typeof i=="function"?i.apply(t,n):i}catch(i){if(!(i instanceof Ut))throw i;return await this.requestRange(i.begin,i.end),this.ensure(t,e,n)}}class BD extends lo{static createStreamManager(e){return LD.call(this,e)}saveImportantChunks(){return FD.call(this)}async ensure(e,n,i){return ND.call(this,e,n,i)}}function YD(t){return new DD(this,t)}class HD extends au{createPDFDocument(e){return YD.call(this,e)}}async function ZD(t){const e={locateFile(){return t.wasmPath},isDesktopEnv:t.isDesktopEnv,disableExternalFont:t.disableExternalFont,maxWasmMemory:OD,token:"KncbNhJ7SmtoQVAzc3laZAchAGlwEQVqaWNPd1ptQHs3",lazyFileChunkSize:t.lazyFileChunkSize};return t.wasmBinary&&(e.locateFile=function(){return"pdflux.wasm"},e.wasmBinary=t.wasmBinary),e}function zD(t){return t.endsWith(".wasm.gz")?e2(t):fetch(t).then(e=>e.ok?e.arrayBuffer():null)}function qD(t,e){let n=!1;const{configureWorker:i}=a1;t.on("test",function(r){n||(n=!0,t.send("test",r instanceof Uint8Array))}),t.on("configure",async function(r){Object.keys(r).forEach(s=>{if(s.startsWith("customFile$_")){yl[s.replace("customFile$_","")]=r[s];return}s!=="verbosity"&&(bn[s]=r[s],["systemFontListURL","fontHostServer","wordsFileSrc"].includes(s)&&(e[s]=r[s]))}),zD(bn.wasmPath).then(s=>{t1.resolve(s),bn.wasmBinary=s}).catch(()=>{t1.reject(new Error("Failed to download pdflux wasm module."))}),i(r)}),t.on("c63dd000a2de18cd6ddefee649776164",r=>{Object.assign(bn.wasmConfig,r)}),t.on("GetDocRequest",function(r){let s,o;const a=U4();r.beforeLoadDocument=async(f,l)=>{o=f,await l.sendWithPromise("PrefetchPage0Data")},r.loadPdfluxDocument=async()=>{let f=!1;o instanceof lo&&(f=o.streamManager.pdfNetworkStream._fullRequestReader.isRangeSupported),await t1.promise;const l=await ZD(bn);let{url:d}=r.source;bn.pdfBugEnabled&&(d=n1(d,{fromWasm:!0}));const h=d;l.getRangeData=(g,p)=>{const{length:x}=o.streamManager,m=o.streamManager.getBeginChunk(p.start),w=o.streamManager.getEndChunk(p.end),O=m*o.streamManager.chunkSize,k=Math.min(w*o.streamManager.chunkSize,x);try{return o.streamManager.stream.getByteRange(p.start,p.end)}catch(E){if(E.name==="MissingDataException"){const{data:D,isRedirect:v,responseURL:S}=AD({start:O,end:k-1},d,h);return v&&(d=S),o.streamManager.onReceiveData({chunk:D,begin:O}),o.streamManager.stream.getByteRange(p.start,p.end)}console.error("Unexpected error during `getRangeData`: ",E)}return null},o instanceof lo&&(l.lazyFileDataGetter=(g,p,x,m)=>{if(!o.streamManager.stream.hasChunk(g)){const w=m(p,x);o.streamManager.enableMemoryOptimize&&o.streamManager.stream.ensureChunksSize(),o.streamManager.onReceiveData({chunk:w,begin:p},!1)}if(!o.streamManager.stream.hasChunk(g))throw new Error("doXHR failed!");return o.streamManager.stream.bytes.getChunkData(g)});const u={data:o.pdfDocument.stream.bytes,password:o.password,isRangeSupported:f,enableWordSegmentation:bn.enableWordSegmentation,moduleOptions:l,messageHandler:s,config:bn.wasmConfig,enableLoadLinearizedPdf:bn.enableLoadLinearizedPdf,keepInvisibleText:bn.keepInvisibleText};if(o instanceof lo&&o.streamManager.enableMemoryOptimize){let{pdfUrl:g}=bn;bn.pdfBugEnabled&&(g=n1(g,{fromLazyFile:!0})),u.url=g}try{const g=await B6.loadDocument(u);return a.resolve(g),g}catch(g){console.error(g),a.reject(g)}return null};function c(){const f=new M4(`${r.docId}_worker`,r.docId,e);return f.on("EnsurePageDataV2",async l=>{if(!(o instanceof lo))return!1;const{streamManager:d}=o;if(!l.supportMultipleRange)return d.requestRanges(l.ranges,l.cause);let h=d.getChunksNeededToRequest(l.ranges);if(h.length===0)return!0;d.enableLocalCache&&(await d.queryFileChunks(h),h=h.filter(w=>!d.stream.hasChunk(w)));const u=d.groupChunks(h);if(u.length===0)return!0;const g=d.chunkSize,p={range:`bytes=${PD(u)}`,"x-range-unit":g};let x=`${l.pdfUrl}`;const m={checksum:kD(p.range)};l.cause&&(m.cause=l.cause),x=n1(x,m);try{const w=await fetch(x,{headers:p});if(!w.ok)throw new Error(`Failed to prefetch page ${l.pageNumber} data.`);return(await vD(w,d.length)).forEach(O=>{d.onReceiveData(O)}),!0}catch{return console.warn(`Failed to prefetch page ${l.pageNumber} data.`),!1}}),f.on("SetDocRanges",async l=>{const d=Number(Object.keys(l).at(-1)),h=[...l[0],...l[1],...l[d]].map(g=>({begin:g[0],end:g[1]})),u=new Set;for(const g of h){const p=o.streamManager.getBeginChunk(g.begin),x=o.streamManager.getEndChunk(g.end);for(let m=p;m<x;++m)u.add(m)}o.streamManager.stream.setChunkCount(u.size)}),f.on("a9208dfa9a9e0d9298612962dbaa9a15",async l=>{let d=await(await a.promise).executeCommand({name:"getPageImageData",args:[{page:l.index,...l}]});return d=new ImageData(d,l.width,l.height),createImageBitmap(d)}),f.on("0f009df9302b8bc560011b71972b880d",async l=>(await a.promise).executeCommand({name:"getTextInRect",args:[l.index,l.rect]})),f.on("6269e65584eb5ab43b18cbb2819caeee",async l=>(await a.promise).executeCommand({name:"getCharIndexInRect",args:[l.index,l.rect[0],l.rect[1],l.rect[2],l.rect[3]]})),f.on("467354d1864ae5c21194bb59414f02cc",async l=>(await a.promise).executeCommand({name:"getPageAnnotations",args:[l]})),f.on("7699764e88e1791279b6010ebb3515dc",async l=>{const d=(await a.promise).cleanPage(l);return Promise.resolve(d)}),f.on("5036f339bb707626b62a91bf06d1abeb",async()=>{(await a.promise).destroy()}),f.on("1fd0c5085e4a25194f83dc5c02e31dbf",async(l=!1)=>{const d=await(await a.promise).executeCommand({name:"getDocBookmarks",args:[]});return l?d:jD(d)}),f.on("92b4949912209092271c2361d0aef8d2",async l=>(await a.promise).executeCommand({name:"getPageAngle",args:[l]})),f.on("a419a4b1a349b63ec7ce93548389c684",async l=>(await a.promise).executeCommand({name:"getCharIndexNearPoint",args:[l.index,l.x,l.y,l.xTolerance,l.yTolerance]})),f.on("10b66db2288a604287270410522264bb",async l=>await(await a.promise).executeCommand({name:"getTextRects",args:[l.pageIndex,l.count,l.index]})),f.on("baa1e98ca3986241a20594b88c2a702e",async l=>(await a.promise).executeCommand({name:"getCharCount",args:[l]})),f.on("e0c417c6e4b02dcd030f28d49f457758",async l=>(await a.promise).executeCommand({name:"getTextContent",args:[l.pageIndex,l.count,l.index,l.withNewline]})),f.on("e907ec5a68ede3c3dcbee5d478506c29",async l=>(await a.promise).executeCommand({name:"getNeighborIndexes",args:[l.pageIndex,l.start,l.direction]})),f.on("085c5724fb1ce7c46e665b4bdc496da3",async l=>(await a.promise).getPageElementBlocks(l)),f.on("06b599b8854bca97190d72a2278dc493",async l=>(await a.promise).executeCommand({name:"getElementBlockIndexRange",args:[l.pageIndex,l.startIndex]})),f.on("8df07ba76982c4ed244cbe8db9950887",async l=>{if(l){await(await a.promise).loadTextSegment(()=>l);return}let d=self.wordsFileSrc,h=d;ED(d)||(h=new URL(d,self.location.href).href);const u=await fetch(h).then(p=>p.text()),g=()=>new TextEncoder().encode(`${u}\0`);await(await a.promise).loadTextSegment(g)}),f.on("20e2fb583a63142bc104891b7e6c5529",async l=>{await(await a.promise).loadPage(l)}),f.on("0c1618b32f093337950f373bda09e958",async l=>(await a.promise).executeCommand({name:"setDocAnnotations",args:[l]})),f.on("f2683577496f66dfbc80a1c710f9cb6c",async()=>(await a.promise).executeCommand({name:"saveDocument",args:[]})),f.on("8712365b015f17f14cde051ca333a844",async l=>{(await a.promise).setElementBlock(l.pageIndex,l.outlines)}),f.on("c63dd000a2de18cd6ddefee649776164",async l=>{const d=await a.promise;Object.assign(bn.wasmConfig,l),d?.setConfigItem(bn.wasmConfig)}),f.on("abfc7c6f3c7242d50cdf0230a5bc8efd",async()=>(await a.promise).executeCommand({name:"getDocLayers",args:[]})),f.on("8dc3b0ada8b21485e319debb0c515f80",async l=>(await a.promise).executeCommand({name:"getPageRotation",args:[l]})),f.on("457a97a175f70a6fff137f95f3e76864",async l=>(await a.promise).executeCommand({name:"getTextInRectWithoutLineBreak",args:[l.pageIndex,l.rect]})),f.on("fff896ec1550f42a16471f7e9f920054",async l=>(await a.promise).executeCommand({name:"getWordSegmentation",args:[l]})),f.on("7869cf5c8ccd78fe13688da3bb7d9e28",async l=>(await a.promise).executeCommand({name:"getColorAtPoint",args:[l.pageIndex,l.x,l.y]})),f.on("66718619e8fc65151cdf375979c9ec9d",async l=>(await a.promise).executeCommand({name:"getCharStyle",args:[l.pageIndex,l.charIndex]})),f.on("5d952871fed4614efbd36f2f5297ba45",async l=>(await a.promise).executeCommand({name:"getExpandWordIndexRange",args:[l.pageIndex,l.startIndex]})),f.on("f9731ec075a9f3567cfa4b50388c5481",async l=>(await a.promise).executeCommand({name:"getExpandSentenceIndexRange",args:[l.pageIndex,l.startIndex]})),f.on("9fbbdea3bcc4fc09aae26bf3cd8b7185",async l=>(await a.promise).executeCommand({name:"getSentenceCountInText",args:[l]})),f.on("2d0bdd074a623f8e51d7714f809c9f5b",async l=>(await a.promise).executeCommand({name:"isScannedPage",args:[l]})),f.on("7ecc44ce819eb21337e39803fe1a72f6",async l=>(await a.promise).executeCommand({name:"getCharRects",args:[l.pageIndex,l.count,l.index]})),f.on("c37e6803d4218900093434cf1ceab325",async()=>(await a.promise).executeCommand({name:"getDocAnnotations",args:[]})),f.on("8dd09acc03d26cd7a5e99dff96bcda73",async l=>(await a.promise).executeCommand({name:"getCharBox",args:[l.pageIndex,l.charIndex]})),f.on("7893d703179021e0bb24452b57d10456",async l=>(await a.promise).executeCommand({name:"getIndirectObject",args:[l.id]})),f}return s=c(),r.msgHandler=s,a1.createDocumentHandler(r,e)})}function $D(t){const e=new M4("worker","main",t);this.setup(e,t),e.send("ready",null)}class a1 extends R4{static setup(e,n){return qD.call(this,e,n)}static initializeFromPort(e){return $D.call(this,e)}}self.createNetworkPdfManager=function(t){return t.disableGroupChunks=bn.disableGroupChunks,t.pdfUrl=bn.pdfUrl,t.customFileData=yl,new BD(t)},self.createLocalPdfManager=function(t){return new HD(t)},a1.initializeFromPort(self)})();
|