@engenty/wizards-runtime 0.0.0-stage → 0.7.5
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/LICENSE +110 -0
- package/README.md +214 -2
- package/apps/runtime/dist/agents/architect.js +444 -0
- package/apps/runtime/dist/agents/studio-assistant.js +883 -0
- package/apps/runtime/dist/agents/subscription.js +207 -0
- package/apps/runtime/dist/agents/thought.js +21 -0
- package/apps/runtime/dist/agents/website.js +480 -0
- package/apps/runtime/dist/app.js +359 -0
- package/apps/runtime/dist/apple/wizards-apple +0 -0
- package/apps/runtime/dist/assistant/browser.js +26 -0
- package/apps/runtime/dist/assistant/docs.js +158 -0
- package/apps/runtime/dist/assistant/knows.js +353 -0
- package/apps/runtime/dist/assistant/primer.js +26 -0
- package/apps/runtime/dist/assistant/runs.js +24 -0
- package/apps/runtime/dist/auth/account.js +175 -0
- package/apps/runtime/dist/auth/device.js +112 -0
- package/apps/runtime/dist/auth/index.js +358 -0
- package/apps/runtime/dist/auth/keys.js +55 -0
- package/apps/runtime/dist/auth/local-ticket.js +26 -0
- package/apps/runtime/dist/authoring/example.js +74 -0
- package/apps/runtime/dist/authoring/guide.js +433 -0
- package/apps/runtime/dist/authoring/ops.js +117 -0
- package/apps/runtime/dist/browser/fast/action-space.js +160 -0
- package/apps/runtime/dist/browser/fast/classifier.js +91 -0
- package/apps/runtime/dist/browser/fast/decide.js +171 -0
- package/apps/runtime/dist/browser/fast/driver.js +141 -0
- package/apps/runtime/dist/browser/fast/instructions.js +33 -0
- package/apps/runtime/dist/browser/fast/run.js +249 -0
- package/apps/runtime/dist/browser/fast/span-picker.js +153 -0
- package/apps/runtime/dist/browser/fast/text-helper.js +178 -0
- package/apps/runtime/dist/browser/snapshot.js +335 -0
- package/apps/runtime/dist/cli/account.js +385 -0
- package/apps/runtime/dist/cli/autostart.js +182 -0
- package/apps/runtime/dist/cli/autoupdate.js +221 -0
- package/apps/runtime/dist/cli/clients.js +44 -0
- package/apps/runtime/dist/cli/connect.js +540 -0
- package/apps/runtime/dist/cli/environment.js +93 -0
- package/apps/runtime/dist/cli/exec.js +45 -0
- package/apps/runtime/dist/cli/features.js +50 -0
- package/apps/runtime/dist/cli/home.js +88 -0
- package/apps/runtime/dist/cli/install-env.js +33 -0
- package/apps/runtime/dist/cli/machine.js +107 -0
- package/apps/runtime/dist/cli/main.js +222 -0
- package/apps/runtime/dist/cli/mcp.js +136 -0
- package/apps/runtime/dist/cli/menu.js +202 -0
- package/apps/runtime/dist/cli/processes.js +72 -0
- package/apps/runtime/dist/cli/report.js +66 -0
- package/apps/runtime/dist/cli/setup.js +335 -0
- package/apps/runtime/dist/cli/start.js +276 -0
- package/apps/runtime/dist/cli/status.js +203 -0
- package/apps/runtime/dist/cli/ui.js +59 -0
- package/apps/runtime/dist/cli/uninstall-main.js +20 -0
- package/apps/runtime/dist/cli/uninstall.js +231 -0
- package/apps/runtime/dist/cli/update.js +86 -0
- package/apps/runtime/dist/cli/validate.js +75 -0
- package/apps/runtime/dist/cli/versions.js +123 -0
- package/apps/runtime/dist/connectors/builtin.js +86 -0
- package/apps/runtime/dist/connectors/external.js +409 -0
- package/apps/runtime/dist/connectors/gmail.js +107 -0
- package/apps/runtime/dist/connectors/imap.js +261 -0
- package/apps/runtime/dist/connectors/index.js +325 -0
- package/apps/runtime/dist/connectors/mail.js +72 -0
- package/apps/runtime/dist/connectors/outlook.js +90 -0
- package/apps/runtime/dist/connectors/plugin-connections.js +343 -0
- package/apps/runtime/dist/connectors/via-account.js +65 -0
- package/apps/runtime/dist/credits/credits.js +100 -0
- package/apps/runtime/dist/credits/estimate.js +152 -0
- package/apps/runtime/dist/db/adopt.js +149 -0
- package/apps/runtime/dist/db/client.js +173 -0
- package/apps/runtime/dist/db/control-schema.js +133 -0
- package/apps/runtime/dist/db/migrations/control/0000_last_absorbing_man.sql +47 -0
- package/apps/runtime/dist/db/migrations/control/0001_gorgeous_nicolaos.sql +41 -0
- package/apps/runtime/dist/db/migrations/control/0002_secret_penance.sql +1 -0
- package/apps/runtime/dist/db/migrations/control/0003_nasty_mordo.sql +3 -0
- package/apps/runtime/dist/db/migrations/control/0004_breezy_eddie_brock.sql +6 -0
- package/apps/runtime/dist/db/migrations/control/0005_chilly_oracle.sql +1 -0
- package/apps/runtime/dist/db/migrations/control/0006_sleepy_mojo.sql +1 -0
- package/apps/runtime/dist/db/migrations/control/0007_common_the_hand.sql +15 -0
- package/apps/runtime/dist/db/migrations/control/0008_runner.sql +8 -0
- package/apps/runtime/dist/db/migrations/control/0009_plugin_claim.sql +9 -0
- package/apps/runtime/dist/db/migrations/control/0010_tan_snowbird.sql +6 -0
- package/apps/runtime/dist/db/migrations/control/meta/0000_snapshot.json +311 -0
- package/apps/runtime/dist/db/migrations/control/meta/0001_snapshot.json +599 -0
- package/apps/runtime/dist/db/migrations/control/meta/0002_snapshot.json +607 -0
- package/apps/runtime/dist/db/migrations/control/meta/0003_snapshot.json +311 -0
- package/apps/runtime/dist/db/migrations/control/meta/0004_snapshot.json +350 -0
- package/apps/runtime/dist/db/migrations/control/meta/0005_snapshot.json +358 -0
- package/apps/runtime/dist/db/migrations/control/meta/0006_snapshot.json +365 -0
- package/apps/runtime/dist/db/migrations/control/meta/0007_snapshot.json +460 -0
- package/apps/runtime/dist/db/migrations/control/meta/0008_snapshot.json +505 -0
- package/apps/runtime/dist/db/migrations/control/meta/0009_snapshot.json +561 -0
- package/apps/runtime/dist/db/migrations/control/meta/0010_snapshot.json +600 -0
- package/apps/runtime/dist/db/migrations/control/meta/_journal.json +83 -0
- package/apps/runtime/dist/db/migrations/tenant/0000_eminent_freak.sql +188 -0
- package/apps/runtime/dist/db/migrations/tenant/0001_salty_master_chief.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0002_cloudy_firebird.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0003_brown_warbound.sql +52 -0
- package/apps/runtime/dist/db/migrations/tenant/0004_romantic_nocturne.sql +6 -0
- package/apps/runtime/dist/db/migrations/tenant/0005_reflective_forgotten_one.sql +2 -0
- package/apps/runtime/dist/db/migrations/tenant/0006_hard_war_machine.sql +30 -0
- package/apps/runtime/dist/db/migrations/tenant/0007_space_data.sql +43 -0
- package/apps/runtime/dist/db/migrations/tenant/0008_run_event_note.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0009_knowledge.sql +104 -0
- package/apps/runtime/dist/db/migrations/tenant/0010_plugin_connection.sql +15 -0
- package/apps/runtime/dist/db/migrations/tenant/0011_runners.sql +2 -0
- package/apps/runtime/dist/db/migrations/tenant/0012_assistant_chat.sql +40 -0
- package/apps/runtime/dist/db/migrations/tenant/0013_run_origin.sql +1 -0
- package/apps/runtime/dist/db/migrations/tenant/0014_run_answer.sql +2 -0
- package/apps/runtime/dist/db/migrations/tenant/0015_device_calls.sql +13 -0
- package/apps/runtime/dist/db/migrations/tenant/0016_even_trish_tilby.sql +12 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0000_snapshot.json +1323 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0001_snapshot.json +1330 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0002_snapshot.json +1337 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0003_snapshot.json +1605 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0004_snapshot.json +1645 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0005_snapshot.json +1659 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0006_snapshot.json +1696 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0007_snapshot.json +2012 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0008_snapshot.json +2019 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0009_snapshot.json +2837 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0010_snapshot.json +2942 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0011_snapshot.json +2956 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0012_snapshot.json +3132 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0013_snapshot.json +3139 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0014_snapshot.json +3154 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0015_snapshot.json +3243 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/0016_snapshot.json +3326 -0
- package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +125 -0
- package/apps/runtime/dist/db/schema.js +602 -0
- package/apps/runtime/dist/debug.js +196 -0
- package/apps/runtime/dist/docs/dev/index.md +41 -0
- package/apps/runtime/dist/docs/dev/meta.json +7 -0
- package/apps/runtime/dist/docs/dev/plugins/connections.md +74 -0
- package/apps/runtime/dist/docs/dev/plugins/events.md +89 -0
- package/apps/runtime/dist/docs/dev/plugins/examples.md +101 -0
- package/apps/runtime/dist/docs/dev/plugins/index.md +78 -0
- package/apps/runtime/dist/docs/dev/plugins/layout.md +90 -0
- package/apps/runtime/dist/docs/dev/plugins/meta.json +28 -0
- package/apps/runtime/dist/docs/dev/plugins/quick-start.md +94 -0
- package/apps/runtime/dist/docs/dev/plugins/reference.md +348 -0
- package/apps/runtime/dist/docs/dev/plugins/reloading.md +76 -0
- package/apps/runtime/dist/docs/dev/plugins/routes.md +185 -0
- package/apps/runtime/dist/docs/dev/plugins/runners.md +230 -0
- package/apps/runtime/dist/docs/dev/plugins/server.md +281 -0
- package/apps/runtime/dist/docs/dev/plugins/shipping.md +79 -0
- package/apps/runtime/dist/docs/dev/plugins/space.md +297 -0
- package/apps/runtime/dist/docs/dev/plugins/starters.md +70 -0
- package/apps/runtime/dist/docs/dev/plugins/studio.md +363 -0
- package/apps/runtime/dist/docs/dev/plugins/styling.md +129 -0
- package/apps/runtime/dist/docs/dev/plugins/tables.md +104 -0
- package/apps/runtime/dist/docs/dev/plugins/tools.md +139 -0
- package/apps/runtime/dist/docs/dev/wizard-format.md +125 -0
- package/apps/runtime/dist/docs/meta.json +3 -0
- package/apps/runtime/dist/docs/user/ai-apps.md +112 -0
- package/apps/runtime/dist/docs/user/assistant.md +77 -0
- package/apps/runtime/dist/docs/user/build-a-wizard.md +116 -0
- package/apps/runtime/dist/docs/user/command-line.md +83 -0
- package/apps/runtime/dist/docs/user/connectors.md +90 -0
- package/apps/runtime/dist/docs/user/create-account.md +52 -0
- package/apps/runtime/dist/docs/user/data.md +66 -0
- package/apps/runtime/dist/docs/user/first-start.md +60 -0
- package/apps/runtime/dist/docs/user/index.md +49 -0
- package/apps/runtime/dist/docs/user/install.md +123 -0
- package/apps/runtime/dist/docs/user/local-only.md +42 -0
- package/apps/runtime/dist/docs/user/meta.json +32 -0
- package/apps/runtime/dist/docs/user/models.md +156 -0
- package/apps/runtime/dist/docs/user/plugins.md +71 -0
- package/apps/runtime/dist/docs/user/run.md +98 -0
- package/apps/runtime/dist/docs/user/server.md +52 -0
- package/apps/runtime/dist/docs/user/space.md +126 -0
- package/apps/runtime/dist/docs/user/steps.md +220 -0
- package/apps/runtime/dist/docs/user/test-and-share.md +224 -0
- package/apps/runtime/dist/docs/user/troubleshooting.md +67 -0
- package/apps/runtime/dist/docs/user/wordpress.md +121 -0
- package/apps/runtime/dist/documents/parse.js +246 -0
- package/apps/runtime/dist/engenty/connections-external/build-connector.js +193 -0
- package/apps/runtime/dist/engenty/connections-external/errors.js +11 -0
- package/apps/runtime/dist/engenty/connections-external/import-service.js +270 -0
- package/apps/runtime/dist/engenty/connections-external/importer/classify.js +34 -0
- package/apps/runtime/dist/engenty/connections-external/importer/map-auth.js +185 -0
- package/apps/runtime/dist/engenty/connections-external/importer/normalize-mcp.js +63 -0
- package/apps/runtime/dist/engenty/connections-external/importer/normalize-openapi.js +130 -0
- package/apps/runtime/dist/engenty/connections-external/invoke/http-invoker.js +143 -0
- package/apps/runtime/dist/engenty/connections-external/invoke/mcp-client.js +143 -0
- package/apps/runtime/dist/engenty/connections-external/net/guarded-fetch.js +119 -0
- package/apps/runtime/dist/engenty/connections-external/oauth-dcr.js +88 -0
- package/apps/runtime/dist/engenty/connections-external/registry-client.js +336 -0
- package/apps/runtime/dist/engenty/connections-external/registry-source.js +82 -0
- package/apps/runtime/dist/engenty/connections-external/types.js +7 -0
- package/apps/runtime/dist/engenty/connections-github/connector.js +209 -0
- package/apps/runtime/dist/engenty/connections-google/connectors/calendar.js +381 -0
- package/apps/runtime/dist/engenty/connections-google/connectors/contacts.js +94 -0
- package/apps/runtime/dist/engenty/connections-google/connectors/drive.js +290 -0
- package/apps/runtime/dist/engenty/connections-google/connectors/gmail.js +567 -0
- package/apps/runtime/dist/engenty/connections-google/definitions.js +11 -0
- package/apps/runtime/dist/engenty/connections-google/shared.js +73 -0
- package/apps/runtime/dist/engenty/connections-hubspot/connector.js +140 -0
- package/apps/runtime/dist/engenty/connections-microsoft/action.js +17 -0
- package/apps/runtime/dist/engenty/connections-microsoft/graph.js +114 -0
- package/apps/runtime/dist/engenty/connections-microsoft/onedrive.js +286 -0
- package/apps/runtime/dist/engenty/connections-microsoft/outlook.js +492 -0
- package/apps/runtime/dist/engenty/connections-s3/s3.js +328 -0
- package/apps/runtime/dist/engenty/connections-sdk/files-capability.js +86 -0
- package/apps/runtime/dist/engenty/connections-sdk/oauth2.js +150 -0
- package/apps/runtime/dist/engenty/connections-sdk/registry.js +89 -0
- package/apps/runtime/dist/engenty/connections-sdk/storage-capability.js +84 -0
- package/apps/runtime/dist/engenty/connections-sdk/types.js +30 -0
- package/apps/runtime/dist/engenty/connections-slack/connector.js +360 -0
- package/apps/runtime/dist/engenty/csv-import/csv-matrix.js +178 -0
- package/apps/runtime/dist/engenty/csv-import/import-sources.js +87 -0
- package/apps/runtime/dist/engenty/csv-import/parse-csv.js +129 -0
- package/apps/runtime/dist/engenty/csv-import/serialize-csv.js +20 -0
- package/apps/runtime/dist/engenty/csv-import/types.js +1 -0
- package/apps/runtime/dist/engenty/csv-import/xlsx-workbook.js +159 -0
- package/apps/runtime/dist/engenty/doc-converter/interface.js +9 -0
- package/apps/runtime/dist/engenty/doc-converter/page-break.js +92 -0
- package/apps/runtime/dist/engenty/doc-converter/providers/local/index.js +72 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/classifier.js +30 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/index.js +4 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/invoice.js +73 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/receipt.js +63 -0
- package/apps/runtime/dist/engenty/document-scanner/schemas/shared.js +40 -0
- package/apps/runtime/dist/engenty/search-index/chunks.js +164 -0
- package/apps/runtime/dist/engenty/search-index/contracts.js +9 -0
- package/apps/runtime/dist/engenty/shims/connections-sdk.js +39 -0
- package/apps/runtime/dist/engenty/shims/plugin-sdk.js +1 -0
- package/apps/runtime/dist/engenty/shims/web-ingest.js +19 -0
- package/apps/runtime/dist/engenty/web-ingest/ssrf.js +277 -0
- package/apps/runtime/dist/engine/asks.js +82 -0
- package/apps/runtime/dist/engine/decide.js +82 -0
- package/apps/runtime/dist/engine/device.js +194 -0
- package/apps/runtime/dist/engine/events.js +128 -0
- package/apps/runtime/dist/engine/input.js +208 -0
- package/apps/runtime/dist/engine/owner.js +32 -0
- package/apps/runtime/dist/engine/prepare.js +90 -0
- package/apps/runtime/dist/engine/push.js +58 -0
- package/apps/runtime/dist/engine/requirements.js +355 -0
- package/apps/runtime/dist/engine/resources.js +198 -0
- package/apps/runtime/dist/engine/runner.js +970 -0
- package/apps/runtime/dist/engine/steps.js +1000 -0
- package/apps/runtime/dist/engine/surface.js +91 -0
- package/apps/runtime/dist/engine/template.js +240 -0
- package/apps/runtime/dist/engine/types.js +4 -0
- package/apps/runtime/dist/env.js +295 -0
- package/apps/runtime/dist/features.js +123 -0
- package/apps/runtime/dist/files/blobs.js +22 -0
- package/apps/runtime/dist/files/objects.js +86 -0
- package/apps/runtime/dist/files/storage.js +120 -0
- package/apps/runtime/dist/files/web-images.js +101 -0
- package/apps/runtime/dist/film/project.js +257 -0
- package/apps/runtime/dist/film/skills.js +91 -0
- package/apps/runtime/dist/film/sounds.js +122 -0
- package/apps/runtime/dist/film/step.js +289 -0
- package/apps/runtime/dist/film/tools.js +99 -0
- package/apps/runtime/dist/geocode.js +58 -0
- package/apps/runtime/dist/harness/antigravity.js +129 -0
- package/apps/runtime/dist/harness/apple.js +270 -0
- package/apps/runtime/dist/harness/claude.js +147 -0
- package/apps/runtime/dist/harness/codex.js +229 -0
- package/apps/runtime/dist/harness/cursor.js +93 -0
- package/apps/runtime/dist/harness/env.js +124 -0
- package/apps/runtime/dist/harness/index.js +95 -0
- package/apps/runtime/dist/harness/model.js +279 -0
- package/apps/runtime/dist/harness/prompt.js +121 -0
- package/apps/runtime/dist/harness/terminal.js +194 -0
- package/apps/runtime/dist/harness/types.js +7 -0
- package/apps/runtime/dist/index.js +113 -0
- package/apps/runtime/dist/limits.js +81 -0
- package/apps/runtime/dist/link-preview.js +60 -0
- package/apps/runtime/dist/log.js +106 -0
- package/apps/runtime/dist/manage.js +249 -0
- package/apps/runtime/dist/mcp/auth.js +161 -0
- package/apps/runtime/dist/mcp/bridge.js +59 -0
- package/apps/runtime/dist/mcp/flow-app.js +97 -0
- package/apps/runtime/dist/mcp/handler.js +54 -0
- package/apps/runtime/dist/mcp/scopes.js +14 -0
- package/apps/runtime/dist/mcp/seen.js +65 -0
- package/apps/runtime/dist/mcp/tools.js +572 -0
- package/apps/runtime/dist/media/conversation.js +167 -0
- package/apps/runtime/dist/media/ffmpeg.js +121 -0
- package/apps/runtime/dist/media/generate.js +120 -0
- package/apps/runtime/dist/media/marking.js +121 -0
- package/apps/runtime/dist/media/transcribe.js +198 -0
- package/apps/runtime/dist/model-errors.js +42 -0
- package/apps/runtime/dist/models.js +1164 -0
- package/apps/runtime/dist/plugin.js +61 -0
- package/apps/runtime/dist/plugins/channels.js +78 -0
- package/apps/runtime/dist/plugins/claims.js +56 -0
- package/apps/runtime/dist/plugins/discovery.js +155 -0
- package/apps/runtime/dist/plugins/events.js +63 -0
- package/apps/runtime/dist/plugins/jobs.js +64 -0
- package/apps/runtime/dist/plugins/loader.js +508 -0
- package/apps/runtime/dist/plugins/migrations.js +69 -0
- package/apps/runtime/dist/plugins/pro-keys.js +34 -0
- package/apps/runtime/dist/plugins/pro-state.js +83 -0
- package/apps/runtime/dist/plugins/pro.js +310 -0
- package/apps/runtime/dist/plugins/public.js +44 -0
- package/apps/runtime/dist/plugins/registry.js +122 -0
- package/apps/runtime/dist/plugins/runs.js +210 -0
- package/apps/runtime/dist/render/browser-path.js +54 -0
- package/apps/runtime/dist/render/chromium.js +98 -0
- package/apps/runtime/dist/render/convert.js +158 -0
- package/apps/runtime/dist/render/downloads.js +299 -0
- package/apps/runtime/dist/render/guard.js +25 -0
- package/apps/runtime/dist/render/shaped.js +137 -0
- package/apps/runtime/dist/routes/api.js +440 -0
- package/apps/runtime/dist/routes/debug.js +42 -0
- package/apps/runtime/dist/routes/delivery.js +90 -0
- package/apps/runtime/dist/routes/internal.js +81 -0
- package/apps/runtime/dist/routes/lang.js +25 -0
- package/apps/runtime/dist/routes/marketplace.js +43 -0
- package/apps/runtime/dist/routes/plugin-public.js +113 -0
- package/apps/runtime/dist/routes/plugins.js +212 -0
- package/apps/runtime/dist/routes/runs.js +1422 -0
- package/apps/runtime/dist/routes/studio.js +1629 -0
- package/apps/runtime/dist/routes/wizard-stream.js +30 -0
- package/apps/runtime/dist/running.js +39 -0
- package/apps/runtime/dist/sandbox/docker.js +75 -0
- package/apps/runtime/dist/sandbox/index.js +23 -0
- package/apps/runtime/dist/sandbox/types.js +1 -0
- package/apps/runtime/dist/secrets/crypto.js +28 -0
- package/apps/runtime/dist/secrets/signing.js +52 -0
- package/apps/runtime/dist/secrets/vault.js +59 -0
- package/apps/runtime/dist/services/access.js +88 -0
- package/apps/runtime/dist/services/api.js +248 -0
- package/apps/runtime/dist/services/architect.js +95 -0
- package/apps/runtime/dist/services/assistant-chats.js +311 -0
- package/apps/runtime/dist/services/brand.js +85 -0
- package/apps/runtime/dist/services/cloud.js +456 -0
- package/apps/runtime/dist/services/draft-events.js +27 -0
- package/apps/runtime/dist/services/engenty-shapes.js +71 -0
- package/apps/runtime/dist/services/errors.js +29 -0
- package/apps/runtime/dist/services/files.js +178 -0
- package/apps/runtime/dist/services/knowledge-model.js +559 -0
- package/apps/runtime/dist/services/knowledge.js +721 -0
- package/apps/runtime/dist/services/links.js +16 -0
- package/apps/runtime/dist/services/marketplace.js +492 -0
- package/apps/runtime/dist/services/onboarding.js +152 -0
- package/apps/runtime/dist/services/package-file.js +82 -0
- package/apps/runtime/dist/services/package.js +170 -0
- package/apps/runtime/dist/services/profile.js +51 -0
- package/apps/runtime/dist/services/project-files.js +439 -0
- package/apps/runtime/dist/services/project-index.js +707 -0
- package/apps/runtime/dist/services/projects.js +387 -0
- package/apps/runtime/dist/services/relevance.js +58 -0
- package/apps/runtime/dist/services/runners.js +178 -0
- package/apps/runtime/dist/services/runs.js +524 -0
- package/apps/runtime/dist/services/shares.js +130 -0
- package/apps/runtime/dist/services/site.js +270 -0
- package/apps/runtime/dist/services/space-categories.js +861 -0
- package/apps/runtime/dist/services/space-data.js +792 -0
- package/apps/runtime/dist/services/space-origin.js +207 -0
- package/apps/runtime/dist/services/spaces.js +656 -0
- package/apps/runtime/dist/services/translations.js +306 -0
- package/apps/runtime/dist/services/widgets.js +34 -0
- package/apps/runtime/dist/services/wizard-icon.js +157 -0
- package/apps/runtime/dist/services/wizards.js +420 -0
- package/apps/runtime/dist/settings.js +16 -0
- package/apps/runtime/dist/store/errors.js +4 -0
- package/apps/runtime/dist/store/index.js +299 -0
- package/apps/runtime/dist/store/shared-lists.js +123 -0
- package/apps/runtime/dist/tenants/control.js +238 -0
- package/apps/runtime/dist/tenants/tenant.js +26 -0
- package/apps/runtime/dist/texts.js +207 -0
- package/apps/runtime/dist/tools/browser.js +703 -0
- package/apps/runtime/dist/tools/connector.js +204 -0
- package/apps/runtime/dist/tools/index.js +291 -0
- package/apps/runtime/dist/tools/mail.js +104 -0
- package/apps/runtime/dist/tools/net-guard.js +170 -0
- package/apps/runtime/dist/tools/pages.js +81 -0
- package/apps/runtime/dist/tools/plugin.js +180 -0
- package/apps/runtime/dist/tools/project.js +154 -0
- package/apps/runtime/dist/tools/shared.js +69 -0
- package/apps/runtime/dist/tools/store.js +238 -0
- package/apps/runtime/dist/update.js +113 -0
- package/apps/runtime/dist/widgets/bundle.js +99 -0
- package/apps/runtime/dist/widgets/render.js +329 -0
- package/apps/runtime/dist/widgets/runtime.js +108 -0
- package/apps/runtime/dist/widgets/script.js +30 -0
- package/apps/runtime/dist/widgets/step.js +223 -0
- package/apps/web/dist/ai-labels/ai-black.svg +20 -0
- package/apps/web/dist/ai-labels/ai-generated-black.svg +31 -0
- package/apps/web/dist/ai-labels/ai-generated-white.svg +32 -0
- package/apps/web/dist/ai-labels/ai-modified-black.svg +30 -0
- package/apps/web/dist/ai-labels/ai-modified-white.svg +31 -0
- package/apps/web/dist/ai-labels/ai-white.svg +21 -0
- package/apps/web/dist/assets/AboutDialog-D4mvc-zu.js +1 -0
- package/apps/web/dist/assets/ChangelogDialog-DLqpJsF6.js +1 -0
- package/apps/web/dist/assets/ChatView-3laypRcE.js +10 -0
- package/apps/web/dist/assets/EditorPage-BalA5U2Y.js +3 -0
- package/apps/web/dist/assets/FlowPreview-CusP7ci9.js +1 -0
- package/apps/web/dist/assets/Harness-BrP-ENHg.css +1 -0
- package/apps/web/dist/assets/Harness-iYLtOLaK.js +16 -0
- package/apps/web/dist/assets/NewWizardChannels-CbwJ9A56.js +1 -0
- package/apps/web/dist/assets/NewWizardPage-BOBYiB9i.js +7 -0
- package/apps/web/dist/assets/OnboardingPage-CUwCiVIr.js +1 -0
- package/apps/web/dist/assets/ProjectPage-Bb16MdYG.js +1 -0
- package/apps/web/dist/assets/PublicRunner-BCt7Q6C-.js +1 -0
- package/apps/web/dist/assets/ReadOnly-kIHX2TEy.js +1 -0
- package/apps/web/dist/assets/RunDrawer-hZ9oeSXu.js +4 -0
- package/apps/web/dist/assets/RunnerView-DUS9fPmx.js +1 -0
- package/apps/web/dist/assets/SettingsPage-BzwR50fi.js +1 -0
- package/apps/web/dist/assets/SetupPage-gAp7rPxp.js +1 -0
- package/apps/web/dist/assets/SharePage-DqZWHva_.js +1 -0
- package/apps/web/dist/assets/changelog-DugmCNSf.js +1 -0
- package/apps/web/dist/assets/engenty-eXZ-EAwd.js +1 -0
- package/apps/web/dist/assets/esm-DXeMu8Lb.js +7 -0
- package/apps/web/dist/assets/fluffy-engenty-ClRou7yu.js +456 -0
- package/apps/web/dist/assets/index-AfUa8xKD.css +1 -0
- package/apps/web/dist/assets/index-C5Sm7tTR.js +14 -0
- package/apps/web/dist/assets/jsx-runtime-BNakU3Ej.js +1 -0
- package/apps/web/dist/assets/lock-R_CfU0Xo.js +1 -0
- package/apps/web/dist/assets/oss-credits-cZ9NUaLZ.js +1 -0
- package/apps/web/dist/assets/pdfmake-Cx9scTbD.js +228 -0
- package/apps/web/dist/assets/phone-CgrIS4_-.js +1 -0
- package/apps/web/dist/assets/preload-helper-CNEI7N0N.js +1 -0
- package/apps/web/dist/assets/qr-scanner-worker.min-CJaXo3yu.js +98 -0
- package/apps/web/dist/assets/qr-scanner.min-C_UI0gH-.js +1 -0
- package/apps/web/dist/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/apps/web/dist/assets/settings-menu-2IMOOlLl.js +1 -0
- package/apps/web/dist/assets/ui-dzGvc3xk.js +137 -0
- package/apps/web/dist/assets/upload-BSuTilFF.js +1 -0
- package/apps/web/dist/assets/vfs_fonts-DllDSYt1.js +1 -0
- package/apps/web/dist/embed.js +266 -0
- package/apps/web/dist/favicon.svg +1 -0
- package/apps/web/dist/icons/apple-touch-icon.png +0 -0
- package/apps/web/dist/icons/icon-192.png +0 -0
- package/apps/web/dist/icons/icon-512.png +0 -0
- package/apps/web/dist/icons/icon-maskable-512.png +0 -0
- package/apps/web/dist/index.html +48 -0
- package/apps/web/dist/install.sh +577 -0
- package/apps/web/dist/manifest.webmanifest +21 -0
- package/apps/web/dist/mcp/flow.html +980 -0
- package/apps/web/dist/sw.js +15 -0
- package/bin/wizards.mjs +288 -0
- package/modules/README.md +15 -0
- package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +1150 -0
- package/node_modules/@engenty/wizards/dist/plugin/index.js +4 -0
- package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +322 -0
- package/node_modules/@engenty/wizards/dist/plugin/studio.js +4 -0
- package/node_modules/@engenty/wizards/dist/plugin/thread.d.ts +174 -0
- package/node_modules/@engenty/wizards/dist/plugin/thread.js +821 -0
- package/node_modules/@engenty/wizards/package.json +11 -0
- package/node_modules/@engenty-wizards/shared/dist/assistant.d.ts +174 -0
- package/node_modules/@engenty-wizards/shared/dist/assistant.js +65 -0
- package/node_modules/@engenty-wizards/shared/dist/changes.d.ts +22 -0
- package/node_modules/@engenty-wizards/shared/dist/changes.js +61 -0
- package/node_modules/@engenty-wizards/shared/dist/connectors.d.ts +77 -0
- package/node_modules/@engenty-wizards/shared/dist/connectors.js +2 -0
- package/node_modules/@engenty-wizards/shared/dist/decision.d.ts +76 -0
- package/node_modules/@engenty-wizards/shared/dist/decision.js +147 -0
- package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +2922 -0
- package/node_modules/@engenty-wizards/shared/dist/definition.js +1920 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.d.ts +5 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.js +132 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.d.ts +11 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.js +209 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.d.ts +532 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.js +217 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.d.ts +3 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.js +3 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.d.ts +14 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.js +166 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.d.ts +33 -0
- package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.js +99 -0
- package/node_modules/@engenty-wizards/shared/dist/feature-flags.d.ts +78 -0
- package/node_modules/@engenty-wizards/shared/dist/feature-flags.js +70 -0
- package/node_modules/@engenty-wizards/shared/dist/features.d.ts +41 -0
- package/node_modules/@engenty-wizards/shared/dist/features.js +89 -0
- package/node_modules/@engenty-wizards/shared/dist/fit.d.ts +71 -0
- package/node_modules/@engenty-wizards/shared/dist/fit.js +382 -0
- package/node_modules/@engenty-wizards/shared/dist/json-schema.d.ts +14 -0
- package/node_modules/@engenty-wizards/shared/dist/json-schema.js +66 -0
- package/node_modules/@engenty-wizards/shared/dist/knowledge.d.ts +199 -0
- package/node_modules/@engenty-wizards/shared/dist/knowledge.js +68 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.d.ts +35 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.js +107 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace-search.d.ts +20 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace-search.js +136 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace.d.ts +227 -0
- package/node_modules/@engenty-wizards/shared/dist/marketplace.js +354 -0
- package/node_modules/@engenty-wizards/shared/dist/merge.d.ts +7 -0
- package/node_modules/@engenty-wizards/shared/dist/merge.js +40 -0
- package/node_modules/@engenty-wizards/shared/dist/numbers.d.ts +24 -0
- package/node_modules/@engenty-wizards/shared/dist/numbers.js +54 -0
- package/node_modules/@engenty-wizards/shared/dist/projects.d.ts +224 -0
- package/node_modules/@engenty-wizards/shared/dist/projects.js +319 -0
- package/node_modules/@engenty-wizards/shared/dist/providers.d.ts +101 -0
- package/node_modules/@engenty-wizards/shared/dist/providers.js +390 -0
- package/node_modules/@engenty-wizards/shared/dist/run.d.ts +680 -0
- package/node_modules/@engenty-wizards/shared/dist/run.js +620 -0
- package/node_modules/@engenty-wizards/shared/dist/runner-texts.d.ts +546 -0
- package/node_modules/@engenty-wizards/shared/dist/runner-texts.js +523 -0
- package/node_modules/@engenty-wizards/shared/dist/runners.d.ts +93 -0
- package/node_modules/@engenty-wizards/shared/dist/runners.js +146 -0
- package/node_modules/@engenty-wizards/shared/dist/shape.d.ts +102 -0
- package/node_modules/@engenty-wizards/shared/dist/shape.js +318 -0
- package/node_modules/@engenty-wizards/shared/dist/space-data.d.ts +89 -0
- package/node_modules/@engenty-wizards/shared/dist/space-data.js +47 -0
- package/node_modules/@engenty-wizards/shared/dist/store.d.ts +117 -0
- package/node_modules/@engenty-wizards/shared/dist/store.js +81 -0
- package/node_modules/@engenty-wizards/shared/dist/surface.d.ts +115 -0
- package/node_modules/@engenty-wizards/shared/dist/surface.js +442 -0
- package/node_modules/@engenty-wizards/shared/dist/texts.d.ts +45 -0
- package/node_modules/@engenty-wizards/shared/dist/texts.js +54 -0
- package/node_modules/@engenty-wizards/shared/dist/translation.d.ts +23 -0
- package/node_modules/@engenty-wizards/shared/dist/translation.js +154 -0
- package/node_modules/@engenty-wizards/shared/dist/wizard-package.d.ts +48 -0
- package/node_modules/@engenty-wizards/shared/dist/wizard-package.js +49 -0
- package/node_modules/@engenty-wizards/shared/dist/workspace.d.ts +16 -0
- package/node_modules/@engenty-wizards/shared/dist/workspace.js +51 -0
- package/node_modules/@engenty-wizards/shared/package.json +10 -0
- package/package.json +77 -4
- package/plugin/.claude-plugin/plugin.json +9 -0
- package/plugin/.mcp.json +8 -0
- package/plugin/commands/wizard.md +8 -0
- package/plugin/skills/build-wizard/SKILL.md +27 -0
- package/plugin/skills/use-wizard/SKILL.md +18 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import{t as e}from"./rolldown-runtime-hePW80VL.js";var t=e(((e,t)=>{(function(n,r){if(typeof e==`object`&&typeof t==`object`)t.exports=r();else if(typeof define==`function`&&define.amd)define([],r);else{var i=r();for(var a in i)(typeof e==`object`?e:n)[a]=i[a]}})(Object(typeof self<`u`?self:e),()=>(()=>{var e={7133(e,t,n){n.d(t,{default:()=>tn}),n(187);var r=n(1771);function i(e){return typeof e==`string`||e instanceof String}function a(e){return(typeof e==`number`||e instanceof Number)&&!Number.isNaN(e)}function o(e){return!(!a(e)||!Number.isInteger(e)||e<=0)}function s(e){return e!==null&&!Array.isArray(e)&&!i(e)&&!a(e)&&typeof e==`object`}function c(e){return s(e)&&Object.keys(e).length===0}function l(e){return e!=null}var u=n(783).Buffer;let d=(e,t)=>{let n=`normal`;return e&&t?n=`bolditalics`:e?n=`bold`:t&&(n=`italics`),n};class f extends r.A{constructor(e,t,n,r,i,a,o){e===void 0&&(e={}),t===void 0&&(t={}),n===void 0&&(n={}),r===void 0&&(r={}),i===void 0&&(i={}),a===void 0&&(a=null),o===void 0&&(o=void 0),super(i),this.fonts={},this.fontCache={};for(let t in e)if(e.hasOwnProperty(t)){let n=e[t];this.fonts[t]={normal:n.normal,bold:n.bold,italics:n.italics,bolditalics:n.bolditalics}}this.patterns={};for(let e in n)if(n.hasOwnProperty(e)){let t=n[e];this.patterns[e]=this.pattern(t.boundingBox,t.xStep,t.yStep,t.pattern,t.colored)}this.images=t,this.attachments=r,this.virtualfs=a,this.localAccessPolicy=o}getFontType(e,t){return d(e,t)}getFontFile(e,t,n){let r=this.getFontType(t,n);return!this.fonts[e]||!this.fonts[e][r]?null:this.fonts[e][r]}provideFont(e,t,n){let r=this.getFontType(t,n);if(this.getFontFile(e,t,n)===null)throw Error(`Font '${e}' in style '${r}' is not defined in the font section of the document definition.`);if(this.fontCache[e]=this.fontCache[e]||{},!this.fontCache[e][r]){let t=this.fonts[e][r];Array.isArray(t)||(t=[t]),this.virtualfs&&this.virtualfs.existsSync(t[0])?t[0]=this.virtualfs.readFileSync(t[0]):this.validateLocalFile(t[0]),this.fontCache[e][r]=this.font(...t)._font}return this.fontCache[e][r]}provideImage(e){let t=e=>{let t=this.images[e];if(!t)return e;if(this.virtualfs&&this.virtualfs.existsSync(t))return this.virtualfs.readFileSync(t);let n=t.indexOf(`base64,`);return n<0?this.images[e]:u.from(t.substring(n+7),`base64`)};if(this._imageRegistry[e])return this._imageRegistry[e];let n,r=t(e);this.validateLocalFile(r);try{if(n=this.openImage(r),!n)throw Error(`No image`)}catch(e){throw Error(`Invalid image: ${e.toString()}\nImages dictionary should contain dataURL entries (or local file paths in node.js)`,{cause:e})}return n.embed(this),this._imageRegistry[e]=n,n}providePattern(e){return Array.isArray(e)&&e.length===2?[this.patterns[e[0]],e[1]]:null}provideAttachment(e){let t=e=>{if(!e)throw Error(`No attachment`);if(!e.src)throw Error(`The "src" key is required for attachments`);return e};if(typeof e==`object`)return t(e);let n=t(this.attachments[e]);return this.virtualfs&&this.virtualfs.existsSync(n.src)?this.virtualfs.readFileSync(n.src):(this.validateLocalFile(n.src),n)}resolveColor(e,t){return e||=t,typeof this._normalizeColor==`function`&&i(e)&&this._normalizeColor(e)===null?t:e}setOpenActionAsPrint(){let e=this.ref({Type:`Action`,S:`Named`,N:`Print`});this._root.data.OpenAction=e,e.end()}file(e,t){return t===void 0&&(t={}),this.validateLocalFile(e),super.file(e,t)}validateLocalFile(e){if(this.localAccessPolicy!==void 0&&i(e)&&!/^data:/.test(e)&&this.localAccessPolicy(e)!==!0)throw Error(`Access to local file denied by resource access policy: ${e}`)}}let p=f;function m(e,t){return e===`font`?`font`:t}function h(e){return JSON.stringify(e,m)}function g(e){if(e.id)return e.id;if(Array.isArray(e.text))for(let t of e.text){let e=g(t);if(e)return e}return null}function _(e,t){function n(e,t,n){return n===void 0&&(n=0),e.marginLeft!==void 0||e.marginTop!==void 0||e.marginRight!==void 0||e.marginBottom!==void 0?[e.marginLeft??t[0]??n,e.marginTop??t[1]??n,e.marginRight??t[2]??n,e.marginBottom??t[3]??n]:t}function r(e,t,a){if(a===void 0&&(a=new Set),e=Array.isArray(e)?e:[e],!e.every(e=>i(e)))return{};let s={};for(let i=0;i<e.length;i++){let c=e[i],l=t.styleDictionary[c];if(l!==void 0&&!a.has(c)){if(l.extends!==void 0&&(s={...s,...r(l.extends,t,new Set([...a,c]))}),l.margin!==void 0){s={margin:o(l.margin)};continue}s={margin:n(l,s.margin??{},void 0)}}}return s}function o(e){return a(e)?e=[e,e,e,e]:Array.isArray(e)&&e.length===2&&(e=[e[0],e[1],e[0],e[1]]),e}let s=[void 0,void 0,void 0,void 0];if(e.style){let i=r(Array.isArray(e.style)?e.style:[e.style],t);i&&(s=n(i,s)),i.margin&&(s=o(i.margin))}return s=n(e,s),e.margin!==void 0&&(s=o(e.margin)),s[0]===void 0&&s[1]===void 0&&s[2]===void 0&&s[3]===void 0?null:s}var v=n(783).Buffer;let y=e=>i(e)?e.replace(/\t/g,` `):a(e)||typeof e==`boolean`?e.toString():!l(e)||c(e)?``:e;class b{preprocessDocument(e){return this.parentNode=null,this.tocs=[],this.nodeReferences=[],this.preprocessNode(e,!0)}preprocessBlock(e){return this.parentNode=null,this.tocs=[],this.nodeReferences=[],this.preprocessNode(e)}preprocessNode(e,t){if(t===void 0&&(t=!1),Array.isArray(e)?e={stack:e}:i(e)||a(e)||typeof e==`boolean`||!l(e)||c(e)?e={text:y(e)}:`text`in e&&(e.text=y(e.text)),e.section){if(!t)throw Error(`Incorrect document structure, section node is only allowed at the root level of document structure: ${h(e)}`);return this.preprocessSection(e)}if(e.columns)return this.preprocessColumns(e);if(e.stack)return this.preprocessVerticalContainer(e,t);if(e.ul||e.ol)return this.preprocessList(e);if(e.table)return this.preprocessTable(e);if(e.text!==void 0)return this.preprocessText(e);if(e.toc)return this.preprocessToc(e);if(e.image)return this.preprocessImage(e);if(e.svg)return this.preprocessSVG(e);if(e.canvas)return this.preprocessCanvas(e);if(e.qr)return this.preprocessQr(e);if(e.attachment)return this.preprocessAttachment(e);if(e.pageReference||e.textReference)return this.preprocessText(e);throw Error(`Unrecognized document structure: ${h(e)}`)}preprocessSection(e){return e.section=this.preprocessNode(e.section),e}preprocessColumns(e){let t=e.columns;for(let e=0,n=t.length;e<n;e++)t[e]=this.preprocessNode(t[e]);return e}preprocessVerticalContainer(e,t){let n=e.stack;for(let e=0,r=n.length;e<r;e++)n[e]=this.preprocessNode(n[e],t);return e}preprocessList(e){let t=e.ul||e.ol;for(let e=0,n=t.length;e<n;e++)t[e]=this.preprocessNode(t[e]);return e}preprocessTable(e){let t,n,r,i;for(t=0,r=e.table.body[0].length;t<r;t++)for(n=0,i=e.table.body.length;n<i;n++){let r=e.table.body[n],i=r[t];i!==void 0&&(i===null&&(i=``),i._span||(r[t]=this.preprocessNode(i)))}return e}preprocessText(e){if(e.tocItem){Array.isArray(e.tocItem)||(e.tocItem=[e.tocItem]);for(let t=0,n=e.tocItem.length;t<n;t++){i(e.tocItem[t])||(e.tocItem[t]=`_default_`);let n=e.tocItem[t];this.tocs[n]||(this.tocs[n]={toc:{_items:[],_pseudo:!0}}),e.id||=`toc-${n}-${this.tocs[n].toc._items.length}`;let r={_nodeRef:this._getNodeForNodeRef(e),_textNodeRef:e};this.tocs[n].toc._items.push(r)}}if(e.id){if(this.nodeReferences[e.id]){if(!this.nodeReferences[e.id]._pseudo)throw Error(`Node id '${e.id}' already exists`);this.nodeReferences[e.id]._nodeRef=this._getNodeForNodeRef(e),this.nodeReferences[e.id]._textNodeRef=e,this.nodeReferences[e.id]._pseudo=!1}else this.nodeReferences[e.id]={_nodeRef:this._getNodeForNodeRef(e),_textNodeRef:e}}if(e.pageReference&&(this.nodeReferences[e.pageReference]||(this.nodeReferences[e.pageReference]={_nodeRef:{},_textNodeRef:{},_pseudo:!0}),e.text=`00000`,e.linkToDestination=e.pageReference,e._pageRef=this.nodeReferences[e.pageReference]),e.textReference&&(this.nodeReferences[e.textReference]||(this.nodeReferences[e.textReference]={_nodeRef:{},_pseudo:!0}),e.text=``,e.linkToDestination=e.textReference,e._textRef=this.nodeReferences[e.textReference]),e.text&&e.text.text)e.text=[this.preprocessNode(e.text)];else if(Array.isArray(e.text)){let t=!1;this.parentNode===null&&(this.parentNode=e,t=!0);for(let t=0,n=e.text.length;t<n;t++)e.text[t]=this.preprocessNode(e.text[t]);t&&(this.parentNode=null)}return e}preprocessToc(e){if(e.toc.id||(e.toc.id=`_default_`),e.toc.title=e.toc.title?this.preprocessNode(e.toc.title):null,e.toc._items=[],this.tocs[e.toc.id]){if(!this.tocs[e.toc.id].toc._pseudo)throw Error(`TOC '${e.toc.id}' already exists`);e.toc._items=this.tocs[e.toc.id].toc._items}return this.tocs[e.toc.id]=e,e}preprocessImage(e){return e.image.type!==void 0&&e.image.data!==void 0&&e.image.type===`Buffer`&&Array.isArray(e.image.data)&&(e.image=v.from(e.image.data)),e}preprocessCanvas(e){return e}preprocessSVG(e){return e}preprocessQr(e){return e}preprocessAttachment(e){return e}_getNodeForNodeRef(e){return this.parentNode?this.parentNode:e}}let x=b;var S=n(7571),C=n(3915),w={};let T=[[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,4],[0,4,4,1,1,4,4,4,4,1,1,0,0,0,0,1,1,1,0,0,4,2,4,0,0,0,0,0,0,0,0,1,0],[0,4,4,1,1,4,4,4,4,1,1,1,1,1,0,1,1,1,0,0,4,2,4,0,0,0,0,0,0,0,0,1,0],[4,4,4,1,1,1,4,4,4,1,1,1,1,1,1,1,1,1,1,1,4,2,4,1,1,1,1,1,1,1,1,1,1],[1,4,4,1,1,1,4,4,4,1,1,1,1,1,1,1,1,1,1,1,4,2,4,1,1,1,1,1,1,1,1,1,1],[0,4,4,1,1,1,4,4,4,0,0,0,0,0,0,1,1,1,0,0,4,2,4,0,0,0,0,0,0,0,0,1,0],[0,4,4,1,1,1,4,4,4,0,0,0,0,0,0,1,1,1,0,0,4,2,4,0,0,0,0,0,0,0,0,1,0],[0,4,4,1,1,1,4,4,4,0,0,1,0,1,0,1,1,1,0,0,4,2,4,0,0,0,0,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bP6b/B8/l5OifVHYLnb9S39s2zcc+Ph+rh8+eQgVPS72elzGWY/tUtbbabBpDiI7yN1q6/4th2y+ErAc5+9BVvu/7KamJbWNZeuqI/R4tRf+YyD1HmOZM1bMV3/14Sn10c0Xu+Sj1nOXb5jL73ncdy02uvlXZNde65dOHYl7Vs4KYuS6FzWLn2zJlpZqPXPVPOa5yzKOyn1VhT9lmMfdbfH7D11Wf2PXN5h9y+dD287+qxgSnaYmnIrRtIb8pJe6/Uv9OVer6Whn0zfGO/BEloZI9ojmfAlUflClDd178bTmVHVTpZXOkAlk/lb42UujmI89HH5V+cl7XtowY6vTxLVWok6UrGzoGTHN+bB+6ri05687VNpvfuvRfaP2uMlNQth1D5JjGelm/8yn+9p3p/7qk9gnfeddXZmq/Sm333PJT659Kv1zjNbZ9uv2Oi//67CV8/N1nj1DmviyXDNVeJkaeaX8UsyesYg8cu2+NvdaPfb+lLDu5tvt/`)),D=function(e){switch(e){case 33:return 12;case 39:case 40:case 42:return 12;case 35:return 5;default:return e}},O=function(e){switch(e){case 37:case 38:return 34;case 41:return 22;default:return e}};class k{constructor(e,t=!1){this.position=e,this.required=t}}class A{nextCodePoint(){let e=this.string.charCodeAt(this.pos++),t=this.string.charCodeAt(this.pos);return 55296<=e&&e<=56319&&56320<=t&&t<=57343?(this.pos++,(e-55296)*1024+(t-56320)+65536):e}nextCharClass(){return D(E.get(this.nextCodePoint()))}getSimpleBreak(){switch(this.nextClass){case 41:return!1;case 34:case 37:case 38:return this.curClass=34,!1;case 36:return this.curClass=36,!1}return null}getPairTableBreak(e){let t=!1;switch(T[this.curClass][this.nextClass]){case 0:t=!0;break;case 1:t=e===41;break;case 2:if(t=e===41,!t)return t=!1,t;break;case 3:if(e!==41)return t}return this.LB8a&&(t=!1),this.LB21a&&(this.curClass===16||this.curClass===17)?(t=!1,this.LB21a=!1):this.LB21a=this.curClass===13,this.curClass===28?(this.LB30a++,this.LB30a==2&&this.nextClass===28&&(t=!0,this.LB30a=0)):this.LB30a=0,this.curClass=this.nextClass,t}nextBreak(){if(this.curClass==null){let e=this.nextCharClass();this.curClass=O(e),this.nextClass=e,this.LB8a=e===31,this.LB30a=0}for(;this.pos<this.string.length;){this.lastPos=this.pos;let e=this.nextClass;if(this.nextClass=this.nextCharClass(),this.curClass===34||this.curClass===36&&this.nextClass!==37)return this.curClass=O(D(this.nextClass)),new k(this.lastPos,!0);let t=this.getSimpleBreak();if(t===null&&(t=this.getPairTableBreak(e)),this.LB8a=this.nextClass===31,t)return new k(this.lastPos)}return this.lastPos<this.string.length?(this.lastPos=this.string.length,new k(this.string.length)):null}constructor(e){this.string=e,this.pos=0,this.lastPos=0,this.curClass=null,this.nextClass=null,this.LB8a=!1,this.LB21a=!1,this.LB30a=0}}w=A;class j{constructor(e,t){t===void 0&&(t={}),this.styleDictionary=e,this.defaultStyle=t,this.styleOverrides=[]}clone(){let e=new j(this.styleDictionary,this.defaultStyle);return this.styleOverrides.forEach(t=>{e.styleOverrides.push(t)}),e}push(e){this.styleOverrides.push(e)}pop(e){for(e===void 0&&(e=1);e-->0;)this.styleOverrides.pop()}autopush(e){if(i(e)||e.section!==void 0)return 0;let t=[];e.style&&(t=Array.isArray(e.style)?e.style:[e.style]);for(let e=0,n=t.length;e<n;e++)this.push(t[e]);return this.push(e),t.length+1}auto(e,t){let n=this.autopush(e),r=t();return n>0&&this.pop(n),r}getProperty(e){var t=this;let n=function(e,r,i){if(i===void 0&&(i=new Set),i.has(e))return;i.add(e);let a=t.styleDictionary[e];if(a){if(l(a[r]))return a[r];if(a.extends){let e=Array.isArray(a.extends)?a.extends:[a.extends];for(let t=e.length-1;t>=0;t--){let a=n(e[t],r,i);if(l(a))return a}}}};if(this.styleOverrides)for(let t=this.styleOverrides.length-1;t>=0;t--){let r=this.styleOverrides[t];if(i(r)){let t=n(r,e);if(l(t))return t}else if(l(r[e]))return r[e]}return this.defaultStyle&&this.defaultStyle[e]}static getStyleProperty(e,t,n,r){let i;return l(e[n])?e[n]:t?(t.auto(e,()=>{i=t.getProperty(n)}),l(i)?i:r):r}static copyStyle(e,t){e===void 0&&(e={}),t===void 0&&(t={});for(let n in e)n!=`text`&&e.hasOwnProperty(n)&&(t[n]=e[n]);return t}}let M=j,N=function(e,t,n){n===void 0&&(n=!1);let r=[];if(e=e==null?``:String(e),t)return r.push({text:e}),r;if(n)return e.split(``).map(e=>e.match(/^\n$|^\r$/)?{text:``,lineEnd:!0}:{text:e});if(e.length===0)return r.push({text:``}),r;let i=new w(e),a=0,o;for(;o=i.nextBreak();){let t=e.slice(a,o.position);o.required||t.match(/\r?\n$|\r$/)?(t=t.replace(/\r?\n$|\r$/,``),r.push({text:t,lineEnd:!0})):r.push({text:t}),a=o.position}return r},P=(e,t)=>{let n=e[0];if(n===void 0)return null;if(t){let e=N(n.text,!1);if(e[0]===void 0)return null;n=e[0]}return n.text},F=(e,t)=>{let n=e[e.length-1];if(n===void 0||n.lineEnd)return null;if(t){let e=N(n.text,!1);if(e[e.length-1]===void 0)return null;n=e[e.length-1]}return n.text};class I{getBreaks(e,t){let n=[];Array.isArray(e)||(e=[e]);let r=null;for(let i=0,a=e.length;i<a;i++){let o=e[i],c=null,l,u=M.getStyleProperty(o||{},t,`wordBreak`,`normal`)===`break-all`,d=M.getStyleProperty(o||{},t,`noWrap`,!1);if(s(o)?(o._textRef&&o._textRef._textNodeRef.text&&(o.text=o._textRef._textNodeRef.text),l=N(o.text,d,u),c=M.copyStyle(o)):l=N(o,d,u),r&&l.length){let e=P(l,d);N(r+e,!1).length===1&&(n[n.length-1].noNewLine=!0)}for(let e=0,t=l.length;e<t;e++){let t={text:l[e].text};l[e].lineEnd&&(t.lineEnd=!0),M.copyStyle(c,t),n.push(t)}r=null,i+1<a&&(r=F(l,d))}return n}}let L=I,R=/^(\s)+/g,z=/(\s)+$/g,B=e=>{function t(e){return e.reduce((e,n)=>{let r=Array.isArray(n.text)?t(n.text):n,i=[].concat(r).some(Array.isArray);return e.concat(i?t(r):r)},[])}return Array.isArray(e)||(e=[e]),e=t(e),e};class ee{constructor(e){this.pdfDocument=e}buildInlines(e,t){let n=e=>Math.max(0,e.width-e.leadingCut-e.trailingCut),r=0,i=0,a,o=B(e),s=new L().getBreaks(o,t),c=this.measure(s,t);return c.forEach(e=>{r=Math.max(r,n(e)),a||={width:0,leadingCut:e.leadingCut,trailingCut:0},a.width+=e.width,a.trailingCut=e.trailingCut,i=Math.max(i,n(a)),e.lineEnd&&(a=null)}),M.getStyleProperty({},t,`noWrap`,!1)&&(r=i),{items:c,minWidth:r,maxWidth:i}}measure(e,t){if(e.length){let n=M.getStyleProperty(e[0],t,`leadingIndent`,0);n&&(e[0].leadingCut=-n,e[0].leadingIndent=n)}return e.forEach(e=>{let n=M.getStyleProperty(e,t,`font`,`Roboto`),r=M.getStyleProperty(e,t,`bold`,!1),i=M.getStyleProperty(e,t,`italics`,!1);e.font=this.pdfDocument.provideFont(n,r,i),e.alignment=M.getStyleProperty(e,t,`alignment`,`left`),e.fontSize=M.getStyleProperty(e,t,`fontSize`,12),e.fontFeatures=M.getStyleProperty(e,t,`fontFeatures`,null),e.characterSpacing=M.getStyleProperty(e,t,`characterSpacing`,0),e.color=M.getStyleProperty(e,t,`color`,`black`),e.decoration=M.getStyleProperty(e,t,`decoration`,null),e.decorationColor=M.getStyleProperty(e,t,`decorationColor`,null),e.decorationStyle=M.getStyleProperty(e,t,`decorationStyle`,null),e.decorationThickness=M.getStyleProperty(e,t,`decorationThickness`,null),e.background=M.getStyleProperty(e,t,`background`,null),e.link=M.getStyleProperty(e,t,`link`,null),e.linkToPage=M.getStyleProperty(e,t,`linkToPage`,null),e.linkToDestination=M.getStyleProperty(e,t,`linkToDestination`,null),e.noWrap=M.getStyleProperty(e,t,`noWrap`,null),e.opacity=M.getStyleProperty(e,t,`opacity`,1),e.sup=M.getStyleProperty(e,t,`sup`,!1),e.sub=M.getStyleProperty(e,t,`sub`,!1),(e.sup||e.sub)&&(e.fontSize*=.58);let a=M.getStyleProperty(e,t,`lineHeight`,1);if(e.width=this.widthOfText(e.text,e),e.height=e.font.lineHeight(e.fontSize)*a,e.leadingCut||=0,!M.getStyleProperty(e,t,`preserveLeadingSpaces`,!1)){let t=e.text.match(R);t&&(e.leadingCut+=this.widthOfText(t[0],e))}if(e.trailingCut=0,!M.getStyleProperty(e,t,`preserveTrailingSpaces`,!1)){let t=e.text.match(z);t&&(e.trailingCut=this.widthOfText(t[0],e))}},this),e}widthOfText(e,t){return t.font.widthOfString(e,t.fontSize,t.fontFeatures)+(t.characterSpacing||0)*(e.length-1)}sizeOfText(e,t){let n=M.getStyleProperty({},t,`font`,`Roboto`),r=M.getStyleProperty({},t,`fontSize`,12),i=M.getStyleProperty({},t,`fontFeatures`,null),a=M.getStyleProperty({},t,`bold`,!1),o=M.getStyleProperty({},t,`italics`,!1),s=M.getStyleProperty({},t,`lineHeight`,1),c=M.getStyleProperty({},t,`characterSpacing`,0),l=this.pdfDocument.provideFont(n,a,o);return{width:this.widthOfText(e,{font:l,fontSize:r,characterSpacing:c,fontFeatures:i}),height:l.lineHeight(r)*s,fontSize:r,lineHeight:s,ascender:l.ascender/1e3*r,descender:l.descender/1e3*r}}sizeOfRotatedText(e,t,n){let r=t*Math.PI/-180,i=this.sizeOfText(e,n);return{width:Math.abs(i.height*Math.sin(r))+Math.abs(i.width*Math.cos(r)),height:Math.abs(i.width*Math.sin(r))+Math.abs(i.height*Math.cos(r))}}}let te=ee;function ne(e,t,n,r){n===void 0&&(n=0);let a=[],o=0,s=0,c=[],l=0,u=0,d=[],f=t;e.forEach(e=>{V(e)?(a.push(e),o+=e._minWidth,s+=e._maxWidth):re(e)?(c.push(e),l=Math.max(l,e._minWidth),u=Math.max(u,e._maxWidth)):d.push(e)}),d.forEach((e,a)=>{if(i(e.width)&&/\d+%/.test(e.width)){let t=0;if(r){let e=r._layout.paddingLeft(a,r),n=r._layout.paddingRight(a,r),i=r._layout.vLineWidth(a,r),o=r._layout.vLineWidth(a+1,r);t=a===0?e+n+i+o/2:a===d.length-1?e+n+i/2+o:e+n+i/2+o/2}let i=f+n;e.width=parseFloat(e.width)*i/100-t}e._calcWidth=e.width<e._minWidth&&e.elasticWidth?e._minWidth:e.width,t-=e._calcWidth});let p=o+l*c.length,m=s+u*c.length;if(p>=t)a.forEach(e=>{e._calcWidth=e._minWidth}),c.forEach(e=>{e._calcWidth=l});else{if(m<t)a.forEach(e=>{e._calcWidth=e._maxWidth,t-=e._calcWidth});else{let e=t-p,n=m-p;a.forEach(r=>{let i=r._maxWidth-r._minWidth;r._calcWidth=r._minWidth+i*e/n,t-=r._calcWidth})}if(c.length>0){let e=t/c.length;c.forEach(t=>{t._calcWidth=e})}}}function V(e){return e.width===`auto`}function re(e){return e.width===null||e.width===void 0||e.width===`*`||e.width===`star`}function ie(e){let t={min:0,max:0},n={min:0,max:0},r=0;for(let i=0,a=e.length;i<a;i++){let a=e[i];re(a)?(n.min=Math.max(n.min,a._minWidth),n.max=Math.max(n.max,a._maxWidth),r++):V(a)?(t.min+=a._minWidth,t.max+=a._maxWidth):(t.min+=a.width!==void 0&&a.width||a._minWidth,t.max+=a.width!==void 0&&a.width||a._maxWidth)}return r&&(t.min+=r*n.min,t.max+=r*n.max),t}let ae={buildColumnWidths:ne,measureMinMax:ie,isAutoColumn:V,isStarColumn:re},oe={noBorders:{hLineWidth(e){return 0},vLineWidth(e){return 0},paddingLeft(e){return e&&4||0},paddingRight(e,t){return e<t.table.widths.length-1?4:0}},headerLineOnly:{hLineWidth(e,t){return e===0||e===t.table.body.length?0:e===t.table.headerRows?2:0},vLineWidth(e){return 0},paddingLeft(e){return e===0?0:8},paddingRight(e,t){return e===t.table.widths.length-1?0:8}},lightHorizontalLines:{hLineWidth(e,t){return e===0||e===t.table.body.length?0:e===t.table.headerRows?2:1},vLineWidth(e){return 0},hLineColor(e){return e===1?`black`:`#aaa`},paddingLeft(e){return e===0?0:8},paddingRight(e,t){return e===t.table.widths.length-1?0:8}}},se={hLineWidth(e,t){return 1},vLineWidth(e,t){return 1},hLineColor(e,t){return`black`},vLineColor(e,t){return`black`},hLineStyle(e,t){return null},vLineStyle(e,t){return null},paddingLeft(e,t){return 4},paddingRight(e,t){return 4},paddingTop(e,t){return 2},paddingBottom(e,t){return 2},fillColor(e,t){return null},fillOpacity(e,t){return 1},defaultBorder:!0};function ce(){let e={};for(let t=0,n=arguments.length;t<n;t++){let n=t<0||arguments.length<=t?void 0:arguments[t];if(n)for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t])}return e}function H(e,t,n){switch(e.type){case`ellipse`:case`rect`:e.x+=t,e.y+=n;break;case`line`:e.x1+=t,e.x2+=t,e.y1+=n,e.y2+=n;break;case`polyline`:for(let r=0,i=e.points.length;r<i;r++)e.points[r].x+=t,e.points[r].y+=n}}function le(e){return()=>JSON.parse(JSON.stringify(e))}for(var ue=[null,[[10,7,17,13],[1,1,1,1],[]],[[16,10,28,22],[1,1,1,1],[4,16]],[[26,15,22,18],[1,1,2,2],[4,20]],[[18,20,16,26],[2,1,4,2],[4,24]],[[24,26,22,18],[2,1,4,4],[4,28]],[[16,18,28,24],[4,2,4,4],[4,32]],[[18,20,26,18],[4,2,5,6],[4,20,36]],[[22,24,26,22],[4,2,6,6],[4,22,40]],[[22,30,24,20],[5,2,8,8],[4,24,44]],[[26,18,28,24],[5,4,8,8],[4,26,48]],[[30,20,24,28],[5,4,11,8],[4,28,52]],[[22,24,28,26],[8,4,11,10],[4,30,56]],[[22,26,22,24],[9,4,16,12],[4,32,60]],[[24,30,24,20],[9,4,16,16],[4,24,44,64]],[[24,22,24,30],[10,6,18,12],[4,24,46,68]],[[28,24,30,24],[10,6,16,17],[4,24,48,72]],[[28,28,28,28],[11,6,19,16],[4,28,52,76]],[[26,30,28,28],[13,6,21,18],[4,28,54,80]],[[26,28,26,26],[14,7,25,21],[4,28,56,84]],[[26,28,28,30],[16,8,25,20],[4,32,60,88]],[[26,28,30,28],[17,8,25,23],[4,26,48,70,92]],[[28,28,24,30],[17,9,34,23],[4,24,48,72,96]],[[28,30,30,30],[18,9,30,25],[4,28,52,76,100]],[[28,30,30,30],[20,10,32,27],[4,26,52,78,104]],[[28,26,30,30],[21,12,35,29],[4,30,56,82,108]],[[28,28,30,28],[23,12,37,34],[4,28,56,84,112]],[[28,30,30,30],[25,12,40,34],[4,32,60,88,116]],[[28,30,30,30],[26,13,42,35],[4,24,48,72,96,120]],[[28,30,30,30],[28,14,45,38],[4,28,52,76,100,124]],[[28,30,30,30],[29,15,48,40],[4,24,50,76,102,128]],[[28,30,30,30],[31,16,51,43],[4,28,54,80,106,132]],[[28,30,30,30],[33,17,54,45],[4,32,58,84,110,136]],[[28,30,30,30],[35,18,57,48],[4,28,56,84,112,140]],[[28,30,30,30],[37,19,60,51],[4,32,60,88,116,144]],[[28,30,30,30],[38,19,63,53],[4,28,52,76,100,124,148]],[[28,30,30,30],[40,20,66,56],[4,22,48,74,100,126,152]],[[28,30,30,30],[43,21,70,59],[4,26,52,78,104,130,156]],[[28,30,30,30],[45,22,74,62],[4,30,56,82,108,134,160]],[[28,30,30,30],[47,24,77,65],[4,24,52,80,108,136,164]],[[28,30,30,30],[49,25,81,68],[4,28,56,84,112,140,168]]],U=0,W=1,G=2,de=4,fe=8,K=/^\d*$/,q=/^[A-Za-z0-9 $%*+\-./:]*$/,J=/^[A-Z0-9 $%*+\-./:]*$/,Y=1,pe=0,me=3,X=2,he=[],ge=[-1],_e=0,ve=1;_e<255;++_e)he.push(ve),ge[ve]=_e,ve=ve*2^(ve>=128?285:0);for(var ye=[[]],_e=0;_e<30;++_e){for(var be=ye[_e],xe=[],Se=0;Se<=_e;++Se){var Ce=Se<_e?he[be[Se]]:0,we=he[(_e+(be[Se-1]||0))%255];xe.push(ge[Ce^we])}ye.push(xe)}for(var Te={},_e=0;_e<45;++_e)Te[`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`.charAt(_e)]=_e;var Ee=[function(e,t){return(e+t)%2==0},function(e,t){return e%2==0},function(e,t){return t%3==0},function(e,t){return(e+t)%3==0},function(e,t){return((e/2|0)+(t/3|0))%2==0},function(e,t){return e*t%2+e*t%3==0},function(e,t){return(e*t%2+e*t%3)%2==0},function(e,t){return((e+t)%2+e*t%3)%2==0}],De=function(e){return e>6},Oe=function(e){return 4*e+17},ke=function(e){var t=ue[e],n=16*e*e+128*e+64;return De(e)&&(n-=36),t[2].length&&(n-=25*t[2].length*t[2].length-10*t[2].length-55),n},Ae=function(e,t){var n=ke(e)&-8,r=ue[e];return n-=8*r[0][t]*r[1][t],n},je=function(e,t){switch(t){case W:return e<10?10:e<27?12:14;case G:return e<10?9:e<27?11:13;case de:return e<10?8:16;case fe:return e<10?8:e<27?10:12}},Me=function(e,t,n){var r=Ae(e,n)-4-je(e,t);switch(t){case W:return(r/10|0)*3+(r%10<4?0:r%10<7?1:2);case G:return(r/11|0)*2+(r%11<6?0:1);case de:return r/8|0;case fe:return r/13|0}},Ne=function(e,t){switch(e){case W:return t.match(K)?t:null;case G:return t.match(q)?t.toUpperCase():null;case de:if(typeof t==`string`){for(var n=[],r=0;r<t.length;++r){var i=t.charCodeAt(r);i<128?n.push(i):i<2048?n.push(192|i>>6,128|i&63):i<65536?n.push(224|i>>12,128|i>>6&63,128|i&63):n.push(240|i>>18,128|i>>12&63,128|i>>6&63,128|i&63)}return n}return t}},Pe=function(e,t,n,r){var i=[],a=0,o=8,s=n.length,c=function(e,t){if(t>=o){for(i.push(a|e>>(t-=o));t>=8;)i.push(e>>(t-=8)&255);a=0,o=8}t>0&&(a|=(e&(1<<t)-1)<<(o-=t))},l=je(e,t);switch(c(t,4),c(s,l),t){case W:for(var u=2;u<s;u+=3)c(parseInt(n.substring(u-2,u+1),10),10);c(parseInt(n.substring(u-2),10),[0,4,7][s%3]);break;case G:for(var u=1;u<s;u+=2)c(Te[n.charAt(u-1)]*45+Te[n.charAt(u)],11);s%2==1&&c(Te[n.charAt(u-1)],6);break;case de:for(var u=0;u<s;++u)c(n[u],8)}for(c(U,4),o<8&&i.push(a);i.length+1<r;)i.push(236,17);return i.length<r&&i.push(236),i},Fe=function(e,t){for(var n=e.slice(0),r=e.length,i=t.length,a=0;a<i;++a)n.push(0);for(var a=0;a<r;){var o=ge[n[a++]];if(o>=0)for(var s=0;s<i;++s)n[a+s]^=he[(o+t[s])%255]}return n.slice(r)},Ie=function(e,t,n){for(var r=[],i=e.length/t|0,a=0,o=t-e.length%t,s=0;s<o;++s)r.push(a),a+=i;for(var s=o;s<t;++s)r.push(a),a+=i+1;r.push(a);for(var c=[],s=0;s<t;++s)c.push(Fe(e.slice(r[s],r[s+1]),n));for(var l=[],u=e.length/t|0,s=0;s<u;++s)for(var d=0;d<t;++d)l.push(e[r[d]+s]);for(var d=o;d<t;++d)l.push(e[r[d+1]-1]);for(var s=0;s<n.length;++s)for(var d=0;d<t;++d)l.push(c[d][s]);return l},Le=function(e,t,n,r){for(var i=e<<r,a=t-1;a>=0;--a)i>>r+a&1&&(i^=n<<a);return e<<r|i},Re=function(e){for(var t=ue[e],n=Oe(e),r=[],i=[],a=0;a<n;++a)r.push([]),i.push([]);var o=function(e,t,n,a,o){for(var s=0;s<n;++s)for(var c=0;c<a;++c)r[e+s][t+c]=o[s]>>c&1,i[e+s][t+c]=1};o(0,0,9,9,[127,65,93,93,93,65,383,0,64]),o(n-8,0,8,9,[256,127,65,93,93,93,65,127]),o(0,n-8,9,8,[254,130,186,186,186,130,254,0,0]);for(var a=9;a<n-8;++a)r[6][a]=r[a][6]=~a&1,i[6][a]=i[a][6]=1;for(var s=t[2],c=s.length,a=0;a<c;++a)for(var l=+(a===0||a===c-1),u=a===0?c-1:c,d=l;d<u;++d)o(s[a],s[d],5,5,[31,17,21,17,31]);if(De(e))for(var f=Le(e,6,7973,12),p=0,a=0;a<6;++a)for(var d=0;d<3;++d)r[a][n-11+d]=r[n-11+d][a]=f>>p++&1,i[a][n-11+d]=i[n-11+d][a]=1;return{matrix:r,reserved:i}},ze=function(e,t,n){for(var r=e.length,i=0,a=-1,o=r-1;o>=0;o-=2){o==6&&--o;for(var s=a<0?r-1:0,c=0;c<r;++c){for(var l=o;l>o-2;--l)t[s][l]||(e[s][l]=n[i>>3]>>(~i&7)&1,++i);s+=a}a=-a}return e},Be=function(e,t,n){for(var r=Ee[n],i=e.length,a=0;a<i;++a)for(var o=0;o<i;++o)t[a][o]||(e[a][o]^=r(a,o));return e},Ve=function(e,t,n,r){for(var i=e.length,a=Le(n<<3|r,5,1335,10)^21522,o=0;o<15;++o){var s=[0,1,2,3,4,5,7,8,i-7,i-6,i-5,i-4,i-3,i-2,i-1][o],c=[i-1,i-2,i-3,i-4,i-5,i-6,i-7,i-8,7,5,4,3,2,1,0][o];e[s][8]=e[8][c]=a>>o&1}return e},Z=function(e){for(var t=3,n=10,r=function(e){for(var t=0,n=0;n<e.length;++n)e[n]>=5&&(t+=3+(e[n]-5));for(var n=5;n<e.length;n+=2){var r=e[n];e[n-1]==r&&e[n-2]==3*r&&e[n-3]==r&&e[n-4]==r&&(e[n-5]>=4*r||e[n+1]>=4*r)&&(t+=40)}return t},i=e.length,a=0,o=0,s=0;s<i;++s){for(var c=e[s],l=[0],u=0;u<i;){for(var d=0;u<i&&c[u];++d)++u;for(l.push(d),d=0;u<i&&!c[u];++d)++u;l.push(d)}a+=r(l),l=[0];for(var u=0;u<i;){for(var d=0;u<i&&e[u][s];++d)++u;for(l.push(d),d=0;u<i&&!e[u][s];++d)++u;l.push(d)}a+=r(l);var f=e[s+1]||[];o+=c[0];for(var u=1;u<i;++u){var p=c[u];o+=p,c[u-1]==p&&f[u]===p&&f[u-1]===p&&(a+=t)}}return a+=n*(Math.abs(o/i/i-.5)/.05|0),a},Q=function(e,t,n,r,i){var a=ue[t],o=Pe(t,n,e,Ae(t,r)>>3);o=Ie(o,a[1][r],ye[a[0][r]]);var s=Re(t),c=s.matrix,l=s.reserved;if(ze(c,l,o),i<0){Be(c,l,0),Ve(c,l,r,0);var u=0,d=Z(c);for(Be(c,l,0),i=1;i<8;++i){Be(c,l,i),Ve(c,l,r,i);var f=Z(c);d>f&&(d=f,u=i),Be(c,l,i)}i=u}return Be(c,l,i),Ve(c,l,r,i),c};function He(e,t){var n={numeric:W,alphanumeric:G,octet:de},r={L:Y,M:pe,Q:me,H:X};t||={};var i=t.version||-1,a=r[(t.eccLevel||`L`).toUpperCase()],o=t.mode?n[t.mode.toLowerCase()]:-1,s=`mask`in t?t.mask:-1;if(o<0)o=typeof e==`string`?e.match(K)?W:e.match(J)?G:de:de;else if(o!=W&&o!=G&&o!=de)throw`invalid or unsupported mode`;if(e=Ne(o,e),e===null)throw`invalid data format`;if(a<0||a>3)throw`invalid ECC level`;if(i<0){for(i=1;i<=40&&!(e.length<=Me(i,o,a));++i);if(i>40)throw`too large data for the Qr format`}else if(i<1||i>40)throw`invalid Qr version! should be between 1 and 40`;if(s!=-1&&(s<0||s>8))throw`invalid mask`;return Q(e,i,o,a,s)}function Ue(e,t){var n=[],r=t.background||`#fff`,i=t.foreground||`#000`,a=t.padding||0,o=He(e,t),s=o.length,c=Math.floor(t.fit?t.fit/s:5),l=s*c+c*a*2,u=c*a;n.push({type:`rect`,x:0,y:0,w:l,h:l,lineWidth:0,color:r});for(var d=0;d<s;++d)for(var f=0;f<s;++f)o[d][f]&&n.push({type:`rect`,x:c*f+u,y:c*d+u,w:c,h:c,lineWidth:0,color:i});return{canvas:n,size:l}}function We(e){var t=Ue(e.qr,e);return e._canvas=t.canvas,e._width=e._height=e._minWidth=e._maxWidth=e._minHeight=e._maxHeight=t.size,e}let Ge={measure:We};class Ke{constructor(e,t,n,r,i){this.pdfDocument=e,this.textInlines=new te(e),this.styleStack=new M(t,n),this.svgMeasure=r,this.tableLayouts=i,this.autoImageIndex=1}measureDocument(e){return this.measureNode(e)}measureBlock(e){return this.measureNode(e)}measureNode(e){return this.styleStack.auto(e,()=>{if(e._margin=_(e,this.styleStack),e.section)return t(this.measureSection(e));if(e.columns)return t(this.measureColumns(e));if(e.stack)return t(this.measureVerticalContainer(e));if(e.ul)return t(this.measureUnorderedList(e));if(e.ol)return t(this.measureOrderedList(e));if(e.table)return t(this.measureTable(e));if(e.text!==void 0)return t(this.measureLeaf(e));if(e.toc)return t(this.measureToc(e));if(e.image)return t(this.measureImage(e));if(e.svg)return t(this.measureSVG(e));if(e.canvas)return t(this.measureCanvas(e));if(e.qr)return t(this.measureQr(e));if(e.attachment)return t(this.measureAttachment(e));throw Error(`Unrecognized document structure: ${h(e)}`)});function t(e){let t=e._margin;return t&&(e._minWidth+=t[0]+t[2],e._maxWidth+=t[0]+t[2]),e}}measureImageWithDimensions(e,t){if(e.fit){let n=t.width/t.height>e.fit[0]/e.fit[1]?e.fit[0]/t.width:e.fit[1]/t.height;e._width=e._minWidth=e._maxWidth=t.width*n,e._height=t.height*n}else if(e.cover)e._width=e._minWidth=e._maxWidth=e.cover.width,e._height=e._minHeight=e._maxHeight=e.cover.height;else{let n=a(e.width)?e.width:void 0,r=a(e.height)?e.height:void 0,i=t.width/t.height;e._width=e._minWidth=e._maxWidth=n||(r?r*i:t.width),e._height=r||(n?n/i:t.height),a(e.maxWidth)&&e.maxWidth<e._width&&(e._width=e._minWidth=e._maxWidth=e.maxWidth,e._height=e._width*t.height/t.width),a(e.maxHeight)&&e.maxHeight<e._height&&(e._height=e.maxHeight,e._width=e._minWidth=e._maxWidth=e._height*t.width/t.height),a(e.minWidth)&&e.minWidth>e._width&&(e._width=e._minWidth=e._maxWidth=e.minWidth,e._height=e._width*t.height/t.width),a(e.minHeight)&&e.minHeight>e._height&&(e._height=e.minHeight,e._width=e._minWidth=e._maxWidth=e._height*t.width/t.height)}e._alignment=this.styleStack.getProperty(`alignment`)}convertIfBase64Image(e){if(/^data:image\/(jpeg|jpg|png);base64,/.test(e.image)){let t=`$$pdfmake$$${this.autoImageIndex++}`;this.pdfDocument.images[t]=e.image,e.image=t}}measureImage(e){this.convertIfBase64Image(e);let t=this.pdfDocument.provideImage(e.image),n={width:t.width,height:t.height};return t.orientation>4&&(n={width:t.height,height:t.width}),this.measureImageWithDimensions(e,n),e}measureSVG(e){let t=this.svgMeasure.measureSVG(e.svg);if(this.measureImageWithDimensions(e,t),e.font=this.styleStack.getProperty(`font`),!a(e._width)&&!a(e._height))throw Error(`SVG is missing defined width and height.`);if(!a(e._width))throw Error(`SVG is missing defined width.`);if(!a(e._height))throw Error(`SVG is missing defined height.`);return e.svg=this.svgMeasure.writeDimensions(e.svg,{width:e._width,height:e._height}),e}measureLeaf(e){e._textRef&&e._textRef._textNodeRef.text&&(e.text=e._textRef._textNodeRef.text);let t=this.styleStack.clone();t.push(e);let n=this.textInlines.buildInlines(e.text,t);return e._inlines=n.items,e._minWidth=n.minWidth,e._maxWidth=n.maxWidth,e}measureToc(e){if(e.toc.title&&(e.toc.title=this.measureNode(e.toc.title)),e.toc._items.length>0){let t=[],n=e.toc.textStyle||{},r=e.toc.numberStyle||n,i=e.toc.textMargin||[0,0,0,0];e.toc.sortBy===`title`&&e.toc._items.sort((t,n)=>t._textNodeRef.text.localeCompare(n._textNodeRef.text,e.toc.sortLocale));for(let a=0,o=e.toc._items.length;a<o;a++){let o=e.toc._items[a],s=o._textNodeRef.tocStyle||n,c=o._textNodeRef.tocMargin||i,l=o._textNodeRef.tocNumberStyle||r,u=g(o._nodeRef);t.push([{text:o._textNodeRef.text,linkToDestination:u,alignment:`left`,style:s,margin:c},{text:`00000`,linkToDestination:u,alignment:`right`,_tocItemRef:o._nodeRef,style:l,margin:[0,c[1],0,c[3]]}]),e.toc.outlines&&(o._textNodeRef.outline=o._textNodeRef.outline||!0)}e.toc._table={table:{dontBreakRows:!0,widths:[`*`,`auto`],body:t},layout:`noBorders`},e.toc._table=this.measureNode(e.toc._table)}return e}measureVerticalContainer(e){let t=e.stack;e._minWidth=0,e._maxWidth=0;for(let n=0,r=t.length;n<r;n++)t[n]=this.measureNode(t[n]),e._minWidth=Math.max(e._minWidth,t[n]._minWidth),e._maxWidth=Math.max(e._maxWidth,t[n]._maxWidth);return e}gapSizeForList(){return this.textInlines.sizeOfText(`9. `,this.styleStack)}buildUnorderedMarker(e,t,n,r){function i(e,t){let n=e.fontSize/6;return{canvas:[{x:n,y:e.height/e.lineHeight+e.descender-e.fontSize/3,r1:n,r2:n,type:`ellipse`,color:t}]}}function a(e,t){let n=e.fontSize/3;return{canvas:[{x:0,y:e.height/e.lineHeight+e.descender-e.fontSize/3-n/2,h:n,w:n,type:`rect`,color:t}]}}function o(e,t){let n=e.fontSize/6;return{canvas:[{x:n,y:e.height/e.lineHeight+e.descender-e.fontSize/3,r1:n,r2:n,type:`ellipse`,lineColor:t}]}}let s,c=M.getStyleProperty(e,t,`markerColor`,void 0)||t.getProperty(`color`)||`black`;switch(r){case`circle`:s=o(n,c);break;case`square`:s=a(n,c);break;case`none`:s={};break;default:s=i(n,c)}return s._minWidth=s._maxWidth=n.width,s._minHeight=s._maxHeight=n.height,s}buildOrderedMarker(e,t,n,r,i){function a(e){function t(e){return(e>=26?t((e/26>>0)-1):``)+`abcdefghijklmnopqrstuvwxyz`[e%26>>0]}return e<1?e.toString():t(e-1)}function o(e){if(e<1||e>4999)return e.toString();let t=e,n={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1},r=``;for(let e in n)for(;t>=n[e];)r+=e,t-=n[e];return r}function s(e){return e.toString()}let c;switch(r){case`none`:c=null;break;case`upper-alpha`:c=a(t).toUpperCase();break;case`lower-alpha`:c=a(t);break;case`upper-roman`:c=o(t);break;case`lower-roman`:c=o(t).toLowerCase();break;default:c=s(t)}if(c===null)return{};i&&(Array.isArray(i)?(i[0]&&(c=i[0]+c),i[1]&&(c+=i[1]),c+=` `):c+=`${i} `);let l=M.getStyleProperty(e,n,`markerColor`,void 0)||n.getProperty(`color`)||`black`,u={text:c,color:l};return{_inlines:this.textInlines.buildInlines(u,n).items}}measureUnorderedList(e){let t=this.styleStack.clone(),n=e.ul;e.type=e.type||`disc`,e._gapSize=this.gapSizeForList(),e._minWidth=0,e._maxWidth=0;for(let r=0,i=n.length;r<i;r++){let i=n[r]=this.measureNode(n[r]);!i.ol&&!i.ul&&(i.listMarker=this.buildUnorderedMarker(i,t,e._gapSize,i.listType||e.type)),e._minWidth=Math.max(e._minWidth,n[r]._minWidth+e._gapSize.width),e._maxWidth=Math.max(e._maxWidth,n[r]._maxWidth+e._gapSize.width)}return e}measureOrderedList(e){let t=this.styleStack.clone(),n=e.ol;e.type=e.type||`decimal`,e.separator=e.separator||`.`,e.reversed=e.reversed||!1,a(e.start)||(e.start=e.reversed?n.length:1),e._gapSize=this.gapSizeForList(),e._minWidth=0,e._maxWidth=0;let r=e.start;for(let i=0,o=n.length;i<o;i++){let o=n[i]=this.measureNode(n[i]);if(!o.ol&&!o.ul){let n=a(o.counter)?o.counter:r;o.listMarker=this.buildOrderedMarker(o,n,t,o.listType||e.type,e.separator),o.listMarker._inlines&&(e._gapSize.width=Math.max(e._gapSize.width,o.listMarker._inlines[0].width)),e.reversed?r--:r++}e._minWidth=Math.max(e._minWidth,n[i]._minWidth),e._maxWidth=Math.max(e._maxWidth,n[i]._maxWidth)}e._minWidth+=e._gapSize.width,e._maxWidth+=e._gapSize.width;for(let t=0,r=n.length;t<r;t++){let r=n[t];!r.ol&&!r.ul&&(r.listMarker._minWidth=r.listMarker._maxWidth=e._gapSize.width)}return e}measureSection(e){return e.section=this.measureNode(e.section),e}measureColumns(e){let t=e.columns;e._gap=this.styleStack.getProperty(`columnGap`)||0;for(let e=0,n=t.length;e<n;e++)t[e]=this.measureNode(t[e]);let n=ae.measureMinMax(t),r=t.length>0?t.length-1:0;return e._minWidth=n.min+e._gap*r,e._maxWidth=n.max+e._gap*r,e}measureTable(e){v(e),e._layout=d(this.tableLayouts),e._offsets=f(e._layout);let t=[],n,r,o,c;for(n=0,o=e.table.body[0].length;n<o;n++){let i=e.table.widths[n];for(i._minWidth=0,i._maxWidth=0,r=0,c=e.table.body.length;r<c;r++){let a=e.table.body[r],o=a[n];if(o===void 0)throw Error(`Malformed table row, a cell is undefined.\nRow index: ${r}\nColumn index: ${n}\nRow data: ${h(a)}`);o===null&&(o=``),o._span||(o=a[n]=this.styleStack.auto(o,u(this,o)),o.colSpan&&o.colSpan>1?(g(a,n,o.colSpan),t.push({col:n,span:o.colSpan,minWidth:o._minWidth,maxWidth:o._maxWidth})):(i._minWidth=Math.max(i._minWidth,o._minWidth),i._maxWidth=Math.max(i._maxWidth,o._maxWidth))),o.rowSpan&&o.rowSpan>1&&_(e.table,r,n,o.rowSpan)}}p();let l=ae.measureMinMax(e.table.widths);return e._minWidth=l.min+e._offsets.total,e._maxWidth=l.max+e._offsets.total,e;function u(e,t){return()=>(s(t)&&(t.fillColor=e.styleStack.getProperty(`fillColor`),t.fillOpacity=e.styleStack.getProperty(`fillOpacity`)),e.measureNode(t))}function d(t){let n=e.layout;return i(n)&&(n=t[n]),ce(se,n)}function f(t){let n=[],r=0,i=0;for(let a=0,o=e.table.widths.length;a<o;a++){let o=i+t.vLineWidth(a,e)+t.paddingLeft(a,e);n.push(o),r+=o,i=t.paddingRight(a,e)}return r+=i+t.vLineWidth(e.table.widths.length,e),{total:r,offsets:n}}function p(){let n,r;for(let i=0,a=t.length;i<a;i++){let a=t[i],o=m(a.col,a.span,e._offsets),s=a.minWidth-o.minWidth,c=a.maxWidth-o.maxWidth;if(s>0)for(n=s/a.span,r=0;r<a.span;r++)e.table.widths[a.col+r]._minWidth+=n;if(c>0)for(n=c/a.span,r=0;r<a.span;r++)e.table.widths[a.col+r]._maxWidth+=n}}function m(t,n,r){let i={minWidth:0,maxWidth:0};for(let a=0;a<n;a++)i.minWidth+=e.table.widths[t+a]._minWidth+(a?r.offsets[t+a]:0),i.maxWidth+=e.table.widths[t+a]._maxWidth+(a?r.offsets[t+a]:0);return i}function g(e,t,n){for(let r=1;r<n;r++)e[t+r]={_span:!0,_minWidth:0,_maxWidth:0,rowSpan:e[t].rowSpan}}function _(e,t,n,r){for(let i=1;i<r;i++)e.body[t+i][n]={_span:!0,_minWidth:0,_maxWidth:0,fillColor:e.body[t][n].fillColor,fillOpacity:e.body[t][n].fillOpacity}}function v(e){if(e.table.widths||(e.table.widths=`auto`),i(e.table.widths))for(e.table.widths=[e.table.widths];e.table.widths.length<e.table.body[0].length;)e.table.widths.push(e.table.widths[e.table.widths.length-1]);for(let t=0,n=e.table.widths.length;t<n;t++){let n=e.table.widths[t];(a(n)||i(n))&&(e.table.widths[t]={width:n})}}}measureCanvas(e){let t=0,n=0;for(let r=0,i=e.canvas.length;r<i;r++){let i=e.canvas[r];switch(i.type){case`ellipse`:t=Math.max(t,i.x+i.r1),n=Math.max(n,i.y+i.r2);break;case`rect`:t=Math.max(t,i.x+i.w),n=Math.max(n,i.y+i.h);break;case`line`:t=Math.max(t,i.x1,i.x2),n=Math.max(n,i.y1,i.y2);break;case`polyline`:for(let e=0,r=i.points.length;e<r;e++)t=Math.max(t,i.points[e].x),n=Math.max(n,i.points[e].y)}}return e._minWidth=e._maxWidth=t,e._minHeight=e._maxHeight=n,e._alignment=this.styleStack.getProperty(`alignment`),e}measureQr(e){return e=Ge.measure(e),e._alignment=this.styleStack.getProperty(`alignment`),e}measureAttachment(e){return e._width=e.width||7,e._height=e.height||18,e}}let qe=Ke;var Je=n(4785);class Ye extends Je.EventEmitter{constructor(){super(),this.pages=[],this.pageMargins=void 0,this.x=void 0,this.availableWidth=void 0,this.availableHeight=void 0,this.page=-1,this.snapshots=[],this.backgroundLength=[]}beginColumnGroup(e,t,n,r,i){t===void 0&&(t={}),n===void 0&&(n=!1),r===void 0&&(r=0),i===void 0&&(i=null),this.snapshots.push({x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,page:this.page,bottomByPage:t||{},bottomMost:{x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,page:this.page},lastColumnWidth:this.lastColumnWidth,snakingColumns:n,gap:r,columnWidths:i}),this.lastColumnWidth=0,e&&(this.marginXTopParent=e)}updateBottomByPage(){let e=this.snapshots[this.snapshots.length-1];if(!e)return;let t=this.page,n=-Number.MIN_VALUE;e.bottomByPage&&e.bottomByPage[t]&&(n=e.bottomByPage[t]),e.bottomByPage&&(e.bottomByPage[t]=Math.max(n,this.y))}resetMarginXTopParent(){this.marginXTopParent=null}getSnakingSnapshot(){for(let e=this.snapshots.length-1;e>=0;e--)if(this.snapshots[e].snakingColumns)return this.snapshots[e];return null}inSnakingColumns(){return!!this.getSnakingSnapshot()}isInNestedNonSnakingGroup(){for(let e=this.snapshots.length-1;e>=0;e--){let t=this.snapshots[e];if(t.snakingColumns)return!1;if(!t.overflowed)return!0}return!1}beginColumn(e,t,n){let r=this.snapshots[this.snapshots.length-1];if(r&&r.overflowed){for(let e=this.snapshots.length-1;e>=0;e--)if(!this.snapshots[e].overflowed){r=this.snapshots[e];break}}this.calculateBottomMost(r,n),this.page=r.page,this.x=this.x+this.lastColumnWidth+(t||0),this.y=r.y,this.availableWidth=e,this.availableHeight=r.availableHeight,this.lastColumnWidth=e}calculateBottomMost(e,t){t?this.saveContextInEndingCell(t):e.bottomMost=Qe(this,e.bottomMost)}markEnding(e,t,n){this.page=e._columnEndingContext.page,this.x=e._columnEndingContext.x+t,this.y=e._columnEndingContext.y-n,this.availableWidth=e._columnEndingContext.availableWidth,this.availableHeight=e._columnEndingContext.availableHeight,this.lastColumnWidth=e._columnEndingContext.lastColumnWidth}saveContextInEndingCell(e){e._columnEndingContext={page:this.page,x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,lastColumnWidth:this.lastColumnWidth}}completeColumnGroup(e,t){let n=this.snapshots.pop(),r=this.y,i=this.page,a=this.availableHeight,o=n.overflowed;for(;n&&n.overflowed;){let e=Qe({page:i,y:r,availableHeight:a},n.bottomMost||{});i=e.page,r=e.y,a=e.availableHeight,n=this.snapshots.pop()}if(!n)return{};o&&(i>n.bottomMost.page||i===n.bottomMost.page&&r>n.bottomMost.y)&&(n.bottomMost={x:n.x,y:r,page:i,availableHeight:a,availableWidth:n.availableWidth}),this.calculateBottomMost(n,t),this.x=n.x;let s=n.bottomMost.y;return e&&(n.page===n.bottomMost.page?n.y+e>s&&(s=n.y+e):s+=e),this.y=s,this.page=n.bottomMost.page,this.availableWidth=n.availableWidth,this.availableHeight=n.bottomMost.availableHeight,e&&(this.availableHeight-=s-n.bottomMost.y),this.height=e&&n.bottomMost.y-n.y<e?e:n.bottomMost.y-n.y,this.lastColumnWidth=n.lastColumnWidth,n.bottomByPage}moveToNextColumn(){let e=this.y,t=this.getSnakingSnapshot();if(!t)return{prevY:e,y:this.y};this.calculateBottomMost(t,null);let n=0;for(let e=this.snapshots.length-1;e>=0&&this.snapshots[e].overflowed;e--)n++;let r=t.columnWidths&&t.columnWidths[n]||this.lastColumnWidth||this.availableWidth,i=t.columnWidths&&t.columnWidths[n+1]||r;this.lastColumnWidth=i;let a=this.x+(r||0)+(t.gap||0),o=t.y;this.snapshots.push({x:a,y:o,availableHeight:t.availableHeight,availableWidth:i,page:this.page,overflowed:!0,bottomMost:{x:a,y:o,availableHeight:t.availableHeight,availableWidth:i,page:this.page},lastColumnWidth:i,snakingColumns:!0,gap:t.gap,columnWidths:t.columnWidths}),this.x=a,this.y=o,this.availableHeight=t.availableHeight,this.availableWidth=i;for(let e=this.snapshots.length-2;e>=0;e--){let n=this.snapshots[e];if(n.overflowed||n.snakingColumns)break;n.x=a,n.y=o,n.page=this.page,n.availableHeight=t.availableHeight,n.bottomMost&&(n.bottomMost.x=a,n.bottomMost.y=o,n.bottomMost.page=this.page,n.bottomMost.availableHeight=t.availableHeight)}return{prevY:e,y:this.y}}resetSnakingColumnsForNewPage(){let e=this.getSnakingSnapshot();if(!e)return;let t=this.pageMargins.top,n=this.getCurrentPage().pageSize.height-this.pageMargins.top-this.pageMargins.bottom,r=e.columnWidths?e.columnWidths[0]:this.lastColumnWidth||this.availableWidth;for(;this.snapshots.length>1&&this.snapshots[this.snapshots.length-1].overflowed;)this.snapshots.pop();this.x=this.marginXTopParent?this.pageMargins.left+this.marginXTopParent[0]:this.pageMargins.left,this.availableWidth=r,this.lastColumnWidth=r;for(let e=0;e<this.snapshots.length;e++){let r=this.snapshots[e],i=!!r.snakingColumns;r.x=this.x,r.y=i?t:this.y,r.availableHeight=i?n:this.availableHeight,r.page=this.page,r.bottomMost&&(r.bottomMost.x=this.x,r.bottomMost.y=i?t:this.y,r.bottomMost.availableHeight=i?n:this.availableHeight,r.bottomMost.page=this.page)}}addMargin(e,t){this.x+=e,this.availableWidth-=e+(t||0)}moveDown(e){return this.y+=e,this.availableHeight-=e,this.availableHeight>0}initializePage(){this.y=this.pageMargins.top,this.availableHeight=this.getCurrentPage().pageSize.height-this.pageMargins.top-this.pageMargins.bottom;let e=this.pageSnapshot(),t=e.pageCtx,n=e.isSnapshot;t.availableWidth=this.getCurrentPage().pageSize.width-this.pageMargins.left-this.pageMargins.right,n&&this.marginXTopParent&&(t.availableWidth-=this.marginXTopParent[0],t.availableWidth-=this.marginXTopParent[1])}pageSnapshot(){return this.snapshots[0]?{pageCtx:this.snapshots[0],isSnapshot:!0}:{pageCtx:this,isSnapshot:!1}}moveTo(e,t){e!=null&&(this.x=e,this.availableWidth=this.getCurrentPage().pageSize.width-this.x-this.pageMargins.right),t!=null&&(this.y=t,this.availableHeight=this.getCurrentPage().pageSize.height-this.y-this.pageMargins.bottom)}moveToRelative(e,t){e!=null&&(this.x+=e),t!=null&&(this.y+=t)}beginDetachedBlock(){this.snapshots.push({x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,page:this.page,lastColumnWidth:this.lastColumnWidth})}endDetachedBlock(){let e=this.snapshots.pop();this.x=e.x,this.y=e.y,this.availableWidth=e.availableWidth,this.availableHeight=e.availableHeight,this.page=e.page,this.lastColumnWidth=e.lastColumnWidth}moveToNextPage(e){let t=this.page+1,n=this.page,r=this.y;if(this.snapshots.length>0){let e=this.snapshots[this.snapshots.length-1];e.bottomMost&&e.bottomMost.y&&(r=Math.max(this.y,e.bottomMost.y))}let i=t>=this.pages.length;if(i){let t=this.availableWidth,n=this.getCurrentPage().pageSize.orientation,r=Ze(this.getCurrentPage(),e);this.addPage(r,null,this.getCurrentPage().customProperties),n===r.orientation&&(this.availableWidth=t)}else this.page=t,this.initializePage();return{newPageCreated:i,prevPage:n,prevY:r,y:this.y}}addPage(e,t,n){t===void 0&&(t=null),n===void 0&&(n={}),t!==null&&(this.pageMargins=t,this.x=t.left,this.availableWidth=e.width-t.left-t.right);let r={items:[],pageSize:e,pageMargins:this.pageMargins,customProperties:n};return this.pages.push(r),this.backgroundLength.push(0),this.page=this.pages.length-1,this.initializePage(),this.emit(`pageAdded`,r),r}getCurrentPage(){return this.page<0||this.page>=this.pages.length?null:this.pages[this.page]}getCurrentPosition(){let e=this.getCurrentPage().pageSize,t=e.height-this.pageMargins.top-this.pageMargins.bottom,n=e.width-this.pageMargins.left-this.pageMargins.right;return{pageNumber:this.page+1,pageOrientation:e.orientation,pageInnerHeight:t,pageInnerWidth:n,left:this.x,top:this.y,verticalRatio:(this.y-this.pageMargins.top)/t,horizontalRatio:(this.x-this.pageMargins.left)/n}}}function Xe(e,t){return e===void 0?t:i(e)&&e.toLowerCase()===`landscape`?`landscape`:`portrait`}let Ze=(e,t)=>(t=Xe(t,e.pageSize.orientation),t===e.pageSize.orientation?{orientation:e.pageSize.orientation,width:e.pageSize.width,height:e.pageSize.height}:{orientation:t,width:e.pageSize.height,height:e.pageSize.width});function Qe(e,t){let n;return n=e.page>t.page?e:t.page>e.page?t:e.y>t.y?e:t,{page:n.page,x:n.x,y:n.y,availableHeight:n.availableHeight,availableWidth:n.availableWidth}}let $e=Ye;class et extends Je.EventEmitter{constructor(e){super(),this._context=e,this.contextStack=[]}context(){return this._context}addLine(e,t,n){let r=e.getHeight(),i=this.context(),a=i.getCurrentPage(),o=this.getCurrentPositionOnPage();return i.availableHeight<r||!a?!1:(e.x=i.x+(e.x||0),e.y=i.y+(e.y||0),this.alignLine(e),tt(a,{type:`line`,item:e},n),this.emit(`lineAdded`,e),t||i.moveDown(r),o)}alignLine(e){let t=this.context().availableWidth,n=e.getWidth(),r=e.inlines&&e.inlines.length>0&&e.inlines[0].alignment,i=0;switch(r){case`right`:i=t-n;break;case`center`:i=(t-n)/2}if(i&&(e.x=(e.x||0)+i),r===`justify`&&!e.newLineForced&&!e.lastLineInParagraph&&e.inlines.length>1){let r=(t-n)/(e.inlines.length-1);for(let t=1,n=e.inlines.length;t<n;t++)i=t*r,e.inlines[t].x+=i,e.inlines[t].justifyShift=r}}addImage(e,t){let n=this.context(),r=n.getCurrentPage(),i=this.getCurrentPositionOnPage();return!r||e.absolutePosition===void 0&&n.availableHeight<e._height&&r.items.length>0?!1:(e._x===void 0&&(e._x=e.x||0),e.x=n.x+e._x,e.y=n.y,this.alignImage(e),tt(r,{type:`image`,item:e},t),n.moveDown(e._height),i)}addCanvas(e,t){let n=this.context(),r=n.getCurrentPage(),i=[],a=e._minHeight;return!r||e.absolutePosition===void 0&&n.availableHeight<a?!1:(this.alignCanvas(e),e.canvas.forEach(function(e){let n=this.addVector(e,!1,!1,t);i.push(n),t!==void 0&&t++},this),n.moveDown(a),i)}addSVG(e,t){let n=this.context(),r=n.getCurrentPage(),i=this.getCurrentPositionOnPage();return!r||e.absolutePosition===void 0&&n.availableHeight<e._height&&r.items.length>0?!1:(e._x===void 0&&(e._x=e.x||0),e.x=n.x+e._x,e.y=n.y,this.alignImage(e),tt(r,{type:`svg`,item:e},t),n.moveDown(e._height),i)}addQr(e,t){let n=this.context(),r=n.getCurrentPage(),i=this.getCurrentPositionOnPage();if(!r||e.absolutePosition===void 0&&n.availableHeight<e._height)return!1;e._x===void 0&&(e._x=e.x||0),e.x=n.x+e._x,e.y=n.y,this.alignImage(e);for(let n=0,r=e._canvas.length;n<r;n++){let r=e._canvas[n];r.x+=e.x,r.y+=e.y,this.addVector(r,!0,!0,t)}return n.moveDown(e._height),i}addAttachment(e,t){let n=this.context(),r=n.getCurrentPage(),i=this.getCurrentPositionOnPage();return!r||e.absolutePosition===void 0&&n.availableHeight<e._height&&r.items.length>0?!1:(e._x===void 0&&(e._x=e.x||0),e.x=n.x+e._x,e.y=n.y,tt(r,{type:`attachment`,item:e},t),n.moveDown(e._height),i)}alignImage(e){let t=this.context().availableWidth,n=e._minWidth,r=0;switch(e._alignment){case`right`:r=t-n;break;case`center`:r=(t-n)/2}r&&(e.x=(e.x||0)+r)}alignCanvas(e){let t=this.context().availableWidth,n=e._minWidth,r=0;switch(e._alignment){case`right`:r=t-n;break;case`center`:r=(t-n)/2}r&&e.canvas.forEach(e=>{H(e,r,0)})}addVector(e,t,n,r,i){let o=this.context(),s=o.getCurrentPage();a(i)&&(s=o.pages[i]);let c=this.getCurrentPositionOnPage();if(s)return H(e,t?0:o.x,n?0:o.y),tt(s,{type:`vector`,item:e},r),c}beginClip(e,t){let n=this.context();return n.getCurrentPage().items.push({type:`beginClip`,item:{x:n.x,y:n.y,width:e,height:t}}),!0}endClip(){return this.context().getCurrentPage().items.push({type:`endClip`}),!0}beginVerticalAlignment(e){let t=this.context().getCurrentPage(),n={type:`beginVerticalAlignment`,item:{verticalAlignment:e}};return t.items.push(n),n}endVerticalAlignment(e){let t=this.context().getCurrentPage(),n={type:`endVerticalAlignment`,item:{verticalAlignment:e}};return t.items.push(n),n}addFragment(e,t,n,r){let i=this.context(),a=i.getCurrentPage();return!t&&e.height>i.availableHeight?!1:(e.items.forEach(r=>{switch(r.type){case`line`:var o=r.item.clone();o._node&&(o._node.positions[0].pageNumber=i.page+1),o.x=(o.x||0)+(t?e.xOffset||0:i.x),o.y=(o.y||0)+(n?e.yOffset||0:i.y),a.items.push({type:`line`,item:o});break;case`vector`:var s=ce(r.item);if(H(s,t?e.xOffset||0:i.x,n?e.yOffset||0:i.y),s._isFillColorFromUnbreakable){delete s._isFillColorFromUnbreakable;let e=i.backgroundLength[i.page];a.items.splice(e,0,{type:`vector`,item:s})}else a.items.push({type:`vector`,item:s});break;case`image`:case`svg`:case`beginClip`:case`endClip`:case`beginVerticalAlignment`:case`endVerticalAlignment`:var c=ce(r.item);c.x=(c.x||0)+(t?e.xOffset||0:i.x),c.y=(c.y||0)+(n?e.yOffset||0:i.y),a.items.push({type:r.type,item:c})}}),r||i.moveDown(e.height),!0)}pushContext(e,t){if(e===void 0&&(t=this.context().getCurrentPage().height-this.context().pageMargins.top-this.context().pageMargins.bottom,e=this.context().availableWidth),a(e)){let n=e;e=new $e,e.addPage({width:n,height:t},{left:0,right:0,top:0,bottom:0})}this.contextStack.push(this.context()),this._context=e}popContext(){this._context=this.contextStack.pop()}getCurrentPositionOnPage(){return(this.contextStack[0]||this.context()).getCurrentPosition()}}function tt(e,t,n){n==null||n<0||n>e.items.length?e.items.push(t):e.items.splice(n,0,t)}let nt=et,rt={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]};function it(e,t){function n(e){return i(e)?(e=e.toLowerCase(),e===`portrait`&&a.width>a.height||e===`landscape`&&a.width<a.height):!1}function r(e){if(i(e)){let t=rt[e.toUpperCase()];if(!t)throw Error(`Page size ${e} not recognized`);return{width:t[0],height:t[1]}}return e}e&&e.height===`auto`&&(e.height=1/0);let a=r(e||`A4`);return n(t)&&(a={width:a.height,height:a.width}),a.orientation=a.width>a.height?`landscape`:`portrait`,a}function at(e){if(a(e))e={left:e,right:e,top:e,bottom:e};else if(Array.isArray(e)){if(e.length===2)e={left:e[0],top:e[1],right:e[0],bottom:e[1]};else if(e.length===4)e={left:e[0],top:e[1],right:e[2],bottom:e[3]};else throw Error(`Invalid pageMargins definition`)}return e}class ot extends nt{constructor(e){super(e),this.transactionLevel=0,this.repeatables=[]}addLine(e,t,n){return this._fitOnPage(()=>super.addLine(e,t,n))}addImage(e,t){return this._fitOnPage(()=>super.addImage(e,t))}addCanvas(e,t){return this._fitOnPage(()=>super.addCanvas(e,t))}addSVG(e,t){return this._fitOnPage(()=>super.addSVG(e,t))}addQr(e,t){return this._fitOnPage(()=>super.addQr(e,t))}addAttachment(e,t){return this._fitOnPage(()=>super.addAttachment(e,t))}addVector(e,t,n,r,i){return super.addVector(e,t,n,r,i)}beginClip(e,t){return super.beginClip(e,t)}endClip(){return super.endClip()}beginVerticalAlignment(e){return super.beginVerticalAlignment(e)}endVerticalAlignment(e){return super.endVerticalAlignment(e)}addFragment(e,t,n,r){return this._fitOnPage(()=>super.addFragment(e,t,n,r))}moveToNextPage(e){let t=this.context().moveToNextPage(e);this.repeatables.forEach(function(e){e.insertedOnPages[this.context().page]===void 0?(e.insertedOnPages[this.context().page]=!0,this.addFragment(e,!0)):this.context().moveDown(e.height)},this),this.emit(`pageChanged`,{prevPage:t.prevPage,prevY:t.prevY,y:this.context().y})}addPage(e,t,n,r){r===void 0&&(r={});let i=this.page,a=this.y;this.context().addPage(it(e,t),at(n),r),this.emit(`pageChanged`,{prevPage:i,prevY:a,y:this.context().y})}beginUnbreakableBlock(e,t){this.transactionLevel++===0&&(this.originalX=this.context().x,this.pushContext(e,t))}commitUnbreakableBlock(e,t){if(--this.transactionLevel===0){let n=this.context();this.popContext();let r=n.pages.length;if(r>0){let i=n.pages[0];if(i.xOffset=e,i.yOffset=t,r>1){if(e!==void 0||t!==void 0)i.height=n.getCurrentPage().pageSize.height-n.pageMargins.top-n.pageMargins.bottom;else{i.height=this.context().getCurrentPage().pageSize.height-this.context().pageMargins.top-this.context().pageMargins.bottom;for(let e=0,t=this.repeatables.length;e<t;e++)i.height-=this.repeatables[e].height}}else i.height=n.y;e!==void 0||t!==void 0?super.addFragment(i,!0,!0,!0):this.addFragment(i)}}}currentBlockToRepeatable(){let e=this.context(),t={items:[]};return e.pages[0].items.forEach(e=>{t.items.push(e)}),t.xOffset=this.originalX,t.height=e.y,t.insertedOnPages=[],t}pushToRepeatables(e){this.repeatables.push(e)}popFromRepeatables(){this.repeatables.pop()}moveToNextColumn(){let e=this.context().moveToNextColumn();this.repeatables.forEach(function(e){this.addFragment(e,!1)},this),this.emit(`columnChanged`,{prevY:e.prevY,y:this.context().y})}canMoveToNextColumn(){let e=this.context(),t=e.getSnakingSnapshot();if(t){for(let t=e.snapshots.length-1;t>=0;t--){let n=e.snapshots[t];if(n.snakingColumns)break;if(!n.overflowed)return!1}let n=0;for(let t=e.snapshots.length-1;t>=0&&e.snapshots[t].overflowed;t--)n++;if(t.columnWidths&&n>=t.columnWidths.length-1)return!1;let r=e.availableWidth||e.lastColumnWidth||0,i=t.columnWidths?t.columnWidths[n+1]:r,a=e.x+r+(t.gap||0),o=e.getCurrentPage(),s=o.pageSize.width,c=o.pageMargins?o.pageMargins.right:0,l=e.marginXTopParent?e.marginXTopParent[1]:0,u=s-c-l;return a+i<=u+1}return!1}_fitOnPage(e){let t=e();if(!t&&(this.canMoveToNextColumn()&&(this.moveToNextColumn(),t=e()),!t)){let n=this.context();if(n.getSnakingSnapshot()){if(n.isInNestedNonSnakingGroup())this.moveToNextPage();else{this.moveToNextPage();let e=n.lastColumnWidth;n.resetSnakingColumnsForNewPage(),n.lastColumnWidth=e}t=e()}else{for(;n.snapshots.length>0&&n.snapshots[n.snapshots.length-1].overflowed;){let e=n.snapshots.pop(),t=n.snapshots[n.snapshots.length-1];t&&(n.x=t.x,n.y=t.y,n.availableHeight=t.availableHeight,n.availableWidth=e.availableWidth,n.lastColumnWidth=t.lastColumnWidth)}this.moveToNextPage(),t=e()}}return t}}let st=ot,ct=new Set([`before`,`beforeOdd`,`beforeEven`,`after`,`afterOdd`,`afterEven`]),lt=e=>!e||typeof e!=`object`?!1:ct.has(e.pageBreak);class ut{constructor(e){this.tableNode=e,this._isCurrentRowUnbreakable=!1}beginTable(e){let t=()=>{let e=0;return i.table.widths.forEach(t=>{e+=t._calcWidth}),e},n=()=>{let e=[],t=0,n;e.push({left:0,rowSpan:0});for(let r=0,i=this.tableNode.table.body[0].length;r<i;r++)n=this.layout.paddingLeft(r,this.tableNode)+this.layout.paddingRight(r,this.tableNode)+this.layout.vLineWidth(r,this.tableNode)+this.tableNode.table.widths[r]._calcWidth,e[e.length-1].width=n,t+=n,e.push({left:t,rowSpan:0,width:0});return e},r=e=>{for(let n=0;n<e.length;n++){let r=e[n];for(let e=0;e<r.length;e++){let i=r[e];if(i.border){let r=i.rowSpan||1,a=i.colSpan||1;for(let o=0;o<r;o++)i.border[0]!==void 0&&o>0&&t(n+o,e,0,i.border[0]),i.border[2]!==void 0&&t(n+o,e+a-1,2,i.border[2]);for(let o=0;o<a;o++)i.border[1]!==void 0&&o>0&&t(n,e+o,1,i.border[1]),i.border[3]!==void 0&&t(n+r-1,e+o,3,i.border[3])}}}function t(t,n,r,i){let a=e[t][n];a.border=a.border||{},a.border[r]=i}},i,a;i=this.tableNode,this.offsets=i._offsets,this.layout=i._layout,a=e.context().availableWidth-this.offsets.total,ae.buildColumnWidths(i.table.widths,a,this.offsets.total,i),this.tableWidth=i._offsets.total+t(),this.rowSpanData=n(),this.cleanUpRepeatables=!1,this.headerRows=0,this.rowsWithoutPageBreak=0;let s=i.table.headerRows;if(o(s)){if(this.headerRows=s,this.headerRows>i.table.body.length)throw Error(`Too few rows in the table. Property headerRows requires at least ${this.headerRows}, contains only ${i.table.body.length}`);this.rowsWithoutPageBreak=this.headerRows;let e=i.table.keepWithHeaderRows;o(e)&&(this.rowsWithoutPageBreak+=e)}this.dontBreakRows=i.table.dontBreakRows||!1,(this.rowsWithoutPageBreak||this.dontBreakRows)&&(e.beginUnbreakableBlock(),this.drawHorizontalLine(0,e),this.rowsWithoutPageBreak&&this.dontBreakRows&&e.beginUnbreakableBlock()),r(this.tableNode.table.body)}onRowBreak(e,t){return()=>{let e=this.rowPaddingTop+(this.headerRows?0:this.topLineWidth);t.context().availableHeight-=this.reservedAtBottom,t.context().moveDown(e)}}beginRow(e,t){this.topLineWidth=this.layout.hLineWidth(e,this.tableNode),this.rowPaddingTop=this.layout.paddingTop(e,this.tableNode),this.bottomLineWidth=this.layout.hLineWidth(e+1,this.tableNode),this.rowPaddingBottom=this.layout.paddingBottom(e,this.tableNode),this.rowCallback=this.onRowBreak(e,t),t.addListener(`pageChanged`,this.rowCallback),e==0&&!this.dontBreakRows&&!this.rowsWithoutPageBreak&&(this._tableTopBorderY=t.context().y,t.context().moveDown(this.topLineWidth)),this.rowTopPageY=t.context().y+this.rowPaddingTop;let n=(this.tableNode.table.body[e]||[]).some(lt);this._isCurrentRowUnbreakable=this.dontBreakRows&&e>0&&!n,this._isCurrentRowUnbreakable&&t.beginUnbreakableBlock(),this.rowTopY=t.context().y,this.reservedAtBottom=this.bottomLineWidth+this.rowPaddingBottom,t.context().availableHeight-=this.reservedAtBottom,t.context().moveDown(this.rowPaddingTop)}drawHorizontalLine(e,t,n,r,i){r===void 0&&(r=!0);let o=this.layout.hLineWidth(e,this.tableNode);if(o){let u=this.layout.hLineStyle(e,this.tableNode),d;u&&u.dash&&(d=u.dash);let f=o/2,p=null,m=this.tableNode.table.body,h,g,_;for(let r=0,u=this.rowSpanData.length;r<u;r++){let v=this.rowSpanData[r],y=!v.rowSpan,b=null;if(y&&r<u-1){var s=!1,c=!1,l=!1;e>0&&(h=m[e-1][r],c=h.border?h.border[3]:this.layout.defaultBorder,c&&h.borderColor&&(b=h.borderColor[3])),e<m.length&&(g=m[e][r],s=g.border?g.border[1]:this.layout.defaultBorder,s&&b==null&&g.borderColor&&(b=g.borderColor[1])),y=s||c}if(h&&h._rowSpanCurrentOffset&&(_=m[e-1-h._rowSpanCurrentOffset][r],l=_&&_.border?_.border[3]:this.layout.defaultBorder,l&&_&&_.borderColor&&(b=_.borderColor[3])),b??=typeof this.layout.hLineColor==`function`?this.layout.hLineColor(e,this.tableNode,r):this.layout.hLineColor,!p&&y&&(p={left:v.left,width:0}),y){let e=0;if(_&&_.colSpan&&l){for(;_.colSpan>e;)p.width+=this.rowSpanData[r+e++].width||0;r+=e-1}else if(h&&h.colSpan&&c){for(;h.colSpan>e;)p.width+=this.rowSpanData[r+e++].width||0;r+=e-1}else if(g&&g.colSpan&&s){for(;g.colSpan>e;)p.width+=this.rowSpanData[r+e++].width||0;r+=e-1}else p.width+=this.rowSpanData[r].width||0}let x=(n||0)+f;y&&p&&p.width&&(t.addVector({type:`line`,x1:p.left,x2:p.left+p.width,y1:x,y2:x,lineWidth:o,dash:d,lineColor:b},!1,a(n),null,i),p=null,h=null,g=null,_=null)}r&&t.context().moveDown(o)}}drawVerticalLine(e,t,n,r,i,a,o){let s=this.layout.vLineWidth(r,this.tableNode);if(s===0)return;let c=this.layout.vLineStyle(r,this.tableNode),l;c&&c.dash&&(l=c.dash);let u=this.tableNode.table.body,d,f,p;if(r>0&&(d=u[a][o],d&&d.borderColor&&(d.border?d.border[2]:this.layout.defaultBorder)&&(p=d.borderColor[2])),p==null&&r<u.length&&(f=u[a][r],f&&f.borderColor&&(f.border?f.border[0]:this.layout.defaultBorder)&&(p=f.borderColor[0])),p==null&&d&&d._rowSpanCurrentOffset){let e=u[a-d._rowSpanCurrentOffset][o];e.borderColor&&(e.border?e.border[2]:this.layout.defaultBorder)&&(p=e.borderColor[2])}if(p==null&&f&&f._rowSpanCurrentOffset){let e=u[a-f._rowSpanCurrentOffset][r];e.borderColor&&(e.border?e.border[2]:this.layout.defaultBorder)&&(p=e.borderColor[2])}p??=typeof this.layout.vLineColor==`function`?this.layout.vLineColor(r,this.tableNode,a):this.layout.vLineColor,i.addVector({type:`line`,x1:e+s/2,x2:e+s/2,y1:t,y2:n,lineWidth:s,dash:l,lineColor:p},!1,!0)}endTable(e){this.cleanUpRepeatables&&e.popFromRepeatables()}endRow(e,t,n){let r=()=>{let t=[],n=0;for(let r=0,i=this.tableNode.table.body[e].length;r<i;r++){if(!n){t.push({x:this.rowSpanData[r].left,index:r});let i=this.tableNode.table.body[e][r];n=i._colSpan||i.colSpan||0}n>0&&n--}return t.push({x:this.rowSpanData[this.rowSpanData.length-1].left,index:this.rowSpanData.length-1}),t};t.removeListener(`pageChanged`,this.rowCallback),t.context().moveDown(this.layout.paddingBottom(e,this.tableNode)),t.context().availableHeight+=this.reservedAtBottom;let i=t.context().page,o=t.context().y,s=r(),c=[],l=n&&n.length>0,u=this.tableNode.table.body;if(c.push({y0:this.rowTopY,page:l?n[0].prevPage:i}),l)for(let e=0,t=n.length;e<t;e++){let t=n[e];c[c.length-1].y1=t.prevY,c.push({y0:t.y,page:t.prevPage+1})}c[c.length-1].y1=o;let d=c[0].y1-c[0].y0===this.rowPaddingTop;if(e===0&&!d&&!this.rowsWithoutPageBreak&&!this.dontBreakRows){let e=null;n&&n.length>0&&(e=n[0].prevPage),this.drawHorizontalLine(0,t,this._tableTopBorderY,!1,e)}for(let n=+!!d,r=c.length;n<r;n++){let r=n<c.length-1,i=n>0&&!this.headerRows,o=i?0:this.topLineWidth,l=c[n].y0,d=c[n].y1;r&&(d+=this.rowPaddingBottom),t.context().page!=c[n].page&&(t.context().page=c[n].page,this.reservedAtBottom=0),r&&this.layout.hLineWhenBroken!==!1&&this.drawHorizontalLine(e+1,t,d),i&&this.layout.hLineWhenBroken!==!1&&this.drawHorizontalLine(e,t,l);for(let i=0,g=s.length;i<g;i++){let _=!1,v=!1,y=s[i].index;if(y<u[e].length){let t=u[e][y];_=t.border?t.border[0]:this.layout.defaultBorder,v=t.border?t.border[2]:this.layout.defaultBorder}if(y>0&&!_){let t=u[e][y-1];_=t.border?t.border[2]:this.layout.defaultBorder}if(y+1<u[e].length&&!v){let t=u[e][y+1];v=t.border?t.border[0]:this.layout.defaultBorder}if(_&&this.drawVerticalLine(s[i].x,l-o,d+this.bottomLineWidth,s[i].index,t,e,s[i-1]?s[i-1].index:null),i<g-1){if(u[e][y]._willBreak=u[e][y]._willBreak??r,u[e][y]._bottomY===void 0){let t=this.dontBreakRows?d+this.bottomLineWidth:d+this.bottomLineWidth/2;(r||this.dontBreakRows)&&(t-=this.rowPaddingBottom),u[e][y]._bottomY=t-this.reservedAtBottom}u[e][y]._rowTopPageY=this.rowTopPageY,this.dontBreakRows&&(u[e][y]._rowTopPageYPadding=this.rowPaddingTop),u[e][y]._lastPageNumber=c[n].page+1;let g=u[e][y].fillColor,b=u[e][y].fillOpacity;g||=typeof this.layout.fillColor==`function`?this.layout.fillColor(e,this.tableNode,y):this.layout.fillColor,a(b)||(b=typeof this.layout.fillOpacity==`function`?this.layout.fillOpacity(e,this.tableNode,y):this.layout.fillOpacity);var f=u[e][y].overlayPattern,p=u[e][y].overlayOpacity;if(g||f){let n=_?this.layout.vLineWidth(y,this.tableNode):0,r;r=(y===0||y+1==u[e].length)&&!v?this.layout.vLineWidth(y+1,this.tableNode):v?this.layout.vLineWidth(y+1,this.tableNode)/2:0;let a=this.dontBreakRows?s[i].x+n:s[i].x+n/2,c=this.dontBreakRows?l:l-o/2,x=s[i+1].x+r,S=this.dontBreakRows?d+this.bottomLineWidth:d+this.bottomLineWidth/2;var m=x-a,h=S-c;g&&t.addVector({type:`rect`,x:a,y:c,w:m,h,lineWidth:0,color:g,fillOpacity:b,_isFillColorFromUnbreakable:!!t.transactionLevel},!1,!0,t.context().backgroundLength[t.context().page]),f&&t.addVector({type:`rect`,x:a,y:c,w:m,h,lineWidth:0,color:f,fillOpacity:p},!1,!0)}}}}t.context().page=i,t.context().y=o;let g=this.tableNode.table.body[e];for(let t=0,n=g.length;t<n;t++){if(g[t].rowSpan){if(this.rowSpanData[t].rowSpan=g[t].rowSpan,g[t].colSpan&&g[t].colSpan>1)for(let n=1;n<g[t].rowSpan;n++)this.tableNode.table.body[e+n][t]._colSpan=g[t].colSpan;if(g[t].rowSpan&&g[t].rowSpan>1)for(let n=1;n<g[t].rowSpan;n++)this.tableNode.table.body[e+n][t]._rowSpanCurrentOffset=n}this.rowSpanData[t].rowSpan>0&&this.rowSpanData[t].rowSpan--}if(this.drawHorizontalLine(e+1,t),this.headerRows&&e===this.headerRows-1&&(this.headerRepeatable=t.currentBlockToRepeatable()),this.dontBreakRows&&(e===0||this._isCurrentRowUnbreakable)){let n=()=>{e>0&&!this.headerRows&&this.layout.hLineWhenBroken!==!1&&this.drawHorizontalLine(e,t)};t.addListener(`pageChanged`,n),t.commitUnbreakableBlock(),t.removeListener(`pageChanged`,n)}this._isCurrentRowUnbreakable=!1,this.headerRepeatable&&(e===this.rowsWithoutPageBreak-1||e===this.tableNode.table.body.length-1)&&(t.commitUnbreakableBlock(),t.pushToRepeatables(this.headerRepeatable),this.cleanUpRepeatables=!0,this.headerRepeatable=null)}}let dt=ut;class ft{constructor(e){this.maxWidth=e,this.leadingCut=0,this.trailingCut=0,this.inlineWidths=0,this.inlines=[]}addInline(e){this.inlines.length===0&&(this.leadingCut=e.leadingCut||0),this.trailingCut=e.trailingCut||0,e.x=this.inlineWidths-this.leadingCut,this.inlines.push(e),this.inlineWidths+=e.width,e.lineEnd&&(this.newLineForced=!0)}getHeight(){let e=0;return this.inlines.forEach(t=>{e=Math.max(e,t.height||0)}),e}getAscenderHeight(){let e=0;return this.inlines.forEach(t=>{e=Math.max(e,t.font.ascender/1e3*t.fontSize)}),e}getWidth(){return this.inlineWidths-this.leadingCut-this.trailingCut}getAvailableWidth(){return this.maxWidth-this.getWidth()}hasEnoughSpaceForInline(e,t){if(t===void 0&&(t=[]),this.inlines.length===0)return!0;if(this.newLineForced)return!1;let n=e.width,r=e.trailingCut||0;if(e.noNewLine)for(let e=0,i=t.length;e<i;e++){let i=t[e];if(n+=i.width,r+=i.trailingCut||0,!i.noNewLine)break}return this.inlineWidths+n-this.leadingCut-r<=this.maxWidth}clone(){let e=new ft(this.maxWidth);for(let t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e}}let pt=ft;function mt(e,t){t.forEach(t=>{e.push(t)})}class ht{constructor(e,t,n){this.pageSize=e,this.pageMargins=t,this.svgMeasure=n,this.tableLayouts={},this.nestedLevel=0,this.verticalAlignmentItemStack=[]}registerTableLayouts(e){this.tableLayouts=ce(this.tableLayouts,e)}layoutDocument(e,t,n,r,i,a,o,s,c){function l(e,t){if(typeof c!=`function`)return!1;e=e.filter(e=>!(!e||e.positions.length===0||e.text===``&&!e.listMarker)),e.forEach(e=>{let n={};[`id`,`text`,`ul`,`ol`,`table`,`image`,`qr`,`canvas`,`svg`,`columns`,`headlineLevel`,`style`,`pageBreak`,`pageOrientation`,`width`,`height`].forEach(t=>{e[t]!==void 0&&(n[t]=e[t])}),n.startPosition=e.positions[0],n.pageNumbers=Array.from(new Set(e.positions.map(e=>e.pageNumber))),n.pages=t.length,n.stack=Array.isArray(e.stack),e.nodeInfo=n});for(let t=0;t<e.length;t++){let n=e[t];if(n.pageBreak!==`before`&&!n.pageBreakCalculated){n.pageBreakCalculated=!0;let r=n.nodeInfo.pageNumbers[0];if(c(n.nodeInfo,{getFollowingNodesOnPage:()=>{let n=[];for(let i=t+1,a=e.length;i<a;i++)e[i].nodeInfo.pageNumbers.indexOf(r)>-1&&n.push(e[i].nodeInfo);return n},getNodesOnNextPage:()=>{let n=[];for(let i=t+1,a=e.length;i<a;i++)e[i].nodeInfo.pageNumbers.indexOf(r+1)>-1&&n.push(e[i].nodeInfo);return n},getPreviousNodesOnPage:()=>{let n=[];for(let i=0;i<t;i++)e[i].nodeInfo.pageNumbers.indexOf(r)>-1&&n.push(e[i].nodeInfo);return n}}))return n.pageBreak=`before`,!0}}return!1}this.docPreprocessor=new x,this.docMeasure=new qe(t,n,r,this.svgMeasure,this.tableLayouts);function u(e){e.linearNodeList.forEach(e=>{e.resetXY()})}let d=this.tryLayoutDocument(e,t,n,r,i,a,o,s);for(;l(d.linearNodeList,d.pages);)u(d),d=this.tryLayoutDocument(e,t,n,r,i,a,o,s);return d.pages}tryLayoutDocument(e,t,n,r,i,a,o,s){let c=e=>!(e.stack&&e.stack.length>0&&e.stack[0].section||e.section);return this.linearNodeList=[],e=this.docPreprocessor.preprocessDocument(e),e=this.docMeasure.measureDocument(e),this.writer=new st(new $e),this.writer.context().addListener(`pageAdded`,e=>{let t=i;(e.customProperties.background||e.customProperties.background===null)&&(t=e.customProperties.background),this.addBackground(t)}),c(e)&&this.writer.addPage(this.pageSize,null,this.pageMargins),this.processNode(e),this.addHeadersAndFooters(a,o),this.addWatermark(s,t,r),{pages:this.writer.context().pages,linearNodeList:this.linearNodeList}}addBackground(e){let t=typeof e==`function`?e:()=>e,n=this.writer.context(),r=n.getCurrentPage().pageSize,i=t(n.page+1,r);i&&(this.writer.beginUnbreakableBlock(r.width,r.height),i=this.docPreprocessor.preprocessBlock(i),this.processNode(this.docMeasure.measureBlock(i)),this.writer.commitUnbreakableBlock(0,0),n.backgroundLength[n.page]+=i.positions.length)}addDynamicRepeatable(e,t,n){let r=this.writer.context().pages;for(let i=0,a=r.length;i<a;i++){this.writer.context().page=i;let r=this.writer.context().getCurrentPage().customProperties,o=e;if((r[n]||r[n]===null)&&(o=r[n]),o==null)continue;let s=o(i+1,a,this.writer.context().pages[i].pageSize);if(s){let e=t(this.writer.context().getCurrentPage().pageSize,this.writer.context().getCurrentPage().pageMargins);this.writer.beginUnbreakableBlock(e.width,e.height),s=this.docPreprocessor.preprocessBlock(s),this.processNode(this.docMeasure.measureBlock(s)),this.writer.commitUnbreakableBlock(e.x,e.y)}}}addHeadersAndFooters(e,t){this.addDynamicRepeatable(e,(e,t)=>({x:0,y:0,width:e.width,height:t.top}),`header`),this.addDynamicRepeatable(t,(e,t)=>({x:0,y:e.height-t.bottom,width:e.width,height:t.bottom}),`footer`)}addWatermark(e,t,n){let r=this.writer.context().pages;for(let a=0,s=r.length;a<s;a++){let s=e;(r[a].customProperties.watermark||r[a].customProperties.watermark===null)&&(s=r[a].customProperties.watermark),s!=null&&(i(s)&&(s={text:s}),s.text&&(r[a].watermark=o({...s},r[a].pageSize,t,n)))}function o(e,t,n,r){e.font=e.font||r.font||`Roboto`,e.fontSize=e.fontSize||`auto`,e.color=e.color||`black`,e.opacity=a(e.opacity)?e.opacity:.6,e.bold=e.bold||!1,e.italics=e.italics||!1,e.angle=l(e.angle)?e.angle:null,e.angle===null&&(e.angle=Math.atan2(t.height,t.width)*-180/Math.PI),e.fontSize===`auto`&&(e.fontSize=c(t,e,n));let i={text:e.text,font:n.provideFont(e.font,e.bold,e.italics),fontSize:e.fontSize,color:e.color,opacity:e.opacity,angle:e.angle};return i._size=s(e,n),i}function s(e,t){let n=new te(t),r=new M(null,{font:e.font,bold:e.bold,italics:e.italics});return r.push({fontSize:e.fontSize}),{size:n.sizeOfText(e.text,r),rotatedSize:n.sizeOfRotatedText(e.text,e.angle,r)}}function c(e,t,n){let r=new te(n),i=new M(null,{font:t.font,bold:t.bold,italics:t.italics}),a,o=0,s=1e3,c=(o+s)/2;for(;Math.abs(o-s)>1;)i.push({fontSize:c}),a=r.sizeOfRotatedText(t.text,t.angle,i),a.width>e.width?(s=c,c=(o+s)/2):a.width<e.width&&(a.height>e.height?(s=c,c=(o+s)/2):(o=c,c=(o+s)/2)),i.pop();return c}}processNode(e,t){t===void 0&&(t=!1);let n=t=>{let n=e._margin;e.pageBreak===`before`?this.writer.moveToNextPage(e.pageOrientation):e.pageBreak===`beforeOdd`?(this.writer.moveToNextPage(e.pageOrientation),(this.writer.context().page+1)%2==1&&this.writer.moveToNextPage(e.pageOrientation)):e.pageBreak===`beforeEven`&&(this.writer.moveToNextPage(e.pageOrientation),(this.writer.context().page+1)%2==0&&this.writer.moveToNextPage(e.pageOrientation));let r=e.relativePosition||e.absolutePosition;if(n&&!r){let t=this.writer.context().availableHeight;t-n[1]<0?(this.writer.context().moveDown(t),this.writer.context().inSnakingColumns()&&!this.writer.context().isInNestedNonSnakingGroup()?this.snakingAwarePageBreak(e.pageOrientation):this.writer.moveToNextPage(e.pageOrientation)):this.writer.context().moveDown(n[1]),this.writer.context().addMargin(n[0],n[2])}if(t(),n&&!r){let t=this.writer.context().availableHeight;t-n[3]<0?(this.writer.context().moveDown(t),this.writer.context().inSnakingColumns()&&!this.writer.context().isInNestedNonSnakingGroup()?this.snakingAwarePageBreak(e.pageOrientation):this.writer.moveToNextPage(e.pageOrientation)):this.writer.context().moveDown(n[3]),this.writer.context().addMargin(-n[0],-n[2])}e.pageBreak===`after`?this.writer.moveToNextPage(e.pageOrientation):e.pageBreak===`afterOdd`?(this.writer.moveToNextPage(e.pageOrientation),(this.writer.context().page+1)%2==1&&this.writer.moveToNextPage(e.pageOrientation)):e.pageBreak===`afterEven`&&(this.writer.moveToNextPage(e.pageOrientation),(this.writer.context().page+1)%2==0&&this.writer.moveToNextPage(e.pageOrientation))};if(this.linearNodeList.push(e),gt(e),this.writer.context().getCurrentPage()!==null)var r=this.writer.context().getCurrentPosition().top;n(()=>{let n=e.verticalAlignment;if(t&&n)var r=this.writer.beginVerticalAlignment(n);let i=e.unbreakable;i&&this.writer.beginUnbreakableBlock();let a=e.absolutePosition;a&&(this.writer.context().beginDetachedBlock(),this.writer.context().moveTo(a.x||0,a.y||0));let o=e.relativePosition;if(o&&(this.writer.context().beginDetachedBlock(),this.writer.context().moveToRelative(o.x||0,o.y||0)),e.stack)this.processVerticalContainer(e);else if(e.section)this.processSection(e);else if(e.columns)this.processColumns(e);else if(e.ul)this.processList(!1,e);else if(e.ol)this.processList(!0,e);else if(e.table)this.processTable(e);else if(e.text!==void 0)this.processLeaf(e);else if(e.toc)this.processToc(e);else if(e.image)this.processImage(e);else if(e.svg)this.processSVG(e);else if(e.canvas)this.processCanvas(e);else if(e.qr)this.processQr(e);else if(e.attachment)this.processAttachment(e);else if(!e._span)throw Error(`Unrecognized document structure: ${h(e)}`);(a||o)&&this.writer.context().endDetachedBlock(),i&&this.writer.commitUnbreakableBlock(),t&&n&&this.verticalAlignmentItemStack.push({begin:r,end:this.writer.endVerticalAlignment(n)})}),r!==void 0&&(e.__height=this.writer.context().getCurrentPosition().top-r)}snakingAwarePageBreak(e){let t=this.writer.context();if(!t.getSnakingSnapshot())return;if(this.writer.canMoveToNextColumn()){this.writer.moveToNextColumn();return}this.writer.moveToNextPage(e);let n=t.lastColumnWidth;t.resetSnakingColumnsForNewPage(),t.lastColumnWidth=n}processVerticalContainer(e){e.stack.forEach(t=>{this.processNode(t),mt(e.positions,t.positions)},this)}processSection(e){let t=this.writer.context().getCurrentPage();if(!t||t&&t.items.length){e.pageSize===`inherit`&&(e.pageSize=t?{width:t.pageSize.width,height:t.pageSize.height}:void 0),e.pageOrientation===`inherit`&&(e.pageOrientation=t?t.pageSize.orientation:void 0),e.pageMargins===`inherit`&&(e.pageMargins=t?t.pageMargins:void 0),e.header===`inherit`&&(e.header=t?t.customProperties.header:void 0),e.footer===`inherit`&&(e.footer=t?t.customProperties.footer:void 0),e.background===`inherit`&&(e.background=t?t.customProperties.background:void 0),e.watermark===`inherit`&&(e.watermark=t?t.customProperties.watermark:void 0),e.header&&typeof e.header!=`function`&&e.header!==null&&(e.header=le(e.header)),e.footer&&typeof e.footer!=`function`&&e.footer!==null&&(e.footer=le(e.footer));let n={};e.header!==void 0&&(n.header=e.header),e.footer!==void 0&&(n.footer=e.footer),e.background!==void 0&&(n.background=e.background),e.watermark!==void 0&&(n.watermark=e.watermark),this.writer.addPage(e.pageSize||this.pageSize,e.pageOrientation,e.pageMargins||this.pageMargins,n)}this.processNode(e.section)}processColumns(e){this.nestedLevel++;let t=e.columns,n=this.writer.context().availableWidth,r=a(e._gap);r&&(n-=(r.length-1)*e._gap),ae.buildColumnWidths(t,n);let i=this.processRow({marginX:e._margin?[e._margin[0],e._margin[2]]:[0,0],cells:t,widths:t,gaps:r,snakingColumns:e.snakingColumns});mt(e.positions,i.positions),this.nestedLevel--,this.nestedLevel===0&&this.writer.context().resetMarginXTopParent();function a(e){if(!e)return null;let n=[];n.push(0);for(let r=t.length-1;r>0;r--)n.push(e);return n}}_findStartingRowSpanCell(e,t){let n=1;for(let r=t-1;r>=0;r--){if(!e[r]._span)return e[r].rowSpan>1&&(e[r].colSpan||1)===n?e[r]:null;n++}return null}_getPageBreak(e,t){return e.find(e=>e.prevPage===t)}_getPageBreakListBySpan(e,t,n){if(!e||!e._breaksBySpan)return null;let r=e._breaksBySpan.filter(e=>e.prevPage===t&&n<=e.rowIndexOfSpanEnd),i=Number.MAX_VALUE,a=Number.MIN_VALUE;return r.forEach(e=>{a=Math.max(e.prevY,a),i=Math.min(e.y,i)}),{prevPage:t,prevY:a,y:i}}_findSameRowPageBreakByRowSpanData(e,t,n){return e?e.find(e=>e.prevPage===t&&n===e.rowIndexOfSpanEnd):null}_updatePageBreaksData(e,t,n){Object.keys(t._bottomByPage).forEach(r=>{let i=Number(r),a=this._getPageBreak(e,i);if(a&&(a.prevY=Math.max(a.prevY,t._bottomByPage[i])),t._breaksBySpan&&t._breaksBySpan.length>0){let e=t._breaksBySpan.filter(e=>e.prevPage===i&&n<=e.rowIndexOfSpanEnd);e&&e.length>0&&e.forEach(e=>{e.prevY=Math.max(e.prevY,t._bottomByPage[i])})}})}_resolveBreakY(e,t,n){n.prevY=Math.max(e.prevY,t.prevY),n.y=Math.min(e.y,t.y)}_storePageBreakData(e,t,n,r){if(t){let t=r&&r._breaksBySpan||null,i=this._findSameRowPageBreakByRowSpanData(t,e.prevPage,e.rowIndex);i||(i={...e,rowIndexOfSpanEnd:e.rowIndex+e.rowSpan-1},r._breaksBySpan||=[],r._breaksBySpan.push(i)),i.prevY=Math.max(i.prevY,e.prevY),i.y=Math.min(i.y,e.y);let a=this._getPageBreak(n,e.prevPage);a&&this._resolveBreakY(a,i,a)}else{let t=this._getPageBreak(n,e.prevPage),i=this._getPageBreakListBySpan(r,e.prevPage,e.rowIndex);t||(t={...e},n.push(t)),i&&this._resolveBreakY(t,i,t),this._resolveBreakY(t,e,t)}}_colLeftOffset(e,t){return t&&t.length>e?t[e]:0}_getRowSpanEndingCell(e,t,n,r){if(n.rowSpan&&n.rowSpan>1){let i=t+n.rowSpan-1;if(i>=e.length)throw Error(`Row span for column ${r} (with indexes starting from 0) exceeded row count`);return e[i][r]}return null}processRow(e){let t=e.marginX,n=t===void 0?[0,0]:t,r=e.dontBreakRows,i=r!==void 0&&r,a=e.rowsWithoutPageBreak,o=a===void 0?0:a,s=e.cells,c=e.widths,l=e.gaps,u=e.tableNode,d=e.tableBody,f=e.rowIndex,p=e.height,m=e.snakingColumns,h=m!==void 0&&m,g=i||f<=o-1,_=[],v=[],y=[],b=!1,x={};c||=s,!g&&p>this.writer.context().availableHeight&&(b=!0);let S=this.nestedLevel===1?n:null,C=u?u._bottomByPage:null,w=l&&l.length>1?l[1]:0,T=c.map(e=>e._calcWidth);this.writer.context().beginColumnGroup(S,C,h,w,T);for(let e=0,t=s.length;e<t;e++){let t=s[e],n=e,r=e=>{let n=t.rowSpan&&t.rowSpan>1;n&&(e.rowSpan=t.rowSpan),e.rowIndex=f,this._storePageBreakData(e,n,_,u)};this.writer.addListener(`pageChanged`,r);let a=c[e]._calcWidth,o=this._colLeftOffset(e,l),p=this._findStartingRowSpanCell(s,e);if(t.colSpan&&t.colSpan>1)for(let n=1;n<t.colSpan;n++)a+=c[++e]._calcWidth+l[e];let m=this._getRowSpanEndingCell(d,f,t,e),g=this._getRowSpanEndingCell(d,f,t,n);m&&(t._endingCell=m,t._endingCell._startingRowSpanY=t._startingRowSpanY,t._endingCell._startingRowSpanPage=t._startingRowSpanPage),g&&(t._leftEndingCell=g,t._leftEndingCell._startingRowSpanY=t._startingRowSpanY,t._leftEndingCell._startingRowSpanPage=t._startingRowSpanPage);let v=null;p&&p._endingCell&&(v=p._endingCell,this.writer.transactionLevel>0&&(v._isUnbreakableContext=!0,v._originalXOffset=this.writer.originalX)),this.writer.context().beginColumn(a,o,v);let b=h&&e>0;if(!t._span&&!b)this.processNode(t,!0),this.writer.context().updateBottomByPage(),t.verticalAlignment&&(x[n]=this.verticalAlignmentItemStack.length-1),mt(y,t.positions);else if(t._columnEndingContext){let e=0;if(i){let n=this.writer.contextStack[this.writer.contextStack.length-1];typeof t._startingRowSpanPage==`number`&&t._startingRowSpanPage===n.page&&typeof t._startingRowSpanY==`number`&&(e=n.y-t._startingRowSpanY),e=Math.max(0,e)}let n=0;t._isUnbreakableContext&&!this.writer.transactionLevel&&(n=t._originalXOffset),this.writer.context().markEnding(t,n,e)}this.writer.removeListener(`pageChanged`,r)}let E=null,D=s.length>0?s[s.length-1]:null;if(D){if(D._endingCell)E=D._endingCell;else if(D._span===!0){let e=this._findStartingRowSpanCell(s,s.length);e&&(E=e._endingCell,this.writer.transactionLevel>0&&(E._isUnbreakableContext=!0,E._originalXOffset=this.writer.originalX))}}b&&!g&&_.length===0&&(this.writer.context().moveDown(this.writer.context().availableHeight),h?this.snakingAwarePageBreak():this.writer.moveToNextPage());let O=this.writer.context().completeColumnGroup(p,E);u&&(u._bottomByPage=O,this._updatePageBreaksData(_,u,f));let k=this.writer.context().height;for(let e=0,t=s.length;e<t;e++){let t=s[e];if(!t._span&&t.verticalAlignment){let n=this.verticalAlignmentItemStack[x[e]].begin.item;n.viewHeight=k,n.nodeHeight=t.__height,n.cell=t,n.bottomY=this.writer.context().y,n.isCellContentMultiPage=!n.cell.positions.every(e=>e.pageNumber===n.cell.positions[0].pageNumber),n.getViewHeight=function(){if(this.cell._willBreak)return this.cell._bottomY-this.cell._rowTopPageY;if(this.cell.rowSpan&&this.cell.rowSpan>1){if(i){let e=this.cell._leftEndingCell._startingRowSpanY+this.cell._leftEndingCell._rowTopPageYPadding;return this.cell._leftEndingCell._rowTopPageY-e+this.cell._leftEndingCell._bottomY}return this.cell.positions[0].pageNumber===this.cell._leftEndingCell._lastPageNumber?this.viewHeight+this.cell._leftEndingCell._bottomY-this.bottomY:this.bottomY-this.cell._leftEndingCell._bottomY}return this.viewHeight},n.getNodeHeight=function(){return this.nodeHeight};let r=this.verticalAlignmentItemStack[x[e]].end.item;r.isCellContentMultiPage=n.isCellContentMultiPage}}return{pageBreaksBySpan:v,pageBreaks:_,positions:y}}processList(e,t){let n=e=>{if(a){let t=a;if(a=null,t.canvas){let e=t.canvas[0];H(e,-t._minWidth,0),this.writer.addVector(e)}else if(t._inlines){let n=new pt(this.pageSize.width);n.addInline(t._inlines[0]),n.x=-t._minWidth,n.y=e.getAscenderHeight()-n.getAscenderHeight(),this.writer.addLine(n,!0)}}},r=e?t.ol:t.ul,i=t._gapSize;this.writer.context().addMargin(i.width);let a;this.writer.addListener(`lineAdded`,n),r.forEach(e=>{a=e.listMarker,this.processNode(e),mt(t.positions,e.positions)}),this.writer.removeListener(`lineAdded`,n),this.writer.context().addMargin(-i.width)}processTable(e){this.nestedLevel++;let t=new dt(e);t.beginTable(this.writer);let n=e.table.heights,r=0;for(let i=0,a=e.table.body.length;i<a;i++){if(i>0&&this.writer.context().inSnakingColumns()){let e=r>0?r:t.rowPaddingTop+14+t.rowPaddingBottom+t.bottomLineWidth+t.topLineWidth;this.writer.context().availableHeight<e&&(this.snakingAwarePageBreak(),t.layout.hLineWhenBroken!==!1&&!t.headerRows&&t.drawHorizontalLine(i,this.writer))}let a=this.writer.context().y;t.dontBreakRows&&e.table.body[i].forEach(e=>{e.rowSpan&&e.rowSpan>1&&(e._startingRowSpanY=this.writer.context().y,e._startingRowSpanPage=this.writer.context().page)}),t.beginRow(i,this.writer);let o;o=typeof n==`function`?n(i):Array.isArray(n)?n[i]:n,o===`auto`&&(o=void 0);let s=this.writer.context().page,c=this.processRow({marginX:e._margin?[e._margin[0],e._margin[2]]:[0,0],dontBreakRows:t.dontBreakRows,rowsWithoutPageBreak:t.rowsWithoutPageBreak,cells:e.table.body[i],widths:e.table.widths,gaps:e._offsets.offsets,tableBody:e.table.body,tableNode:e,rowIndex:i,height:o});if(mt(e.positions,c.positions),!c.pageBreaks||c.pageBreaks.length===0){let t=e&&e._breaksBySpan||null,n=this._findSameRowPageBreakByRowSpanData(t,s,i);if(n){let t=this._getPageBreakListBySpan(e,n.prevPage,i);c.pageBreaks.push(t)}}t.endRow(i,this.writer,c.pageBreaks);let l=this.writer.context().y;this.writer.context().page===s&&(r=l-a)}t.endTable(this.writer),this.nestedLevel--,this.nestedLevel===0&&this.writer.context().resetMarginXTopParent()}processLeaf(e){let t=this.buildNextLine(e);t&&(e.tocItem||e.id)&&(t._node=e);let n=t?t.getHeight():0,r=e.maxHeight||-1;if(t){let n=g(e);n&&(t.id=n)}if(e.outline)t._outline={id:e.id,parentId:e.outlineParentId,text:e.outlineText||e.text,expanded:e.outlineExpanded||!1};else if(Array.isArray(e.text))for(let n=0,r=e.text.length;n<r;n++){let r=e.text[n];r.outline&&(t._outline={id:r.id,parentId:r.outlineParentId,text:r.outlineText||r.text,expanded:r.outlineExpanded||!1})}if(e._tocItemRef&&(t._pageNodeRef=e._tocItemRef),e._pageRef&&(t._pageNodeRef=e._pageRef._nodeRef),t&&t.inlines&&Array.isArray(t.inlines))for(let e=0,n=t.inlines.length;e<n;e++)t.inlines[e]._tocItemRef&&(t.inlines[e]._pageNodeRef=t.inlines[e]._tocItemRef),t.inlines[e]._pageRef&&(t.inlines[e]._pageNodeRef=t.inlines[e]._pageRef._nodeRef);for(;t&&(r===-1||n<r);){if(t.getHeight()>this.writer.context().availableHeight&&this.writer.context().y>this.writer.context().pageMargins.top){if(this.writer.context().inSnakingColumns()&&!this.writer.context().isInNestedNonSnakingGroup()){this.snakingAwarePageBreak(e.pageOrientation),t.inlines&&t.inlines.length>0&&e._inlines.unshift(...t.inlines),t=this.buildNextLine(e);continue}this.writer.moveToNextPage(e.pageOrientation)}let r=this.writer.addLine(t);e.positions.push(r),t=this.buildNextLine(e),t&&(n+=t.getHeight())}}processToc(e){(e.toc._table||e.toc.hideEmpty!==!0)&&(e.toc.title&&this.processNode(e.toc.title),e.toc._table&&this.processNode(e.toc._table))}buildNextLine(e){function t(e){let t=e.constructor();for(let n in e)t[n]=e[n];return t}function n(e,t,n){let r=1,i=e.length,a=1;for(;r<=i;){let o=Math.floor((r+i)/2);n(e.substring(0,o))<=t?(a=o,r=o+1):i=o-1}return a}if(!e._inlines||e._inlines.length===0)return null;let r=new pt(this.writer.context().availableWidth),i=new te(null),a=!1;for(;e._inlines&&e._inlines.length>0&&(r.hasEnoughSpaceForInline(e._inlines[0],e._inlines.slice(1))||a);){let o=!1,s=e._inlines.shift();if(!s.noWrap&&s.text.length>1&&s.width>r.getAvailableWidth()){let a=n(s.text,r.getAvailableWidth(),e=>i.widthOfText(e,s));if(a<s.text.length){let n=t(s);n.text=s.text.substr(a),s.text=s.text.substr(0,a),n.width=i.widthOfText(n.text,n),s.width=i.widthOfText(s.text,s),e._inlines.unshift(n),o=!0}}r.addInline(s),a=s.noNewLine&&!o}return r.lastLineInParagraph=e._inlines.length===0,r}processImage(e){let t=this.writer.addImage(e);e.positions.push(t)}processCanvas(e){let t=this.writer.addCanvas(e);mt(e.positions,t)}processSVG(e){let t=this.writer.addSVG(e);e.positions.push(t)}processQr(e){let t=this.writer.addQr(e);e.positions.push(t)}processAttachment(e){let t=this.writer.addAttachment(e);e.positions.push(t)}}function gt(e){let t=e.x,n=e.y;e.positions=[],Array.isArray(e.canvas)&&e.canvas.forEach(e=>{let t=e.x,n=e.y,r=e.x1,i=e.y1,a=e.x2,o=e.y2;e.resetXY=()=>{e.x=t,e.y=n,e.x1=r,e.y1=i,e.x2=a,e.y2=o}}),e.resetXY=()=>{e.x=t,e.y=n,Array.isArray(e.canvas)&&e.canvas.forEach(e=>{e.resetXY()})}}let _t=ht;var vt=n(7507);let yt=e=>{let t=parseFloat(e);if(!(typeof t!=`number`||isNaN(t)))return t},bt=e=>{let t;try{t=new vt.XmlDocument(e)}catch(e){throw Error(`Invalid svg document (`+e+`)`,{cause:e})}if(t.name!==`svg`)throw Error(`Invalid svg document (expected <svg>)`);return t};class xt{constructor(){}measureSVG(e){let t,n,r;if(i(e)){let i=bt(e);t=i.attr.width,n=i.attr.height,r=i.attr.viewBox}else if(typeof SVGElement<`u`&&e instanceof SVGElement&&typeof getComputedStyle==`function`)t=e.getAttribute(`width`),n=e.getAttribute(`height`),r=e.getAttribute(`viewBox`);else throw Error(`Invalid SVG document`);let a=yt(t),o=yt(n);if((a===void 0||o===void 0)&&typeof r==`string`){let e=r.split(/[,\s]+/);if(e.length!==4)throw Error(`Unexpected svg viewBox format, should have 4 entries but found: '`+r+`'`);a===void 0&&(a=yt(e[2])),o===void 0&&(o=yt(e[3]))}return{width:a,height:o}}writeDimensions(e,t){if(i(e)){let n=bt(e);return typeof n.attr.viewBox!=`string`&&(n.attr.viewBox=`0 0 ${yt(n.attr.width)} ${yt(n.attr.height)}`),n.attr.width=``+t.width,n.attr.height=``+t.height,n.toString()}return e.hasAttribute(`viewBox`)||e.setAttribute(`viewBox`,`0 0 ${yt(e.getAttribute(`width`))} ${yt(e.getAttribute(`height`))}`),e.setAttribute(`width`,``+t.width),e.setAttribute(`height`,``+t.height),e}}let St=xt,Ct=(e,t)=>{let n=[],r=null;for(let i=0,o=e.inlines.length;i<o;i++){let o=e.inlines[i],s=o.decoration;if(!s){r=null;continue}Array.isArray(s)||(s=[s]);let c=t.resolveColor(t.resolveColor(o.decorationColor,o.color),`black`),l=o.decorationStyle||`solid`,u=a(o.decorationThickness)?o.decorationThickness:null;for(let t=0,i=s.length;t<i;t++){let i=s[t];!r||i!==r.decoration||l!==r.decorationStyle||c!==r.decorationColor?(r={line:e,decoration:i,decorationColor:c,decorationStyle:l,decorationThickness:u,inlines:[o]},n.push(r)):r.inlines.push(o)}}return n};class wt{constructor(e){this.pdfDocument=e}drawBackground(e,t,n){let r=e.getHeight();for(let i=0,a=e.inlines.length;i<a;i++){let a=e.inlines[i],o=this.pdfDocument.resolveColor(a.background,void 0);if(!o)continue;let s=this.pdfDocument.providePattern(a.background);s!==null&&(o=s);let c=a.justifyShift||0;this.pdfDocument.fillColor(o).rect(t+a.x-c,n,a.width+c,r).fill()}}drawDecorations(e,t,n){let r=Ct(e,this.pdfDocument);for(let e=0,i=r.length;e<i;e++)this._drawDecoration(r[e],t,n)}_drawDecoration(e,t,n){let r=()=>{let t=0;for(let n=0,r=e.inlines.length;n<r;n++)t=e.inlines[n].fontSize>t?n:t;return e.inlines[t]},i=()=>{let t=0;for(let n=0,r=e.inlines.length;n<r;n++){let r=e.inlines[n].justifyShift||0;t+=e.inlines[n].width+r}return t},o=e.inlines[0],s=r(),c=i(),l=e.line.getAscenderHeight(),u=s.font.ascender/1e3*s.fontSize,d=s.height-u,f=a(e.decorationThickness)?e.decorationThickness:.5+Math.floor(Math.max(s.fontSize-8,0)/2)*.12;switch(e.decoration){case`underline`:n+=l+d*.45;break;case`overline`:n+=l-u*.85;break;case`lineThrough`:n+=l-u*.25;break;default:throw Error(`Unknown decoration : ${e.decoration}`)}if(e.inlines[0].sup&&(n-=e.inlines[0].fontSize*.75),e.inlines[0].sub&&(n+=e.inlines[0].fontSize*.35),this.pdfDocument.save(),e.decorationStyle===`double`){let r=Math.max(.5,f,s.fontSize*.15);this.pdfDocument.fillColor(e.decorationColor).rect(t+o.x,n-f/2,c,f/2).fill().rect(t+o.x,n+r-f/2,c,f/2).fill()}else if(e.decorationStyle===`dashed`){let r=Math.ceil(c/6.8),i=t+o.x;this.pdfDocument.rect(i,n,c,f).clip(),this.pdfDocument.fillColor(e.decorationColor);for(let e=0;e<r;e++)this.pdfDocument.rect(i,n-f/2,3.96,f).fill(),i+=6.8}else if(e.decorationStyle===`dotted`){let r=Math.ceil(c/(f*3)),i=t+o.x;this.pdfDocument.rect(i,n,c,f).clip(),this.pdfDocument.fillColor(e.decorationColor);for(let e=0;e<r;e++)this.pdfDocument.rect(i,n-f/2,f,f).fill(),i+=f*3}else if(e.decorationStyle===`wavy`){let r=.7,i=Math.ceil(c/(r*2))+1,a=t+o.x-1;this.pdfDocument.rect(t+o.x,n-1,c,n+1).clip(),this.pdfDocument.lineWidth(f/3),this.pdfDocument.moveTo(a,n);for(let e=0;e<i;e++)this.pdfDocument.bezierCurveTo(a+r,n-1,a+r*2,n-1,a+r*3,n).bezierCurveTo(a+r*4,n+1,a+r*5,n+1,a+r*6,n),a+=r*6;this.pdfDocument.stroke(e.decorationColor)}else this.pdfDocument.fillColor(e.decorationColor).rect(t+o.x,n-f/2,c,f).fill();this.pdfDocument.restore()}}let Tt=wt;var Et=n(6582);let Dt=(e,t,n)=>{for(let n=0;n<t.length;n++){let r=t[n].toLowerCase();for(let t in e)if(t.toLowerCase()===r)return t}return n},Ot=(e,t)=>{let n=e;return t.sup&&(n-=t.fontSize*.75),t.sub&&(n+=t.fontSize*.35),n};class kt{constructor(e,t){this.pdfDocument=e,this.progressCallback=t,this.outlineMap=[]}renderPages(e){this.pdfDocument._pdfMakePages=e;let t=0;this.progressCallback&&e.forEach(e=>{t+=e.items.length});let n=0;for(let r=0;r<e.length;r++){this.pdfDocument.addPage({size:[e[r].pageSize.width,e[r].pageSize.height]});let i=e[r];for(let e=0,r=i.items.length;e<r;e++){let r=i.items[e];switch(r.type){case`vector`:this.renderVector(r.item);break;case`line`:this.renderLine(r.item,r.item.x,r.item.y);break;case`image`:this.renderImage(r.item);break;case`svg`:this.renderSVG(r.item);break;case`attachment`:this.renderAttachment(r.item);break;case`beginClip`:this.beginClip(r.item);break;case`endClip`:this.endClip();break;case`beginVerticalAlignment`:this.beginVerticalAlignment(r.item);break;case`endVerticalAlignment`:this.endVerticalAlignment(r.item)}n++,this.progressCallback&&this.progressCallback(n/t)}i.watermark&&this.renderWatermark(i)}}renderLine(e,t,n){function r(e,t){let n,r,i=new te(null);if(e.positions===void 0)throw Error(`Page reference id not found`);switch(t.text=e.positions[0].pageNumber.toString(),n=i.widthOfText(t.text,t),r=t.width-n,t.width=n,t.alignment){case`right`:t.x+=r;break;case`center`:t.x+=r/2}}if(e._outline){let t=this.pdfDocument.outline;e._outline.parentId&&this.outlineMap[e._outline.parentId]&&(t=this.outlineMap[e._outline.parentId]);let n=t.addItem(e._outline.text,{expanded:e._outline.expanded});e._outline.id&&(this.outlineMap[e._outline.id]=n)}e._pageNodeRef&&r(e._pageNodeRef,e.inlines[0]),t||=0,n||=0;let i=e.getHeight(),o=i-e.getAscenderHeight(),s=new Tt(this.pdfDocument);s.drawBackground(e,t,n);for(let s=0,c=e.inlines.length;s<c;s++){let c=e.inlines[s],l=i-c.font.ascender/1e3*c.fontSize-o;c._pageNodeRef&&r(c._pageNodeRef,c);let u={lineBreak:!1,textWidth:c.width,characterSpacing:c.characterSpacing,wordCount:1,link:c.link};c.linkToDestination&&(u.goTo=c.linkToDestination),e.id&&s===0&&(u.destination=e.id),c.fontFeatures&&(u.features=c.fontFeatures);let d=a(c.opacity)?c.opacity:1;this.pdfDocument.opacity(d),this.pdfDocument.fill(this.pdfDocument.resolveColor(c.color,`black`)),this.pdfDocument._font=c.font,this.pdfDocument.fontSize(c.fontSize);let f=Ot(n+l,c);this.pdfDocument.text(c.text,t+c.x,f,u),c.linkToPage&&(this.pdfDocument.ref({Type:`Action`,S:`GoTo`,D:[c.linkToPage,0,0]}).end(),this.pdfDocument.annotate(t+c.x,f,c.width,c.height,{Subtype:`Link`,Dest:[c.linkToPage-1,`XYZ`,null,null,null]}))}s.drawDecorations(e,t,n)}renderVector(e){this.pdfDocument.lineWidth(e.lineWidth||1),e.dash?this.pdfDocument.dash(e.dash.length,{space:e.dash.space||e.dash.length,phase:e.dash.phase||0}):this.pdfDocument.undash(),this.pdfDocument.lineJoin(e.lineJoin||`miter`),this.pdfDocument.lineCap(e.lineCap||`butt`);let t=null;switch(e.type){case`ellipse`:this.pdfDocument.ellipse(e.x,e.y,e.r1,e.r2),e.linearGradient&&(t=this.pdfDocument.linearGradient(e.x-e.r1,e.y,e.x+e.r1,e.y));break;case`rect`:e.r?this.pdfDocument.roundedRect(e.x,e.y,e.w,e.h,e.r):this.pdfDocument.rect(e.x,e.y,e.w,e.h),e.linearGradient&&(t=this.pdfDocument.linearGradient(e.x,e.y,e.x+e.w,e.y));break;case`line`:this.pdfDocument.moveTo(e.x1,e.y1),this.pdfDocument.lineTo(e.x2,e.y2);break;case`polyline`:if(e.points.length===0)break;this.pdfDocument.moveTo(e.points[0].x,e.points[0].y);for(let t=1,n=e.points.length;t<n;t++)this.pdfDocument.lineTo(e.points[t].x,e.points[t].y);if(e.points.length>1){let t=e.points[0],n=e.points[e.points.length-1];(e.closePath||t.x===n.x&&t.y===n.y)&&this.pdfDocument.closePath()}break;case`path`:this.pdfDocument.path(e.d)}if(e.linearGradient&&t){let n=1/(e.linearGradient.length-1);for(let r=0;r<e.linearGradient.length;r++)t.stop(r*n,e.linearGradient[r]);e.color=t}let n=this.pdfDocument.providePattern(e.color);n!==null&&(e.color=n);let r=a(e.fillOpacity)?e.fillOpacity:1,i=a(e.strokeOpacity)?e.strokeOpacity:1;e.color&&e.lineColor?(this.pdfDocument.fillColor(this.pdfDocument.resolveColor(e.color,`black`),r),this.pdfDocument.strokeColor(this.pdfDocument.resolveColor(e.lineColor,`black`),i),this.pdfDocument.fillAndStroke()):e.color?(this.pdfDocument.fillColor(this.pdfDocument.resolveColor(e.color,`black`),r),this.pdfDocument.fill()):(this.pdfDocument.strokeColor(this.pdfDocument.resolveColor(e.lineColor,`black`),i),this.pdfDocument.stroke())}renderImage(e){let t=a(e.opacity)?e.opacity:1;if(this.pdfDocument.opacity(t),e.cover){let t=e.cover.align||`center`,n=e.cover.valign||`center`,r=e.cover.width?e.cover.width:e.width,i=e.cover.height?e.cover.height:e.height;this.pdfDocument.save(),this.pdfDocument.rect(e.x,e.y,r,i).clip(),this.pdfDocument.image(e.image,e.x,e.y,{cover:[r,i],align:t,valign:n}),this.pdfDocument.restore()}else this.pdfDocument.image(e.image,e.x,e.y,{width:e._width,height:e._height});if(e.link&&this.pdfDocument.link(e.x,e.y,e._width,e._height,e.link),e.linkToPage&&(this.pdfDocument.ref({Type:`Action`,S:`GoTo`,D:[e.linkToPage,0,0]}).end(),this.pdfDocument.annotate(e.x,e.y,e._width,e._height,{Subtype:`Link`,Dest:[e.linkToPage-1,`XYZ`,null,null,null]})),e.linkToDestination&&this.pdfDocument.goTo(e.x,e.y,e._width,e._height,e.linkToDestination),e.linkToFile){let t=this.pdfDocument.provideAttachment(e.linkToFile);this.pdfDocument.fileAnnotation(e.x,e.y,e._width,e._height,t,{AP:{N:{Type:`XObject`,Subtype:`Form`,FormType:1,BBox:[e.x,e.y,e._width,e._height]}}})}}renderSVG(e){let t={width:e._width,height:e._height,assumePt:!0,useCSS:!i(e.svg),...e.options};t.fontCallback=(t,n,r)=>{let i=t.split(`,`).map(e=>e.trim().replace(/('|")/g,``)),a=Dt(this.pdfDocument.fonts,i,e.font||`Roboto`),o=this.pdfDocument.getFontFile(a,n,r);if(o===null){let e=this.pdfDocument.getFontType(n,r);throw Error(`Font '${a}' in style '${e}' is not defined in the font section of the document definition.`)}return o},(0,Et.A)(this.pdfDocument,e.svg,e.x,e.y,t),e.link&&this.pdfDocument.link(e.x,e.y,e._width,e._height,e.link),e.linkToPage&&(this.pdfDocument.ref({Type:`Action`,S:`GoTo`,D:[e.linkToPage,0,0]}).end(),this.pdfDocument.annotate(e.x,e.y,e._width,e._height,{Subtype:`Link`,Dest:[e.linkToPage-1,`XYZ`,null,null,null]})),e.linkToDestination&&this.pdfDocument.goTo(e.x,e.y,e._width,e._height,e.linkToDestination)}renderAttachment(e){let t=this.pdfDocument.provideAttachment(e.attachment),n={};e.icon&&(n.Name=e.icon),this.pdfDocument.fileAnnotation(e.x,e.y,e._width,e._height,t,n)}beginClip(e){this.pdfDocument.save(),this.pdfDocument.addContent(`${e.x} ${e.y} ${e.width} ${e.height} re`),this.pdfDocument.clip()}endClip(){this.pdfDocument.restore()}beginVerticalAlignment(e){if(!e.isCellContentMultiPage)switch(e.verticalAlignment){case`middle`:this.pdfDocument.save(),this.pdfDocument.translate(0,-(e.getNodeHeight()-e.getViewHeight())/2);break;case`bottom`:this.pdfDocument.save(),this.pdfDocument.translate(0,-(e.getNodeHeight()-e.getViewHeight()))}}endVerticalAlignment(e){if(!e.isCellContentMultiPage)switch(e.verticalAlignment){case`middle`:case`bottom`:this.pdfDocument.restore()}}renderWatermark(e){let t=e.watermark;this.pdfDocument.fill(this.pdfDocument.resolveColor(t.color,`black`)),this.pdfDocument.opacity(t.opacity),this.pdfDocument.save(),this.pdfDocument.rotate(t.angle,{origin:[this.pdfDocument.page.width/2,this.pdfDocument.page.height/2]});let n=this.pdfDocument.page.width/2-t._size.size.width/2,r=this.pdfDocument.page.height/2-t._size.size.height/2;this.pdfDocument._font=t.font,this.pdfDocument.fontSize(t.fontSize),this.pdfDocument.text(t.text,n,r,{lineBreak:!1}),this.pdfDocument.restore()}}let At=kt;class jt{constructor(e,t,n,r){this.fontDescriptors=e,this.virtualfs=t,this.urlResolver=n,this.localAccessPolicy=r}async createPdfKitDocument(e,t){t===void 0&&(t={}),await this.resolveUrls(e),e.version=e.version||`1.3`,e.subset=e.subset||void 0,e.tagged=typeof e.tagged==`boolean`&&e.tagged,e.displayTitle=typeof e.displayTitle==`boolean`&&e.displayTitle,e.compress=typeof e.compress!=`boolean`||e.compress,e.images=e.images||{},e.attachments=e.attachments||{},e.pageMargins=l(e.pageMargins)?e.pageMargins:40,e.patterns=e.patterns||{},e.header&&typeof e.header!=`function`&&(e.header=le(e.header)),e.footer&&typeof e.footer!=`function`&&(e.footer=le(e.footer));let n=it(e.pageSize,e.pageOrientation),r={size:[n.width,n.height],pdfVersion:e.version,subset:e.subset,tagged:e.tagged,displayTitle:e.displayTitle,compress:e.compress,userPassword:e.userPassword,ownerPassword:e.ownerPassword,permissions:e.permissions,lang:e.language,fontLayoutCache:typeof t.fontLayoutCache!=`boolean`||t.fontLayoutCache,bufferPages:t.bufferPages||!1,autoFirstPage:!1,info:Mt(e),font:null};this.pdfKitDoc=new p(this.fontDescriptors,e.images,e.patterns,e.attachments,r,this.virtualfs,this.localAccessPolicy),Nt(e,this.pdfKitDoc);let i=new _t(n,at(e.pageMargins),new St);i.registerTableLayouts(oe),t.tableLayouts&&i.registerTableLayouts(t.tableLayouts);let o=i.layoutDocument(e.content,this.pdfKitDoc,e.styles||{},e.defaultStyle||{fontSize:12,font:`Roboto`},e.background,e.header,e.footer,e.watermark,e.pageBreakBefore),s=e.maxPagesNumber||-1;return a(s)&&s>-1&&(o=o.slice(0,s)),o.forEach(e=>{e.pageSize.height===1/0&&(e.pageSize.height=Pt(e,e.pageMargins))}),new At(this.pdfKitDoc,t.progressCallback).renderPages(o),this.pdfKitDoc}async resolveUrls(e){let t=e=>typeof e==`object`?{url:e.url,headers:e.headers}:{url:e,headers:{}};for(let e in this.fontDescriptors)if(this.fontDescriptors.hasOwnProperty(e)){if(this.fontDescriptors[e].normal){if(Array.isArray(this.fontDescriptors[e].normal)){let n=t(this.fontDescriptors[e].normal[0]);this.urlResolver.resolve(n.url,n.headers),this.fontDescriptors[e].normal[0]=n.url}else{let n=t(this.fontDescriptors[e].normal);this.urlResolver.resolve(n.url,n.headers),this.fontDescriptors[e].normal=n.url}}if(this.fontDescriptors[e].bold){if(Array.isArray(this.fontDescriptors[e].bold)){let n=t(this.fontDescriptors[e].bold[0]);this.urlResolver.resolve(n.url,n.headers),this.fontDescriptors[e].bold[0]=n.url}else{let n=t(this.fontDescriptors[e].bold);this.urlResolver.resolve(n.url,n.headers),this.fontDescriptors[e].bold=n.url}}if(this.fontDescriptors[e].italics){if(Array.isArray(this.fontDescriptors[e].italics)){let n=t(this.fontDescriptors[e].italics[0]);this.urlResolver.resolve(n.url,n.headers),this.fontDescriptors[e].italics[0]=n.url}else{let n=t(this.fontDescriptors[e].italics);this.urlResolver.resolve(n.url,n.headers),this.fontDescriptors[e].italics=n.url}}if(this.fontDescriptors[e].bolditalics){if(Array.isArray(this.fontDescriptors[e].bolditalics)){let n=t(this.fontDescriptors[e].bolditalics[0]);this.urlResolver.resolve(n.url,n.headers),this.fontDescriptors[e].bolditalics[0]=n.url}else{let n=t(this.fontDescriptors[e].bolditalics);this.urlResolver.resolve(n.url,n.headers),this.fontDescriptors[e].bolditalics=n.url}}}if(e.images){for(let n in e.images)if(e.images.hasOwnProperty(n)){let r=t(e.images[n]);this.urlResolver.resolve(r.url,r.headers),e.images[n]=r.url}}if(e.attachments){for(let n in e.attachments)if(e.attachments.hasOwnProperty(n)&&e.attachments[n].src){let r=t(e.attachments[n].src);this.urlResolver.resolve(r.url,r.headers),e.attachments[n].src=r.url}}if(e.files){for(let n in e.files)if(e.files.hasOwnProperty(n)&&e.files[n].src){let r=t(e.files[n].src);this.urlResolver.resolve(r.url,r.headers),e.files[n].src=r.url}}await this.urlResolver.resolved()}}function Mt(e){function t(e){let t=[`Title`,`Author`,`Subject`,`Keywords`,`Creator`,`Producer`,`CreationDate`,`ModDate`,`Trapped`],n=e.charAt(0).toUpperCase()+e.slice(1);return t.includes(n)?n:e.replace(/\s+/g,``)}let n={Producer:`pdfmake`,Creator:`pdfmake`};if(e.info)for(let r in e.info){let i=e.info[r];i&&(r=t(r),n[r]=i)}return n}function Nt(e,t){if(e.files)for(let n in e.files){let r=e.files[n];if(!r.src)return;t.virtualfs&&t.virtualfs.existsSync(r.src)&&(r.src=t.virtualfs.readFileSync(r.src)),r.name=r.name||n,t.file(r.src,r)}}function Pt(e,t){function n(e){return typeof e.item.getHeight==`function`?e.item.getHeight():e.item._height?e.item._height:e.type===`vector`?e.item.y1===void 0?e.item.h:e.item.y1>e.item.y2?e.item.y1:e.item.y2:0}function r(e){return(e.item.y||0)+n(e)}let i=at(t||40),a=i.top;return e.items.forEach(e=>{let t=r(e);t>a&&(a=t)}),a+=i.bottom,a}let Ft=jt;var It=n(6811);async function Lt(e,t,n){t===void 0&&(t={});for(let r=0;r<=30;r++){if(n!==void 0&&n(e)!==!0)throw Error(`Access to URL denied by resource access policy: ${e}`);try{let n=await fetch(e,{headers:t,redirect:`manual`});if(n.status>=300&&n.status<400){let t=n.headers.get(`location`);if(!t)throw Error(`Redirect response missing Location header`);e=new URL(t,e).href;continue}if(n.type===`opaqueredirect`&&(n=await fetch(e,{headers:t})),!n.ok)throw Error(`Failed to fetch (status code: ${n.status})`);return n}catch(t){throw Error(`Network request failed (url: "${e}", error: ${t.message})`,{cause:t})}}throw Error(`Network request failed (url: "${e}", error: Too many redirects)`)}class Rt{constructor(e){this.fs=e,this.resolving={},this.urlAccessPolicy=void 0}setUrlAccessPolicy(e){this.urlAccessPolicy=e}resolve(e,t){t===void 0&&(t={});let n=async()=>{if(e.toLowerCase().startsWith(`https://`)||e.toLowerCase().startsWith(`http://`)){if(this.fs.existsSync(e))return;let n=await Lt(e,t,this.urlAccessPolicy);if(n.redirected&&this.urlAccessPolicy!==void 0&&this.urlAccessPolicy(n.url)!==!0)throw Error(`Access to URL denied by resource access policy: ${n.url}`);let r=await n.arrayBuffer();this.fs.writeFileSync(e,r)}};return this.resolving[e]||(this.resolving[e]=n()),this.resolving[e]}resolved(){return Promise.all(Object.values(this.resolving))}}let zt=Rt;var Bt=n(9964);class Vt{constructor(){this.virtualfs=It.default,this.urlAccessPolicy=void 0,this.localAccessPolicy=void 0}createPdf(e,t){if(t===void 0&&(t={}),!s(e))throw Error(`Parameter 'docDefinition' has an invalid type. Object expected.`);if(!s(t))throw Error(`Parameter 'options' has an invalid type. Object expected.`);t.progressCallback=this.progressCallback,t.tableLayouts=this.tableLayouts;let n=Bt!==void 0&&Bt?.versions?.node;this.urlAccessPolicy===void 0&&n&&console.warn(`No URL access policy defined. Consider using setUrlAccessPolicy() to restrict external resource downloads.`),this.localAccessPolicy===void 0&&n&&console.warn(`No local access policy defined. Consider using setLocalAccessPolicy() to restrict local file system access.`);let r=new zt(this.virtualfs);r.setUrlAccessPolicy(this.urlAccessPolicy);let i=new Ft(this.fonts,this.virtualfs,r,this.localAccessPolicy).createPdfKitDocument(e,t);return this._transformToDocument(i)}setUrlAccessPolicy(e){if(e!==void 0&&typeof e!=`function`)throw Error(`Parameter 'callback' has an invalid type. Function or undefined expected.`);this.urlAccessPolicy=e}setProgressCallback(e){this.progressCallback=e}addTableLayouts(e){this.tableLayouts=ce(this.tableLayouts,e)}setTableLayouts(e){this.tableLayouts=e}clearTableLayouts(){this.tableLayouts={}}addFonts(e){this.fonts=ce(this.fonts,e)}setFonts(e){this.fonts=e}clearFonts(){this.fonts={}}_transformToDocument(e){return e}}let Ht=Vt;var Ut=n(783).Buffer;class Wt{constructor(e){this.bufferSize=1073741824,this.pdfDocumentPromise=e,this.bufferPromise=null}getStream(){return this.pdfDocumentPromise}getBuffer(){let e=async()=>{let e=await this.getStream();return new Promise(t=>{let n=[];e.on(`readable`,()=>{let t;for(;(t=e.read(this.bufferSize))!==null;)n.push(t)}),e.on(`end`,()=>{t(Ut.concat(n))}),e.end()})};return this.bufferPromise===null&&(this.bufferPromise=e()),this.bufferPromise}async getBase64(){return(await this.getBuffer()).toString(`base64`)}async getDataUrl(){return`data:application/pdf;base64,`+await this.getBase64()}}let Gt=Wt;var Kt=n(5127);let qt=()=>{let e=window.open(``,`_blank`);if(e===null)throw Error(`Open PDF in new window blocked by browser`);return e};class Jt extends Gt{async getBlob(){let e=await this.getBuffer();return new Blob([e],{type:`application/pdf`})}async download(e){e===void 0&&(e=`file.pdf`);let t=await this.getBlob();(0,Kt.saveAs)(t,e)}async open(e){e===void 0&&(e=null),e||=qt();let t=await this.getBlob();try{let n=(window.URL||window.webkitURL).createObjectURL(t);e.location.href=n}catch(t){throw e.close(),t}}async print(e){e===void 0&&(e=null),(await this.getStream()).setOpenActionAsPrint(),await this.open(e)}}let Yt=Jt;var Xt=n(2416),Zt=n.n(Xt),Qt=n(890);n.n(Qt)()({useNative:[`Promise`]});let $t={Roboto:{normal:`Roboto-Regular.ttf`,bold:`Roboto-Medium.ttf`,italics:`Roboto-Italic.ttf`,bolditalics:`Roboto-MediumItalic.ttf`}};class en extends Ht{constructor(){super(),this.fonts=$t}addFontContainer(e){this.addVirtualFileSystem(e.vfs),this.addFonts(e.fonts)}addVirtualFileSystem(e){for(let t in e)if(e.hasOwnProperty(t)){let n,r;typeof e[t]==`object`?(n=e[t].data,r=e[t].encoding||`base64`):(n=e[t],r=`base64`),Zt().writeFileSync(t,n,r)}}_transformToDocument(e){return new Yt(e)}}let tn=new en},2736(e,t,n){e.exports=n(7133).default},2416(e,t,n){e.exports=n(6811).default},6811(e,t,n){n.d(t,{default:()=>o});var r=n(783).Buffer;let i=e=>(e.indexOf(`/`)===0&&(e=e.substring(1)),e.indexOf(`/`)===0&&(e=e.substring(1)),e);class a{constructor(){this.storage={}}existsSync(e){let t=i(e);return this.storage[t]!==void 0}readFileSync(e,t){let n=i(e),r=typeof t==`object`?t.encoding:t;if(!this.existsSync(n))throw Error(`File '${n}' not found in virtual file system`);let a=this.storage[n];return r?a.toString(r):a}writeFileSync(e,t,n){let a=i(e),o=typeof n==`object`?n.encoding:n;if(!t&&!n)throw Error(`No content`);this.storage[a]=o||typeof t==`string`?new r(t,o):t}}let o=new a},6582(e,t,n){t.A=void 0;var r=i(n(7696));function i(e){return e&&e.__esModule?e:{default:e}}t.A=r.default},7696(e,t,n){e=n.nmd(e),e&&e.exports!==void 0&&(e.exports=function(e,t,n,r,i){let a={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgrey:[211,211,211],lightgreen:[144,238,144],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0]},o={black:[a.black,1],white:[a.white,1],transparent:[a.black,0]},s={quot:34,amp:38,lt:60,gt:62,apos:39,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,circ:710,tilde:732,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,permil:8240,lsaquo:8249,rsaquo:8250,euro:8364,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,fnof:402,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,bull:8226,hellip:8230,prime:8242,Prime:8243,oline:8254,frasl:8260,weierp:8472,image:8465,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},c={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0},l={A3:!0,A4:!0,a3:!0,a4:!0},u={color:{inherit:!0,initial:void 0},visibility:{inherit:!0,initial:`visible`,values:{hidden:`hidden`,collapse:`hidden`,visible:`visible`}},fill:{inherit:!0,initial:o.black},stroke:{inherit:!0,initial:`none`},"stop-color":{inherit:!1,initial:o.black},"fill-opacity":{inherit:!0,initial:1},"stroke-opacity":{inherit:!0,initial:1},"stop-opacity":{inherit:!1,initial:1},"fill-rule":{inherit:!0,initial:`nonzero`,values:{nonzero:`nonzero`,evenodd:`evenodd`}},"clip-rule":{inherit:!0,initial:`nonzero`,values:{nonzero:`nonzero`,evenodd:`evenodd`}},"stroke-width":{inherit:!0,initial:1},"stroke-dasharray":{inherit:!0,initial:[]},"stroke-dashoffset":{inherit:!0,initial:0},"stroke-miterlimit":{inherit:!0,initial:4},"stroke-linejoin":{inherit:!0,initial:`miter`,values:{miter:`miter`,round:`round`,bevel:`bevel`}},"stroke-linecap":{inherit:!0,initial:`butt`,values:{butt:`butt`,round:`round`,square:`square`}},"font-size":{inherit:!0,initial:16,values:{"xx-small":9,"x-small":10,small:13,medium:16,large:18,"x-large":24,"xx-large":32}},"font-family":{inherit:!0,initial:`sans-serif`},"font-weight":{inherit:!0,initial:`normal`,values:{600:`bold`,700:`bold`,800:`bold`,900:`bold`,bold:`bold`,bolder:`bold`,500:`normal`,400:`normal`,300:`normal`,200:`normal`,100:`normal`,normal:`normal`,lighter:`normal`}},"font-style":{inherit:!0,initial:`normal`,values:{italic:`italic`,oblique:`italic`,normal:`normal`}},"text-anchor":{inherit:!0,initial:`start`,values:{start:`start`,middle:`middle`,end:`end`}},direction:{inherit:!0,initial:`ltr`,values:{ltr:`ltr`,rtl:`rtl`}},"dominant-baseline":{inherit:!0,initial:`baseline`,values:{auto:`baseline`,baseline:`baseline`,"before-edge":`before-edge`,"text-before-edge":`before-edge`,middle:`middle`,central:`central`,"after-edge":`after-edge`,"text-after-edge":`after-edge`,ideographic:`ideographic`,alphabetic:`alphabetic`,hanging:`hanging`,mathematical:`mathematical`}},"alignment-baseline":{inherit:!1,initial:void 0,values:{auto:`baseline`,baseline:`baseline`,"before-edge":`before-edge`,"text-before-edge":`before-edge`,middle:`middle`,central:`central`,"after-edge":`after-edge`,"text-after-edge":`after-edge`,ideographic:`ideographic`,alphabetic:`alphabetic`,hanging:`hanging`,mathematical:`mathematical`}},"baseline-shift":{inherit:!0,initial:`baseline`,values:{baseline:`baseline`,sub:`sub`,super:`super`}},"word-spacing":{inherit:!0,initial:0,values:{normal:0}},"letter-spacing":{inherit:!0,initial:0,values:{normal:0}},"text-decoration":{inherit:!1,initial:`none`,values:{none:`none`,underline:`underline`,overline:`overline`,"line-through":`line-through`}},"xml:space":{inherit:!0,initial:`default`,css:`white-space`,values:{preserve:`preserve`,default:`default`,pre:`preserve`,"pre-line":`preserve`,"pre-wrap":`preserve`,nowrap:`default`}},"marker-start":{inherit:!0,initial:`none`},"marker-mid":{inherit:!0,initial:`none`},"marker-end":{inherit:!0,initial:`none`},opacity:{inherit:!1,initial:1},transform:{inherit:!1,initial:[1,0,0,1,0,0]},display:{inherit:!1,initial:`inline`,values:{none:`none`,inline:`inline`,block:`inline`}},"clip-path":{inherit:!1,initial:`none`},mask:{inherit:!1,initial:`none`},overflow:{inherit:!1,initial:`hidden`,values:{hidden:`hidden`,scroll:`hidden`,visible:`visible`}},"vector-effect":{inherit:!0,initial:`none`,values:{none:`none`,"non-scaling-stroke":`non-scaling-stroke`}}};function d(t){let n=new function(){};return n.name=`G`+(e._groupCount=(e._groupCount||0)+1),n.resources=e.ref(),n.xobj=e.ref({Type:`XObject`,Subtype:`Form`,FormType:1,BBox:t,Group:{S:`Transparency`,CS:`DeviceRGB`,I:!0,K:!1},Resources:n.resources}),n.xobj.write(``),n.savedMatrix=e._ctm,n.savedPage=e.page,qe.push(n),e._ctm=[1,0,0,1,0,0],e.page={width:e.page.width,height:e.page.height,write:function(e){n.xobj.write(e)},fonts:{},xobjects:{},ext_gstates:{},patterns:{}},n}function f(t){if(t!==qe.pop())throw`Group not matching`;Object.keys(e.page.fonts).length&&(t.resources.data.Font=e.page.fonts),Object.keys(e.page.xobjects).length&&(t.resources.data.XObject=e.page.xobjects),Object.keys(e.page.ext_gstates).length&&(t.resources.data.ExtGState=e.page.ext_gstates),Object.keys(e.page.patterns).length&&(t.resources.data.Pattern=e.page.patterns),t.resources.end(),t.xobj.end(),e._ctm=t.savedMatrix,e.page=t.savedPage}function p(t){e.page.xobjects[t.name]=t.xobj,e.addContent(`/`+t.name+` Do`)}function m(t,n){let r=`M`+(e._maskCount=(e._maskCount||0)+1),i=e.ref({Type:`ExtGState`,CA:1,ca:1,BM:`Normal`,SMask:{S:`Luminosity`,G:t.xobj,BC:n?[0,0,0]:[1,1,1]}});i.end(),e.page.ext_gstates[r]=i,e.addContent(`/`+r+` gs`)}function h(e,t,n,r){return{type:`PDFPattern`,group:e,dx:t,dy:n,matrix:r||[1,0,0,1,0,0]}}function g(t,n){let r=`P`+(e._patternCount=(e._patternCount||0)+1),i=e.ref({Type:`Pattern`,PatternType:1,PaintType:1,TilingType:2,BBox:[0,0,t.dx,t.dy],XStep:t.dx,YStep:t.dy,Matrix:A(e._ctm,t.matrix),Resources:{ProcSet:[`PDF`,`Text`,`ImageB`,`ImageC`,`ImageI`],XObject:function(){let e={};return e[t.group.name]=t.group.xobj,e}()}});i.write(`/`+t.group.name+` Do`),i.end(),e.page.patterns[r]=i,n?(e.addContent(`/Pattern CS`),e.addContent(`/`+r+` SCN`)):(e.addContent(`/Pattern cs`),e.addContent(`/`+r+` scn`))}function _(t,n){e.page.fonts[t.id]||(e.page.fonts[t.id]=t.ref()),e.addContent(`BT`).addContent(`/`+t.id+` `+n+` Tf`)}function v(t,n,r,i,a,o){e.addContent(ee(t)+` `+ee(n)+` `+ee(-r)+` `+ee(-i)+` `+ee(a)+` `+ee(o)+` Tm`)}function y(t,n){let r=t&&n?2:n?1:t?0:3;e.addContent(r+` Tr`)}function b(t,n){let r=[],i=``,a=n.fauxItalic?-.25:0;function o(e){i+=e.glyph,e.kern!==0&&(r.push(`<${i}> ${ee(e.kern)}`),i=``)}function s(){i.length&&(r.push(`<${i}> 0`),i=``),r.length&&(e.addContent(`[${r.join(` `)}] TJ`),r=[])}for(let e=0;e<t.length;e++){let n=t[e];if(n.hidden||z(n.width,0)){s();continue}if(n.continuous){o(n);continue}s();let r=Math.cos(n.rotate),i=Math.sin(n.rotate);v(r*n.scale,i*n.scale,r*a-i,i*a+r,n.x,n.y),o(n)}s()}function x(){e.addContent(`ET`)}function S(t){t[0].type===`PDFPattern`?(e.fillOpacity(t[1]),g(t[0],!1)):e.fillColor(t[0],t[1])}function C(t){t[0].type===`PDFPattern`?(e.strokeOpacity(t[1]),g(t[0],!0)):e.strokeColor(t[0],t[1])}function w(t,n){let r;for(;(r=t.slice(1,-1).indexOf(0))!==-1;){let e=r+1,n=t[e-1]+t[e+1];t=t.slice(0,e-1).concat([n]).concat(t.slice(e+2))}if(t.length===2){if(t[0]===0){e.strokeOpacity(0);return}t[1]===0&&(t=[])}else t[0]===0&&(n-=t[1],t[t.length-1]+=t[1],t=t.slice(2)),t[t.length-1]===0&&(n+=t[t.length-2],t[0]+=t[t.length-2],t=t.slice(0,-2));let i=0;for(let e=0;e<t.length;e++)i+=t[e];if(i>0)for(;n<0;)n+=i;e.dash(t,{phase:n})}function T(t,n,r,i,a){let o=e.ref({Type:`Annot`,Subtype:`Link`,Rect:[t,n,r,i],Border:[0,0,0],A:{S:`URI`,URI:new String(a)}});o.end(),Ye.push(o)}function E(e){let t=function(e,t,n,r){this.error=r,this.nodeName=e,this.nodeValue=n,this.nodeType=t,this.attributes=Object.create(null),this.childNodes=[],this.parentNode=null,this.id=``,this.textContent=``,this.classList=[]};t.prototype.getAttribute=function(e){return this.attributes[e]==null?null:this.attributes[e]},t.prototype.getElementById=function(e){let t=null;return(function n(r){if(!t&&r.nodeType===1){r.id===e&&(t=r);for(let e=0;e<r.childNodes.length;e++)n(r.childNodes[e])}})(this),t},t.prototype.getElementsByTagName=function(e){let t=[];return(function n(r){if(r.nodeType===1){r.nodeName===e&&t.push(r);for(let e=0;e<r.childNodes.length;e++)n(r.childNodes[e])}})(this),t};let n=new de(e.trim()),r,i,a=!1,o=function(){let e,r;if(e=n.match(/^<([\w:.-]+)\s*/,!0)){let i=new t(e[1],1,null,a);for(;e=n.match(/^([\w:.-]+)(?:\s*=\s*"([^"]*)"|\s*=\s*'([^']*)')?\s*/,!0);){let t=e[1],n=D(e[2]||e[3]||``);i.attributes[t]?(Q(`parseXml: duplicate attribute "`+t+`"`),a=!0):(i.attributes[t]=n,t===`id`&&(i.id=n),t===`class`&&(i.classList=n.split(` `)))}if(n.match(/^>/)){for(;r=o();)i.childNodes.push(r),r.parentNode=i,i.textContent+=r.nodeType===3||r.nodeType===4?r.nodeValue:r.textContent;return(e=n.match(/^<\/([\w:.-]+)\s*>/,!0))?e[1]===i.nodeName?i:(Q(`parseXml: tag not matching, opening "`+i.nodeName+`" & closing "`+e[1]+`"`),a=!0,i):(Q(`parseXml: tag not matching, opening "`+i.nodeName+`" & not closing`),a=!0,i)}if(n.match(/^\/>/))return i;Q(`parseXml: tag could not be parsed "`+i.nodeName+`"`),a=!0}else if(e=n.match(/^<!--[\s\S]*?-->/))return new t(null,8,e,a);else if(e=n.match(/^<\?[\s\S]*?\?>/))return new t(null,7,e,a);else if(e=n.match(/^<!DOCTYPE\s*([\s\S]*?)>/))return new t(null,10,e,a);else if(e=n.match(/^<!\[CDATA\[([\s\S]*?)\]\]>/,!0))return new t(`#cdata-section`,4,e[1],a);else if(e=n.match(/^([^<]+)/,!0))return new t(`#text`,3,D(e[1]),a)};for(;i=o();)i.nodeType===1&&!r?r=i:(i.nodeType===1||i.nodeType===3&&i.nodeValue.trim()!==``)&&Q(`parseXml: data after document end has been discarded`);return n.matchAll()&&Q(`parseXml: parsing error`),r}function D(e){return e.replace(/&(?:#([0-9]+)|#[xX]([0-9A-Fa-f]+)|([0-9A-Za-z]+));/g,function(e,t,n,r){return t?String.fromCharCode(parseInt(t,10)):n?String.fromCharCode(parseInt(n,16)):r&&s[r]?String.fromCharCode(s[r]):e})}function O(e){let t,n;return e=(e||``).trim(),(t=a[e])?n=[t.slice(),1]:(t=e.match(/^cmyk\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)$/i))?(t[1]=parseInt(t[1]),t[2]=parseInt(t[2]),t[3]=parseInt(t[3]),t[4]=parseFloat(t[4]),t[1]<=100&&t[2]<=100&&t[3]<=100&&t[4]<=100&&(n=[t.slice(1,5),1])):(t=e.match(/^rgba\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)$/i))?(t[1]=parseInt(t[1]),t[2]=parseInt(t[2]),t[3]=parseInt(t[3]),t[4]=parseFloat(t[4]),t[1]<256&&t[2]<256&&t[3]<256&&t[4]<=1&&(n=[t.slice(1,4),t[4]])):(t=e.match(/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)$/i))?(t[1]=parseInt(t[1]),t[2]=parseInt(t[2]),t[3]=parseInt(t[3]),t[1]<256&&t[2]<256&&t[3]<256&&(n=[t.slice(1,4),1])):(t=e.match(/^rgb\(\s*([0-9.]+)%\s*,\s*([0-9.]+)%\s*,\s*([0-9.]+)%\s*\)$/i))?(t[1]=2.55*parseFloat(t[1]),t[2]=2.55*parseFloat(t[2]),t[3]=2.55*parseFloat(t[3]),t[1]<256&&t[2]<256&&t[3]<256&&(n=[t.slice(1,4),1])):(t=e.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i))?n=[[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)],1]:(t=e.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i))&&(n=[[17*parseInt(t[1],16),17*parseInt(t[2],16),17*parseInt(t[3],16)],1]),We?We(n,e):n}function k(e,t,n){let r=e[0].slice(),i=e[1]*t;if(n){for(let t=0;t<e.length;t++)r[t]*=i;return[r,1]}return[r,i]}function A(){function e(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}let t=arguments[0];for(let n=1;n<arguments.length;n++)t=e(t,arguments[n]);return t}function j(e,t){return[t[0]*e[0]+t[2]*e[1]+t[4],t[1]*e[0]+t[3]*e[1]+t[5]]}function M(){let t=e._ctm;for(let e=qe.length-1;e>=0;e--)t=A(qe[e].savedMatrix,t);return t}function N(){return new q().M(0,0).L(e.page.width,0).L(e.page.width,e.page.height).L(0,e.page.height).transform(F(M())).getBoundingBox()}function P(){let t=N();return e.page.width/t[2]}function F(e){let t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[3]*e[4])/t,(e[1]*e[4]-e[0]*e[5])/t]}function I(e){let t=ee(e[0]),n=ee(e[1]),r=ee(e[2]),i=ee(e[3]),a=ee(e[4]),o=ee(e[5]);if(B(t*i-n*r,0))return[t,n,r,i,a,o]}function L(e){let t=e[2]||0,n=e[1]||0,r=e[0]||0;if(z(t,0)&&z(n,0))return[];if(z(t,0))return[-r/n];{let e=n*n-4*t*r;return B(e,0)&&e>0?[(-n+Math.sqrt(e))/(2*t),(-n-Math.sqrt(e))/(2*t)]:z(e,0)?[-n/(2*t)]:[]}}function R(e,t){return(t[0]||0)+(t[1]||0)*e+(t[2]||0)*e*e+(t[3]||0)*e*e*e}function z(e,t){return Math.abs(e-t)<1e-10}function B(e,t){return Math.abs(e-t)>=1e-10}function ee(e){return e>-1e21&&e<1e21?Math.round(e*1e6)/1e6:0}function te(e){return typeof e==`object`&&!!e&&typeof e.length==`number`}function ne(e){let t=new de((e||``).trim()),n=[1,0,0,1,0,0],r;for(;r=t.match(/^([A-Za-z]+)\s*[(]([^(]+)[)]/,!0);){let e=r[1],i=[],a=new de(r[2].trim()),o;for(;o=a.matchNumber();)i.push(Number(o)),a.matchSeparator();if(e===`matrix`&&i.length===6)n=A(n,[i[0],i[1],i[2],i[3],i[4],i[5]]);else if(e===`translate`&&i.length===2)n=A(n,[1,0,0,1,i[0],i[1]]);else if(e===`translate`&&i.length===1)n=A(n,[1,0,0,1,i[0],0]);else if(e===`scale`&&i.length===2)n=A(n,[i[0],0,0,i[1],0,0]);else if(e===`scale`&&i.length===1)n=A(n,[i[0],0,0,i[0],0,0]);else if(e===`rotate`&&i.length===3){let e=i[0]*Math.PI/180;n=A(n,[1,0,0,1,i[1],i[2]],[Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0],[1,0,0,1,-i[1],-i[2]])}else if(e===`rotate`&&i.length===1){let e=i[0]*Math.PI/180;n=A(n,[Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0])}else if(e===`skewX`&&i.length===1){let e=i[0]*Math.PI/180;n=A(n,[1,0,Math.tan(e),1,0,0])}else if(e===`skewY`&&i.length===1){let e=i[0]*Math.PI/180;n=A(n,[1,Math.tan(e),0,1,0,0])}else return;t.matchSeparator()}if(!t.matchAll())return n}function V(e,t,n,r,i,a){let o=(e||``).trim().match(/^(none)$|^x(Min|Mid|Max)Y(Min|Mid|Max)(?:\s+(meet|slice))?$/)||[],s=o[1]||o[4]||`meet`,c=o[2]||`Mid`,l=o[3]||`Mid`,u=t/r,d=n/i,f={Min:0,Mid:.5,Max:1}[c]-(a||0),p={Min:0,Mid:.5,Max:1}[l]-(a||0);return s===`slice`?d=u=Math.max(u,d):s===`meet`&&(d=u=Math.min(u,d)),[u,0,0,d,f*(t-r*u),p*(n-i*d)]}function re(e){let t=Object.create(null);e=(e||``).trim().split(/;/);for(let n=0;n<e.length;n++){let r=(e[n].split(`:`)[0]||``).trim(),i=(e[n].split(`:`)[1]||``).trim();r&&(t[r]=i)}if(t.marker&&(t[`marker-start`]||=t.marker,t[`marker-mid`]||=t.marker,t[`marker-end`]||=t.marker),t.font){let e=null,n=null,r=`normal`,i=`normal`,a=`normal`,o=t.font.split(/\s+/);for(let t=0;t<o.length;t++)switch(o[t]){case`normal`:break;case`italic`:case`oblique`:r=o[t];break;case`small-caps`:a=o[t];break;case`bold`:case`bolder`:case`lighter`:case`100`:case`200`:case`300`:case`400`:case`500`:case`600`:case`700`:case`800`:case`900`:i=o[t];break;default:n?e?e+=` `+o[t]:e=o[t]:n=o[t].split(`/`)[0]}t[`font-style`]||=r,t[`font-variant`]||=a,t[`font-weight`]||=i,t[`font-size`]||=n,t[`font-family`]||=e}return t}function ie(e){let t=e.split(/(?=[.#])/g),n=[],r=[],i=[],a;for(let e=0;e<t.length;e++)if(a=t[e].match(/^[#]([_A-Za-z0-9-]+)$/))n.push(a[1]);else if(a=t[e].match(/^[.]([_A-Za-z0-9-]+)$/))r.push(a[1]);else if(a=t[e].match(/^([_A-Za-z0-9-]+)$/))i.push(a[1]);else if(t[e]!==`*`)return;return{tags:i,ids:n,classes:r,specificity:n.length*1e4+r.length*100+i.length}}function ae(e){let t=new de(e.trim()),n=[],r;for(;r=t.match(/^\s*([^\{\}]*?)\s*\{([^\{\}]*?)\}/,!0);){let e=r[1].split(/\s*,\s*/g),t=re(r[2]);for(let r=0;r<e.length;r++){let i=ie(e[r]);i&&n.push({selector:i,css:t})}}return n}function oe(e,t){if(e.nodeType!==1)return!1;for(let n=0;n<t.tags.length;n++)if(t.tags[n]!==e.nodeName)return!1;for(let n=0;n<t.ids.length;n++)if(t.ids[n]!==e.id)return!1;for(let n=0;n<t.classes.length;n++)if(e.classList.indexOf(t.classes[n])===-1)return!1;return!0}function se(e){let t=Object.create(null),n=Object.create(null);for(let r=0;r<Xe.length;r++){let i=Xe[r];if(oe(e,i.selector))for(let e in i.css)n[e]>i.selector.specificity||(t[e]=i.css[e],n[e]=i.selector.specificity)}return t}function ce(e,t){return e.concat(t.slice(e.length))}function H(e,t){return Math.max(e.ascender,(e.bbox[3]||e.bbox.maxY)*(e.scale||1))*t/1e3}function le(e,t){return Math.min(e.descender,(e.bbox[1]||e.bbox.minY)*(e.scale||1))*t/1e3}function ue(e,t){return(e.xHeight||.5*(e.ascender-e.descender))*t/1e3}function U(e,t,n,r){let i,a;switch(n){case`middle`:i=.5*ue(e,t);break;case`central`:i=.5*(le(e,t)+H(e,t));break;case`after-edge`:case`text-after-edge`:i=le(e,t);break;case`alphabetic`:case`auto`:case`baseline`:i=0;break;case`mathematical`:i=.5*H(e,t);break;case`hanging`:i=.8*H(e,t);break;case`before-edge`:case`text-before-edge`:i=H(e,t);break;default:i=0}switch(r){case`baseline`:a=0;break;case`super`:a=.6*t;break;case`sub`:a=-.6*t;break;default:a=r}return i-a}function W(e,t,n){let r=e.encode(``+n),i=r[0],a=r[1],o=[];for(let r=0;r<i.length;r++){let s=e.unicode?e.unicode[parseInt(i[r],16)]:[n.charCodeAt(r)];o.push({glyph:i[r],unicode:s,kern:a[r].advanceWidth-a[r].xAdvance,width:a[r].advanceWidth*t/1e3,xOffset:a[r].xOffset*t/1e3,yOffset:a[r].yOffset*t/1e3,xAdvance:a[r].xAdvance*t/1e3,yAdvance:a[r].yAdvance*t/1e3})}return o}function G(e,t){switch(e.nodeName){case`use`:return new X(e,t);case`symbol`:return new he(e,t);case`g`:return new ge(e,t);case`a`:return new _e(e,t);case`svg`:return new ve(e,t);case`image`:return new ye(e,t);case`rect`:return new Ce(e,t);case`circle`:return new we(e,t);case`ellipse`:return new Te(e,t);case`line`:return new Ee(e,t);case`polyline`:return new De(e,t);case`polygon`:return new Oe(e,t);case`path`:return new ke(e,t);case`text`:return new Le(e,t);case`tspan`:return new Fe(e,t);case`textPath`:return new Ie(e,t);case`#text`:case`#cdata-section`:return new Pe(e,t);default:return new J(e,t)}}var de=function(e){this.match=function(t,n){let r=e.match(t);if(r&&r.index===0)return e=e.substring(r[0].length),n?r:r[0]},this.matchSeparator=function(){return this.match(/^(?:\s*,\s*|\s*|)/)},this.matchSpace=function(){return this.match(/^(?:\s*)/)},this.matchLengthUnit=function(){return this.match(/^(?:px|pt|cm|mm|in|pc|em|ex|%|)/)},this.matchNumber=function(){return this.match(/^(?:[-+]?(?:[0-9]+[.][0-9]+|[0-9]+[.]|[.][0-9]+|[0-9]+)(?:[eE][-+]?[0-9]+)?)/)},this.matchAll=function(){return this.match(/^[\s\S]+/)}},fe=function(e,t,n,r,i,a,o,s){let c=6*Ke,l=[e,-3*e+3*n,3*e-6*n+3*i,-e+3*n-3*i+o],u=[t,-3*t+3*r,3*t-6*r+3*a,-t+3*r-3*a+s],d=[-3*e+3*n,6*e-12*n+6*i,-3*e+9*n-9*i+3*o],f=[-3*t+3*r,6*t-12*r+6*a,-3*t+9*r-9*a+3*s],p=[0];for(let e=1;e<=c;e++){let t=(e-.5)/c,n=R(t,d)/c,r=R(t,f)/c,i=Math.sqrt(n*n+r*r);p[e]=p[e-1]+i}this.totalLength=p[c],this.startPoint=[e,t,z(e,n)&&z(t,r)?Math.atan2(a-r,i-n):Math.atan2(r-t,n-e)],this.endPoint=[o,s,z(i,o)&&z(a,s)?Math.atan2(a-r,i-n):Math.atan2(s-a,o-i)],this.getBoundingBox=function(){let e,t=R(0,l),n=R(0,u),r=R(1,l),i=R(1,u);t>r&&(e=r,r=t,t=e),n>i&&(e=i,i=n,n=e);let a=L(d);for(let e=0;e<a.length;e++)if(a[e]>=0&&a[e]<=1){let n=R(a[e],l);n<t&&(t=n),n>r&&(r=n)}let o=L(f);for(let e=0;e<o.length;e++)if(o[e]>=0&&o[e]<=1){let t=R(o[e],u);t<n&&(n=t),t>i&&(i=t)}return[t,n,r,i]},this.getPointAtLength=function(e){if(z(e,0))return this.startPoint;if(z(e,this.totalLength))return this.endPoint;if(!(e<0||e>this.totalLength))for(let t=1;t<=c;t++){let n=p[t-1],r=p[t];if(n<=e&&e<=r){let i=(t-(r-e)/(r-n))/c,a=R(i,l),o=R(i,u),s=R(i,d),p=R(i,f);return[a,o,Math.atan2(p,s)]}}}},K=function(e,t,n,r){this.totalLength=Math.sqrt((n-e)*(n-e)+(r-t)*(r-t)),this.startPoint=[e,t,Math.atan2(r-t,n-e)],this.endPoint=[n,r,Math.atan2(r-t,n-e)],this.getBoundingBox=function(){return[Math.min(this.startPoint[0],this.endPoint[0]),Math.min(this.startPoint[1],this.endPoint[1]),Math.max(this.startPoint[0],this.endPoint[0]),Math.max(this.startPoint[1],this.endPoint[1])]},this.getPointAtLength=function(e){if(e>=0&&e<=this.totalLength){let t=e/this.totalLength||0;return[this.startPoint[0]+t*(this.endPoint[0]-this.startPoint[0]),this.startPoint[1]+t*(this.endPoint[1]-this.startPoint[1]),this.startPoint[2]]}}},q=function(){this.pathCommands=[],this.pathSegments=[],this.startPoint=null,this.endPoint=null,this.totalLength=0;let t=0,n=0,r=0,i=0,a,o,s;this.move=function(e,a){return t=r=e,n=i=a,null},this.line=function(e,t){let n=new K(r,i,e,t);return r=e,i=t,n},this.curve=function(e,t,n,a,o,s){let c=new fe(r,i,e,t,n,a,o,s);return r=o,i=s,c},this.close=function(){let e=new K(r,i,t,n);return r=t,i=n,e},this.addCommand=function(e){this.pathCommands.push(e);let t=this[e[0]].apply(this,e.slice(3));t&&(t.hasStart=e[1],t.hasEnd=e[2],this.startPoint=this.startPoint||t.startPoint,this.endPoint=t.endPoint,this.pathSegments.push(t),this.totalLength+=t.totalLength)},this.M=function(e,t){return this.addCommand([`move`,!0,!0,e,t]),a=`M`,this},this.m=function(e,t){return this.M(r+e,i+t)},this.Z=this.z=function(){return this.addCommand([`close`,!0,!0]),a=`Z`,this},this.L=function(e,t){return this.addCommand([`line`,!0,!0,e,t]),a=`L`,this},this.l=function(e,t){return this.L(r+e,i+t)},this.H=function(e){return this.L(e,i)},this.h=function(e){return this.L(r+e,i)},this.V=function(e){return this.L(r,e)},this.v=function(e){return this.L(r,i+e)},this.C=function(e,t,n,r,i,c){return this.addCommand([`curve`,!0,!0,e,t,n,r,i,c]),a=`C`,o=n,s=r,this},this.c=function(e,t,n,a,o,s){return this.C(r+e,i+t,r+n,i+a,r+o,i+s)},this.S=function(e,t,n,c){return this.C(r+(a===`C`?r-o:0),i+(a===`C`?i-s:0),e,t,n,c)},this.s=function(e,t,n,c){return this.C(r+(a===`C`?r-o:0),i+(a===`C`?i-s:0),r+e,i+t,r+n,i+c)},this.Q=function(e,t,n,c){let l=r+2/3*(e-r),u=i+2/3*(t-i),d=n+2/3*(e-n),f=c+2/3*(t-c);return this.addCommand([`curve`,!0,!0,l,u,d,f,n,c]),a=`Q`,o=e,s=t,this},this.q=function(e,t,n,a){return this.Q(r+e,i+t,r+n,i+a)},this.T=function(e,t){return this.Q(r+(a===`Q`?r-o:0),i+(a===`Q`?i-s:0),e,t)},this.t=function(e,t){return this.Q(r+(a===`Q`?r-o:0),i+(a===`Q`?i-s:0),r+e,i+t)},this.A=function(e,t,n,o,s,c,l){if(z(e,0)||z(t,0))this.addCommand([`line`,!0,!0,c,l]);else{n=Math.PI/180*n,e=Math.abs(e),t=Math.abs(t),o=1*!!o,s=1*!!s;let a=Math.cos(n)*(r-c)/2+Math.sin(n)*(i-l)/2,u=Math.cos(n)*(i-l)/2-Math.sin(n)*(r-c)/2,d=a*a/(e*e)+u*u/(t*t);d>1&&(e*=Math.sqrt(d),t*=Math.sqrt(d));let f=Math.sqrt(Math.max(0,e*e*t*t-e*e*u*u-t*t*a*a)/(e*e*u*u+t*t*a*a)),p=(o===s?-1:1)*f*e*u/t,m=(o===s?1:-1)*f*t*a/e,h=Math.cos(n)*p-Math.sin(n)*m+(r+c)/2,g=Math.sin(n)*p+Math.cos(n)*m+(i+l)/2,_=Math.atan2((u-m)/t,(a-p)/e),v=Math.atan2((-u-m)/t,(-a-p)/e);s===0&&v-_>0?v-=2*Math.PI:s===1&&v-_<0&&(v+=2*Math.PI);let y=Math.ceil(Math.abs(v-_)/(Math.PI/Ke));for(let r=0;r<y;r++){let i=_+r*(v-_)/y,a=_+(r+1)*(v-_)/y,o=4/3*Math.tan((a-i)/4),s=h+Math.cos(n)*e*(Math.cos(i)-o*Math.sin(i))-Math.sin(n)*t*(Math.sin(i)+o*Math.cos(i)),c=g+Math.sin(n)*e*(Math.cos(i)-o*Math.sin(i))+Math.cos(n)*t*(Math.sin(i)+o*Math.cos(i)),l=h+Math.cos(n)*e*(Math.cos(a)+o*Math.sin(a))-Math.sin(n)*t*(Math.sin(a)-o*Math.cos(a)),u=g+Math.sin(n)*e*(Math.cos(a)+o*Math.sin(a))+Math.cos(n)*t*(Math.sin(a)-o*Math.cos(a)),d=h+Math.cos(n)*e*Math.cos(a)-Math.sin(n)*t*Math.sin(a),f=g+Math.sin(n)*e*Math.cos(a)+Math.cos(n)*t*Math.sin(a);this.addCommand([`curve`,r===0,r===y-1,s,c,l,u,d,f])}}return a=`A`,this},this.a=function(e,t,n,a,o,s,c){return this.A(e,t,n,a,o,r+s,i+c)},this.path=function(e){let t,n,r,i=new de((e||``).trim());for(;t=i.match(/^[astvzqmhlcASTVZQMHLC]/);){i.matchSeparator();let e=[];for(;n=l[t+e.length]?i.match(/^[01]/):i.matchNumber();)i.matchSeparator(),e.length===c[t]&&(this[t].apply(this,e),e=[],t===`M`?t=`L`:t===`m`&&(t=`l`)),e.push(Number(n));if(e.length===c[t])this[t].apply(this,e);else{Q(`SvgPath: command `+t+` with `+e.length+` numbers`);return}}return(r=i.matchAll())&&Q(`SvgPath: unexpected string `+r),this},this.getBoundingBox=function(){let e=[1/0,1/0,-1/0,-1/0];function t(t){t[0]<e[0]&&(e[0]=t[0]),t[2]>e[2]&&(e[2]=t[2]),t[1]<e[1]&&(e[1]=t[1]),t[3]>e[3]&&(e[3]=t[3])}for(let e=0;e<this.pathSegments.length;e++)t(this.pathSegments[e].getBoundingBox());return e[0]===1/0&&(e[0]=0),e[1]===1/0&&(e[1]=0),e[2]===-1/0&&(e[2]=0),e[3]===-1/0&&(e[3]=0),e},this.getPointAtLength=function(e){if(e>=0&&e<=this.totalLength){let t;for(let n=0;n<this.pathSegments.length;n++){if(t=this.pathSegments[n].getPointAtLength(e))return t;e-=this.pathSegments[n].totalLength}return this.endPoint}},this.transform=function(e){this.pathSegments=[],this.startPoint=null,this.endPoint=null,this.totalLength=0;for(let t=0;t<this.pathCommands.length;t++){let t=this.pathCommands.shift();for(let n=3;n<t.length;n+=2){let r=j([t[n],t[n+1]],e);t[n]=r[0],t[n+1]=r[1]}this.addCommand(t)}return this},this.mergeShape=function(e){for(let t=0;t<e.pathCommands.length;t++)this.addCommand(e.pathCommands[t].slice());return this},this.clone=function(){return new q().mergeShape(this)},this.insertInDocument=function(){for(let t=0;t<this.pathCommands.length;t++){let n=this.pathCommands[t][0],r=this.pathCommands[t].slice(3);switch(n){case`move`:e.moveTo(r[0],r[1]);break;case`line`:e.lineTo(r[0],r[1]);break;case`curve`:e.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);break;case`close`:e.closePath()}}},this.getSubPaths=function(){let e=[],t=new q;for(let n=0;n<this.pathCommands.length;n++){let r=this.pathCommands[n];this.pathCommands[n][0]===`move`&&n!==0&&(e.push(t),t=new q),t.addCommand(r)}return e.push(t),e},this.getMarkers=function(){let e=[],t=this.getSubPaths();for(let n=0;n<t.length;n++){let r=t[n],i=[];for(let e=0;e<r.pathSegments.length;e++){let t=r.pathSegments[e];if(B(t.totalLength,0)||e===0||e===r.pathSegments.length-1){if(t.hasStart){let e=t.getPointAtLength(0),n=i.pop();n&&(e[2]=.5*(n[2]+e[2])),i.push(e)}if(t.hasEnd){let e=t.getPointAtLength(t.totalLength);i.push(e)}}}e=e.concat(i)}return e}},J=function(e,n){let r=Object.create(null),i=null;this.name=e.nodeName,this.isOuterElement=e===t||!e.parentNode,this.inherits=n||(this.isOuterElement?null:G(e.parentNode,null)),this.stack=this.inherits?this.inherits.stack.concat(e):[e],this.style=re(typeof e.getAttribute==`function`&&e.getAttribute(`style`)),this.css=Z?getComputedStyle(e):se(e),this.allowedChildren=[],this.attr=function(t){if(typeof e.getAttribute==`function`)return e.getAttribute(t)},this.resolveUrl=function(e){let n=(e||``).match(/^\s*(?:url\("(.*)#(.*)"\)|url\('(.*)#(.*)'\)|url\((.*)#(.*)\)|(.*)#(.*))\s*$/)||[],r=n[1]||n[3]||n[5]||n[7],i=n[2]||n[4]||n[6]||n[8];if(i){if(!r){let e=t.getElementById(i);if(e){if(this.stack.indexOf(e)===-1)return e;Q(`SVGtoPDF: loop of circular references for id "`+i+`"`);return}}if(Ge){let e=Je[r];if(!e){e=Ge(r),te(e)||(e=[e]);for(let t=0;t<e.length;t++)typeof e[t]==`string`&&(e[t]=E(e[t]));Je[r]=e}for(let t=0;t<e.length;t++){let n=e[t].getElementById(i);if(n){if(this.stack.indexOf(n)===-1)return n;Q(`SVGtoPDF: loop of circular references for id "`+r+`#`+i+`"`);return}}}}},this.computeUnits=function(e,t,n,r){return t===`%`?parseFloat(e)/100*(r||n!=null?n:this.getViewport()):t===`ex`||t===`em`?e*{em:1,ex:.5}[t]*(r?n:this.get(`font-size`)):e*{"":1,px:1,pt:96/72,cm:96/2.54,mm:96/25.4,in:96,pc:16}[t]},this.computeLength=function(e,t,n,r){let i=new de((e||``).trim()),a,o;return typeof(a=i.matchNumber())==`string`&&typeof(o=i.matchLengthUnit())==`string`&&!i.matchAll()?this.computeUnits(a,o,t,r):n},this.computeLengthList=function(e,t,n){let r=new de((e||``).trim()),i=[],a,o;for(;typeof(a=r.matchNumber())==`string`&&typeof(o=r.matchLengthUnit())==`string`;)i.push(this.computeUnits(a,o,t)),r.matchSeparator();if(!(n&&r.matchAll()))return i},this.getLength=function(e,t,n){return this.computeLength(this.attr(e),t,n)},this.getLengthList=function(e,t){return this.computeLengthList(this.attr(e),t)},this.getUrl=function(e){return this.resolveUrl(this.attr(e))},this.getNumberList=function(e){let t=new de((this.attr(e)||``).trim()),n=[],r;for(;r=t.matchNumber();)n.push(Number(r)),t.matchSeparator();return n.error=t.matchAll(),n},this.getViewbox=function(e,t){let n=this.getNumberList(e);return n.length===4&&n[2]>=0&&n[3]>=0?n:t},this.getPercent=function(e,t){let n=new de((this.attr(e)||``).trim()),r=n.matchNumber();return!r||(n.match(`%`)&&(r*=.01),n.matchAll())?t:Math.max(0,Math.min(1,r))},this.chooseValue=function(e){for(let e=0;e<arguments.length;e++)if(arguments[e]!=null&&arguments[e]===arguments[e])return arguments[e];return arguments[arguments.length-1]},this.get=function(e){if(r[e]!==void 0)return r[e];let t=u[e]||{},n,i;for(let a=0;a<3;a++){switch(a){case 0:e!==`transform`&&(n=this.css[t.css||e]);break;case 1:n=this.style[e];break;case 2:n=this.attr(e)}if(n===`inherit`&&(i=this.inherits?this.inherits.get(e):t.initial,i!=null)||t.values!=null&&(i=t.values[n],i!=null))return r[e]=i;if(n!=null){let a;switch(e){case`font-size`:i=this.computeLength(n,this.inherits?this.inherits.get(e):t.initial,void 0,!0);break;case`baseline-shift`:i=this.computeLength(n,this.get(`font-size`));break;case`font-family`:i=n||void 0;break;case`opacity`:case`stroke-opacity`:case`fill-opacity`:case`stop-opacity`:a=parseFloat(n),isNaN(a)||(i=Math.max(0,Math.min(1,a)));break;case`transform`:i=ne(n);break;case`stroke-dasharray`:if(n===`none`)i=[];else if(a=this.computeLengthList(n,this.getViewport(),!0)){let e=0,t=!1;for(let n=0;n<a.length;n++)a[n]<0&&(t=!0),e+=a[n];t||(a.length%2==1&&(a=a.concat(a)),i=e===0?[]:a)}break;case`color`:i=n===`none`||n===`transparent`?`none`:O(n);break;case`fill`:case`stroke`:if(n===`none`||n===`transparent`)i=`none`;else if(n===`currentColor`)i=this.get(`color`);else if(a=O(n))return a;else if(a=(n||``).split(` `)){let e=this.resolveUrl(a[0]),t=O(a[1]);i=e==null?t:e.nodeName===`linearGradient`||e.nodeName===`radialGradient`?new xe(e,null,t):e.nodeName===`pattern`?new be(e,null,t):t}break;case`stop-color`:i=n===`none`||n===`transparent`?`none`:n===`currentColor`?this.get(`color`):O(n);break;case`marker-start`:case`marker-mid`:case`marker-end`:case`clip-path`:case`mask`:i=n===`none`?`none`:this.resolveUrl(n);break;case`stroke-width`:a=this.computeLength(n,this.getViewport()),a!=null&&a>=0&&(i=a);break;case`stroke-miterlimit`:a=parseFloat(n),a!=null&&a>=1&&(i=a);break;case`word-spacing`:case`letter-spacing`:i=this.computeLength(n,this.getViewport());break;case`stroke-dashoffset`:i=this.computeLength(n,this.getViewport())}if(i!=null)return r[e]=i}}return r[e]=t.inherit&&this.inherits?this.inherits.get(e):t.initial},this.getChildren=function(){if(i!=null)return i;let t=[];for(let n=0;n<e.childNodes.length;n++){let r=e.childNodes[n];!r.error&&this.allowedChildren.indexOf(r.nodeName)!==-1&&t.push(G(r,this))}return i=t},this.getParentVWidth=function(){return this.inherits?this.inherits.getVWidth():ze},this.getParentVHeight=function(){return this.inherits?this.inherits.getVHeight():Be},this.getParentViewport=function(){return Math.sqrt(.5*this.getParentVWidth()*this.getParentVWidth()+.5*this.getParentVHeight()*this.getParentVHeight())},this.getVWidth=function(){return this.getParentVWidth()},this.getVHeight=function(){return this.getParentVHeight()},this.getViewport=function(){return Math.sqrt(.5*this.getVWidth()*this.getVWidth()+.5*this.getVHeight()*this.getVHeight())},this.getBoundingBox=function(){return this.getBoundingShape().getBoundingBox()}},Y=function(t,n){J.call(this,t,n),this.transform=function(){e.transform.apply(e,this.getTransformation())},this.clip=function(){if(this.get(`clip-path`)!==`none`){let e=new je(this.get(`clip-path`),null);return e.useMask(e.attr(`clipPathUnits`)===`objectBoundingBox`?this.getBoundingBox():null),!0}},this.mask=function(){if(this.get(`mask`)!==`none`)return new Me(this.get(`mask`),null).useMask(this.getBoundingBox()),!0},this.getFill=function(e,t){let n=this.get(`opacity`),r=this.get(`fill`),i=this.get(`fill-opacity`);if(e)return o.white;if(r!==`none`&&n&&i)return r instanceof xe||r instanceof be?r.getPaint(this.getBoundingBox(),i*n,e,t):k(r,i*n,t)},this.getStroke=function(e,t){let n=this.get(`opacity`),r=this.get(`stroke`),i=this.get(`stroke-opacity`);if(!(e||z(this.get(`stroke-width`),0))&&r!==`none`&&n&&i)return r instanceof xe||r instanceof be?r.getPaint(this.getBoundingBox(),i*n,e,t):k(r,i*n,t)}},pe=function(e,t){Y.call(this,e,t),this.allowedChildren=[`use`,`g`,`a`,`svg`,`image`,`rect`,`circle`,`ellipse`,`line`,`polyline`,`polygon`,`path`,`text`],this.getBoundingShape=function(){let e=new q,t=this.getChildren();for(let n=0;n<t.length;n++)if(t[n].get(`display`)!==`none`&&typeof t[n].getBoundingShape==`function`){let r=t[n].getBoundingShape().clone();typeof t[n].getTransformation==`function`&&r.transform(t[n].getTransformation()),e.mergeShape(r)}return e},this.drawChildren=function(e,t){let n=this.getChildren();for(let r=0;r<n.length;r++)n[r].get(`display`)!==`none`&&typeof n[r].drawInDocument==`function`&&n[r].drawInDocument(e,t)}},me=function(t,n){pe.call(this,t,n),this.drawContent=function(t,n){this.transform();let r=this.clip(),i=this.mask(),a;(this.get(`opacity`)<1||r||i)&&!t&&(a=d(N())),this.drawChildren(t,n),a&&(f(a),e.fillOpacity(this.get(`opacity`)),p(a))}},X=function(t,n){me.call(this,t,n);let r=this.getLength(`x`,this.getVWidth(),0),i=this.getLength(`y`,this.getVHeight(),0),a=this.getUrl(`href`)||this.getUrl(`xlink:href`);a&&=G(a,this),this.getChildren=function(){return a?[a]:[]},this.drawInDocument=function(t,n){e.save(),this.drawContent(t,n),e.restore()},this.getTransformation=function(){return A(this.get(`transform`),[1,0,0,1,r,i])}},he=function(t,n){me.call(this,t,n);let r=this.getLength(`width`,this.getParentVWidth(),this.getParentVWidth()),i=this.getLength(`height`,this.getParentVHeight(),this.getParentVHeight());n instanceof X&&(r=n.getLength(`width`,n.getParentVWidth(),r),i=n.getLength(`height`,n.getParentVHeight(),i));let a=(this.attr(`preserveAspectRatio`)||``).trim(),o=this.getViewbox(`viewBox`,[0,0,r,i]);this.getVWidth=function(){return o[2]},this.getVHeight=function(){return o[3]},this.drawInDocument=function(t,n){e.save(),this.drawContent(t,n),e.restore()},this.getTransformation=function(){return A(V(a,r,i,o[2],o[3]),[1,0,0,1,-o[0],-o[1]])}},ge=function(t,n){me.call(this,t,n),this.drawInDocument=function(t,n){e.save(),this.link&&!t&&!n&&this.addLink(),this.drawContent(t,n),e.restore()},this.getTransformation=function(){return this.get(`transform`)}},_e=function(e,t){t&&t.isText?(Fe.call(this,e,t),this.allowedChildren=[`textPath`,`tspan`,`#text`,`#cdata-section`,`a`]):ge.call(this,e,t),this.link=this.attr(`href`)||this.attr(`xlink:href`),this.addLink=function(){if(this.link.match(/^(?:[a-z][a-z0-9+.-]*:|\/\/)?/i)&&this.getChildren().length){let e=this.getBoundingShape().transform(M()).getBoundingBox();T(e[0],e[1],e[2],e[3],this.link)}}},ve=function(t,n){me.call(this,t,n);let r=this.getLength(`width`,this.getParentVWidth(),this.getParentVWidth()),i=this.getLength(`height`,this.getParentVHeight(),this.getParentVHeight()),a=this.getLength(`x`,this.getParentVWidth(),0),o=this.getLength(`y`,this.getParentVHeight(),0);n instanceof X&&(r=n.getLength(`width`,n.getParentVWidth(),r),i=n.getLength(`height`,n.getParentVHeight(),i));let s=this.attr(`preserveAspectRatio`),c=this.getViewbox(`viewBox`,[0,0,r,i]);this.isOuterElement&&Ve&&(a=o=0,r=ze,i=Be,s=Ve),this.getVWidth=function(){return c[2]},this.getVHeight=function(){return c[3]},this.drawInDocument=function(t,n){e.save(),this.get(`overflow`)===`hidden`&&(new q().M(a,o).L(a+r,o).L(a+r,o+i).L(a,o+i).Z().transform(this.get(`transform`)).insertInDocument(),e.clip()),this.drawContent(t,n),e.restore()},this.getTransformation=function(){return A(this.get(`transform`),[1,0,0,1,a,o],V(s,r,i,c[2],c[3]),[1,0,0,1,-c[0],-c[1]])}},ye=function(t,n){Y.call(this,t,n);let r=Ue(this.attr(`href`)||this.attr(`xlink:href`)||``),i=this.getLength(`x`,this.getVWidth(),0),a=this.getLength(`y`,this.getVHeight(),0),s=this.getLength(`width`,this.getVWidth(),`auto`),c=this.getLength(`height`,this.getVHeight(),`auto`),l;try{l=e.openImage(r)}catch{Q(`SVGElemImage: failed to open image "`+r+`" in PDFKit`)}l&&(s===`auto`&&c!==`auto`?s=c*l.width/l.height:c===`auto`&&s!==`auto`?c=s*l.height/l.width:s===`auto`&&c===`auto`&&(s=l.width,c=l.height)),(s===`auto`||s<0)&&(s=0),(c===`auto`||c<0)&&(c=0),this.getTransformation=function(){return this.get(`transform`)},this.getBoundingShape=function(){return new q().M(i,a).L(i+s,a).M(i+s,a+c).L(i,a+c)},this.drawInDocument=function(t,n){this.get(`visibility`)!==`hidden`&&l&&(e.save(),this.transform(),this.get(`overflow`)===`hidden`&&e.rect(i,a,s,c).clip(),this.clip(),this.mask(),e.translate(i,a),e.transform.apply(e,V(this.attr(`preserveAspectRatio`),s,c,l?l.width:s,l?l.height:c)),t?(e.rect(0,0,l.width,l.height),S(o.white).fill()):(e.fillOpacity(this.get(`opacity`)),e.image(l,0,0)),e.restore())}},be=function(t,n,r){pe.call(this,t,n),this.ref=function(){let e=this.getUrl(`href`)||this.getUrl(`xlink:href`);if(e&&e.nodeName===t.nodeName)return new be(e,n,r)}.call(this);let i=this.attr;this.attr=function(e){let t=i.call(this,e);return t!=null||e===`href`||e===`xlink:href`?t:this.ref?this.ref.attr(e):null};let a=this.getChildren;this.getChildren=function(){let e=a.call(this);return e.length>0?e:this.ref?this.ref.getChildren():[]},this.getPaint=function(t,n,i,a){let o=this.attr(`patternUnits`)!==`userSpaceOnUse`,s=this.attr(`patternContentUnits`)===`objectBoundingBox`,c=this.getLength(`x`,o?1:this.getParentVWidth(),0),l=this.getLength(`y`,o?1:this.getParentVHeight(),0),u=this.getLength(`width`,o?1:this.getParentVWidth(),0),p=this.getLength(`height`,o?1:this.getParentVHeight(),0);s&&!o?(c=(c-t[0])/(t[2]-t[0])||0,l=(l-t[1])/(t[3]-t[1])||0,u=u/(t[2]-t[0])||0,p=p/(t[3]-t[1])||0):!s&&o&&(c=t[0]+c*(t[2]-t[0]),l=t[1]+l*(t[3]-t[1]),u*=t[2]-t[0],p*=t[3]-t[1]);let m=this.getViewbox(`viewBox`,[0,0,u,p]),g=A(V((this.attr(`preserveAspectRatio`)||``).trim(),u,p,m[2],m[3],0),[1,0,0,1,-m[0],-m[1]]),_=ne(this.attr(`patternTransform`));if(s&&(_=A([t[2]-t[0],0,0,t[3]-t[1],t[0],t[1]],_)),_=A(_,[1,0,0,1,c,l]),(_=I(_))&&(g=I(g))&&(u=ee(u))&&(p=ee(p))){let t=d([0,0,u,p]);return e.transform.apply(e,g),this.drawChildren(i,a),f(t),[h(t,u,p,_),n]}return r?[r[0],r[1]*n]:void 0},this.getVWidth=function(){let e=this.attr(`patternUnits`)!==`userSpaceOnUse`,t=this.getLength(`width`,e?1:this.getParentVWidth(),0);return this.getViewbox(`viewBox`,[0,0,t,0])[2]},this.getVHeight=function(){let e=this.attr(`patternUnits`)!==`userSpaceOnUse`,t=this.getLength(`height`,e?1:this.getParentVHeight(),0);return this.getViewbox(`viewBox`,[0,0,0,t])[3]}},xe=function(t,n,r){J.call(this,t,n),this.allowedChildren=[`stop`],this.ref=function(){let e=this.getUrl(`href`)||this.getUrl(`xlink:href`);if(e&&e.nodeName===t.nodeName)return new xe(e,n,r)}.call(this);let i=this.attr;this.attr=function(e){let t=i.call(this,e);return t!=null||e===`href`||e===`xlink:href`?t:this.ref?this.ref.attr(e):null};let a=this.getChildren;this.getChildren=function(){let e=a.call(this);return e.length>0?e:this.ref?this.ref.getChildren():[]},this.getPaint=function(t,n,i,a){let s=this.getChildren();if(s.length===0)return;if(s.length===1){let e=s[0],t=e.get(`stop-color`);return t===`none`?void 0:k(t,e.get(`stop-opacity`)*n,a)}let c=this.attr(`gradientUnits`)!==`userSpaceOnUse`,l=ne(this.attr(`gradientTransform`)),u=this.attr(`spreadMethod`),d,f,p,m,h,g,_=0,v=0,y=1;if(c&&(l=A([t[2]-t[0],0,0,t[3]-t[1],t[0],t[1]],l)),l=I(l)){if(this.name===`linearGradient`)f=this.getLength(`x1`,c?1:this.getVWidth(),0),p=this.getLength(`x2`,c?1:this.getVWidth(),c?1:this.getVWidth()),m=this.getLength(`y1`,c?1:this.getVHeight(),0),h=this.getLength(`y2`,c?1:this.getVHeight(),0);else{p=this.getLength(`cx`,c?1:this.getVWidth(),c?.5:.5*this.getVWidth()),h=this.getLength(`cy`,c?1:this.getVHeight(),c?.5:.5*this.getVHeight()),g=this.getLength(`r`,c?1:this.getViewport(),c?.5:.5*this.getViewport()),f=this.getLength(`fx`,c?1:this.getVWidth(),p),m=this.getLength(`fy`,c?1:this.getVHeight(),h),g<0&&Q(`SvgElemGradient: negative r value`);let e=Math.sqrt((p-f)**2+(h-m)**2),t=1;e>g&&(t=g/e,f=p+(f-p)*t,m=h+(m-h)*t),g=Math.max(g,e*t*(1+1e-6))}if(u===`reflect`||u===`repeat`){let e=F(l),n=j([t[0],t[1]],e),r=j([t[2],t[1]],e),i=j([t[2],t[3]],e),a=j([t[0],t[3]],e);this.name===`linearGradient`?(_=Math.max((n[0]-p)*(p-f)+(n[1]-h)*(h-m),(r[0]-p)*(p-f)+(r[1]-h)*(h-m),(i[0]-p)*(p-f)+(i[1]-h)*(h-m),(a[0]-p)*(p-f)+(a[1]-h)*(h-m))/((p-f)**2+(h-m)**2),v=Math.max((n[0]-f)*(f-p)+(n[1]-m)*(m-h),(r[0]-f)*(f-p)+(r[1]-m)*(m-h),(i[0]-f)*(f-p)+(i[1]-m)*(m-h),(a[0]-f)*(f-p)+(a[1]-m)*(m-h))/((p-f)**2+(h-m)**2)):_=Math.sqrt(Math.max((n[0]-p)**2+(n[1]-h)**2,(r[0]-p)**2+(r[1]-h)**2,(i[0]-p)**2+(i[1]-h)**2,(a[0]-p)**2+(a[1]-h)**2))/g-1,_=Math.ceil(_+.5),v=Math.ceil(v+.5),y=v+1+_}d=this.name===`linearGradient`?e.linearGradient(f-v*(p-f),m-v*(h-m),p+_*(p-f),h+_*(h-m)):e.radialGradient(f,m,0,p,h,g+_*g);for(let e=0;e<y;e++){let t=0,r=u!==`reflect`||(e-v)%2==0;for(let i=0;i<s.length;i++){let c=s[r?i:s.length-1-i],l=c.get(`stop-color`);l===`none`&&(l=o.transparent),l=k(l,c.get(`stop-opacity`)*n,a),t=Math.max(t,r?c.getPercent(`offset`,0):1-c.getPercent(`offset`,0)),i===0&&l[0].length===4&&(d._colorSpace=`DeviceCMYK`),i===0&&t>0&&d.stop((e+0)/y,l[0],l[1]),d.stop((e+t)/(_+v+1),l[0],l[1]),i===s.length-1&&t<1&&d.stop((e+1)/y,l[0],l[1])}}return d.setTransform.apply(d,l),[d,1]}return r?[r[0],r[1]*n]:void 0}},Se=function(t,n){Y.call(this,t,n),this.dashScale=1,this.getBoundingShape=function(){return this.shape},this.getTransformation=function(){return this.get(`transform`)},this.drawInDocument=function(t,n){if(this.get(`visibility`)!==`hidden`&&this.shape){if(e.save(),this.get(`vector-effect`)===`non-scaling-stroke`?this.shape.transform(this.getTransformation()):this.transform(),this.clip(),t)this.shape.insertInDocument(),S(o.white),e.fill(this.get(`clip-rule`));else{let r=this.mask(),i;r&&(i=d(N()));let a=this.shape.getSubPaths(),o=this.getFill(t,n),s=this.getStroke(t,n),c=this.get(`stroke-width`),l=this.get(`stroke-linecap`);if(this.get(`vector-effect`)===`non-scaling-stroke`&&(c/=P()),o||s){if(o&&S(o),s){for(let t=0;t<a.length;t++)if(z(a[t].totalLength,0)&&(l===`square`||l===`round`)&&c>0&&a[t].startPoint&&a[t].startPoint.length>1){let n=a[t].startPoint[0],r=a[t].startPoint[1];S(s),l===`square`?e.rect(n-.5*c,r-.5*c,c,c):l===`round`&&e.circle(n,r,.5*c),e.fill()}let t=this.get(`stroke-dasharray`),n=this.get(`stroke-dashoffset`);if(B(this.dashScale,1)){for(let e=0;e<t.length;e++)t[e]*=this.dashScale;n*=this.dashScale}C(s),e.lineWidth(c).miterLimit(this.get(`stroke-miterlimit`)).lineJoin(this.get(`stroke-linejoin`)).lineCap(l),w(t,n)}for(let e=0;e<a.length;e++)a[e].totalLength>0&&a[e].insertInDocument();o&&s?e.fillAndStroke(this.get(`fill-rule`)):o?e.fill(this.get(`fill-rule`)):s&&e.stroke()}let u=this.get(`marker-start`),m=this.get(`marker-mid`),h=this.get(`marker-end`);if(u!==`none`||m!==`none`||h!==`none`){let e=this.shape.getMarkers();if(u!==`none`&&e.length>0&&new Ae(u,null).drawMarker(!1,n,e[0],c),m!==`none`)for(let t=1;t<e.length-1;t++)new Ae(m,null).drawMarker(!1,n,e[t],c);h!==`none`&&e.length>0&&new Ae(h,null).drawMarker(!1,n,e[e.length-1],c)}i&&(f(i),p(i))}e.restore()}}},Ce=function(e,t){Se.call(this,e,t);let n=this.getLength(`x`,this.getVWidth(),0),r=this.getLength(`y`,this.getVHeight(),0),i=this.getLength(`width`,this.getVWidth(),0),a=this.getLength(`height`,this.getVHeight(),0),o=this.getLength(`rx`,this.getVWidth()),s=this.getLength(`ry`,this.getVHeight());o===void 0&&s===void 0?o=s=0:o===void 0&&s!==void 0?o=s:o!==void 0&&s===void 0&&(s=o),i>0&&a>0?o&&s?(o=Math.min(o,.5*i),s=Math.min(s,.5*a),this.shape=new q().M(n+o,r).L(n+i-o,r).A(o,s,0,0,1,n+i,r+s).L(n+i,r+a-s).A(o,s,0,0,1,n+i-o,r+a).L(n+o,r+a).A(o,s,0,0,1,n,r+a-s).L(n,r+s).A(o,s,0,0,1,n+o,r).Z()):this.shape=new q().M(n,r).L(n+i,r).L(n+i,r+a).L(n,r+a).Z():this.shape=new q},we=function(e,t){Se.call(this,e,t);let n=this.getLength(`cx`,this.getVWidth(),0),r=this.getLength(`cy`,this.getVHeight(),0),i=this.getLength(`r`,this.getViewport(),0);this.shape=i>0?new q().M(n+i,r).A(i,i,0,0,1,n-i,r).A(i,i,0,0,1,n+i,r).Z():new q},Te=function(e,t){Se.call(this,e,t);let n=this.getLength(`cx`,this.getVWidth(),0),r=this.getLength(`cy`,this.getVHeight(),0),i=this.getLength(`rx`,this.getVWidth(),0),a=this.getLength(`ry`,this.getVHeight(),0);this.shape=i>0&&a>0?new q().M(n+i,r).A(i,a,0,0,1,n-i,r).A(i,a,0,0,1,n+i,r).Z():new q},Ee=function(e,t){Se.call(this,e,t);let n=this.getLength(`x1`,this.getVWidth(),0),r=this.getLength(`y1`,this.getVHeight(),0),i=this.getLength(`x2`,this.getVWidth(),0),a=this.getLength(`y2`,this.getVHeight(),0);this.shape=new q().M(n,r).L(i,a)},De=function(e,t){Se.call(this,e,t);let n=this.getNumberList(`points`);this.shape=new q;for(let e=0;e<n.length-1;e+=2)e===0?this.shape.M(n[e],n[e+1]):this.shape.L(n[e],n[e+1]);n.error&&Q(`SvgElemPolygon: unexpected string `+n.error),n.length%2==1&&Q(`SvgElemPolyline: uneven number of coordinates`)},Oe=function(e,t){Se.call(this,e,t);let n=this.getNumberList(`points`);this.shape=new q;for(let e=0;e<n.length-1;e+=2)e===0?this.shape.M(n[e],n[e+1]):this.shape.L(n[e],n[e+1]);this.shape.Z(),n.error&&Q(`SvgElemPolygon: unexpected string `+n.error),n.length%2==1&&Q(`SvgElemPolygon: uneven number of coordinates`)},ke=function(e,t){Se.call(this,e,t),this.shape=new q().path(this.attr(`d`));let n=this.getLength(`pathLength`,this.getViewport());this.pathLength=n>0?n:void 0,this.dashScale=this.pathLength===void 0?1:this.shape.totalLength/this.pathLength},Ae=function(t,n){pe.call(this,t,n);let r=this.getLength(`markerWidth`,this.getParentVWidth(),3),i=this.getLength(`markerHeight`,this.getParentVHeight(),3),a=this.getViewbox(`viewBox`,[0,0,r,i]);this.getVWidth=function(){return a[2]},this.getVHeight=function(){return a[3]},this.drawMarker=function(t,n,o,s){e.save();let c=this.attr(`orient`),l=this.attr(`markerUnits`),u=c===`auto`?o[2]:(parseFloat(c)||0)*Math.PI/180,m=l===`userSpaceOnUse`?1:s;e.transform(Math.cos(u)*m,Math.sin(u)*m,-Math.sin(u)*m,Math.cos(u)*m,o[0],o[1]);let h=this.getLength(`refX`,this.getVWidth(),0),g=this.getLength(`refY`,this.getVHeight(),0),_=V(this.attr(`preserveAspectRatio`),r,i,a[2],a[3],.5);this.get(`overflow`)===`hidden`&&e.rect(_[0]*(a[0]+a[2]/2-h)-r/2,_[3]*(a[1]+a[3]/2-g)-i/2,r,i).clip(),e.transform.apply(e,_),e.translate(-h,-g);let v;this.get(`opacity`)<1&&!t&&(v=d(N())),this.drawChildren(t,n),v&&(f(v),e.fillOpacity(this.get(`opacity`)),p(v)),e.restore()}},je=function(t,n){pe.call(this,t,n),this.useMask=function(t){let n=d(N());e.save(),e.transform.apply(e,this.get(`transform`)),this.attr(`clipPathUnits`)===`objectBoundingBox`&&e.transform(t[2]-t[0],0,0,t[3]-t[1],t[0],t[1]),this.clip(),this.drawChildren(!0,!1),e.restore(),f(n),m(n,!0)}},Me=function(t,n){pe.call(this,t,n),this.useMask=function(t){let n=d(N());e.save(),this.attr(`maskUnits`)===`userSpaceOnUse`?(this.getLength(`x`,this.getVWidth(),-.1*(t[2]-t[0])+t[0]),this.getLength(`y`,this.getVHeight(),-.1*(t[3]-t[1])+t[1]),this.getLength(`width`,this.getVWidth(),1.2*(t[2]-t[0])),this.getLength(`height`,this.getVHeight(),1.2*(t[3]-t[1]))):(this.getLength(`x`,this.getVWidth(),-.1)*(t[2]-t[0])+t[0],this.getLength(`y`,this.getVHeight(),-.1)*(t[3]-t[1])+t[1],this.getLength(`width`,this.getVWidth(),1.2)*(t[2]-t[0]),this.getLength(`height`,this.getVHeight(),1.2)*(t[3]-t[1])),this.attr(`maskContentUnits`)===`objectBoundingBox`&&e.transform(t[2]-t[0],0,0,t[3]-t[1],t[0],t[1]),this.clip(),this.drawChildren(!1,!0),e.restore(),f(n),m(n,!0)}},Ne=function(t,n){Y.call(this,t,n),this.allowedChildren=[`tspan`,`#text`,`#cdata-section`,`a`],this.isText=!0,this.getBoundingShape=function(){let e=new q;for(let t=0;t<this._pos.length;t++){let n=this._pos[t];if(!n.hidden){let t=n.ascent*Math.sin(n.rotate),r=-n.ascent*Math.cos(n.rotate),i=n.descent*Math.sin(n.rotate),a=-n.descent*Math.cos(n.rotate),o=n.width*Math.cos(n.rotate),s=n.width*Math.sin(n.rotate);e.M(n.x+t,n.y+r).L(n.x+t+o,n.y+r+s).M(n.x+i+o,n.y+a+s).L(n.x+i,n.y+a)}}return e},this.drawTextInDocument=function(t,n){this.link&&!t&&!n&&this.addLink(),this.get(`text-decoration`)===`underline`&&this.decorate(.05*this._font.size,-.075*this._font.size,t,n),this.get(`text-decoration`)===`overline`&&this.decorate(.05*this._font.size,H(this._font.font,this._font.size)+.075*this._font.size,t,n);let r=this.getFill(t,n),i=this.getStroke(t,n),a=this.get(`stroke-width`);this._font.fauxBold&&(i?a+=this._font.size*.03:(i=r,a=this._font.size*.03));let o=this.getChildren();for(let s=0;s<o.length;s++){let c=o[s];switch(c.name){case`tspan`:case`textPath`:case`a`:c.get(`display`)!==`none`&&c.drawTextInDocument(t,n);break;case`#text`:case`#cdata-section`:if(this.get(`visibility`)===`hidden`)continue;(r||i||t)&&(r&&S(r),i&&a&&(C(i),e.lineWidth(a).miterLimit(this.get(`stroke-miterlimit`)).lineJoin(this.get(`stroke-linejoin`)).lineCap(this.get(`stroke-linecap`)),w(this.get(`stroke-dasharray`),this.get(`stroke-dashoffset`))),_(this._font.font,this._font.size),y(!!r,!!i),b(c._pos,this._font),x())}}this.get(`text-decoration`)===`line-through`&&this.decorate(.05*this._font.size,.5*(H(this._font.font,this._font.size)+le(this._font.font,this._font.size)),t,n)},this.decorate=function(t,n,r,i){let a=this.getFill(r,i),o=this.getStroke(r,i);a&&S(a),o&&(C(o),e.lineWidth(this.get(`stroke-width`)).miterLimit(this.get(`stroke-miterlimit`)).lineJoin(this.get(`stroke-linejoin`)).lineCap(this.get(`stroke-linecap`)),w(this.get(`stroke-dasharray`),this.get(`stroke-dashoffset`)));for(let r=0,i=this._pos;r<i.length;r++)if(!i[r].hidden&&B(i[r].width,0)){let s=(n+t/2)*Math.sin(i[r].rotate),c=-(n+t/2)*Math.cos(i[r].rotate),l=(n-t/2)*Math.sin(i[r].rotate),u=-(n-t/2)*Math.cos(i[r].rotate),d=i[r].width*Math.cos(i[r].rotate),f=i[r].width*Math.sin(i[r].rotate);new q().M(i[r].x+s,i[r].y+c).L(i[r].x+s+d,i[r].y+c+f).L(i[r].x+l+d,i[r].y+u+f).L(i[r].x+l,i[r].y+u).Z().insertInDocument(),a&&o?e.fillAndStroke():a?e.fill():o&&e.stroke()}}},Pe=function(e,t){this.name=e.nodeName,this.textContent=e.nodeValue},Fe=function(e,t){Ne.call(this,e,t)},Ie=function(e,t){Ne.call(this,e,t);let n;if((n=this.attr(`path`))&&n.trim()!==``){let e=this.getLength(`pathLength`,this.getViewport());this.pathObject=new q().path(n),this.pathLength=e>0?e:this.pathObject.totalLength,this.pathScale=this.pathObject.totalLength/this.pathLength}else if((n=this.getUrl(`href`)||this.getUrl(`xlink:href`))&&n.nodeName===`path`){let e=new ke(n,this);this.pathObject=e.shape.clone().transform(e.get(`transform`)),this.pathLength=this.chooseValue(e.pathLength,this.pathObject.totalLength),this.pathScale=this.pathObject.totalLength/this.pathLength}},Le=function(t,n){Ne.call(this,t,n),this.allowedChildren=[`textPath`,`tspan`,`#text`,`#cdata-section`,`a`],(function(n){let r=``,i=t.textContent,a=[],o=[],s,c,l=0,u=0;function d(){if(o.length){let e=o[o.length-1],t=o[0],n=e.x+e.width-t.x,r={startltr:0,middleltr:.5,endltr:1,startrtl:1,middlertl:.5,endrtl:0}[s+c]*n||0;for(let e=0;e<o.length;e++)o[e].x-=r}o=[]}function f(e,t,n){let r=e[0],i=e[e.length-1],a=r.x,o=i.x+i.width;if(n){let n=t/(o-a);if(n>0&&n<1/0)for(let t=0;t<e.length;t++)e[t].continuous=!1,e[t].x=a+n*(e[t].x-a),e[t].scale*=n,e[t].width*=n}else if(e.length>=2){let n=(t-(o-a))/(e.length-1);for(let t=0;t<e.length;t++)e[t].continuous=!1,e[t].x+=t*n}l+=t-(o-a)}function p(t,n){t._x=ce(t.getLengthList(`x`,t.getVWidth()),n?n._x.slice(n._pos.length):[]),t._y=ce(t.getLengthList(`y`,t.getVHeight()),n?n._y.slice(n._pos.length):[]),t._dx=ce(t.getLengthList(`dx`,t.getVWidth()),n?n._dx.slice(n._pos.length):[]),t._dy=ce(t.getLengthList(`dy`,t.getVHeight()),n?n._dy.slice(n._pos.length):[]),t._rot=ce(t.getNumberList(`rotate`),n?n._rot.slice(n._pos.length):[]),t._defRot=t.chooseValue(t._rot[t._rot.length-1],n&&n._defRot,0),t.name===`textPath`&&(t._y=[]);let m={fauxItalic:!1,fauxBold:!1},h=He(t.get(`font-family`),t.get(`font-weight`)===`bold`,t.get(`font-style`)===`italic`,m);try{e.font(h)}catch(e){Q(`SVGElemText: failed to open font "`+h+`" in PDFKit: `+e.message)}t._pos=[],t._index=0,t._font={font:e._font,size:t.get(`font-size`),fauxItalic:m.fauxItalic,fauxBold:m.fauxBold};let g=t.getLength(`textLength`,t.getVWidth(),void 0),_=t.attr(`lengthAdjust`)===`spacingAndGlyphs`,v=t.get(`word-spacing`),y=t.get(`letter-spacing`),b=t.get(`text-anchor`),x=t.get(`direction`),S=t.name===`text`,C=S?t.get(`dominant-baseline`):t.get(`alignment-baseline`)||t.get(`dominant-baseline`),w=S?`baseline`:t.get(`baseline-shift`),T=U(t._font.font,t._font.size,C,w);t.name===`textPath`&&(d(),l=u=0);let E=t.getChildren();for(let e=0;e<E.length;e++){let n=E[e];switch(n.name){case`tspan`:case`textPath`:case`a`:p(n,t);break;case`#text`:case`#cdata-section`:let e=n.textContent,a=e,f;n._font=t._font,n._pos=[],i=i.substring(e.length),t.get(`xml:space`)===`preserve`?a=a.replace(/[\s]/g,` `):(a=a.replace(/[\s]+/g,` `),r.match(/[\s]$|^$/)&&(a=a.replace(/^[\s]/,``)),i.match(/^[\s]*$/)&&(a=a.replace(/[\s]$/,``))),r+=e,f=v===0?[a]:a.split(/(\s)/);for(let e=0;e<f.length;e++){let r=W(t._font.font,t._font.size,f[e]);for(let i=0;i<r.length;i++){let a=t._index,f=t._x[a],p=t._y[a],m=t._dx[a],h=t._dy[a],g=t._rot[a],_=e!==0||i!==0;y!==0&&(_=!1),v!==0&&(_=!1),f!==void 0&&(_=!1,d(),l=f),p!==void 0&&(_=!1,d(),u=p),m!==void 0&&(_=!1,l+=m),h!==void 0&&(_=!1,u+=h),(g!==void 0||t._defRot!==0)&&(_=!1);let S={glyph:r[i].glyph,rotate:Math.PI/180*t.chooseValue(g,t._defRot),x:l+r[i].xOffset,kern:r[i].kern,y:u+T+r[i].yOffset,width:r[i].width,ascent:H(t._font.font,t._font.size),descent:le(t._font.font,t._font.size),scale:1,hidden:!1,continuous:_};o.push(S),n._pos.push(S),t._pos.push(S),t._index+=r[i].unicode.length,o.length===1&&(s=b,c=x),l+=r[i].xAdvance+y,u+=r[i].yAdvance}f[e]===` `&&(l+=v)}break;default:i=i.substring(n.textContent.length)}}if(g&&t._pos.length&&f(t._pos,g,_),(t.name===`textPath`||t.name===`text`)&&d(),t.name===`textPath`){a.push(t);let e=t.pathObject;e&&(l=e.endPoint[0],u=e.endPoint[1])}n&&(n._pos=n._pos.concat(t._pos),n._index+=t._index)}function m(e){let t=e.pathObject,n=e.pathLength,r=e.pathScale;if(t){let i=e.getLength(`startOffset`,n,0);for(let a=0;a<e._pos.length;a++){let o=i+e._pos[a].x+.5*e._pos[a].width;if(o>n||o<0)e._pos[a].hidden=!0;else{let n=t.getPointAtLength(o*r);B(r,1)&&(e._pos[a].scale*=r,e._pos[a].width*=r),e._pos[a].x=n[0]-.5*e._pos[a].width*Math.cos(n[2])-e._pos[a].y*Math.sin(n[2]),e._pos[a].y=n[1]-.5*e._pos[a].width*Math.sin(n[2])+e._pos[a].y*Math.cos(n[2]),e._pos[a].rotate=n[2]+e._pos[a].rotate,e._pos[a].continuous=!1}}}else for(let t=0;t<e._pos.length;t++)e._pos[t].hidden=!0}p(n,null);for(let e=0;e<a.length;e++)m(a[e])})(this),this.getTransformation=function(){return this.get(`transform`)},this.drawInDocument=function(t,n){e.save(),this.transform(),this.clip();let r=this.mask(),i;r&&(i=d(N())),this.drawTextInDocument(t,n),i&&(f(i),p(i)),e.restore()}};i||={};var Re=i.assumePt?1:72/96,ze=(i.width||e.page.width)/Re,Be=(i.height||e.page.height)/Re,Ve=i.preserveAspectRatio||null,Z=i.useCSS&&typeof SVGElement<`u`&&t instanceof SVGElement&&typeof getComputedStyle==`function`,Q=i.warningCallback,He=i.fontCallback,Ue=i.imageCallback,We=i.colorCallback,Ge=i.documentCallback,Ke=Math.ceil(Math.max(1,i.precision))||3,qe=[],Je={},Ye=[],Xe=[];if(typeof Q!=`function`&&(Q=function(e){typeof console.warn==`function`&&console.warn(e)}),typeof He!=`function`&&(He=function(t,n,r,i){if(n&&r){if(e._registeredFonts.hasOwnProperty(t+`-BoldItalic`))return t+`-BoldItalic`;if(e._registeredFonts.hasOwnProperty(t+`-Italic`))return i.fauxBold=!0,t+`-Italic`;if(e._registeredFonts.hasOwnProperty(t+`-Bold`))return i.fauxItalic=!0,t+`-Bold`;if(e._registeredFonts.hasOwnProperty(t))return i.fauxBold=!0,i.fauxItalic=!0,t}if(n&&!r){if(e._registeredFonts.hasOwnProperty(t+`-Bold`))return t+`-Bold`;if(e._registeredFonts.hasOwnProperty(t))return i.fauxBold=!0,t}if(!n&&r){if(e._registeredFonts.hasOwnProperty(t+`-Italic`))return t+`-Italic`;if(e._registeredFonts.hasOwnProperty(t))return i.fauxItalic=!0,t}if(!n&&!r&&e._registeredFonts.hasOwnProperty(t))return t;if(t.match(/(?:^|,)\s*serif\s*$/)){if(n&&r)return`Times-BoldItalic`;if(n&&!r)return`Times-Bold`;if(!n&&r)return`Times-Italic`;if(!n&&!r)return`Times-Roman`}else if(t.match(/(?:^|,)\s*monospace\s*$/)){if(n&&r)return`Courier-BoldOblique`;if(n&&!r)return`Courier-Bold`;if(!n&&r)return`Courier-Oblique`;if(!n&&!r)return`Courier`}else if(t.match(/(?:^|,)\s*sans-serif\s*$/)||1){if(n&&r)return`Helvetica-BoldOblique`;if(n&&!r)return`Helvetica-Bold`;if(!n&&r)return`Helvetica-Oblique`;if(!n&&!r)return`Helvetica`}}),typeof Ue!=`function`&&(Ue=function(e){return e.replace(/\s+/g,``)}),typeof We!=`function`)We=null;else for(let e in o){let t=We(o[e]);o[e][0]=t[0],o[e][1]=t[1]}if(typeof Ge!=`function`&&(Ge=null),typeof t==`string`&&(t=E(t)),t){let a=t.getElementsByTagName(`style`);for(let e=0;e<a.length;e++)Xe=Xe.concat(ae(a[e].textContent));let o=G(t,null);if(typeof o.drawInDocument==`function`){i.useCSS&&!Z&&Q(`SVGtoPDF: useCSS option can only be used for SVG *elements* in compatible browsers`);let t=e._fillColor;e.save().translate(n||0,r||0).scale(Re),o.drawInDocument();for(let t=0;t<Ye.length;t++)e.page.annotations.push(Ye[t]);e.restore(),e._fillColor=t}else Q(`SVGtoPDF: this element can't be rendered directly: `+t.nodeName)}else Q(`SVGtoPDF: the input does not look like a valid SVG`)})},783(e,t,n){n(187),n(8376),n(6401),n(2017);let r=n(2504),i=n(9029),a=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`nodejs.util.inspect.custom`):null;t.Buffer=l,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50;let o=2147483647;t.kMaxLength=o,l.TYPED_ARRAY_SUPPORT=s(),!l.TYPED_ARRAY_SUPPORT&&typeof console<`u`&&typeof console.error==`function`&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function c(e){if(e>o)throw RangeError(`The value "`+e+`" is invalid for option "size"`);let t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if(typeof e==`number`){if(typeof t==`string`)throw TypeError(`The "string" argument must be of type string. Received type number`);return p(e)}return u(e,t,n)}l.poolSize=8192;function u(e,t,n){if(typeof e==`string`)return m(e,t);if(ArrayBuffer.isView(e))return g(e);if(e==null)throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e);if(q(e,ArrayBuffer)||e&&q(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<`u`&&(q(e,SharedArrayBuffer)||e&&q(e.buffer,SharedArrayBuffer)))return _(e,t,n);if(typeof e==`number`)throw TypeError(`The "value" argument must not be of type number. Received type number`);let r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return l.from(r,t,n);let i=v(e);if(i)return i;if(typeof Symbol<`u`&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==`function`)return l.from(e[Symbol.toPrimitive](`string`),t,n);throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e)}l.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function d(e){if(typeof e!=`number`)throw TypeError(`"size" argument must be of type number`);if(e<0)throw RangeError(`The value "`+e+`" is invalid for option "size"`)}function f(e,t,n){return d(e),e<=0||t===void 0?c(e):typeof n==`string`?c(e).fill(t,n):c(e).fill(t)}l.alloc=function(e,t,n){return f(e,t,n)};function p(e){return d(e),c(e<0?0:y(e)|0)}l.allocUnsafe=function(e){return p(e)},l.allocUnsafeSlow=function(e){return p(e)};function m(e,t){if((typeof t!=`string`||t===``)&&(t=`utf8`),!l.isEncoding(t))throw TypeError(`Unknown encoding: `+t);let n=x(e,t)|0,r=c(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}function h(e){let t=e.length<0?0:y(e.length)|0,n=c(t);for(let r=0;r<t;r+=1)n[r]=e[r]&255;return n}function g(e){if(q(e,Uint8Array)){let t=new Uint8Array(e);return _(t.buffer,t.byteOffset,t.byteLength)}return h(e)}function _(e,t,n){if(t<0||e.byteLength<t)throw RangeError(`"offset" is outside of buffer bounds`);if(e.byteLength<t+(n||0))throw RangeError(`"length" is outside of buffer bounds`);let r;return r=t===void 0&&n===void 0?new Uint8Array(e):n===void 0?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function v(e){if(l.isBuffer(e)){let t=y(e.length)|0,n=c(t);return n.length===0||e.copy(n,0,0,t),n}if(e.length!==void 0)return typeof e.length!=`number`||J(e.length)?c(0):h(e);if(e.type===`Buffer`&&Array.isArray(e.data))return h(e.data)}function y(e){if(e>=o)throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+o.toString(16)+` bytes`);return e|0}function b(e){return+e!=e&&(e=0),l.alloc(+e)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype},l.compare=function(e,t){if(q(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),q(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError(`The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array`);if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},l.isEncoding=function(e){switch(String(e).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return l.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;let r=l.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(q(t,Uint8Array))i+t.length>r.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(l.isBuffer(t))t.copy(r,i);else throw TypeError(`"list" argument must be an Array of Buffers`);i+=t.length}return r};function x(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||q(e,ArrayBuffer))return e.byteLength;if(typeof e!=`string`)throw TypeError(`The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type `+typeof e);let n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;let i=!1;for(;;)switch(t){case`ascii`:case`latin1`:case`binary`:return n;case`utf8`:case`utf-8`:return W(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return fe(e).length;default:if(i)return r?-1:W(e).length;t=(``+t).toLowerCase(),i=!0}}l.byteLength=x;function S(e,t,n){let r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return``;for(e||=`utf8`;;)switch(e){case`hex`:return L(this,t,n);case`utf8`:case`utf-8`:return M(this,t,n);case`ascii`:return F(this,t,n);case`latin1`:case`binary`:return I(this,t,n);case`base64`:return j(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return R(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}l.prototype._isBuffer=!0;function C(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}l.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(let t=0;t<e;t+=2)C(this,t,t+1);return this},l.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(let t=0;t<e;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this},l.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(let t=0;t<e;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this},l.prototype.toString=function(){let e=this.length;return e===0?``:arguments.length===0?M(this,0,e):S.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw TypeError(`Argument must be a Buffer`);return this===e||l.compare(this,e)===0},l.prototype.inspect=function(){let e=``,n=t.INSPECT_MAX_BYTES;return e=this.toString(`hex`,0,n).replace(/(.{2})/g,`$1 `).trim(),this.length>n&&(e+=` ... `),`<Buffer `+e+`>`},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,i){if(q(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError(`The "target" argument must be one of type Buffer or Uint8Array. Received type `+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(`out of range index`);if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let a=i-r,o=n-t,s=Math.min(a,o),c=this.slice(r,i),u=e.slice(t,n);for(let e=0;e<s;++e)if(c[e]!==u[e]){a=c[e],o=u[e];break}return a<o?-1:+(o<a)};function w(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==`string`?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,J(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(i)n=0;else return-1}if(typeof t==`string`&&(t=l.from(t,r)),l.isBuffer(t))return t.length===0?-1:T(e,t,n,r,i);if(typeof t==`number`)return t&=255,typeof Uint8Array.prototype.indexOf==`function`?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):T(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function T(e,t,n,r,i){let a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===`ucs2`||r===`ucs-2`||r===`utf16le`||r===`utf-16le`)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function c(e,t){return a===1?e[t]:e.readUInt16BE(t*a)}let l;if(i){let r=-1;for(l=n;l<o;l++)if(c(e,l)===c(t,r===-1?0:l-r)){if(r===-1&&(r=l),l-r+1===s)return r*a}else r!==-1&&(l-=l-r),r=-1}else for(n+s>o&&(n=o-s),l=n;l>=0;l--){let n=!0;for(let r=0;r<s;r++)if(c(e,l+r)!==c(t,r)){n=!1;break}if(n)return l}return-1}l.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},l.prototype.indexOf=function(e,t,n){return w(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return w(this,e,t,n,!1)};function E(e,t,n,r){n=Number(n)||0;let i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;let a=t.length;r>a/2&&(r=a/2);let o=0;for(;o<r;++o){let r=parseInt(t.substr(o*2,2),16);if(J(r))return o;e[n+o]=r}return o}function D(e,t,n,r){return K(W(t,e.length-n),e,n,r)}function O(e,t,n,r){return K(G(t),e,n,r)}function k(e,t,n,r){return K(fe(t),e,n,r)}function A(e,t,n,r){return K(de(t,e.length-n),e,n,r)}l.prototype.write=function(e,t,n,r){if(t===void 0)r=`utf8`,n=this.length,t=0;else if(n===void 0&&typeof t==`string`)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,r===void 0&&(r=`utf8`)):(r=n,n=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);let i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(`Attempt to write outside buffer bounds`);r||=`utf8`;let a=!1;for(;;)switch(r){case`hex`:return E(this,e,t,n);case`utf8`:case`utf-8`:return D(this,e,t,n);case`ascii`:case`latin1`:case`binary`:return O(this,e,t,n);case`base64`:return k(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return A(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function j(e,t,n){return t===0&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],a=null,o=t>239?4:t>223?3:t>191?2:1;if(i+o<=n){let n,r,s,c;switch(o){case 1:t<128&&(a=t);break;case 2:n=e[i+1],(n&192)==128&&(c=(t&31)<<6|n&63,c>127&&(a=c));break;case 3:n=e[i+1],r=e[i+2],(n&192)==128&&(r&192)==128&&(c=(t&15)<<12|(n&63)<<6|r&63,c>2047&&(c<55296||c>57343)&&(a=c));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],(n&192)==128&&(r&192)==128&&(s&192)==128&&(c=(t&15)<<18|(n&63)<<12|(r&63)<<6|s&63,c>65535&&c<1114112&&(a=c))}}a===null?(a=65533,o=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|a&1023),r.push(a),i+=o}return P(r)}let N=4096;function P(e){let t=e.length;if(t<=N)return String.fromCharCode.apply(String,e);let n=``,r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=N));return n}function F(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function I(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function L(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i=``;for(let r=t;r<n;++r)i+=Y[e[r]];return i}function R(e,t,n){let r=e.slice(t,n),i=``;for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+r[e+1]*256);return i}l.prototype.slice=function(e,t){let n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r};function z(e,t,n){if(e%1!=0||e<0)throw RangeError(`offset is not uint`);if(e+t>n)throw RangeError(`Trying to access beyond buffer length`)}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||z(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||z(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||z(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||z(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||z(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||z(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||z(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=pe(function(e){e>>>=0,H(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&le(e,this.length-8);let r=t+this[++e]*256+this[++e]*2**16+this[++e]*2**24,i=this[++e]+this[++e]*256+this[++e]*2**16+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))}),l.prototype.readBigUInt64BE=pe(function(e){e>>>=0,H(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&le(e,this.length-8);let r=t*2**24+this[++e]*2**16+this[++e]*256+this[++e],i=this[++e]*2**24+this[++e]*2**16+this[++e]*256+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||z(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return i*=128,r>=i&&(r-=2**(8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||z(e,t,this.length);let r=t,i=1,a=this[e+--r];for(;r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=2**(8*t)),a},l.prototype.readInt8=function(e,t){return e>>>=0,t||z(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||z(e,2,this.length);let n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||z(e,2,this.length);let n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||z(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||z(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=pe(function(e){e>>>=0,H(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&le(e,this.length-8);let r=this[e+4]+this[e+5]*256+this[e+6]*2**16+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+this[++e]*256+this[++e]*2**16+this[++e]*2**24)}),l.prototype.readBigInt64BE=pe(function(e){e>>>=0,H(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&le(e,this.length-8);let r=(t<<24)+this[++e]*2**16+this[++e]*256+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*256+n)}),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||z(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||z(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||z(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||z(e,8,this.length),i.read(this,e,!1,52,8)};function B(e,t,n,r,i,a){if(!l.isBuffer(e))throw TypeError(`"buffer" argument must be a Buffer instance`);if(t>i||t<a)throw RangeError(`"value" argument is out of bounds`);if(n+r>e.length)throw RangeError(`Index out of range`)}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;B(this,e,t,n,r,0)}let i=1,a=0;for(this[t]=e&255;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;B(this,e,t,n,r,0)}let i=n-1,a=1;for(this[t+i]=e&255;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,255,0),this[t]=e&255,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function ee(e,t,n,r,i){ce(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function te(e,t,n,r,i){ce(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}l.prototype.writeBigUInt64LE=pe(function(e,t){return t===void 0&&(t=0),ee(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),l.prototype.writeBigUInt64BE=pe(function(e,t){return t===void 0&&(t=0),te(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);B(this,e,t,n,r-1,-r)}let i=0,a=1,o=0;for(this[t]=e&255;++i<n&&(a*=256);)e<0&&o===0&&this[t+i-1]!==0&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);B(this,e,t,n,r-1,-r)}let i=n-1,a=1,o=0;for(this[t+i]=e&255;--i>=0&&(a*=256);)e<0&&o===0&&this[t+i+1]!==0&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4},l.prototype.writeBigInt64LE=pe(function(e,t){return t===void 0&&(t=0),ee(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))}),l.prototype.writeBigInt64BE=pe(function(e,t){return t===void 0&&(t=0),te(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))});function ne(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function V(e,t,n,r,a){return t=+t,n>>>=0,a||ne(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}l.prototype.writeFloatLE=function(e,t,n){return V(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return V(this,e,t,!1,n)};function re(e,t,n,r,a){return t=+t,n>>>=0,a||ne(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}l.prototype.writeDoubleLE=function(e,t,n){return re(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return re(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw TypeError(`argument should be a Buffer`);if(n||=0,!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||=0,r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw RangeError(`targetStart out of bounds`);if(n<0||n>=this.length)throw RangeError(`Index out of range`);if(r<0)throw RangeError(`sourceEnd out of bounds`);r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&typeof Uint8Array.prototype.copyWithin==`function`?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},l.prototype.fill=function(e,t,n,r){if(typeof e==`string`){if(typeof t==`string`?(r=t,t=0,n=this.length):typeof n==`string`&&(r=n,n=this.length),r!==void 0&&typeof r!=`string`)throw TypeError(`encoding must be a string`);if(typeof r==`string`&&!l.isEncoding(r))throw TypeError(`Unknown encoding: `+r);if(e.length===1){let t=e.charCodeAt(0);(r===`utf8`&&t<128||r===`latin1`)&&(e=t)}}else typeof e==`number`?e&=255:typeof e==`boolean`&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError(`Out of range index`);if(n<=t)return this;t>>>=0,n=n===void 0?this.length:n>>>0,e||=0;let i;if(typeof e==`number`)for(i=t;i<n;++i)this[i]=e;else{let a=l.isBuffer(e)?e:l.from(e,r),o=a.length;if(o===0)throw TypeError(`The value "`+e+`" is invalid for argument "value"`);for(i=0;i<n-t;++i)this[i+t]=a[i%o]}return this};let ie={};function ae(e,t,n){ie[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}ae(`ERR_BUFFER_OUT_OF_BOUNDS`,function(e){return e?`${e} is outside of buffer bounds`:`Attempt to access memory outside buffer bounds`},RangeError),ae(`ERR_INVALID_ARG_TYPE`,function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),ae(`ERR_OUT_OF_RANGE`,function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=oe(String(n)):typeof n==`bigint`&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=oe(i)),i+=`n`),r+=` It must be ${t}. Received ${i}`,r},RangeError);function oe(e){let t=``,n=e.length,r=+(e[0]===`-`);for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function se(e,t,n){H(t,`offset`),(e[t]===void 0||e[t+n]===void 0)&&le(t,e.length-(n+1))}function ce(e,t,n,r,i,a){if(e>n||e<t){let r=typeof t==`bigint`?`n`:``,i;throw i=a>3?t===0||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${(a+1)*8}${r}`:`>= -(2${r} ** ${(a+1)*8-1}${r}) and < 2 ** ${(a+1)*8-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new ie.ERR_OUT_OF_RANGE(`value`,i,e)}se(r,i,a)}function H(e,t){if(typeof e!=`number`)throw new ie.ERR_INVALID_ARG_TYPE(t,`number`,e)}function le(e,t,n){throw Math.floor(e)===e?t<0?new ie.ERR_BUFFER_OUT_OF_BOUNDS:new ie.ERR_OUT_OF_RANGE(n||`offset`,`>= ${+!!n} and <= ${t}`,e):(H(e,n),new ie.ERR_OUT_OF_RANGE(n||`offset`,`an integer`,e))}let ue=/[^+/0-9A-Za-z-_]/g;function U(e){if(e=e.split(`=`)[0],e=e.trim().replace(ue,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function W(e,t){t||=1/0;let n,r=e.length,i=null,a=[];for(let o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if(--t<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw Error(`Invalid code point`)}return a}function G(e){let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function de(e,t){let n,r,i,a=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function fe(e){return r.toByteArray(U(e))}function K(e,t,n,r){let i=0;for(;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function q(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function J(e){return e!==e}let Y=function(){let e=`0123456789abcdef`,t=Array(256);for(let n=0;n<16;++n){let r=n*16;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function pe(e){return typeof BigInt>`u`?me:e}function me(){throw Error(`BigInt not supported`)}},4406(e){class t{constructor(e){this.stateTable=e.stateTable,this.accepting=e.accepting,this.tags=e.tags}match(e){var t=this;return{*[Symbol.iterator](){for(var n=1,r=null,i=null,a=null,o=0;o<e.length;o++){var s=e[o];a=n,n=t.stateTable[n][s],n===0&&(r!=null&&i!=null&&i>=r&&(yield[r,i,t.tags[a]]),n=t.stateTable[1][s],r=null),n!==0&&r==null&&(r=o),t.accepting[n]&&(i=o),n===0&&(n=1)}r!=null&&i!=null&&i>=r&&(yield[r,i,t.tags[n]])}}}apply(e,t){for(var n of this.match(e)){var r=n[0],i=n[1];for(var a of n[2])typeof t[a]==`function`&&t[a](r,i,e.slice(r,i+1))}}}e.exports=t},3915(e,t,n){n(8376),n(6401),n(2017);var r=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;(function(e){var t=typeof Uint8Array<`u`?Uint8Array:Array,n=43,i=47,a=48,o=97,s=65,c=45,l=95;function u(e){var t=e.charCodeAt(0);if(t===n||t===c)return 62;if(t===i||t===l)return 63;if(t<a)return-1;if(t<a+10)return t-a+26+26;if(t<s+26)return t-s;if(t<o+26)return t-o+26}function d(e){var n,r,i,a,o,s;if(e.length%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var c=e.length;o=e.charAt(c-2)===`=`?2:+(e.charAt(c-1)===`=`),s=new t(e.length*3/4-o),i=o>0?e.length-4:e.length;var l=0;function d(e){s[l++]=e}for(n=0,r=0;n<i;n+=4,r+=3)a=u(e.charAt(n))<<18|u(e.charAt(n+1))<<12|u(e.charAt(n+2))<<6|u(e.charAt(n+3)),d((a&16711680)>>16),d((a&65280)>>8),d(a&255);return o===2?(a=u(e.charAt(n))<<2|u(e.charAt(n+1))>>4,d(a&255)):o===1&&(a=u(e.charAt(n))<<10|u(e.charAt(n+1))<<4|u(e.charAt(n+2))>>2,d(a>>8&255),d(a&255)),s}function f(e){var t,n=e.length%3,i=``,a,o;function s(e){return r.charAt(e)}function c(e){return s(e>>18&63)+s(e>>12&63)+s(e>>6&63)+s(e&63)}for(t=0,o=e.length-n;t<o;t+=3)a=(e[t]<<16)+(e[t+1]<<8)+e[t+2],i+=c(a);switch(n){case 1:a=e[e.length-1],i+=s(a>>2),i+=s(a<<4&63),i+=`==`;break;case 2:a=(e[e.length-2]<<8)+e[e.length-1],i+=s(a>>10),i+=s(a>>4&63),i+=s(a<<2&63),i+=`=`}return i}e.toByteArray=d,e.fromByteArray=f})(t)},182(e,t,n){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?r(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return t=l(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=u(e,`string`);return typeof t==`symbol`?t:String(t)}function u(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var d=n(783).Buffer,f=n(3779).inspect,p=f&&f.custom||`inspect`;function m(e,t,n){d.prototype.copy.call(e,t,n)}e.exports=function(){function e(){o(this,e),this.head=null,this.tail=null,this.length=0}return c(e,[{key:`push`,value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:`unshift`,value:function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length}},{key:`shift`,value:function(){if(this.length!==0){var e=this.head.data;return this.head=this.length===1?this.tail=null:this.head.next,--this.length,e}}},{key:`clear`,value:function(){this.head=this.tail=null,this.length=0}},{key:`join`,value:function(e){if(this.length===0)return``;for(var t=this.head,n=``+t.data;t=t.next;)n+=e+t.data;return n}},{key:`concat`,value:function(e){if(this.length===0)return d.alloc(0);for(var t=d.allocUnsafe(e>>>0),n=this.head,r=0;n;)m(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:`consume`,value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:`first`,value:function(){return this.head.data}},{key:`_getString`,value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,a=e>i.length?i.length:e;if(a===i.length?r+=i:r+=i.slice(0,e),e-=a,e===0){a===i.length?(++n,this.head=t.next?t.next:this.tail=null):(this.head=t,t.data=i.slice(a));break}++n}return this.length-=n,r}},{key:`_getBuffer`,value:function(e){var t=d.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),e-=a,e===0){a===i.length?(++r,this.head=n.next?n.next:this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,t}},{key:p,value:function(e,t){return f(this,i(i({},t),{},{depth:0,customInspect:!1}))}}]),e}()},5691(e,t,n){var r=n(783),i=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=o);function o(e,t,n){return i(e,t,n)}a(i,o),o.from=function(e,t,n){if(typeof e==`number`)throw TypeError(`Argument must not be a number`);return i(e,t,n)},o.alloc=function(e,t,n){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);var r=i(e);return t===void 0?r.fill(0):typeof n==`string`?r.fill(t,n):r.fill(t),r},o.allocUnsafe=function(e){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);return i(e)},o.allocUnsafeSlow=function(e){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);return r.SlowBuffer(e)}},7571(e,t,n){n(8376),n(6401),n(2017);let r=n(3483),i=n(6016).swap32LE;class a{constructor(e){let t=typeof e.readUInt32BE==`function`&&typeof e.slice==`function`;if(t||e instanceof Uint8Array){let n;if(t)this.highStart=e.readUInt32LE(0),this.errorValue=e.readUInt32LE(4),n=e.readUInt32LE(8),e=e.slice(12);else{let t=new DataView(e.buffer);this.highStart=t.getUint32(0,!0),this.errorValue=t.getUint32(4,!0),n=t.getUint32(8,!0),e=e.subarray(12)}e=r(e,new Uint8Array(n)),e=r(e,new Uint8Array(n)),i(e),this.data=new Uint32Array(e.buffer)}else{var n=e;this.data=n.data,this.highStart=n.highStart,this.errorValue=n.errorValue}}get(e){let t;return e<0||e>1114111?this.errorValue:e<55296||e>56319&&e<=65535?(t=(this.data[e>>5]<<2)+(e&31),this.data[t]):e<=65535?(t=(this.data[2048+(e-55296>>5)]<<2)+(e&31),this.data[t]):e<this.highStart?(t=this.data[2080+(e>>11)],t=this.data[t+(e>>5&63)],t=(t<<2)+(e&31),this.data[t]):this.data[this.data.length-4]}}e.exports=a},6016(e,t,n){n(8376),n(6401),n(2017);let r=new Uint8Array(new Uint32Array([305419896]).buffer)[0]===18,i=(e,t,n)=>{let r=e[t];e[t]=e[n],e[n]=r},a=e=>{let t=e.length;for(let n=0;n<t;n+=4)i(e,n,n+3),i(e,n+1,n+2)};e.exports={swap32LE:e=>{r&&a(e)}}},1771(e,t,n){var r=n(783).Buffer;t.A=void 0,n(187),n(8376),n(6401),n(2017);var i=p(n(9760)),a=p(n(6729)),o=n(3973),s=p(n(1632)),c=n(2650),l=n(2651),u=n(1715),d=p(n(2532)),f=p(n(381));function p(e){return e&&e.__esModule?e:{default:e}}var m=n(2416);class h{toString(){throw Error(`Must be implemented by subclasses`)}}class g{constructor(e){e===void 0&&(e={}),this._items={},this.limits=typeof e.limits!=`boolean`||e.limits}add(e,t){return this._items[e]=t}get(e){return this._items[e]}toString(){let e=Object.keys(this._items).sort((e,t)=>this._compareKeys(e,t)),t=[`<<`];if(this.limits&&e.length>1){let n=e[0],r=e[e.length-1];t.push(` /Limits ${w.convert([this._dataForKey(n),this._dataForKey(r)])}`)}t.push(` /${this._keysName()} [`);for(let n of e)t.push(` ${w.convert(this._dataForKey(n))} ${w.convert(this._items[n])}`);return t.push(`]`),t.push(`>>`),t.join(`
|
|
2
|
+
`)}_compareKeys(){throw Error(`Must be implemented by subclasses`)}_keysName(){throw Error(`Must be implemented by subclasses`)}_dataForKey(){throw Error(`Must be implemented by subclasses`)}}class _{constructor(e,t,n,r,i,a){this.id=`CS`+Object.keys(e.spotColors).length,this.name=t,this.values=[n,r,i,a],this.ref=e.ref([`Separation`,S(this.name),`DeviceCMYK`,{Range:[0,1,0,1,0,1,0,1],C0:[0,0,0,0],C1:this.values.map(e=>e/100),FunctionType:2,Domain:[0,1],N:1}]),this.ref.end()}toString(){return`${this.ref.id} 0 R`}}let v=(e,t)=>(Array(t+1).join(`0`)+e).slice(-t),y=e=>e>127||e>32&&e!==127&&e!==35&&e!==37&&e!==40&&e!==41&&e!==47&&e!==60&&e!==62&&e!==91&&e!==93&&e!==123&&e!==125,b=/[\n\r\t\b\f()\\]/g,x={"\n":`\\n`,"\r":`\\r`," ":`\\t`,"\b":`\\b`,"\f":`\\f`,"\\":`\\\\`,"(":`\\(`,")":`\\)`},S=function(e){let t=``;for(let n of e){let e=n.charCodeAt(0);y(e)?t+=n:t+=`#${e.toString(16).toUpperCase().padStart(2,`0`)}`}return t},C=function(e){let t=e.length;if(t&1)throw Error(`Buffer length must be even`);for(let n=0,r=t-1;n<r;n+=2){let t=e[n];e[n]=e[n+1],e[n+1]=t}return e};class w{static convert(e,t){if(t===void 0&&(t=null),typeof e==`string`)return`/${e}`;if(e instanceof String){let n=e,i=!1;for(let e=0,t=n.length;e<t;e++)if(n.charCodeAt(e)>127){i=!0;break}let a;return a=i?C(r.from(`\ufeff${n}`,`utf16le`)):r.from(n.valueOf(),`ascii`),n=t?t(a).toString(`binary`):a.toString(`binary`),n=n.replace(b,e=>x[e]),`(${n})`}if(r.isBuffer(e))return`<${e.toString(`hex`)}>`;if(e instanceof h||e instanceof g||e instanceof _)return e.toString();if(e instanceof Date){let n=`D:${v(e.getUTCFullYear(),4)}`+v(e.getUTCMonth()+1,2)+v(e.getUTCDate(),2)+v(e.getUTCHours(),2)+v(e.getUTCMinutes(),2)+v(e.getUTCSeconds(),2)+`Z`;return t&&(n=t(r.from(n,`ascii`)).toString(`binary`),n=n.replace(b,e=>x[e])),`(${n})`}if(Array.isArray(e))return`[${e.map(e=>w.convert(e,t)).join(` `)}]`;if({}.toString.call(e)===`[object Object]`){let n=[`<<`];for(let r in e){let i=e[r];n.push(`/${r} ${w.convert(i,t)}`)}return n.push(`>>`),n.join(`
|
|
3
|
+
`)}return typeof e==`number`?w.number(e):`${e}`}static number(e){if(e>-1e21&&e<1e21)return Math.round(e*1e6)/1e6;throw Error(`unsupported number: ${e}`)}}class T extends h{constructor(e,t,n){n===void 0&&(n={}),super(),this.document=e,this.id=t,this.data=n,this.gen=0,this.compress=this.document.compress&&!this.data.Filter,this.uncompressedLength=0,this.buffer=[]}write(e){e instanceof Uint8Array||(e=r.from(e+`
|
|
4
|
+
`,`binary`)),this.uncompressedLength+=e.length,this.data.Length??(this.data.Length=0),this.buffer.push(e),this.data.Length+=e.length,this.compress&&(this.data.Filter=`FlateDecode`)}end(e){e&&this.write(e),this.finalize()}finalize(){this.offset=this.document._offset;let e=this.document._security?this.document._security.getEncryptFn(this.id,this.gen):null;this.buffer.length&&(this.buffer=r.concat(this.buffer),this.compress&&(this.buffer=a.default.deflateSync(this.buffer)),e&&(this.buffer=e(this.buffer)),this.data.Length=this.buffer.length),this.document._write(`${this.id} ${this.gen} obj`),this.document._write(w.convert(this.data,e)),this.buffer.length&&(this.document._write(`stream`),this.document._write(this.buffer),this.buffer=[],this.document._write(`
|
|
5
|
+
endstream`)),this.document._write(`endobj`),this.document._refEnd(this)}toString(){return`${this.id} ${this.gen} R`}}let E=new Float32Array(1),D=new Uint32Array(E.buffer);function O(e){let t=Math.fround(e);return t<=e?t:(E[0]=e,e<=0?D[0]+=1:--D[0],E[0])}function k(e,t,n){return t===void 0&&(t=void 0),n===void 0&&(n=e=>e),(e==null||typeof e==`object`&&Object.keys(e).length===0)&&(e=t),typeof e!=`object`||!e?e={top:e,right:e,bottom:e,left:e}:Array.isArray(e)&&(e=e.length===2?{vertical:e[0],horizontal:e[1]}:{top:e[0],right:e[1],bottom:e[2],left:e[3]}),(`vertical`in e||`horizontal`in e)&&(e={top:e.vertical,right:e.horizontal,bottom:e.vertical,left:e.horizontal}),{top:n(e.top),right:n(e.right),bottom:n(e.bottom),left:n(e.left)}}let A=1/2.54;function j(e){return e===0?1:e===90?0:e===180?-1:e===270?0:Math.cos(e*Math.PI/180)}function M(e){return e===0?0:e===90?1:e===180?0:e===270?-1:Math.sin(e*Math.PI/180)}let N={top:72,left:72,bottom:72,right:72},P={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]};class F{constructor(e,t){t===void 0&&(t={}),this.document=e,this._options=t,this.size=t.size||`letter`,this.layout=t.layout||`portrait`,this.userUnit=t.userUnit||1;let n=Array.isArray(this.size)?this.size:P[this.size.toUpperCase()];this.width=n[this.layout===`portrait`?0:1],this.height=n[+(this.layout===`portrait`)],this.content=this.document.ref(),t.font&&e.font(t.font,t.fontFamily),t.fontSize&&e.fontSize(t.fontSize),this.margins=k(t.margin??t.margins,N,t=>e.sizeToPoint(t,0,this)),this.resources=this.document.ref({ProcSet:[`PDF`,`Text`,`ImageB`,`ImageC`,`ImageI`]}),this.dictionary=this.document.ref({Type:`Page`,Parent:this.document._root.data.Pages,MediaBox:[0,0,this.width,this.height],Contents:this.content,Resources:this.resources,UserUnit:this.userUnit}),this.markings=[]}get fonts(){let e=this.resources.data;return e.Font==null?e.Font={}:e.Font}get xobjects(){let e=this.resources.data;return e.XObject==null?e.XObject={}:e.XObject}get ext_gstates(){let e=this.resources.data;return e.ExtGState==null?e.ExtGState={}:e.ExtGState}get patterns(){let e=this.resources.data;return e.Pattern==null?e.Pattern={}:e.Pattern}get colorSpaces(){let e=this.resources.data;return e.ColorSpace||={}}get annotations(){let e=this.dictionary.data;return e.Annots==null?e.Annots=[]:e.Annots}get structParentTreeKey(){let e=this.dictionary.data;return e.StructParents==null?e.StructParents=this.document.createStructParentTreeNextKey():e.StructParents}get contentWidth(){return this.width-this.margins.left-this.margins.right}get contentHeight(){return this.height-this.margins.top-this.margins.bottom}maxY(){return this.height-this.margins.bottom}write(e){return this.content.write(e)}_setTabOrder(){!this.dictionary.Tabs&&this.document.hasMarkInfoDictionary()&&(this.dictionary.data.Tabs=`S`)}end(){this._setTabOrder(),this.dictionary.end(),this.resources.data.ColorSpace=this.resources.data.ColorSpace||{};for(let e of Object.values(this.document.spotColors))this.resources.data.ColorSpace[e.id]=e;return this.resources.end(),this.content.end()}}class I extends g{_compareKeys(e,t){return e.localeCompare(t)}_keysName(){return`Names`}_dataForKey(e){return new String(e)}}function L(e){return new Uint8Array(s.default.arrayBuffer(e))}function R(e){return(0,s.default)(e)}function z(e){return(0,c.sha256)(e)}function B(e,t,n,r){return r===void 0&&(r=!0),(0,l.cbc)(t,n,{disablePadding:!r}).encrypt(e)}function ee(e,t){return(0,l.ecb)(t,{disablePadding:!0}).encrypt(e)}function te(e,t){let n=new Uint8Array(256);for(let e=0;e<256;e++)n[e]=e;let r=0;for(let e=0;e<256;e++){r=r+n[e]+t[e%t.length]&255;var i=[n[r],n[e]];n[e]=i[0],n[r]=i[1]}let a=new Uint8Array(e.length);for(let t=0,r=0,i=0;i<e.length;i++){t=t+1&255,r=r+n[t]&255;var o=[n[r],n[t]];n[t]=o[0],n[r]=o[1],a[i]=e[i]^n[n[t]+n[r]&255]}return a}function ne(e){let t=new Uint8Array(e);return globalThis.crypto.getRandomValues(t),t}function V(e,t){if(e<t[0])return!1;let n=0,r=t.length/2;for(;n<=r;){let i=Math.floor((n+r)/2),a=i*2;if(e>=t[a]&&e<=t[a+1])return!0;e>t[a+1]?n=i+1:r=i-1}return!1}let re=[545,545,564,591,686,687,751,767,848,863,880,883,886,889,891,893,895,899,907,907,909,909,930,930,975,975,1015,1023,1159,1159,1231,1231,1270,1271,1274,1279,1296,1328,1367,1368,1376,1376,1416,1416,1419,1424,1442,1442,1466,1466,1477,1487,1515,1519,1525,1547,1549,1562,1564,1566,1568,1568,1595,1599,1622,1631,1774,1775,1791,1791,1806,1806,1837,1839,1867,1919,1970,2304,2308,2308,2362,2363,2382,2383,2389,2391,2417,2432,2436,2436,2445,2446,2449,2450,2473,2473,2481,2481,2483,2485,2490,2491,2493,2493,2501,2502,2505,2506,2510,2518,2520,2523,2526,2526,2532,2533,2555,2561,2563,2564,2571,2574,2577,2578,2601,2601,2609,2609,2612,2612,2615,2615,2618,2619,2621,2621,2627,2630,2633,2634,2638,2648,2653,2653,2655,2661,2677,2688,2692,2692,2700,2700,2702,2702,2706,2706,2729,2729,2737,2737,2740,2740,2746,2747,2758,2758,2762,2762,2766,2767,2769,2783,2785,2789,2800,2816,2820,2820,2829,2830,2833,2834,2857,2857,2865,2865,2868,2869,2874,2875,2884,2886,2889,2890,2894,2901,2904,2907,2910,2910,2914,2917,2929,2945,2948,2948,2955,2957,2961,2961,2966,2968,2971,2971,2973,2973,2976,2978,2981,2983,2987,2989,2998,2998,3002,3005,3011,3013,3017,3017,3022,3030,3032,3046,3059,3072,3076,3076,3085,3085,3089,3089,3113,3113,3124,3124,3130,3133,3141,3141,3145,3145,3150,3156,3159,3167,3170,3173,3184,3201,3204,3204,3213,3213,3217,3217,3241,3241,3252,3252,3258,3261,3269,3269,3273,3273,3278,3284,3287,3293,3295,3295,3298,3301,3312,3329,3332,3332,3341,3341,3345,3345,3369,3369,3386,3389,3396,3397,3401,3401,3406,3414,3416,3423,3426,3429,3440,3457,3460,3460,3479,3481,3506,3506,3516,3516,3518,3519,3527,3529,3531,3534,3541,3541,3543,3543,3552,3569,3573,3584,3643,3646,3676,3712,3715,3715,3717,3718,3721,3721,3723,3724,3726,3731,3736,3736,3744,3744,3748,3748,3750,3750,3752,3753,3756,3756,3770,3770,3774,3775,3781,3781,3783,3783,3790,3791,3802,3803,3806,3839,3912,3912,3947,3952,3980,3983,3992,3992,4029,4029,4045,4046,4048,4095,4130,4130,4136,4136,4139,4139,4147,4149,4154,4159,4186,4255,4294,4303,4345,4346,4348,4351,4442,4446,4515,4519,4602,4607,4615,4615,4679,4679,4681,4681,4686,4687,4695,4695,4697,4697,4702,4703,4743,4743,4745,4745,4750,4751,4783,4783,4785,4785,4790,4791,4799,4799,4801,4801,4806,4807,4815,4815,4823,4823,4847,4847,4879,4879,4881,4881,4886,4887,4895,4895,4935,4935,4955,4960,4989,5023,5109,5120,5751,5759,5789,5791,5873,5887,5901,5901,5909,5919,5943,5951,5972,5983,5997,5997,6001,6001,6004,6015,6109,6111,6122,6143,6159,6159,6170,6175,6264,6271,6314,7679,7836,7839,7930,7935,7958,7959,7966,7967,8006,8007,8014,8015,8024,8024,8026,8026,8028,8028,8030,8030,8062,8063,8117,8117,8133,8133,8148,8149,8156,8156,8176,8177,8181,8181,8191,8191,8275,8278,8280,8286,8292,8297,8306,8307,8335,8351,8370,8399,8427,8447,8507,8508,8524,8530,8580,8591,9167,9215,9255,9279,9291,9311,9471,9471,9748,9749,9752,9752,9854,9855,9866,9984,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10079,10080,10133,10135,10160,10160,10175,10191,10220,10223,11008,11903,11930,11930,12020,12031,12246,12271,12284,12287,12352,12352,12439,12440,12544,12548,12589,12592,12687,12687,12728,12783,12829,12831,12868,12880,12924,12926,13004,13007,13055,13055,13175,13178,13278,13279,13311,13311,19894,19967,40870,40959,42125,42127,42183,44031,55204,55295,64046,64047,64107,64255,64263,64274,64280,64284,64311,64311,64317,64317,64319,64319,64322,64322,64325,64325,64434,64466,64832,64847,64912,64913,64968,64975,65021,65023,65040,65055,65060,65071,65095,65096,65107,65107,65127,65127,65132,65135,65141,65141,65277,65278,65280,65280,65471,65473,65480,65481,65488,65489,65496,65497,65501,65503,65511,65511,65519,65528,65536,66303,66335,66335,66340,66351,66379,66559,66598,66599,66638,118783,119030,119039,119079,119081,119262,119807,119893,119893,119965,119965,119968,119969,119971,119972,119975,119976,119981,119981,119994,119994,119996,119996,120001,120001,120004,120004,120070,120070,120075,120076,120085,120085,120093,120093,120122,120122,120127,120127,120133,120133,120135,120137,120145,120145,120484,120487,120778,120781,120832,131069,173783,194559,195102,196605,196608,262141,262144,327677,327680,393213,393216,458749,458752,524285,524288,589821,589824,655357,655360,720893,720896,786429,786432,851965,851968,917501,917504,917504,917506,917535,917632,983037],ie=e=>V(e,re),ae=[173,173,847,847,6150,6150,6155,6155,6156,6156,6157,6157,8203,8203,8204,8204,8205,8205,8288,8288,65024,65024,65025,65025,65026,65026,65027,65027,65028,65028,65029,65029,65030,65030,65031,65031,65032,65032,65033,65033,65034,65034,65035,65035,65036,65036,65037,65037,65038,65038,65039,65039,65279,65279],oe=e=>V(e,ae),se=[160,160,5760,5760,8192,8192,8193,8193,8194,8194,8195,8195,8196,8196,8197,8197,8198,8198,8199,8199,8200,8200,8201,8201,8202,8202,8203,8203,8239,8239,8287,8287,12288,12288],ce=e=>V(e,se),H=[128,159,1757,1757,1807,1807,6158,6158,8204,8204,8205,8205,8232,8232,8233,8233,8288,8288,8289,8289,8290,8290,8291,8291,8298,8303,65279,65279,65529,65532,119155,119162],le=[64976,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1114110,1114111],ue=[0,31,127,127,832,832,833,833,8206,8206,8207,8207,8234,8234,8235,8235,8236,8236,8237,8237,8238,8238,8298,8298,8299,8299,8300,8300,8301,8301,8302,8302,8303,8303,12272,12283,55296,57343,57344,63743,65529,65529,65530,65530,65531,65531,65532,65532,65533,65533,917505,917505,917536,917631,983040,1048573,1048576,1114109],U=e=>V(e,se)||V(e,ue)||V(e,H)||V(e,le),W=[1470,1470,1472,1472,1475,1475,1488,1514,1520,1524,1563,1563,1567,1567,1569,1594,1600,1610,1645,1647,1649,1749,1757,1757,1765,1766,1786,1790,1792,1805,1808,1808,1810,1836,1920,1957,1969,1969,8207,8207,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65020,65136,65140,65142,65276],G=e=>V(e,W),de=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,544,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,1013,1024,1154,1162,1230,1232,1269,1272,1273,1280,1295,1329,1366,1369,1375,1377,1415,1417,1417,2307,2307,2309,2361,2365,2368,2377,2380,2384,2384,2392,2401,2404,2416,2434,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2494,2496,2503,2504,2507,2508,2519,2519,2524,2525,2527,2529,2534,2545,2548,2554,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2622,2624,2649,2652,2654,2654,2662,2671,2674,2676,2691,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2752,2761,2761,2763,2764,2768,2768,2784,2784,2790,2799,2818,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2878,2880,2880,2887,2888,2891,2892,2903,2903,2908,2909,2911,2913,2918,2928,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3007,3009,3010,3014,3016,3018,3020,3031,3031,3047,3058,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3137,3140,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3262,3264,3268,3271,3272,3274,3275,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3392,3398,3400,3402,3404,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3535,3537,3544,3551,3570,3572,3585,3632,3634,3635,3648,3654,3663,3675,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3792,3801,3804,3805,3840,3863,3866,3892,3894,3894,3896,3896,3902,3911,3913,3946,3967,3967,3973,3973,3976,3979,4030,4037,4039,4044,4047,4047,4096,4129,4131,4135,4137,4138,4140,4140,4145,4145,4152,4152,4160,4183,4256,4293,4304,4344,4347,4347,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4961,4988,5024,5108,5121,5750,5761,5786,5792,5872,5888,5900,5902,5905,5920,5937,5941,5942,5952,5969,5984,5996,5998,6e3,6016,6070,6078,6085,6087,6088,6100,6106,6108,6108,6112,6121,6160,6169,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8206,8206,8305,8305,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8509,8511,8517,8521,8544,8579,9014,9082,9109,9109,9372,9449,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12588,12593,12686,12688,12727,12784,12828,12832,12867,12896,12923,12927,12976,12992,13003,13008,13054,13056,13174,13179,13277,13280,13310,13312,19893,19968,40869,40960,42124,44032,55203,55296,64045,64048,64106,64256,64262,64275,64279,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,66304,66334,66336,66339,66352,66378,66560,66597,66600,66637,118784,119029,119040,119078,119082,119142,119146,119154,119171,119172,119180,119209,119214,119261,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,12e4,120002,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120483,120488,120777,131072,173782,194560,195101,983040,1048573,1048576,1114109],fe=e=>V(e,de),K=ce,q=oe,J=e=>e.codePointAt(0),Y=e=>e[0],pe=e=>e[e.length-1];function me(e){let t=[],n=e.length;for(let r=0;r<n;r+=1){let i=e.charCodeAt(r);if(i>=55296&&i<=56319&&n>r+1){let n=e.charCodeAt(r+1);if(n>=56320&&n<=57343){t.push((i-55296)*1024+n-56320+65536),r+=1;continue}}t.push(i)}return t}function X(e,t){if(t===void 0&&(t={}),typeof e!=`string`)throw TypeError(`Expected string.`);if(e.length===0)return``;let n=me(e).map(e=>K(e)?32:e).filter(e=>!q(e)),r=String.fromCodePoint.apply(null,n).normalize(`NFKC`),i=me(r);if(i.some(U))throw Error(`Prohibited character, see https://tools.ietf.org/html/rfc4013#section-2.3`);if(t.allowUnassigned!==!0&&i.some(ie))throw Error(`Unassigned code point, see https://tools.ietf.org/html/rfc4013#section-2.5`);let a=i.some(G),o=i.some(fe);if(a&&o)throw Error(`String must not contain RandALCat and LCat at the same time, see https://tools.ietf.org/html/rfc3454#section-6`);let s=G(J(Y(r))),c=G(J(pe(r)));if(a&&!(s&&c))throw Error(`Bidirectional RandALCat character must be the first and the last character of the string, see https://tools.ietf.org/html/rfc3454#section-6`);return r}class he{static generateFileID(e){e===void 0&&(e={});let t=`${e.CreationDate.getTime()}\n`;for(let n in e)e.hasOwnProperty(n)&&(t+=`${n}: ${e[n].valueOf()}\n`);return r.from(L(t))}static generateRandomWordArray(e){return ne(e)}static create(e,t){return t===void 0&&(t={}),!t.ownerPassword&&!t.userPassword?null:new he(e,t)}constructor(e,t){if(t===void 0&&(t={}),!t.ownerPassword&&!t.userPassword)throw Error(`None of owner password and user password is defined.`);this.document=e,this._setupEncryption(t)}_setupEncryption(e){switch(e.pdfVersion){case`1.4`:case`1.5`:this.version=2;break;case`1.6`:case`1.7`:this.version=4;break;case`1.7ext3`:this.version=5;break;default:this.version=1}let t={Filter:`Standard`};switch(this.version){case 1:case 2:case 4:this._setupEncryptionV1V2V4(this.version,t,e);break;case 5:this._setupEncryptionV5(t,e)}this.dictionary=this.document.ref(t)}_setupEncryptionV1V2V4(e,t,n){let i,a;switch(e){case 1:i=2,this.keyBits=40,a=ge(n.permissions);break;case 2:i=3,this.keyBits=128,a=_e(n.permissions);break;case 4:i=4,this.keyBits=128,a=_e(n.permissions)}let o=Oe(n.userPassword),s=n.ownerPassword?Oe(n.ownerPassword):o,c=be(i,this.keyBits,o,s);this.encryptionKey=xe(i,this.keyBits,this.document._id,o,c,a);let l;l=i===2?ve(this.encryptionKey):ye(this.document._id,this.encryptionKey),t.V=e,e>=2&&(t.Length=this.keyBits),e===4&&(t.CF={StdCF:{AuthEvent:`DocOpen`,CFM:`AESV2`,Length:this.keyBits/8}},t.StmF=`StdCF`,t.StrF=`StdCF`),t.R=i,t.O=r.from(c),t.U=r.from(l),t.P=a}_setupEncryptionV5(e,t){this.keyBits=256;let n=_e(t.permissions),i=ke(t.userPassword),a=t.ownerPassword?ke(t.ownerPassword):i;this.encryptionKey=Ee(he.generateRandomWordArray);let o=Se(i,he.generateRandomWordArray),s=Ce(i,o.slice(40,48),this.encryptionKey),c=we(a,o,he.generateRandomWordArray),l=Te(a,c.slice(40,48),o,this.encryptionKey),u=De(n,this.encryptionKey,he.generateRandomWordArray);e.V=5,e.Length=this.keyBits,e.CF={StdCF:{AuthEvent:`DocOpen`,CFM:`AESV3`,Length:this.keyBits/8}},e.StmF=`StdCF`,e.StrF=`StdCF`,e.R=5,e.O=r.from(c),e.OE=r.from(l),e.U=r.from(o),e.UE=r.from(s),e.P=n,e.Perms=r.from(u)}getEncryptFn(e,t){let n;if(this.version<5){let r=new Uint8Array([e&255,e>>8&255,e>>16&255,t&255,t>>8&255]);n=(0,o.concatBytes)(this.encryptionKey,r)}if(this.version===1||this.version===2){let e=L(n),t=Math.min(16,this.keyBits/8+5);return e=e.slice(0,t),t=>r.from(te(new Uint8Array(t),e))}let i;if(this.version===4){let e=new Uint8Array([115,65,108,84]);i=L((0,o.concatBytes)(n,e))}else i=this.encryptionKey;let a=he.generateRandomWordArray(16);return e=>{let t=B(new Uint8Array(e),i,a,!0);return r.from((0,o.concatBytes)(a,t))}}end(){this.dictionary.end()}}function ge(e){e===void 0&&(e={});let t=-64;return e.printing&&(t|=4),e.modifying&&(t|=8),e.copying&&(t|=16),e.annotating&&(t|=32),t}function _e(e){e===void 0&&(e={});let t=-3904;return e.printing===`lowResolution`&&(t|=4),e.printing===`highResolution`&&(t|=2052),e.modifying&&(t|=8),e.copying&&(t|=16),e.annotating&&(t|=32),e.fillingForms&&(t|=256),e.contentAccessibility&&(t|=512),e.documentAssembly&&(t|=1024),t}function ve(e){return te(Oe(),e)}function ye(e,t){let n=t.slice(),r=L((0,o.concatBytes)(Oe(),new Uint8Array(e)));for(let e=0;e<20;e++){let i=new Uint8Array(n.length);for(let r=0;r<n.length;r++)i[r]=t[r]^e;r=te(r,i)}let i=new Uint8Array(32);return i.set(r),i}function be(e,t,n,r){let i=r,a=e>=3?51:1;for(let e=0;e<a;e++)i=L(i);let o=t/8,s=i.slice(0,o),c=n;a=e>=3?20:1;for(let e=0;e<a;e++){let t=new Uint8Array(o);for(let n=0;n<o;n++)t[n]=s[n]^e;c=te(c,t)}return c}function xe(e,t,n,r,i,a){let s=new Uint8Array([a&255,a>>8&255,a>>16&255,a>>24&255]),c=(0,o.concatBytes)(r,i,s,new Uint8Array(n)),l=e>=3?51:1,u=t/8;for(let e=0;e<l;e++)c=L(c),c=c.slice(0,u);return c}function Se(e,t){let n=t(8),r=t(8),i=z((0,o.concatBytes)(e,n));return(0,o.concatBytes)(i,n,r)}function Ce(e,t,n){return B(n,z((0,o.concatBytes)(e,t)),new Uint8Array(16),!1)}function we(e,t,n){let r=n(8),i=n(8),a=z((0,o.concatBytes)(e,r,t));return(0,o.concatBytes)(a,r,i)}function Te(e,t,n,r){return B(r,z((0,o.concatBytes)(e,t,n)),new Uint8Array(16),!1)}function Ee(e){return e(32)}function De(e,t,n){let r=new Uint8Array(16);r[0]=e&255,r[1]=e>>8&255,r[2]=e>>16&255,r[3]=e>>24&255,r[4]=255,r[5]=255,r[6]=255,r[7]=255,r[8]=84,r[9]=97,r[10]=100,r[11]=98;let i=n(4);return r.set(i,12),ee(r,t)}function Oe(e){e===void 0&&(e=``);let t=new Uint8Array(32),n=e.length,r=0;for(;r<n&&r<32;){let n=e.charCodeAt(r);if(n>255)throw Error(`Password contains one or more invalid characters.`);t[r]=n,r++}for(;r<32;)t[r]=Ae[r-n],r++;return t}function ke(e){e===void 0&&(e=``),e=unescape(encodeURIComponent(X(e)));let t=Math.min(127,e.length),n=new Uint8Array(t);for(let r=0;r<t;r++)n[r]=e.charCodeAt(r);return n}let Ae=[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],je=w.number,Me=class{constructor(e){this.doc=e,this.stops=[],this.embedded=!1,this.transform=[1,0,0,1,0,0]}stop(e,t,n){if(n??=1,t=this.doc._normalizeColor(t),this.stops.length===0){if(t.length===3)this._colorSpace=`DeviceRGB`;else if(t.length===4)this._colorSpace=`DeviceCMYK`;else if(t.length===1)this._colorSpace=`DeviceGray`;else throw Error(`Unknown color space`)}else if(this._colorSpace===`DeviceRGB`&&t.length!==3||this._colorSpace===`DeviceCMYK`&&t.length!==4||this._colorSpace===`DeviceGray`&&t.length!==1)throw Error(`All gradient stops must use the same color space`);return n=Math.max(0,Math.min(1,n)),this.stops.push([e,t,n]),this}setTransform(e,t,n,r,i,a){return this.transform=[e,t,n,r,i,a],this}embed(e){let t,n=this.stops.length;if(n===0)return;this.embedded=!0,this.matrix=e;let r=this.stops[n-1];r[0]<1&&this.stops.push([1,r[1],r[2]]);let i=[],a=[],o=[];for(let e=0;e<n-1;e++)a.push(0,1),e+2!==n&&i.push(this.stops[e+1][0]),t=this.doc.ref({FunctionType:2,Domain:[0,1],C0:this.stops[e+0][1],C1:this.stops[e+1][1],N:1}),o.push(t),t.end();n===1?t=o[0]:(t=this.doc.ref({FunctionType:3,Domain:[0,1],Functions:o,Bounds:i,Encode:a}),t.end()),this.id=`Sh${++this.doc._gradCount}`;let s=this.shader(t);s.end();let c=this.doc.ref({Type:`Pattern`,PatternType:2,Shading:s,Matrix:this.matrix.map(je)});if(c.end(),this.stops.some(e=>e[2]<1)){let e=this.opacityGradient();e._colorSpace=`DeviceGray`;for(let t of this.stops)e.stop(t[0],[t[2]]);e=e.embed(this.matrix);let t=[0,0,this.doc.page.width,this.doc.page.height],n=this.doc.ref({Type:`XObject`,Subtype:`Form`,FormType:1,BBox:t,Group:{Type:`Group`,S:`Transparency`,CS:`DeviceGray`},Resources:{ProcSet:[`PDF`,`Text`,`ImageB`,`ImageC`,`ImageI`],Pattern:{Sh1:e}}});n.write(`/Pattern cs /Sh1 scn`),n.end(`${t.join(` `)} re f`);let r=this.doc.ref({Type:`ExtGState`,SMask:{Type:`Mask`,S:`Luminosity`,G:n}});r.end();let i=this.doc.ref({Type:`Pattern`,PatternType:1,PaintType:1,TilingType:2,BBox:t,XStep:t[2],YStep:t[3],Resources:{ProcSet:[`PDF`,`Text`,`ImageB`,`ImageC`,`ImageI`],Pattern:{Sh1:c},ExtGState:{Gs1:r}}});i.write(`/Gs1 gs /Pattern cs /Sh1 scn`),i.end(`${t.join(` `)} re f`),this.doc.page.patterns[this.id]=i}else this.doc.page.patterns[this.id]=c;return c}apply(e){let t=this.doc._ctm,n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=this.transform,l=c[0],u=c[1],d=c[2],f=c[3],p=c[4],m=c[5],h=[n*l+i*u,r*l+a*u,n*d+i*f,r*d+a*f,n*p+i*m+o,r*p+a*m+s];(!this.embedded||h.join(` `)!==this.matrix.join(` `))&&this.embed(h),this.doc._setColorSpace(`Pattern`,e);let g=e?`SCN`:`scn`;return this.doc.addContent(`/${this.id} ${g}`)}};var Ne={PDFGradient:Me,PDFLinearGradient:class e extends Me{constructor(e,t,n,r,i){super(e),this.x1=t,this.y1=n,this.x2=r,this.y2=i}shader(e){return this.doc.ref({ShadingType:2,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.x2,this.y2],Function:e,Extend:[!0,!0]})}opacityGradient(){return new e(this.doc,this.x1,this.y1,this.x2,this.y2)}},PDFRadialGradient:class e extends Me{constructor(e,t,n,r,i,a,o){super(e),this.doc=e,this.x1=t,this.y1=n,this.r1=r,this.x2=i,this.y2=a,this.r2=o}shader(e){return this.doc.ref({ShadingType:3,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.r1,this.x2,this.y2,this.r2],Function:e,Extend:[!0,!0]})}opacityGradient(){return new e(this.doc,this.x1,this.y1,this.r1,this.x2,this.y2,this.r2)}}};let Pe=[`DeviceCMYK`,`DeviceRGB`];var Fe={PDFTilingPattern:class{constructor(e,t,n,r,i){this.doc=e,this.bBox=t,this.xStep=n,this.yStep=r,this.stream=i}createPattern(){let e=this.doc.ref();e.end();let t=this.doc._ctm,n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=[n*1+i*0,r*1+a*0,n*0+i*1,r*0+a*1,n*0+i*0+o,r*0+a*0+s],l=this.doc.ref({Type:`Pattern`,PatternType:1,PaintType:2,TilingType:2,BBox:this.bBox,XStep:this.xStep,YStep:this.yStep,Matrix:c.map(e=>+e.toFixed(5)),Resources:e});return l.end(this.stream),l}embedPatternColorSpaces(){Pe.forEach(e=>{let t=this.getPatternColorSpaceId(e);if(this.doc.page.colorSpaces[t])return;let n=this.doc.ref([`Pattern`,e]);n.end(),this.doc.page.colorSpaces[t]=n})}getPatternColorSpaceId(e){return`CsP${e}`}embed(){this.id||(this.doc._patternCount=this.doc._patternCount+1,this.id=`P`+this.doc._patternCount,this.pattern=this.createPattern()),this.doc.page.patterns[this.id]||(this.doc.page.patterns[this.id]=this.pattern)}apply(e,t){this.embedPatternColorSpaces(),this.embed();let n=this.doc._normalizeColor(t);if(!n)throw Error(`invalid pattern color. (value: ${t})`);let r=this.getPatternColorSpaceId(this.doc._getColorSpace(n));this.doc._setColorSpace(r,e);let i=e?`SCN`:`scn`;return this.doc.addContent(`${n.join(` `)} /${this.id} ${i}`)}}};let Ie=Ne.PDFGradient,Le=Ne.PDFLinearGradient,Re=Ne.PDFRadialGradient,ze=Fe.PDFTilingPattern;var Be={initColor(){this.spotColors={},this._opacityRegistry={},this._opacityCount=0,this._patternCount=0,this._gradCount=0},_normalizeColor(e){if(typeof e==`string`){if(e.charAt(0)===`#`){e.length===4&&(e=e.replace(/#([0-9A-F])([0-9A-F])([0-9A-F])/i,`#$1$1$2$2$3$3`));let t=parseInt(e.slice(1),16);e=[t>>16,t>>8&255,t&255]}else if(Ve[e])e=Ve[e];else if(this.spotColors[e])return this.spotColors[e]}return Array.isArray(e)?(e.length===3?e=e.map(e=>e/255):e.length===4&&(e=e.map(e=>e/100)),e):null},_setColor(e,t){return e instanceof Ie?(e.apply(t),!0):Array.isArray(e)&&e[0]instanceof ze?(e[0].apply(t,e[1]),!0):this._setColorCore(e,t)},_setColorCore(e,t){if(e=this._normalizeColor(e),!e)return!1;let n=t?`SCN`:`scn`,r=this._getColorSpace(e);return this._setColorSpace(r,t),e instanceof _?(this.page.colorSpaces[e.id]=e.ref,this.addContent(`1 ${n}`)):this.addContent(`${e.join(` `)} ${n}`),!0},_setColorSpace(e,t){let n=t?`CS`:`cs`;return this.addContent(`/${e} ${n}`)},_getColorSpace(e){return e instanceof _?e.id:e.length===4?`DeviceCMYK`:`DeviceRGB`},fillColor(e,t){return this._setColor(e,!1)&&this.fillOpacity(t),this._fillColor=[e,t],this},strokeColor(e,t){return this._setColor(e,!0)&&this.strokeOpacity(t),this},opacity(e){return this._doOpacity(e,e),this},fillOpacity(e){return this._doOpacity(e,null),this},strokeOpacity(e){return this._doOpacity(null,e),this},_doOpacity(e,t){let n,r;if(e==null&&t==null)return;e!=null&&(e=Math.max(0,Math.min(1,e))),t!=null&&(t=Math.max(0,Math.min(1,t)));let i=`${e}_${t}`;if(this._opacityRegistry[i]){var a=this._opacityRegistry[i];n=a[0],r=a[1]}else n={Type:`ExtGState`},e!=null&&(n.ca=e),t!=null&&(n.CA=t),n=this.ref(n),n.end(),r=`Gs${++this._opacityCount}`,this._opacityRegistry[i]=[n,r];return this.page.ext_gstates[r]=n,this.addContent(`/${r} gs`)},linearGradient(e,t,n,r){return new Le(this,e,t,n,r)},radialGradient(e,t,n,r,i,a){return new Re(this,e,t,n,r,i,a)},pattern(e,t,n,r){return new ze(this,e,t,n,r)},addSpotColor(e,t,n,r,i){let a=new _(this,e,t,n,r,i);return this.spotColors[e]=a,this}},Ve={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};let Z,Q,He,Ue,We,Ge;Z=Q=He=Ue=We=Ge=0;let Ke={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0},qe=function(e){return e in Ke},Je=function(e){let t=e.codePointAt(0);return t===32||t===9||t===13||t===10},Ye=function(e){let t=e.codePointAt(0);return t!=null&&48<=t&&t<=57},Xe=function(e,t){let n=t,r=``,i=`none`;for(;n<e.length;n+=1){let t=e[n];if(t===`+`||t===`-`){if(i===`none`){i=`sign`,r+=t;continue}if(i===`e`){i=`exponent_sign`,r+=t;continue}}if(Ye(t)){if(i===`none`||i===`sign`||i===`whole`){i=`whole`,r+=t;continue}if(i===`decimal_point`||i===`decimal`){i=`decimal`,r+=t;continue}if(i===`e`||i===`exponent_sign`||i===`exponent`){i=`exponent`,r+=t;continue}}if(t===`.`&&(i===`none`||i===`sign`||i===`whole`)){i=`decimal_point`,r+=t;continue}if((t===`E`||t===`e`)&&(i===`whole`||i===`decimal_point`||i===`decimal`)){i=`e`,r+=t;continue}break}let a=Number.parseFloat(r);return Number.isNaN(a)?[t,null]:[n-1,a]},Ze=function(e){let t=[],n=null,r=[],i=0,a=!1,o=!1;for(let u=0;u<e.length;u+=1){let d=e.charAt(u);if(Je(d))continue;if(a&&d===`,`){if(o)break;o=!0;continue}if(qe(d)){if(o)return t;if(n==null){if(d!==`M`&&d!==`m`)return t}else if(r.length!==0)return t;n=d,r=[],i=Ke[n],a=!1,i===0&&t.push({command:n,args:r});continue}if(n==null)return t;let f=u,p=null;if(n===`A`||n===`a`){let t=r.length;if((t===0||t===1)&&d!==`+`&&d!==`-`){var s=Xe(e,u);f=s[0],p=s[1]}if(t===2||t===5||t===6){var c=Xe(e,u);f=c[0],p=c[1]}(t===3||t===4)&&(d===`0`&&(p=0),d===`1`&&(p=1))}else{var l=Xe(e,u);f=l[0],p=l[1]}if(p==null)return t;r.push(p),a=!0,o=!1,u=f,r.length===i&&(t.push({command:n,args:r}),n===`M`&&(n=`L`),n===`m`&&(n=`l`),r=[])}return t},Qe=function(e,t){Z=Q=He=Ue=We=Ge=0;for(let n=0;n<e.length;n++){let r=e[n];typeof $e[r.command]==`function`&&$e[r.command](t,r.args)}},$e={M(e,t){return Z=t[0],Q=t[1],He=Ue=null,We=Z,Ge=Q,e.moveTo(Z,Q)},m(e,t){return Z+=t[0],Q+=t[1],He=Ue=null,We=Z,Ge=Q,e.moveTo(Z,Q)},C(e,t){return Z=t[4],Q=t[5],He=t[2],Ue=t[3],e.bezierCurveTo(...t)},c(e,t){return e.bezierCurveTo(t[0]+Z,t[1]+Q,t[2]+Z,t[3]+Q,t[4]+Z,t[5]+Q),He=Z+t[2],Ue=Q+t[3],Z+=t[4],Q+=t[5]},S(e,t){return He===null&&(He=Z,Ue=Q),e.bezierCurveTo(Z-(He-Z),Q-(Ue-Q),t[0],t[1],t[2],t[3]),He=t[0],Ue=t[1],Z=t[2],Q=t[3]},s(e,t){return He===null&&(He=Z,Ue=Q),e.bezierCurveTo(Z-(He-Z),Q-(Ue-Q),Z+t[0],Q+t[1],Z+t[2],Q+t[3]),He=Z+t[0],Ue=Q+t[1],Z+=t[2],Q+=t[3]},Q(e,t){return He=t[0],Ue=t[1],Z=t[2],Q=t[3],e.quadraticCurveTo(t[0],t[1],Z,Q)},q(e,t){return e.quadraticCurveTo(t[0]+Z,t[1]+Q,t[2]+Z,t[3]+Q),He=Z+t[0],Ue=Q+t[1],Z+=t[2],Q+=t[3]},T(e,t){return He===null?(He=Z,Ue=Q):(He=Z-(He-Z),Ue=Q-(Ue-Q)),e.quadraticCurveTo(He,Ue,t[0],t[1]),He=Z-(He-Z),Ue=Q-(Ue-Q),Z=t[0],Q=t[1]},t(e,t){return He===null?(He=Z,Ue=Q):(He=Z-(He-Z),Ue=Q-(Ue-Q)),e.quadraticCurveTo(He,Ue,Z+t[0],Q+t[1]),Z+=t[0],Q+=t[1]},A(e,t){return et(e,Z,Q,t),Z=t[5],Q=t[6]},a(e,t){return t[5]+=Z,t[6]+=Q,et(e,Z,Q,t),Z=t[5],Q=t[6]},L(e,t){return Z=t[0],Q=t[1],He=Ue=null,e.lineTo(Z,Q)},l(e,t){return Z+=t[0],Q+=t[1],He=Ue=null,e.lineTo(Z,Q)},H(e,t){return Z=t[0],He=Ue=null,e.lineTo(Z,Q)},h(e,t){return Z+=t[0],He=Ue=null,e.lineTo(Z,Q)},V(e,t){return Q=t[0],He=Ue=null,e.lineTo(Z,Q)},v(e,t){return Q+=t[0],He=Ue=null,e.lineTo(Z,Q)},Z(e){return e.closePath(),Z=We,Q=Ge},z(e){return e.closePath(),Z=We,Q=Ge}},et=function(e,t,n,r){let i=r[0],a=r[1],o=r[2],s=r[3],c=r[4],l=r[5],u=r[6],d=tt(l,u,i,a,s,c,o,t,n);for(let t of d){let n=nt(...t);e.bezierCurveTo(...n)}},tt=function(e,t,n,r,i,a,o,s,c){let l=Math.PI/180*o,u=Math.sin(l),d=Math.cos(l);n=Math.abs(n),r=Math.abs(r),He=d*(s-e)*.5+u*(c-t)*.5,Ue=d*(c-t)*.5-u*(s-e)*.5;let f=He*He/(n*n)+Ue*Ue/(r*r);f>1&&(f=Math.sqrt(f),n*=f,r*=f);let p=d/n,m=u/n,h=-u/r,g=d/r,_=p*s+m*c,v=h*s+g*c,y=p*e+m*t,b=h*e+g*t,x=1/((y-_)*(y-_)+(b-v)*(b-v))-.25;x<0&&(x=0);let S=Math.sqrt(x);a===i&&(S=-S);let C=.5*(_+y)-S*(b-v),w=.5*(v+b)+S*(y-_),T=Math.atan2(v-w,_-C),E=Math.atan2(b-w,y-C)-T;E<0&&a===1?E+=2*Math.PI:E>0&&a===0&&(E-=2*Math.PI);let D=Math.ceil(Math.abs(E/(Math.PI*.5+.001))),O=[];for(let e=0;e<D;e++){let t=T+e*E/D,i=T+(e+1)*E/D;O[e]=[C,w,t,i,n,r,u,d]}return O},nt=function(e,t,n,r,i,a,o,s){let c=s*i,l=-o*a,u=o*i,d=s*a,f=.5*(r-n),p=8/3*Math.sin(f*.5)*Math.sin(f*.5)/Math.sin(f),m=e+Math.cos(n)-p*Math.sin(n),h=t+Math.sin(n)+p*Math.cos(n),g=e+Math.cos(r),_=t+Math.sin(r),v=g+p*Math.sin(r),y=_-p*Math.cos(r);return[c*m+l*h,u*m+d*h,c*v+l*y,u*v+d*y,c*g+l*_,u*g+d*_]};class rt{static apply(e,t){let n=Ze(t);Qe(n,e)}}let it=w.number,at=4*((Math.sqrt(2)-1)/3);var ot={initVector(){this._ctm=[1,0,0,1,0,0],this._ctmStack=[]},save(){return this._ctmStack.push(this._ctm.slice()),this.addContent(`q`)},restore(){return this._ctm=this._ctmStack.pop()||[1,0,0,1,0,0],this.addContent(`Q`)},closePath(){return this.addContent(`h`)},lineWidth(e){return this.addContent(`${it(e)} w`)},_CAP_STYLES:{BUTT:0,ROUND:1,SQUARE:2},lineCap(e){return typeof e==`string`&&(e=this._CAP_STYLES[e.toUpperCase()]),this.addContent(`${e} J`)},_JOIN_STYLES:{MITER:0,ROUND:1,BEVEL:2},lineJoin(e){return typeof e==`string`&&(e=this._JOIN_STYLES[e.toUpperCase()]),this.addContent(`${e} j`)},miterLimit(e){return this.addContent(`${it(e)} M`)},dash(e,t){t===void 0&&(t={});let n=e;if(Array.isArray(e)||(e=[e,t.space||e]),!e.every(e=>Number.isFinite(e)&&e>0))throw Error(`dash(${JSON.stringify(n)}, ${JSON.stringify(t)}) invalid, lengths must be numeric and greater than zero`);return e=e.map(it).join(` `),this.addContent(`[${e}] ${it(t.phase||0)} d`)},undash(){return this.addContent(`[] 0 d`)},moveTo(e,t){return this.addContent(`${it(e)} ${it(t)} m`)},lineTo(e,t){return this.addContent(`${it(e)} ${it(t)} l`)},bezierCurveTo(e,t,n,r,i,a){return this.addContent(`${it(e)} ${it(t)} ${it(n)} ${it(r)} ${it(i)} ${it(a)} c`)},quadraticCurveTo(e,t,n,r){return this.addContent(`${it(e)} ${it(t)} ${it(n)} ${it(r)} v`)},rect(e,t,n,r){return this.addContent(`${it(e)} ${it(t)} ${it(n)} ${it(r)} re`)},roundedRect(e,t,n,r,i){i??=0;let a;a=Array.isArray(i)?i.slice(0,4):[i,i,i,i];let o=Math.min(.5*n,.5*r),s=Math.max(0,Math.min(a[0]||0,o)),c=Math.max(0,Math.min(a[1]||0,o)),l=Math.max(0,Math.min(a[2]||0,o)),u=Math.max(0,Math.min(a[3]||0,o)),d=c*(1-at),f=l*(1-at),p=u*(1-at),m=s*(1-at);return this.moveTo(e+s,t),this.lineTo(e+n-c,t),c>0&&this.bezierCurveTo(e+n-d,t,e+n,t+d,e+n,t+c),this.lineTo(e+n,t+r-l),l>0&&this.bezierCurveTo(e+n,t+r-f,e+n-f,t+r,e+n-l,t+r),this.lineTo(e+u,t+r),u>0&&this.bezierCurveTo(e+p,t+r,e,t+r-p,e,t+r-u),this.lineTo(e,t+s),s>0&&this.bezierCurveTo(e,t+m,e+m,t,e+s,t),this.closePath()},ellipse(e,t,n,r){r??=n,e-=n,t-=r;let i=n*at,a=r*at,o=e+n*2,s=t+r*2,c=e+n,l=t+r;return this.moveTo(e,l),this.bezierCurveTo(e,l-a,c-i,t,c,t),this.bezierCurveTo(c+i,t,o,l-a,o,l),this.bezierCurveTo(o,l+a,c+i,s,c,s),this.bezierCurveTo(c-i,s,e,l+a,e,l),this.closePath()},circle(e,t,n){return this.ellipse(e,t,n)},arc(e,t,n,r,i,a){a??=!1;let o=2*Math.PI,s=.5*Math.PI,c=i-r;Math.abs(c)>o?c=o:c!==0&&a!==c<0&&(c=(a?-1:1)*o+c);let l=Math.ceil(Math.abs(c)/s),u=c/l,d=u/s*at*n,f=r,p=-Math.sin(f)*d,m=Math.cos(f)*d,h=e+Math.cos(f)*n,g=t+Math.sin(f)*n;this.moveTo(h,g);for(let r=0;r<l;r++){let r=h+p,i=g+m;f+=u,h=e+Math.cos(f)*n,g=t+Math.sin(f)*n,p=-Math.sin(f)*d,m=Math.cos(f)*d;let a=h-p,o=g-m;this.bezierCurveTo(r,i,a,o,h,g)}return this},polygon(){var e=[...arguments];this.moveTo(...e.shift()||[]);for(let t of e)this.lineTo(...t||[]);return this.closePath()},path(e){return rt.apply(this,e),this},_windingRule(e){return/even-?odd/.test(e)?`*`:``},fill(e,t){return/(even-?odd)|(non-?zero)/.test(e)&&(t=e,e=null),e&&this.fillColor(e),this.addContent(`f${this._windingRule(t)}`)},stroke(e){return e&&this.strokeColor(e),this.addContent(`S`)},fillAndStroke(e,t,n){t??=e;let r=/(even-?odd)|(non-?zero)/;return r.test(e)&&(n=e,e=null),r.test(t)&&(n=t,t=e),e&&(this.fillColor(e),this.strokeColor(t)),this.addContent(`B${this._windingRule(n)}`)},clip(e){return this.addContent(`W${this._windingRule(e)} n`)},transform(e,t,n,r,i,a){if(e===1&&t===0&&n===0&&r===1&&i===0&&a===0)return this;let o=this._ctm,s=o[0],c=o[1],l=o[2],u=o[3],d=o[4],f=o[5];o[0]=s*e+l*t,o[1]=c*e+u*t,o[2]=s*n+l*r,o[3]=c*n+u*r,o[4]=s*i+l*a+d,o[5]=c*i+u*a+f;let p=[e,t,n,r,i,a].map(e=>it(e)).join(` `);return this.addContent(`${p} cm`)},translate(e,t){return this.transform(1,0,0,1,e,t)},rotate(e,t){t===void 0&&(t={});let n,r=e*Math.PI/180,i=Math.cos(r),a=Math.sin(r),o=n=0;if(t.origin!=null){var s=t.origin;o=s[0],n=s[1];let e=o*i-n*a,r=o*a+n*i;o-=e,n-=r}return this.transform(i,a,-a,i,o,n)},scale(e,t,n){n===void 0&&(n={});let r;t??=e,typeof t==`object`&&(n=t,t=e);let i=r=0;if(n.origin!=null){var a=n.origin;i=a[0],r=a[1],i-=e*i,r-=t*r}return this.transform(e,0,0,t,i,r)}};let st={402:131,8211:150,8212:151,8216:145,8217:146,8218:130,8220:147,8221:148,8222:132,8224:134,8225:135,8226:149,8230:133,8364:128,8240:137,8249:139,8250:155,710:136,8482:153,338:140,339:156,732:152,352:138,353:154,376:159,381:142,382:158},ct=`.notdef .notdef .notdef .notdef
|
|
6
|
+
.notdef .notdef .notdef .notdef
|
|
7
|
+
.notdef .notdef .notdef .notdef
|
|
8
|
+
.notdef .notdef .notdef .notdef
|
|
9
|
+
.notdef .notdef .notdef .notdef
|
|
10
|
+
.notdef .notdef .notdef .notdef
|
|
11
|
+
.notdef .notdef .notdef .notdef
|
|
12
|
+
.notdef .notdef .notdef .notdef
|
|
13
|
+
|
|
14
|
+
space exclam quotedbl numbersign
|
|
15
|
+
dollar percent ampersand quotesingle
|
|
16
|
+
parenleft parenright asterisk plus
|
|
17
|
+
comma hyphen period slash
|
|
18
|
+
zero one two three
|
|
19
|
+
four five six seven
|
|
20
|
+
eight nine colon semicolon
|
|
21
|
+
less equal greater question
|
|
22
|
+
|
|
23
|
+
at A B C
|
|
24
|
+
D E F G
|
|
25
|
+
H I J K
|
|
26
|
+
L M N O
|
|
27
|
+
P Q R S
|
|
28
|
+
T U V W
|
|
29
|
+
X Y Z bracketleft
|
|
30
|
+
backslash bracketright asciicircum underscore
|
|
31
|
+
|
|
32
|
+
grave a b c
|
|
33
|
+
d e f g
|
|
34
|
+
h i j k
|
|
35
|
+
l m n o
|
|
36
|
+
p q r s
|
|
37
|
+
t u v w
|
|
38
|
+
x y z braceleft
|
|
39
|
+
bar braceright asciitilde .notdef
|
|
40
|
+
|
|
41
|
+
Euro .notdef quotesinglbase florin
|
|
42
|
+
quotedblbase ellipsis dagger daggerdbl
|
|
43
|
+
circumflex perthousand Scaron guilsinglleft
|
|
44
|
+
OE .notdef Zcaron .notdef
|
|
45
|
+
.notdef quoteleft quoteright quotedblleft
|
|
46
|
+
quotedblright bullet endash emdash
|
|
47
|
+
tilde trademark scaron guilsinglright
|
|
48
|
+
oe .notdef zcaron ydieresis
|
|
49
|
+
|
|
50
|
+
space exclamdown cent sterling
|
|
51
|
+
currency yen brokenbar section
|
|
52
|
+
dieresis copyright ordfeminine guillemotleft
|
|
53
|
+
logicalnot hyphen registered macron
|
|
54
|
+
degree plusminus twosuperior threesuperior
|
|
55
|
+
acute mu paragraph periodcentered
|
|
56
|
+
cedilla onesuperior ordmasculine guillemotright
|
|
57
|
+
onequarter onehalf threequarters questiondown
|
|
58
|
+
|
|
59
|
+
Agrave Aacute Acircumflex Atilde
|
|
60
|
+
Adieresis Aring AE Ccedilla
|
|
61
|
+
Egrave Eacute Ecircumflex Edieresis
|
|
62
|
+
Igrave Iacute Icircumflex Idieresis
|
|
63
|
+
Eth Ntilde Ograve Oacute
|
|
64
|
+
Ocircumflex Otilde Odieresis multiply
|
|
65
|
+
Oslash Ugrave Uacute Ucircumflex
|
|
66
|
+
Udieresis Yacute Thorn germandbls
|
|
67
|
+
|
|
68
|
+
agrave aacute acircumflex atilde
|
|
69
|
+
adieresis aring ae ccedilla
|
|
70
|
+
egrave eacute ecircumflex edieresis
|
|
71
|
+
igrave iacute icircumflex idieresis
|
|
72
|
+
eth ntilde ograve oacute
|
|
73
|
+
ocircumflex otilde odieresis divide
|
|
74
|
+
oslash ugrave uacute ucircumflex
|
|
75
|
+
udieresis yacute thorn ydieresis`.split(/\s+/);class lt{constructor(e){this.attributes={},this.glyphWidths={},this.boundingBoxes={},this.kernPairs={},this.parse(e),this.bbox=this.attributes.FontBBox.split(/\s+/).map(e=>+e),this.ascender=+(this.attributes.Ascender||0),this.descender=+(this.attributes.Descender||0),this.xHeight=+(this.attributes.XHeight||0),this.capHeight=+(this.attributes.CapHeight||0),this.lineGap=this.bbox[3]-this.bbox[1]-(this.ascender-this.descender)}parse(e){let t=``;for(let s of e.split(`
|
|
76
|
+
`)){var n,r;if(n=s.match(/^Start(\w+)/)){t=n[1];continue}if(s.match(/^End(\w+)/)){t=``;continue}switch(t){case`FontMetrics`:n=s.match(/(^\w+)\s+(.*)/);var i=n[1],a=n[2];(r=this.attributes[i])?(Array.isArray(r)||(r=this.attributes[i]=[r]),r.push(a)):this.attributes[i]=a;break;case`CharMetrics`:if(!/^CH?\s/.test(s))continue;var o=s.match(/\bN\s+(\.?\w+)\s*;/)[1];this.glyphWidths[o]=+s.match(/\bWX\s+(\d+)\s*;/)[1];break;case`KernPairs`:n=s.match(/^KPX\s+(\.?\w+)\s+(\.?\w+)\s+(-?\d+)/),n&&(this.kernPairs[n[1]+`\0`+n[2]]=parseInt(n[3]))}}}encodeText(e){let t=[];for(let n=0,r=e.length;n<r;n++){let r=e.charCodeAt(n);r=st[r]||r,t.push(r.toString(16))}return t}glyphsForString(e){let t=[];for(let n=0,r=e.length;n<r;n++){let r=e.charCodeAt(n);t.push(this.characterToGlyph(r))}return t}characterToGlyph(e){return ct[st[e]||e]||`.notdef`}widthOfGlyph(e){return this.glyphWidths[e]||0}getKernPair(e,t){return this.kernPairs[e+`\0`+t]||0}advancesForGlyphs(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=e[n+1];t.push(this.widthOfGlyph(r)+this.getKernPair(r,i))}return t}}class ut{constructor(){}encode(){throw Error(`Must be implemented by subclasses`)}widthOfString(){throw Error(`Must be implemented by subclasses`)}ref(){return this.dictionary==null?this.dictionary=this.document.ref():this.dictionary}finalize(){this.embedded||this.dictionary==null||(this.embed(),this.embedded=!0)}embed(){throw Error(`Must be implemented by subclasses`)}lineHeight(e,t){t===void 0&&(t=!1);let n=t?this.lineGap:0;return(this.ascender+n-this.descender)/1e3*e}}let dt={Courier(){return m.readFileSync(`//data/Courier.afm`,`utf8`)},"Courier-Bold"(){return m.readFileSync(`//data/Courier-Bold.afm`,`utf8`)},"Courier-Oblique"(){return m.readFileSync(`//data/Courier-Oblique.afm`,`utf8`)},"Courier-BoldOblique"(){return m.readFileSync(`//data/Courier-BoldOblique.afm`,`utf8`)},Helvetica(){return m.readFileSync(`//data/Helvetica.afm`,`utf8`)},"Helvetica-Bold"(){return m.readFileSync(`//data/Helvetica-Bold.afm`,`utf8`)},"Helvetica-Oblique"(){return m.readFileSync(`//data/Helvetica-Oblique.afm`,`utf8`)},"Helvetica-BoldOblique"(){return m.readFileSync(`//data/Helvetica-BoldOblique.afm`,`utf8`)},"Times-Roman"(){return m.readFileSync(`//data/Times-Roman.afm`,`utf8`)},"Times-Bold"(){return m.readFileSync(`//data/Times-Bold.afm`,`utf8`)},"Times-Italic"(){return m.readFileSync(`//data/Times-Italic.afm`,`utf8`)},"Times-BoldItalic"(){return m.readFileSync(`//data/Times-BoldItalic.afm`,`utf8`)},Symbol(){return m.readFileSync(`//data/Symbol.afm`,`utf8`)},ZapfDingbats(){return m.readFileSync(`//data/ZapfDingbats.afm`,`utf8`)}};class ft extends ut{constructor(e,t,n){super(),this.document=e,this.name=t,this.id=n,this.font=new lt(dt[this.name]());var r=this.font;this.ascender=r.ascender,this.descender=r.descender,this.bbox=r.bbox,this.lineGap=r.lineGap,this.xHeight=r.xHeight,this.capHeight=r.capHeight}embed(){return this.dictionary.data={Type:`Font`,BaseFont:this.name,Subtype:`Type1`,Encoding:`WinAnsiEncoding`},this.dictionary.end()}encode(e){let t=this.font.encodeText(e),n=this.font.glyphsForString(`${e}`),r=this.font.advancesForGlyphs(n),i=[];for(let e=0;e<n.length;e++){let t=n[e];i.push({xAdvance:r[e],yAdvance:0,xOffset:0,yOffset:0,advanceWidth:this.font.widthOfGlyph(t)})}return[t,i]}widthOfString(e,t){let n=this.font.glyphsForString(`${e}`),r=this.font.advancesForGlyphs(n),i=0;for(let e of r)i+=e;let a=t/1e3;return i*a}static isStandardFont(e){return e in dt}}let pt=function(e){return`0000${e.toString(16)}`.slice(-4)};class mt extends ut{constructor(e,t,n){super(),this.document=e,this.font=t,this.id=n,this.subset=this.font.createSubset(),this.unicode=[[0]],this.widths=[this.font.getGlyph(0).advanceWidth],this.name=this.font.postscriptName,this.scale=1e3/this.font.unitsPerEm,this.ascender=this.font.ascent*this.scale,this.descender=this.font.descent*this.scale,this.xHeight=this.font.xHeight*this.scale,this.capHeight=this.font.capHeight*this.scale,this.lineGap=this.font.lineGap*this.scale,this.bbox=this.font.bbox,e.options.fontLayoutCache!==!1&&(this.layoutCache=Object.create(null))}layoutRun(e,t){let n=this.font.layout(e,t);for(let e=0;e<n.positions.length;e++){let t=n.positions[e];for(let e in t)t[e]*=this.scale;t.advanceWidth=n.glyphs[e].advanceWidth*this.scale}return n}layoutCached(e){if(!this.layoutCache)return this.layoutRun(e);let t;if(t=this.layoutCache[e])return t;let n=this.layoutRun(e);return this.layoutCache[e]=n,n}layout(e,t,n){if(t)return this.layoutRun(e,t);let r=n?null:[],i=n?null:[],a=0,o=0,s=0;for(;s<=e.length;){var c;if(s===e.length&&o<s||(c=e.charAt(s),[` `,` `].includes(c))){let t=this.layoutCached(e.slice(o,++s));n||(r=r.concat(t.glyphs),i=i.concat(t.positions)),a+=t.advanceWidth,o=s}else s++}return{glyphs:r,positions:i,advanceWidth:a}}encode(e,t){let n=this.layout(e,t),r=n.glyphs,i=n.positions,a=[];for(let e=0;e<r.length;e++){let t=r[e],n=this.subset.includeGlyph(t.id);a.push(`0000${n.toString(16)}`.slice(-4)),this.widths[n]??(this.widths[n]=t.advanceWidth*this.scale),this.unicode[n]??(this.unicode[n]=t.codePoints)}return[a,i]}widthOfString(e,t,n){return this.layout(e,n,!0).advanceWidth*(t/1e3)}embed(){let e=this.subset.cff!=null,t=this.document.ref();e&&(t.data.Subtype=`CIDFontType0C`),t.end(this.subset.encode());let n=((this.font[`OS/2`]==null?void 0:this.font[`OS/2`].sFamilyClass)||0)>>8,i=0;this.font.post.isFixedPitch&&(i|=1),1<=n&&n<=7&&(i|=2),i|=4,n===10&&(i|=8),this.font.head.macStyle.italic&&(i|=64);let a=[1,2,3,4,5,6].map(e=>String.fromCharCode((this.id.charCodeAt(e)||73)+17)).join(``)+`+`+this.font.postscriptName?.replaceAll(` `,`_`),o=this.font.bbox,s=this.document.ref({Type:`FontDescriptor`,FontName:a,Flags:i,FontBBox:[o.minX*this.scale,o.minY*this.scale,o.maxX*this.scale,o.maxY*this.scale],ItalicAngle:this.font.italicAngle,Ascent:this.ascender,Descent:this.descender,CapHeight:(this.font.capHeight||this.font.ascent)*this.scale,XHeight:(this.font.xHeight||0)*this.scale,StemV:0});if(e?s.data.FontFile3=t:s.data.FontFile2=t,this.document.subset&&this.document.subset===1){let e=this.widths.length-1,t=r.alloc(Math.ceil((e+1)/8),0);for(let n=0;n<=e;n++)this.widths[n]!=null&&(t[Math.floor(n/8)]|=128>>n%8);let n=this.document.ref();n.write(t),n.end(),s.data.CIDSet=n}s.end();let c={Type:`Font`,Subtype:`CIDFontType0`,BaseFont:a,CIDSystemInfo:{Registry:new String(`Adobe`),Ordering:new String(`Identity`),Supplement:0},FontDescriptor:s,W:[0,this.widths]};e||(c.Subtype=`CIDFontType2`,c.CIDToGIDMap=`Identity`);let l=this.document.ref(c);return l.end(),this.dictionary.data={Type:`Font`,Subtype:`Type0`,BaseFont:a,Encoding:`Identity-H`,DescendantFonts:[l],ToUnicode:this.toUnicodeCmap()},this.dictionary.end()}toUnicodeCmap(){let e=this.document.ref(),t=[];for(let e of this.unicode){let n=[];for(let t of e)t>65535&&(t-=65536,n.push(pt(t>>>10&1023|55296)),t=56320|t&1023),n.push(pt(t));t.push(`<${n.join(` `)}>`)}let n=Math.ceil(t.length/256),r=[];for(let e=0;e<n;e++){let n=e*256,i=Math.min((e+1)*256,t.length);r.push(`<${pt(n)}> <${pt(i-1)}> [${t.slice(n,i).join(` `)}]`)}return e.end(`\
|
|
77
|
+
/CIDInit /ProcSet findresource begin
|
|
78
|
+
12 dict begin
|
|
79
|
+
begincmap
|
|
80
|
+
/CIDSystemInfo <<
|
|
81
|
+
/Registry (Adobe)
|
|
82
|
+
/Ordering (UCS)
|
|
83
|
+
/Supplement 0
|
|
84
|
+
>> def
|
|
85
|
+
/CMapName /Adobe-Identity-UCS def
|
|
86
|
+
/CMapType 2 def
|
|
87
|
+
1 begincodespacerange
|
|
88
|
+
<0000><ffff>
|
|
89
|
+
endcodespacerange
|
|
90
|
+
${r.length} beginbfrange
|
|
91
|
+
${r.join(`
|
|
92
|
+
`)}
|
|
93
|
+
endbfrange
|
|
94
|
+
endcmap
|
|
95
|
+
CMapName currentdict /CMap defineresource pop
|
|
96
|
+
end
|
|
97
|
+
end\
|
|
98
|
+
`),e}}class ht{static open(e,t,n,r){let i;if(typeof t==`string`){if(ft.isStandardFont(t))return new ft(e,t,r);t=m.readFileSync(t)}if(t instanceof Uint8Array?i=(0,u.create)(t,n):t instanceof ArrayBuffer&&(i=(0,u.create)(new Uint8Array(t),n)),i==null)throw Error(`Not a supported font format or standard PDF font.`);return new mt(e,i,r)}}let gt=(e,t)=>e.font._tables?.head?.checkSumAdjustment===t.font._tables?.head?.checkSumAdjustment&&JSON.stringify(e.font._tables?.name?.records)===JSON.stringify(t.font._tables?.name?.records);var _t={initFonts(e,t,n){e===void 0&&(e=`Helvetica`),t===void 0&&(t=null),n===void 0&&(n=12),this._fontFamilies={},this._fontCount=0,this._fontSource=e,this._fontFamily=t,this._fontSize=n,this._font=null,this._remSize=n,this._registeredFonts={},e&&this.font(e,t)},font(e,t,n){let r,i;if(typeof t==`number`&&(n=t,t=null),typeof e==`string`&&this._registeredFonts[e]){r=e;var a=this._registeredFonts[e];e=a.src,t=a.family}else r=t||e,typeof r!=`string`&&(r=null);if(this._fontSource=e,this._fontFamily=t,n!=null&&this.fontSize(n),i=this._fontFamilies[r])return this._font=i,this;let o=`F${++this._fontCount}`;return this._font=ht.open(this,e,t,o),(i=this._fontFamilies[this._font.name])&>(this._font,i)?(this._font=i,this):(r&&(this._fontFamilies[r]=this._font),this._font.name&&!this._fontFamilies[this._font.name]&&(this._fontFamilies[this._font.name]=this._font),!r&&(!this._font.name||this._fontFamilies[this._font.name]!==this._font)&&(this._fontFamilies[this._font.id]=this._font),this)},fontSize(e){return this._fontSize=this.sizeToPoint(e),this},currentLineHeight(e){return this._font.lineHeight(this._fontSize,e)},registerFont(e,t,n){return this._registeredFonts[e]={src:t,family:n},this},sizeToPoint(e,t,n,r){if(t===void 0&&(t=0),n===void 0&&(n=this.page),r===void 0&&(r=void 0),r||=this._fontSize,typeof t!=`number`&&(t=this.sizeToPoint(t)),e===void 0)return t;if(typeof e==`number`)return e;if(typeof e==`boolean`)return Number(e);let i=String(e).match(/((\d+)?(\.\d+)?)(em|in|px|cm|mm|pc|ex|ch|rem|vw|vh|vmin|vmax|%|pt)?/);if(!i)throw Error(`Unsupported size '${e}'`);let a;switch(i[4]){case`em`:a=this._fontSize;break;case`in`:a=72;break;case`px`:a=.75;break;case`cm`:a=A*72;break;case`mm`:a=.1*A*72;break;case`pc`:a=12;break;case`ex`:a=this.currentLineHeight();break;case`ch`:a=this.widthOfString(`0`);break;case`rem`:a=this._remSize;break;case`vw`:a=n.width/100;break;case`vh`:a=n.height/100;break;case`vmin`:a=Math.min(n.width,n.height)/100;break;case`vmax`:a=Math.max(n.width,n.height)/100;break;case`%`:a=r/100;break;default:a=1}return a*Number(i[1])}};class vt{constructor(e,t){this._listeners=Object.create(null),this.document=e,this.horizontalScaling=t.horizontalScaling||100,this.indent=(t.indent||0)*this.horizontalScaling/100,this.indentAllLines=t.indentAllLines||!1,this.characterSpacing=(t.characterSpacing||0)*this.horizontalScaling/100,this.wordSpacing=(t.wordSpacing===0)*this.horizontalScaling/100,this.columns=t.columns||1,this.columnGap=(t.columnGap==null?18:t.columnGap)*this.horizontalScaling/100,this.lineWidth=(t.width*this.horizontalScaling/100-this.columnGap*(this.columns-1))/this.columns,this.spaceLeft=this.lineWidth,this.startX=this.document.x,this.startY=this.document.y,this.column=1,this.ellipsis=t.ellipsis,this.continuedX=0,this.features=t.features,t.height==null?this.maxY=O(this.document.page.maxY()):(this.height=t.height,this.maxY=O(this.startY+t.height)),this.on(`firstLine`,e=>{let t=this.continuedX||this.indent;this.document.x+=t,this.lineWidth-=t,!e.indentAllLines&&this.once(`line`,()=>{this.document.x-=t,this.lineWidth+=t,e.continued&&!this.continuedX&&(this.continuedX=this.indent),e.continued||(this.continuedX=0)})}),this.on(`lastLine`,e=>{let t=e.align;t===`justify`&&(e.align=`left`),this.lastLine=!0,this.once(`line`,()=>(this.document.y+=e.paragraphGap||0,e.align=t,this.lastLine=!1))})}on(e,t){(this._listeners[e]||(this._listeners[e]=[])).push(t)}once(e,t){var n=this;let r=function(){let i=n._listeners[e];i.splice(i.indexOf(r),1),t(...arguments)};this.on(e,r)}emit(e){let t=this._listeners[e];if(t){var n=[...arguments].slice(1);for(let e of t.slice())e(...n)}}wordWidth(e){return O(this.document.widthOfString(e,this)+this.characterSpacing+this.wordSpacing)}canFit(e,t){return e[e.length-1]==``?t+this.wordWidth(`-`)<=this.spaceLeft:t<=this.spaceLeft}eachWord(e,t){let n,r=new d.default(e),i=null,a=Object.create(null);for(;n=r.nextBreak();){var o;let r=e.slice(i?.position||0,n.position),l=a[r]==null?a[r]=this.wordWidth(r):a[r];if(l>this.lineWidth+this.continuedX){let e=i,a={};for(;r.length;){var s,c;l>this.spaceLeft?(s=Math.ceil(this.spaceLeft/(l/r.length)),l=this.wordWidth(r.slice(0,s)),c=l<=this.spaceLeft&&s<r.length):s=r.length;let i=l>this.spaceLeft&&s>0;for(;i||c;)i?(l=this.wordWidth(r.slice(0,--s)),i=l>this.spaceLeft&&s>0):(l=this.wordWidth(r.slice(0,++s)),i=l>this.spaceLeft&&s>0,c=l<=this.spaceLeft&&s<r.length);if(s===0&&this.spaceLeft===this.lineWidth&&(s=1),a.required=n.required||s<r.length,o=t(r.slice(0,s),l,a,e),e={required:!1},r=r.slice(s),l=this.wordWidth(r),o===!1)break}}else o=t(r,l,n,i);if(o===!1)break;i=n}}wrap(e,t){let n=this.document;this.horizontalScaling=t.horizontalScaling||100,t.indent!=null&&(this.indent=t.indent*this.horizontalScaling/100),t.characterSpacing!=null&&(this.characterSpacing=t.characterSpacing*this.horizontalScaling/100),t.wordSpacing!=null&&(this.wordSpacing=t.wordSpacing*this.horizontalScaling/100),t.ellipsis!=null&&(this.ellipsis=t.ellipsis);let r=n.y+n.currentLineHeight(!0);(n.y>this.maxY||r>this.maxY)&&this.nextSection();let i=``,a=0,o=0,s=0,c=n.y,l=()=>(t.textWidth=a+this.wordSpacing*(o-1),t.wordCount=o,t.lineWidth=this.lineWidth,c=n.y,this.emit(`line`,i,t,this),s++);this.emit(`sectionStart`,t,this),this.eachWord(e,(e,r,s,c)=>{if((c==null||c.required)&&(this.emit(`firstLine`,t,this),this.spaceLeft=this.lineWidth),this.canFit(e,r)&&(i+=e,a+=r,o++),s.required||!this.canFit(e,r)){let c=n.currentLineHeight(!0);if(this.height!=null&&this.ellipsis&&O(n.y+c*2)>this.maxY&&this.column>=this.columns){for(this.ellipsis===!0&&(this.ellipsis=`…`),i=i.replace(/\s+$/,``),a=this.wordWidth(i+this.ellipsis);i&&a>this.lineWidth;)i=i.slice(0,-1).replace(/\s+$/,``),a=this.wordWidth(i+this.ellipsis);a<=this.lineWidth&&(i+=this.ellipsis),a=this.wordWidth(i)}if(s.required&&(r>this.spaceLeft&&(l(),i=e,a=r,o=1),this.emit(`lastLine`,t,this)),i[i.length-1]==``&&(i=i.slice(0,-1)+`-`,this.spaceLeft-=this.wordWidth(`-`)),l(),O(n.y+c)>this.maxY){if(this.emit(`sectionEnd`,t,this),!this.nextSection())return o=0,i=``,!1;this.emit(`sectionStart`,t,this)}return s.required?(this.spaceLeft=this.lineWidth,i=``,a=0,o=0):(this.spaceLeft=this.lineWidth-r,i=e,a=r,o=1)}return this.spaceLeft-=r}),o>0&&(this.emit(`lastLine`,t,this),l()),this.emit(`sectionEnd`,t,this),t.continued===!0?(s>1&&(this.continuedX=0),this.continuedX+=t.textWidth||0,n.y=c):n.x=this.startX}nextSection(e){if(++this.column>this.columns){if(this.height!=null)return!1;if(this.document.continueOnNewPage(),this.column=1,this.startY=this.document.page.margins.top,this.maxY=this.document.page.maxY(),this.indentAllLines){let e=this.continuedX||this.indent;this.document.x+=e,this.lineWidth-=e}else this.document.x=this.startX;this.document._fillColor&&this.document.fillColor(...this.document._fillColor),this.emit(`pageBreak`,e,this)}else this.document.x+=this.lineWidth+this.columnGap,this.document.y=this.startY,this.emit(`columnBreak`,e,this);return!0}}let yt=w.number;function bt(e,t){if(t===`numbered`)return`${e}.`;var n=String.fromCharCode((e-1)%26+65),r=Math.floor((e-1)/26+1);return`${Array(r+1).join(n)}.`}var xt={initText(){this._line=this._line.bind(this),this.x=0,this.y=0,this._lineGap=0},lineGap(e){return this._lineGap=e,this},moveDown(e){return e??=1,this.y+=this.currentLineHeight(!0)*e+this._lineGap,this},moveUp(e){return e??=1,this.y-=this.currentLineHeight(!0)*e+this._lineGap,this},_text(e,t,n,r,i){r=this._initOptions(t,n,r),e=e==null?``:`${e}`,r.wordSpacing&&(e=e.replace(/\s{2,}/g,` `));let a=()=>{r.structParent&&r.structParent.add(this.struct(r.structType||`P`,[this.markStructureContent(r.structType||`P`)]))};if(r.rotation!==0&&(this.save(),this.rotate(-r.rotation,{origin:[this.x,this.y]})),r.width){let t=this._wrapper;t||(t=new vt(this,r),t.on(`line`,i),t.on(`firstLine`,a)),this._wrapper=r.continued?t:null,this._textOptions=r.continued?r:null,t.wrap(e,r)}else for(let t of e.split(`
|
|
99
|
+
`))a(),i(t,r);return r.rotation!==0&&this.restore(),this},text(e,t,n,r){return this._text(e,t,n,r,this._line)},widthOfString(e,t){t===void 0&&(t={});let n=t.horizontalScaling||100;return(this._font.widthOfString(e,this._fontSize,t.features)+(t.characterSpacing||0)*(e.length-1))*n/100},boundsOfString(e,t,n,r){r=this._initOptions(t,n,r),t=this.x,n=this.y;let i=r.lineGap??this._lineGap??0,a=this.currentLineHeight(!0)+i,o=0;if(e=String(e??``),r.wordSpacing&&(e=e.replace(/\s{2,}/g,` `)),r.width){let t=new vt(this,r);t.on(`line`,(e,t)=>{if(this.y+=a,e=e.replace(/\n/g,``),e.length){let n=t.wordSpacing??0,r=t.characterSpacing??0;if(t.width&&t.align===`justify`){let i=e.trim().split(/\s+/),a=this.widthOfString(e.replace(/\s+/g,``),t),o=this.widthOfString(` `)+r;n=Math.max(0,(t.lineWidth-a)/Math.max(1,i.length-1)-o)}o=Math.max(o,t.textWidth+n*(t.wordCount-1)+r*(e.length-1))}}),t.wrap(e,r)}else for(let t of e.split(`
|
|
100
|
+
`)){let e=this.widthOfString(t,r);this.y+=a,o=Math.max(o,e)}let s=this.y-n;if(r.height&&(s=Math.min(s,r.height)),this.x=t,this.y=n,r.rotation===0)return{x:t,y:n,width:o,height:s};if(r.rotation===90)return{x:t,y:n-o,width:s,height:o};if(r.rotation===180)return{x:t-o,y:n-s,width:o,height:s};if(r.rotation===270)return{x:t-s,y:n,width:s,height:o};let c=j(r.rotation),l=M(r.rotation),u=t,d=n,f=t+o*c,p=n-o*l,m=t+o*c+s*l,h=n-o*l+s*c,g=t+s*l,_=n+s*c,v=Math.min(u,f,m,g),y=Math.max(u,f,m,g),b=Math.min(d,p,h,_),x=Math.max(d,p,h,_);return{x:v,y:b,width:y-v,height:x-b}},heightOfString(e,t){let n=this.x,r=this.y;t=this._initOptions(t),t.height=1/0;let i=t.lineGap||this._lineGap||0;this._text(e,this.x,this.y,t,()=>{this.y+=this.currentLineHeight(!0)+i});let a=this.y-r;return this.x=n,this.y=r,a},list(e,t,n,r){r=this._initOptions(t,n,r);let i=r.listType||`bullet`,a=Math.round(this._font.ascender/1e3*this._fontSize),o=a/2,s=r.bulletRadius||a/3,c=r.textIndent||(i===`bullet`?s*5:a*2),l=r.bulletIndent||(i===`bullet`?s*8:a*2),u=1,d=[],f=[],p=[];var m=function(e){let t=1;for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(u++,m(r),u--):(d.push(r),f.push(u),i!==`bullet`&&p.push(t++))}};m(e);let h=function(e,t){let n=new vt(this,r);n.on(`line`,this._line),u=1,n.once(`firstLine`,()=>{let e,a,d,m;if(r.structParent){if(r.structTypes){var h=r.structTypes;a=h[0],d=h[1],m=h[2]}else a=`LI`,d=`Lbl`,m=`LBody`}a?(e=this.struct(a),r.structParent.add(e)):r.structParent&&(e=r.structParent);let g;if((g=f[t++])!==u){let e=l*(g-u);this.x+=e,n.lineWidth-=e,u=g}switch(e&&(d||m)&&e.add(this.struct(d||m,[this.markStructureContent(d||m)])),i){case`bullet`:this.circle(this.x-c+s,this.y+o,s),this.fill();break;case`numbered`:case`lettered`:var _=bt(p[t-1],i);this._fragment(_,this.x-c,this.y,r)}e&&d&&m&&e.add(this.struct(m,[this.markStructureContent(m)])),e&&e!==r.structParent&&e.end()}),n.on(`sectionStart`,()=>{let e=c+l*(u-1);this.x+=e,n.lineWidth-=e}),n.on(`sectionEnd`,()=>{let e=c+l*(u-1);this.x-=e,n.lineWidth+=e}),n.wrap(e,r)};for(let e=0;e<d.length;e++)h.call(this,d[e],e);return this},_initOptions(e,t,n){e===void 0&&(e={}),n===void 0&&(n={}),e&&typeof e==`object`&&(n=e,e=null);let r=Object.assign({},n);if(this._textOptions)for(let e in this._textOptions){let t=this._textOptions[e];e!==`continued`&&r[e]===void 0&&(r[e]=t)}return e!=null&&(this.x=e),t!=null&&(this.y=t),r.lineBreak!==!1&&(r.width??=this.page.width-this.x-this.page.margins.right,r.width=Math.max(r.width,0)),r.columns||=0,r.columnGap??=18,r.rotation=Number(r.rotation??0)%360,r.rotation<0&&(r.rotation+=360),r},_line(e,t,n){if(t===void 0&&(t={}),this._fragment(e,this.x,this.y,t),n){let e=t.lineGap||this._lineGap||0;this.y+=this.currentLineHeight(!0)+e}else this.x+=this.widthOfString(e,t)},_fragment(e,t,n,r){let i,a,o,s,c,l;if(e=`${e}`.replace(/\n/g,``),e.length===0)return;let u=r.align||`left`,d=r.wordSpacing||0,f=r.characterSpacing||0,p=r.horizontalScaling||100;if(r.width)switch(u){case`right`:c=this.widthOfString(e.replace(/\s+$/,``),r),t+=r.lineWidth-c;break;case`center`:t+=r.lineWidth/2-r.textWidth/2;break;case`justify`:l=e.trim().split(/\s+/),c=this.widthOfString(e.replace(/\s+/g,``),r);var m=this.widthOfString(` `)+f;d=Math.max(0,(r.lineWidth-c)/Math.max(1,l.length-1)-m)}if(typeof r.baseline==`number`)i=-r.baseline;else{switch(r.baseline){case`svg-middle`:i=.5*this._font.xHeight;break;case`middle`:case`svg-central`:i=.5*(this._font.descender+this._font.ascender);break;case`bottom`:case`ideographic`:i=this._font.descender;break;case`alphabetic`:i=0;break;case`mathematical`:i=.5*this._font.ascender;break;case`hanging`:i=.8*this._font.ascender;break;case`top`:i=this._font.ascender;break;default:i=this._font.ascender}i=i/1e3*this._fontSize}let h=r.textWidth+d*(r.wordCount-1)+f*(e.length-1);if(r.link!=null){let e={};this._currentStructureElement&&this._currentStructureElement.dictionary.data.S===`Link`&&(e.structParent=this._currentStructureElement),this.link(t,n,h,this.currentLineHeight(),r.link,e)}if(r.goTo!=null&&this.goTo(t,n,h,this.currentLineHeight(),r.goTo),r.destination!=null&&this.addNamedDestination(r.destination,`XYZ`,t,n,null),r.underline){this.save(),r.stroke||this.strokeColor(...this._fillColor||[]);let e=this._fontSize<10?.5:Math.floor(this._fontSize/10);this.lineWidth(e);let i=n+this.currentLineHeight()-e;this.moveTo(t,i),this.lineTo(t+h,i),this.stroke(),this.restore()}if(r.strike){this.save(),r.stroke||this.strokeColor(...this._fillColor||[]);let e=this._fontSize<10?.5:Math.floor(this._fontSize/10);this.lineWidth(e);let i=n+this.currentLineHeight()/2;this.moveTo(t,i),this.lineTo(t+h,i),this.stroke(),this.restore()}if(this.save(),r.oblique){let e;e=typeof r.oblique==`number`?-Math.tan(r.oblique*Math.PI/180):-.25,this.transform(1,0,0,1,t,n),this.transform(1,0,e,1,-e*i,0),this.transform(1,0,0,1,-t,-n)}this.transform(1,0,0,-1,0,this.page.height),n=this.page.height-n-i,this.page.fonts[this._font.id]??(this.page.fonts[this._font.id]=this._font.ref()),this.addContent(`BT`),this.addContent(`1 0 0 1 ${yt(t)} ${yt(n)} Tm`),this.addContent(`/${this._font.id} ${yt(this._fontSize)} Tf`);let g=r.fill&&r.stroke?2:+!!r.stroke;if(g&&this.addContent(`${g} Tr`),f&&this.addContent(`${yt(f)} Tc`),p!==100&&this.addContent(`${p} Tz`),d){l=e.trim().split(/\s+/),d+=this.widthOfString(` `)+f,d*=1e3/this._fontSize,a=[],s=[];for(let e of l){let t=this._font.encode(e,r.features),n=t[0],i=t[1];a=a.concat(n),s=s.concat(i);let o={},c=s[s.length-1];for(let e in c)o[e]=c[e];o.xAdvance+=d,s[s.length-1]=o}}else{var _=this._font.encode(e,r.features);a=_[0],s=_[1]}let v=this._fontSize/1e3,y=[],b=0,x=!1,S=e=>{if(b<e){let t=a.slice(b,e).join(``),n=s[e-1].xAdvance-s[e-1].advanceWidth;y.push(`<${t}> ${yt(-n)}`)}b=e},C=e=>{S(e),y.length>0&&(this.addContent(`[${y.join(` `)}] TJ`),y.length=0)};for(o=0;o<s.length;o++){let e=s[o];e.xOffset||e.yOffset?(C(o),this.addContent(`1 0 0 1 ${yt(t+e.xOffset*v)} ${yt(n+e.yOffset*v)} Tm`),C(o+1),x=!0):(x&&=(this.addContent(`1 0 0 1 ${yt(t)} ${yt(n)} Tm`),!1),e.xAdvance-e.advanceWidth!==0&&S(o+1)),t+=e.xAdvance*v}C(o),this.addContent(`ET`),this.restore()}};let St=e=>{let t=32768,n=``;for(let r=0;r<e.length;r+=t){let i=Math.min(r+t,e.length);n+=String.fromCharCode.apply(null,e.subarray(r,i))}return n},Ct=function(e,t){return t===void 0&&(t=0),(e[t]<<8|e[t+1])>>>0},wt=function(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])>>>0},Tt=function(e,t){return t===void 0&&(t=0),e[t]*16777216+(e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},Et=function(e,t){return t===void 0&&(t=0),(e[t]|e[t+1]<<8|e[t+2]<<16)+e[t+3]*16777216>>>0},Dt=e=>{if(!e||e.length<20)return null;let t=2;for(;t<e.length-4;){for(;t<e.length&&e[t]!==255;)t++;if(t>=e.length-4)return null;let n=Ct(e,t);if(t+=2,n===65498)return null;if(n>=65488&&n<=65497||n===65281)continue;if(t+2>e.length)return null;let r=Ct(e,t);if(n===65505&&t+8<=e.length&&St(e.subarray(t+2,t+8))===`Exif\0\0`){let n=t+8;if(n+8>e.length)return null;let r=St(e.subarray(n,n+2)),i=r===`II`;if(!i&&r!==`MM`)return null;let a=i?t=>wt(e,t):t=>Ct(e,t),o=i?t=>Et(e,t):t=>Tt(e,t);if(a(n+2)!==42)return null;let s=n+o(n+4);if(s+2>e.length)return null;let c=a(s);for(let t=0;t<c;t++){let n=s+2+t*12;if(n+12>e.length)return null;if(a(n)===274){let e=a(n+8);return e>=1&&e<=8?e:null}}return null}t+=r}return null},Ot=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487],kt={1:`DeviceGray`,3:`DeviceRGB`,4:`DeviceCMYK`};class At{constructor(e,t){let n;if(this.data=e,this.label=t,this.data.readUInt16BE(0)!==65496)throw`SOI not found in JPEG`;this.orientation=Dt(this.data)||1;let r=2;for(;r<this.data.length;){for(;r<this.data.length&&this.data[r]!==255;)r++;if(r>=this.data.length||(n=this.data.readUInt16BE(r),r+=2,Ot.includes(n)))break;r+=this.data.readUInt16BE(r)}if(!Ot.includes(n))throw`Invalid JPEG.`;r+=2,this.bits=this.data[r++],this.height=this.data.readUInt16BE(r),r+=2,this.width=this.data.readUInt16BE(r),r+=2;let i=this.data[r];this.colorSpace=kt[i],this.obj=null}embed(e){if(!this.obj)return this.obj=e.ref({Type:`XObject`,Subtype:`Image`,BitsPerComponent:this.bits,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:`DCTDecode`}),this.colorSpace===`DeviceCMYK`&&(this.obj.data.Decode=[1,0,1,0,1,0,1,0]),this.obj.end(this.data),this.data=null}}class jt{constructor(e,t){this.label=t,this.image=new f.default(e),this.width=this.image.width,this.height=this.image.height,this.imgData=this.image.imgData,this.obj=null}embed(e){if(this.document=e,this.obj)return;let t=this.image,n=this.height,i=this.width,a=t.hasAlphaChannel,o=t.interlaceMethod===1,s=this.obj=e.ref({Type:`XObject`,Subtype:`Image`,BitsPerComponent:a?8:t.bits,Width:i,Height:n,Filter:`FlateDecode`});if(!a){let n=e.ref({Predictor:o?1:15,Colors:t.colors,BitsPerComponent:t.bits,Columns:i});s.data.DecodeParms=n,n.end()}if(t.palette.length===0)s.data.ColorSpace=t.colorSpace;else{let n=e.ref();n.end(r.from(t.palette)),s.data.ColorSpace=[`Indexed`,`DeviceRGB`,t.palette.length/3-1,n]}if(t.transparency.grayscale!=null){let e=t.transparency.grayscale;s.data.Mask=[e,e]}else if(t.transparency.rgb){let e=t.transparency.rgb,n=[];for(let t of e)n.push(t,t);s.data.Mask=n}else if(t.transparency.indexed)return this.loadIndexedAlphaChannel();else if(a)return this.splitAlphaChannel();if(o)return this.decodeData();this.finalize()}finalize(){if(this.alphaChannel){let e=this.document.ref({Type:`XObject`,Subtype:`Image`,Height:this.height,Width:this.width,BitsPerComponent:8,Filter:`FlateDecode`,ColorSpace:`DeviceGray`,Decode:[0,1]});e.end(this.alphaChannel),this.obj.data.SMask=e}return this.obj.end(this.imgData),this.image=null,this.imgData=null}splitAlphaChannel(){return this.image.decodePixels(e=>{let t,n,i=this.image.colors,o=this.width*this.height,s=r.alloc(o*i),c=r.alloc(o),l=n=t=0,u=e.length,d=+(this.image.bits===16);for(;l<u;){for(let t=0;t<i;t++)s[n++]=e[l++],l+=d;c[t++]=e[l++],l+=d}return this.imgData=a.default.deflateSync(s),this.alphaChannel=a.default.deflateSync(c),this.finalize()})}loadIndexedAlphaChannel(){let e=this.image.transparency.indexed,t=this.image.interlaceMethod===1;return this.image.decodePixels(n=>{let i=r.alloc(this.width*this.height),o=0;for(let t=0,r=n.length;t<r;t++)i[o++]=e[n[t]];return t&&(this.imgData=a.default.deflateSync(r.from(n))),this.alphaChannel=a.default.deflateSync(i),this.finalize()})}decodeData(){this.image.decodePixels(e=>{this.imgData=a.default.deflateSync(e),this.finalize()})}}class Mt{static open(e,t){let n;if(r.isBuffer(e))n=e;else if(e instanceof ArrayBuffer)n=r.from(new Uint8Array(e));else{let t=/^data:.+?;base64,(.*)$/.exec(e);if(t)n=r.from(t[1],`base64`);else if(n=m.readFileSync(e),!n)return}if(n[0]===255&&n[1]===216)return new At(n,t);if(n[0]===137&&n[1]===80&&n[2]===78&&n[3]===71)return new jt(n,t);throw Error(`Unknown image format.`)}}var Nt={initImages(){this._imageRegistry={},this._imageCount=0},image(e,t,n,r){r===void 0&&(r={});let i,a,o,s,c,l,u;typeof t==`object`&&(r=t,t=null);let d=r.ignoreOrientation||r.ignoreOrientation!==!1&&this.options.ignoreOrientation,f=typeof n!=`number`;t=t??r.x??this.x,n=n??r.y??this.y,typeof e==`string`&&(s=this._imageRegistry[e]),s||=e.width&&e.height?e:this.openImage(e),s.obj||s.embed(this),this.page.xobjects[s.label]??(this.page.xobjects[s.label]=s.obj);let p=s,m=p.width,h=p.height;if(!d&&s.orientation>4){var g=[h,m];m=g[0],h=g[1]}let _=r.width||m,v=r.height||h;if(r.width&&!r.height){let e=_/m;_=m*e,v=h*e}else if(r.height&&!r.width){let e=v/h;_=m*e,v=h*e}else if(r.scale)_=m*r.scale,v=h*r.scale;else if(r.fit){var y=r.fit;o=y[0],i=y[1],a=o/i,c=m/h,c>a?(_=o,v=o/c):(v=i,_=i*c)}else if(r.cover){var b=r.cover;o=b[0],i=b[1],a=o/i,c=m/h,c>a?(v=i,_=i*c):(_=o,v=o/c)}(r.fit||r.cover)&&(r.align===`center`?t=t+o/2-_/2:r.align===`right`&&(t=t+o-_),r.valign===`center`?n=n+i/2-v/2:r.valign===`bottom`&&(n=n+i-v));let x=0,S=t,C=n,w=v,T=_;if(d)w=-v,C+=v;else switch(s.orientation){default:case 1:w=-v,C+=v;break;case 2:T=-_,w=-v,S+=_,C+=v;break;case 3:l=t,u=n,w=-v,S-=_,x=180;break;case 4:break;case 5:l=t,u=n,T=v,w=_,C-=w,x=90;break;case 6:l=t,u=n,T=v,w=-_,x=90;break;case 7:l=t,u=n,w=-_,T=-v,S+=v,x=90;break;case 8:l=t,u=n,T=v,w=-_,S-=v,C+=_,x=-90}return r.link!=null&&this.link(t,n,_,v,r.link),r.goTo!=null&&this.goTo(t,n,_,v,r.goTo),r.destination!=null&&this.addNamedDestination(r.destination,`XYZ`,t,n,null),f&&(this.y+=v),this.save(),r.opacity!=null&&this._doOpacity(r.opacity,null),x&&this.rotate(x,{origin:[l,u]}),this.transform(T,0,0,w,S,C),this.addContent(`/${s.label} Do`),this.restore(),this},openImage(e){let t;return typeof e==`string`&&(t=this._imageRegistry[e]),t||(t=Mt.open(e,`I${++this._imageCount}`),typeof e==`string`&&(this._imageRegistry[e]=t)),t}};class Pt{constructor(e){this.annotationRef=e}}var Ft={annotate(e,t,n,r,i){i.Type=`Annot`,i.Rect=this._convertRect(e,t,n,r),i.Border=[0,0,0],i.Subtype===`Link`&&i.F===void 0&&(i.F=4),i.Subtype!==`Link`&&(i.C??=this._normalizeColor(i.color||[0,0,0])),delete i.color,typeof i.Dest==`string`&&(i.Dest=new String(i.Dest));let a=i.structParent;delete i.structParent;for(let e in i){let t=i[e];i[e[0].toUpperCase()+e.slice(1)]=t}let o=this.ref(i);if(this.page.annotations.push(o),a&&typeof a.add==`function`){let e=new Pt(o);a.add(e)}return o.end(),this},note(e,t,n,r,i,a){return a===void 0&&(a={}),a.Subtype=`Text`,a.Contents=new String(i),a.Name??(a.Name=`Comment`),a.color??(a.color=[243,223,92]),this.annotate(e,t,n,r,a)},goTo(e,t,n,r,i,a){return a===void 0&&(a={}),a.Subtype=`Link`,a.A=this.ref({S:`GoTo`,D:new String(i)}),a.A.end(),this.annotate(e,t,n,r,a)},link(e,t,n,r,i,a){if(a===void 0&&(a={}),a.Subtype=`Link`,typeof i==`number`){let e=this._root.data.Pages.data;if(i>=0&&i<e.Kids.length)a.A=this.ref({S:`GoTo`,D:[e.Kids[i],`XYZ`,null,null,null]}),a.A.end();else throw Error(`The document has no page ${i}`)}else a.A=this.ref({S:`URI`,URI:new String(i)}),a.A.end();return a.structParent&&!a.Contents&&(a.Contents=new String(``)),this.annotate(e,t,n,r,a)},_markup(e,t,n,r,i){i===void 0&&(i={});let a=this._convertRect(e,t,n,r),o=a[0],s=a[1],c=a[2],l=a[3];return i.QuadPoints=[o,l,c,l,o,s,c,s],i.Contents=new String,this.annotate(e,t,n,r,i)},highlight(e,t,n,r,i){return i===void 0&&(i={}),i.Subtype=`Highlight`,i.color??(i.color=[241,238,148]),this._markup(e,t,n,r,i)},underline(e,t,n,r,i){return i===void 0&&(i={}),i.Subtype=`Underline`,this._markup(e,t,n,r,i)},strike(e,t,n,r,i){return i===void 0&&(i={}),i.Subtype=`StrikeOut`,this._markup(e,t,n,r,i)},lineAnnotation(e,t,n,r,i){return i===void 0&&(i={}),i.Subtype=`Line`,i.Contents=new String,i.L=[e,this.page.height-t,n,this.page.height-r],this.annotate(e,t,n,r,i)},rectAnnotation(e,t,n,r,i){return i===void 0&&(i={}),i.Subtype=`Square`,i.Contents=new String,this.annotate(e,t,n,r,i)},ellipseAnnotation(e,t,n,r,i){return i===void 0&&(i={}),i.Subtype=`Circle`,i.Contents=new String,this.annotate(e,t,n,r,i)},textAnnotation(e,t,n,r,i,a){return a===void 0&&(a={}),a.Subtype=`FreeText`,a.Contents=new String(i),a.DA=new String,this.annotate(e,t,n,r,a)},fileAnnotation(e,t,n,r,i,a){i===void 0&&(i={}),a===void 0&&(a={});let o=this.file(i.src,Object.assign({hidden:!0},i));return a.Subtype=`FileAttachment`,a.FS=o,a.Contents?a.Contents=new String(a.Contents):o.data.Desc&&(a.Contents=o.data.Desc),this.annotate(e,t,n,r,a)},_convertRect(e,t,n,r){let i=t;t+=r;let a=e+n,o=this._ctm,s=o[0],c=o[1],l=o[2],u=o[3],d=o[4],f=o[5];return e=s*e+l*t+d,t=c*e+u*t+f,a=s*a+l*i+d,i=c*a+u*i+f,[e,t,a,i]}};let It={top:0,left:0,zoom:0,fit:!0,pageNumber:null,expanded:!1};class Lt{constructor(e,t,n,r,i){if(i===void 0&&(i=It),this.document=e,this.options=i,this.outlineData={},r!==null){let e=r.data.MediaBox[2],t=r.data.MediaBox[3]-(i.top||0),n=e-(i.left||0),a=i.zoom||0;this.outlineData.Dest=i.fit?[r,`Fit`]:[r,`XYZ`,n,t,a]}t!==null&&(this.outlineData.Parent=t),n!==null&&(this.outlineData.Title=new String(n)),this.dictionary=this.document.ref(this.outlineData),this.children=[]}addItem(e,t){t===void 0&&(t=It);let n=this.document._root.data.Pages.data.Kids,r=t.pageNumber==null?this.document.page.dictionary:n[t.pageNumber],i=new Lt(this.document,this.dictionary,e,r,t);return this.children.push(i),i}endOutline(){if(this.children.length>0){this.options.expanded&&(this.outlineData.Count=this.children.length);let e=this.children[0],t=this.children[this.children.length-1];this.outlineData.First=e.dictionary,this.outlineData.Last=t.dictionary;for(let e=0,t=this.children.length;e<t;e++){let t=this.children[e];e>0&&(t.outlineData.Prev=this.children[e-1].dictionary),e<this.children.length-1&&(t.outlineData.Next=this.children[e+1].dictionary),t.endOutline()}}return this.dictionary.end()}}var Rt={initOutline(){this.outline=new Lt(this,null,null,null)},endOutline(){if(this.outline.endOutline(),this.outline.children.length>0)return this._root.data.Outlines=this.outline.dictionary,this._root.data.PageMode=this._root.data.PageMode||`UseOutlines`}};class zt{constructor(e,t){this.refs=[{pageRef:e,mcid:t}]}push(e){e.refs.forEach(e=>this.refs.push(e))}}class Bt{constructor(e,t,n,r){n===void 0&&(n={}),r===void 0&&(r=null),this.document=e,this._attached=!1,this._ended=!1,this._flushed=!1,this.dictionary=e.ref({S:t});let i=this.dictionary.data;(Array.isArray(n)||this._isValidChild(n))&&(r=n,n={}),n.title&&(i.T=new String(n.title)),n.lang&&(i.Lang=new String(n.lang)),n.alt&&(i.Alt=new String(n.alt)),n.expanded&&(i.E=new String(n.expanded)),n.actual&&(i.ActualText=new String(n.actual));let a=Array.isArray(n.bbox)&&n.bbox.length===4,o=typeof n.placement==`string`;if(a||o){let t={O:`Layout`};if(t.Placement=o?n.placement:`Block`,a){let r=e.page.height;t.BBox=[n.bbox[0],r-n.bbox[3],n.bbox[2],r-n.bbox[1]]}i.A=t}n.scope&&(i.A={...i.A||{},O:`Table`,Scope:n.scope}),this._children=[],r&&(Array.isArray(r)||(r=[r]),r.forEach(e=>this.add(e)),this.end())}add(e){if(this._ended)throw Error(`Cannot add child to already-ended structure element`);if(!this._isValidChild(e))throw Error(`Invalid structure element child`);return e instanceof Bt&&(e.setParent(this.dictionary),this._attached&&e.setAttached()),e instanceof zt&&this._addContentToParentTree(e),e instanceof Pt&&this._addAnnotationToParentTree(e.annotationRef),typeof e==`function`&&this._attached&&(e=this._contentForClosure(e)),this._children.push(e),this}_addContentToParentTree(e){e.refs.forEach(e=>{let t=e.pageRef,n=e.mcid,r=this.document.getStructParentTree().get(t.data.StructParents);r[n]=this.dictionary})}_addAnnotationToParentTree(e){let t=this.document.createStructParentTreeNextKey();e.data.StructParent=t,this.document.getStructParentTree().add(t,this.dictionary)}setParent(e){if(this.dictionary.data.P)throw Error(`Structure element added to more than one parent`);this.dictionary.data.P=e,this._flush()}setAttached(){this._attached||(this._children.forEach((e,t)=>{e instanceof Bt&&e.setAttached(),typeof e==`function`&&(this._children[t]=this._contentForClosure(e))}),this._attached=!0,this._flush())}end(){this._ended||(this._children.filter(e=>e instanceof Bt).forEach(e=>e.end()),this._ended=!0,this._flush())}_isValidChild(e){return e instanceof Bt||e instanceof zt||e instanceof Pt||typeof e==`function`}_contentForClosure(e){let t=this.document.markStructureContent(this.dictionary.data.S),n=this.document._currentStructureElement;this.document._currentStructureElement=this;let r=this._ended;return this._ended=!1,e(),this._ended=r,this.document._currentStructureElement=n,this.document.endMarkedContent(),this._addContentToParentTree(t),t}_isFlushable(){return!this.dictionary.data.P||!this._ended?!1:this._children.every(e=>typeof e==`function`?!1:e instanceof Bt?e._isFlushable():!0)}_flush(){!this._flushed&&this._isFlushable()&&(this.dictionary.data.K=[],this._children.forEach(e=>this._flushChild(e)),this.dictionary.end(),this._children=[],this.dictionary.data.K=null,this._flushed=!0)}_flushChild(e){if(e instanceof Bt&&this.dictionary.data.K.push(e.dictionary),e instanceof zt&&e.refs.forEach(e=>{let t=e.pageRef,n=e.mcid;this.dictionary.data.Pg||(this.dictionary.data.Pg=t),this.dictionary.data.Pg===t?this.dictionary.data.K.push(n):this.dictionary.data.K.push({Type:`MCR`,Pg:t,MCID:n})}),e instanceof Pt){let t=this.document.page.dictionary,n={Type:`OBJR`,Obj:e.annotationRef,Pg:t};this.dictionary.data.K.push(n)}}}class Vt extends g{_compareKeys(e,t){return parseInt(e)-parseInt(t)}_keysName(){return`Nums`}_dataForKey(e){return parseInt(e)}}var Ht={initMarkings(e){this.structChildren=[],e.tagged&&(this.getMarkInfoDictionary().data.Marked=!0,this.getStructTreeRoot())},markContent(e,t){if(t===void 0&&(t=null),e===`Artifact`||t&&t.mcid){let e=0;for(this.page.markings.forEach(t=>{(e||t.structContent||t.tag===`Artifact`)&&e++});e--;)this.endMarkedContent()}if(!t)return this.page.markings.push({tag:e}),this.addContent(`/${e} BMC`),this;this.page.markings.push({tag:e,options:t});let n={};return t.mcid!==void 0&&(n.MCID=t.mcid),e===`Artifact`&&(typeof t.type==`string`&&(n.Type=t.type),Array.isArray(t.bbox)&&(n.BBox=[t.bbox[0],this.page.height-t.bbox[3],t.bbox[2],this.page.height-t.bbox[1]]),Array.isArray(t.attached)&&t.attached.every(e=>typeof e==`string`)&&(n.Attached=t.attached)),e===`Span`&&(t.lang&&(n.Lang=new String(t.lang)),t.alt&&(n.Alt=new String(t.alt)),t.expanded&&(n.E=new String(t.expanded)),t.actual&&(n.ActualText=new String(t.actual))),this.addContent(`/${e} ${w.convert(n)} BDC`),this},markStructureContent(e,t){t===void 0&&(t={});let n=this.getStructParentTree().get(this.page.structParentTreeKey),r=n.length;n.push(null),this.markContent(e,{...t,mcid:r});let i=new zt(this.page.dictionary,r);return this.page.markings.slice(-1)[0].structContent=i,i},endMarkedContent(){return this.page.markings.pop(),this.addContent(`EMC`),this._textOptions&&(delete this._textOptions.link,delete this._textOptions.goTo,delete this._textOptions.destination,delete this._textOptions.underline,delete this._textOptions.strike),this},struct(e,t,n){return t===void 0&&(t={}),n===void 0&&(n=null),new Bt(this,e,t,n)},addStructure(e){let t=this.getStructTreeRoot();return e.setParent(t),e.setAttached(),this.structChildren.push(e),t.data.K||(t.data.K=[]),t.data.K.push(e.dictionary),this},initPageMarkings(e){e.forEach(e=>{if(e.structContent){let t=e.structContent,n=this.markStructureContent(e.tag,e.options);t.push(n),this.page.markings.slice(-1)[0].structContent=t}else this.markContent(e.tag,e.options)})},endPageMarkings(e){let t=e.markings;return t.forEach(()=>e.write(`EMC`)),e.markings=[],t},getMarkInfoDictionary(){return this._root.data.MarkInfo||(this._root.data.MarkInfo=this.ref({})),this._root.data.MarkInfo},hasMarkInfoDictionary(){return!!this._root.data.MarkInfo},getStructTreeRoot(){return this._root.data.StructTreeRoot||(this._root.data.StructTreeRoot=this.ref({Type:`StructTreeRoot`,ParentTree:new Vt,ParentTreeNextKey:0})),this._root.data.StructTreeRoot},getStructParentTree(){return this.getStructTreeRoot().data.ParentTree},createStructParentTreeNextKey(){this.getMarkInfoDictionary();let e=this.getStructTreeRoot(),t=e.data.ParentTreeNextKey++;return e.data.ParentTree.add(t,[]),t},endMarkings(){let e=this._root.data.StructTreeRoot;e&&(e.end(),this.structChildren.forEach(e=>e.end())),this._root.data.MarkInfo&&this._root.data.MarkInfo.end()}};let Ut={readOnly:1,required:2,noExport:4,multiline:4096,password:8192,toggleToOffButton:16384,radioButton:32768,pushButton:65536,combo:131072,edit:262144,sort:524288,multiSelect:2097152,noSpell:4194304},Wt={left:0,center:1,right:2},Gt={value:`V`,defaultValue:`DV`},Kt={zip:`0`,zipPlus4:`1`,zip4:`1`,phone:`2`,ssn:`3`},qt={number:{nDec:0,sepComma:!1,negStyle:`MinusBlack`,currency:``,currencyPrepend:!0},percent:{nDec:0,sepComma:!1}};var Jt={initForm(){if(!this._font)throw Error(`Must set a font before calling initForm method`);this._acroform={fonts:{},defaultFont:this._font.name},this._acroform.fonts[this._font.id]=this._font.ref();let e={Fields:[],NeedAppearances:!0,DA:new String(`/${this._font.id} 0 Tf 0 g`),DR:{Font:{}}};e.DR.Font[this._font.id]=this._font.ref();let t=this.ref(e);return this._root.data.AcroForm=t,this},endAcroForm(){if(this._root.data.AcroForm){if(!Object.keys(this._acroform.fonts).length&&!this._acroform.defaultFont)throw Error(`No fonts specified for PDF form`);let e=this._root.data.AcroForm.data.DR.Font;Object.keys(this._acroform.fonts).forEach(t=>{e[t]=this._acroform.fonts[t]}),this._root.data.AcroForm.data.Fields.forEach(e=>{this._endChild(e)}),this._root.data.AcroForm.end()}return this},_endChild(e){return Array.isArray(e.data.Kids)&&(e.data.Kids.forEach(e=>{this._endChild(e)}),e.end()),this},formField(e,t){t===void 0&&(t={});let n=this._fieldDict(e,null,t),r=this.ref(n);return this._addToParent(r),r},formAnnotation(e,t,n,r,i,a,o){o===void 0&&(o={});let s=this._fieldDict(e,t,o);s.Subtype=`Widget`,s.F===void 0&&(s.F=4),this.annotate(n,r,i,a,s);let c=this.page.annotations[this.page.annotations.length-1];return this._addToParent(c)},formText(e,t,n,r,i,a){return a===void 0&&(a={}),this.formAnnotation(e,`text`,t,n,r,i,a)},formPushButton(e,t,n,r,i,a){return a===void 0&&(a={}),this.formAnnotation(e,`pushButton`,t,n,r,i,a)},formCombo(e,t,n,r,i,a){return a===void 0&&(a={}),this.formAnnotation(e,`combo`,t,n,r,i,a)},formList(e,t,n,r,i,a){return a===void 0&&(a={}),this.formAnnotation(e,`list`,t,n,r,i,a)},formRadioButton(e,t,n,r,i,a){return a===void 0&&(a={}),this.formAnnotation(e,`radioButton`,t,n,r,i,a)},formCheckbox(e,t,n,r,i,a){return a===void 0&&(a={}),this.formAnnotation(e,`checkbox`,t,n,r,i,a)},_addToParent(e){let t=e.data.Parent;return t?(t.data.Kids||(t.data.Kids=[]),t.data.Kids.push(e)):this._root.data.AcroForm.data.Fields.push(e),this},_fieldDict(e,t,n){if(n===void 0&&(n={}),!this._acroform)throw Error(`Call document.initForm() method before adding form elements to document`);let r=Object.assign({},n);return t!==null&&(r=this._resolveType(t,n)),r=this._resolveFlags(r),r=this._resolveJustify(r),r=this._resolveFont(r),r=this._resolveStrings(r),r=this._resolveColors(r),r=this._resolveFormat(r),r.T=new String(e),r.parent&&(r.Parent=r.parent,delete r.parent),r},_resolveType(e,t){if(e===`text`)t.FT=`Tx`;else if(e===`pushButton`)t.FT=`Btn`,t.pushButton=!0;else if(e===`radioButton`)t.FT=`Btn`,t.radioButton=!0;else if(e===`checkbox`)t.FT=`Btn`;else if(e===`combo`)t.FT=`Ch`,t.combo=!0;else if(e===`list`)t.FT=`Ch`;else throw Error(`Invalid form annotation type '${e}'`);return t},_resolveFormat(e){let t=e.format;if(t&&t.type){let n,r,i=``;if(Kt[t.type]!==void 0)n=`AFSpecial_Keystroke`,r=`AFSpecial_Format`,i=Kt[t.type];else{let e=t.type.charAt(0).toUpperCase()+t.type.slice(1);if(n=`AF${e}_Keystroke`,r=`AF${e}_Format`,t.type===`date`)n+=`Ex`,i=String(t.param);else if(t.type===`time`)i=String(t.param);else if(t.type===`number`){let e=Object.assign({},qt.number,t);i=String([String(e.nDec),e.sepComma?`0`:`1`,`"`+e.negStyle+`"`,`null`,`"`+e.currency+`"`,String(e.currencyPrepend)].join(`,`))}else if(t.type===`percent`){let e=Object.assign({},qt.percent,t);i=String([String(e.nDec),e.sepComma?`0`:`1`].join(`,`))}}e.AA=e.AA?e.AA:{},e.AA.K={S:`JavaScript`,JS:new String(`${n}(${i});`)},e.AA.F={S:`JavaScript`,JS:new String(`${r}(${i});`)}}return delete e.format,e},_resolveColors(e){let t=this._normalizeColor(e.backgroundColor);return t&&(e.MK||={},e.MK.BG=t),t=this._normalizeColor(e.borderColor),t&&(e.MK||={},e.MK.BC=t),delete e.backgroundColor,delete e.borderColor,e},_resolveFlags(e){let t=0;return Object.keys(e).forEach(n=>{Ut[n]&&(e[n]&&(t|=Ut[n]),delete e[n])}),t!==0&&(e.Ff=e.Ff?e.Ff:0,e.Ff|=t),e},_resolveJustify(e){let t=0;return e.align!==void 0&&(typeof Wt[e.align]==`number`&&(t=Wt[e.align]),delete e.align),t!==0&&(e.Q=t),e},_resolveFont(e){if(this._acroform.fonts[this._font.id]??(this._acroform.fonts[this._font.id]=this._font.ref()),this._acroform.defaultFont!==this._font.name){e.DR={Font:{}};let t=e.fontSize||0;e.DR.Font[this._font.id]=this._font.ref(),e.DA=new String(`/${this._font.id} ${t} Tf 0 g`)}return e},_resolveStrings(e){let t=[];function n(e){if(Array.isArray(e))for(let n=0;n<e.length;n++)typeof e[n]==`string`?t.push(new String(e[n])):t.push(e[n])}return n(e.Opt),e.select&&(n(e.select),delete e.select),t.length&&(e.Opt=t),Object.keys(Gt).forEach(t=>{e[t]!==void 0&&(e[Gt[t]]=e[t],delete e[t])}),[`V`,`DV`].forEach(t=>{typeof e[t]==`string`&&(e[t]=new String(e[t]))}),e.MK&&e.MK.CA&&(e.MK.CA=new String(e.MK.CA)),e.label&&(e.MK=e.MK?e.MK:{},e.MK.CA=new String(e.label),delete e.label),e}},Yt={file(e,t){t===void 0&&(t={}),t.name=t.name||e,t.relationship=t.relationship||`Unspecified`;let n={Type:`EmbeddedFile`,Params:{}},i;if(!e)throw Error(`No src specified`);if(r.isBuffer(e))i=e;else if(e instanceof ArrayBuffer)i=r.from(new Uint8Array(e));else{let t=/^data:(.*?);base64,(.*)$/.exec(e);if(t)t[1]&&(n.Subtype=S(t[1])),i=r.from(t[2],`base64`);else{if(i=m.readFileSync(e),!i)throw Error(`Could not read contents of file at filepath ${e}`);let t=m.statSync(e),r=t.birthtime,a=t.ctime;n.Params.CreationDate=r,n.Params.ModDate=a}}t.creationDate instanceof Date&&(n.Params.CreationDate=t.creationDate),t.modifiedDate instanceof Date&&(n.Params.ModDate=t.modifiedDate),t.type&&(n.Subtype=S(t.type));let a=R(new Uint8Array(i));n.Params.CheckSum=new String(a),n.Params.Size=i.byteLength;let o;this._fileRegistry||={};let s=this._fileRegistry[t.name];s&&Xt(n,s)?o=s.ref:(o=this.ref(n),o.end(i),this._fileRegistry[t.name]={...n,ref:o});let c={Type:`Filespec`,AFRelationship:t.relationship,F:new String(t.name),EF:{F:o},UF:new String(t.name)};t.description&&(c.Desc=new String(t.description));let l=this.ref(c);return l.end(),t.hidden||this.addNamedEmbeddedFile(t.name,l),this._root.data.AF?this._root.data.AF.push(l):this._root.data.AF=[l],l}};function Xt(e,t){return e.Subtype===t.Subtype&&e.Params.CheckSum.toString()===t.Params.CheckSum.toString()&&e.Params.Size===t.Params.Size&&e.Params.CreationDate.getTime()===t.Params.CreationDate.getTime()&&(e.Params.ModDate===void 0&&t.Params.ModDate===void 0||e.Params.ModDate.getTime()===t.Params.ModDate.getTime())}var Zt={initPDFA(e){e.charAt(e.length-3)===`-`?(this.subset_conformance=e.charAt(e.length-1).toUpperCase(),this.subset=parseInt(e.charAt(e.length-2))):(this.subset_conformance=`B`,this.subset=parseInt(e.charAt(e.length-1)))},endSubset(){this._addPdfaMetadata(),this._addColorOutputIntent()},_addColorOutputIntent(){let e=r(`AAAL0AAAAAACAAAAbW50clJHQiBYWVogB98AAgAPAAAAAAAAYWNzcAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAPbWAAEAAAAA0y0AAAAAPQ6y3q6Tl76bZybOjApDzgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQZGVzYwAAAUQAAABjYlhZWgAAAagAAAAUYlRSQwAAAbwAAAgMZ1RSQwAAAbwAAAgMclRSQwAAAbwAAAgMZG1kZAAACcgAAACIZ1hZWgAAClAAAAAUbHVtaQAACmQAAAAUbWVhcwAACngAAAAkYmtwdAAACpwAAAAUclhZWgAACrAAAAAUdGVjaAAACsQAAAAMdnVlZAAACtAAAACHd3RwdAAAC1gAAAAUY3BydAAAC2wAAAA3Y2hhZAAAC6QAAAAsZGVzYwAAAAAAAAAJc1JHQjIwMTQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAAAkoAAAD4QAALbPY3VydgAAAAAAAAQAAAAABQAKAA8AFAAZAB4AIw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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWFlaIAAAAAAAAPbWAAEAAAAA0y10ZXh0AAAAAENvcHlyaWdodCBJbnRlcm5hdGlvbmFsIENvbG9yIENvbnNvcnRpdW0sIDIwMTUAAHNmMzIAAAAAAAEMRAAABd////MmAAAHlAAA/Y////uh///9ogAAA9sAAMB1`,`base64`),t=this.ref({Length:e.length,N:3});t.write(e),t.end();let n=this.ref({Type:`OutputIntent`,S:`GTS_PDFA1`,Info:new String(`sRGB IEC61966-2.1`),OutputConditionIdentifier:new String(`sRGB IEC61966-2.1`),DestOutputProfile:t});n.end(),this._root.data.OutputIntents=[n]},_getPdfaid(){return`
|
|
101
|
+
<rdf:Description xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/" rdf:about="">
|
|
102
|
+
<pdfaid:part>${this.subset}</pdfaid:part>
|
|
103
|
+
<pdfaid:conformance>${this.subset_conformance}</pdfaid:conformance>
|
|
104
|
+
</rdf:Description>
|
|
105
|
+
`},_addPdfaMetadata(){this.appendXML(this._getPdfaid())}},Qt={initPDFUA(){this.subset=1},endSubset(){this._addPdfuaMetadata()},_addPdfuaMetadata(){this.appendXML(this._getPdfuaid())},_getPdfuaid(){return`
|
|
106
|
+
<rdf:Description xmlns:pdfuaid="http://www.aiim.org/pdfua/ns/id/" rdf:about="">
|
|
107
|
+
<pdfuaid:part>${this.subset}</pdfuaid:part>
|
|
108
|
+
</rdf:Description>
|
|
109
|
+
`}},$t={_importSubset(e){Object.assign(this,e)},initSubset(e){switch(e.subset){case`PDF/A-1`:case`PDF/A-1a`:case`PDF/A-1b`:case`PDF/A-2`:case`PDF/A-2a`:case`PDF/A-2b`:case`PDF/A-3`:case`PDF/A-3a`:case`PDF/A-3b`:this._importSubset(Zt),this.initPDFA(e.subset);break;case`PDF/UA`:this._importSubset(Qt),this.initPDFUA()}}};let en=[`height`,`minHeight`,`maxHeight`],tn=[`width`,`minWidth`,`maxWidth`];function nn(e,t){let n=new Map;return function(){let r=arguments.length<=0?void 0:arguments[0];return n.has(r)||(n.set(r,e(...arguments)),n.size>t&&n.delete(n.keys().next())),n.get(r)}}function rn(e){return e&&typeof e==`object`&&!Array.isArray(e)}function an(e){if(!rn(e))return e;e=on(e);var t=[...arguments].slice(1);for(let n of t)if(rn(n))for(let t in n)rn(n[t])?(t in e||(e[t]={}),e[t]=an(e[t],n[t])):n[t]!==void 0&&(e[t]=on(n[t]));return e}function on(e){let t=e;if(e&&typeof e==`object`){t=Array.isArray(e)?[]:{};for(let n in e)t[n]=on(e[n])}return t}function sn(e){let t=e;typeof t!=`object`&&(t={text:t});let n=Object.fromEntries(Object.entries(t).filter(e=>{let t=e[0];return en.includes(t)})),r=Object.fromEntries(Object.entries(t).filter(e=>{let t=e[0];return tn.includes(t)}));return t.padding=k(t.padding),t.border=k(t.border),t.borderColor=k(t.borderColor),t.align=un(t.align),{defaultStyle:t,defaultRowStyle:n,defaultColStyle:r}}function cn(e,t,n){let r=t(n);(typeof r!=`object`||!r)&&(r={height:r}),r.padding=k(r.padding),r.border=k(r.border),r.borderColor=k(r.borderColor),r.align=un(r.align),r=an(e,r);let i=this.document,a=i.page,o=a.contentHeight;return r.height==null||r.height===`auto`?r.height=`auto`:r.height=i.sizeToPoint(r.height,0,a,o),r.minHeight=i.sizeToPoint(r.minHeight,0,a,o),r.maxHeight=i.sizeToPoint(r.maxHeight,0,a,o),r}function ln(e,t,n){let r=t(n);return(typeof r!=`object`||!r)&&(r={width:r}),r.padding=k(r.padding),r.border=k(r.border),r.borderColor=k(r.borderColor),r.align=un(r.align),r=an(e,r),r.width==null||r.width===`*`?r.width=`*`:r.width=this.document.sizeToPoint(r.width,0,this.document.page,this._maxWidth),r.minWidth=this.document.sizeToPoint(r.minWidth,0,this.document.page,this._maxWidth),r.maxWidth=this.document.sizeToPoint(r.maxWidth,0,this.document.page,this._maxWidth),r}function un(e){return e==null||typeof e==`string`?{x:e,y:e}:e}function dn(){let e=this.document,t=this.opts,n=e._tableIndex++;this._id=new String(t.id??`table-${n}`),this._position={x:e.sizeToPoint(t.position?.x,e.x),y:e.sizeToPoint(t.position?.y,e.y)},this._maxWidth=e.sizeToPoint(t.maxWidth,e.page.width-e.page.margins.right-this._position.x);let r=sn(t.defaultStyle),i=r.defaultStyle,a=r.defaultColStyle,o=r.defaultRowStyle;this._defaultStyle=i;let s;t.columnStyles&&(Array.isArray(t.columnStyles)?s=e=>t.columnStyles[e]:typeof t.columnStyles==`function`?s=nn(e=>t.columnStyles(e),1/0):typeof t.columnStyles==`object`&&(s=()=>t.columnStyles)),s||=()=>({}),this._colStyle=ln.bind(this,a,s);let c;t.rowStyles&&(Array.isArray(t.rowStyles)?c=e=>t.rowStyles[e]:typeof t.rowStyles==`function`?c=nn(e=>t.rowStyles(e),10):typeof t.rowStyles==`object`&&(c=()=>t.rowStyles)),c||=()=>({}),this._rowStyle=cn.bind(this,o,c)}function fn(e){return e!=null&&(e=`${e}`),e}function pn(e,t,n){let r=this._colStyle(n),i=this._rowStyle(t),a=an({},r.font,i.font,e.font),o=Object.values(a).filter(e=>e!=null).length>0,s=this.document,c=s._fontSource,l=s._fontSize,u=s._fontFamily;o&&(a.src&&s.font(a.src,a.family),a.size&&s.fontSize(a.size),i=this._rowStyle(t)),e.padding=k(e.padding),e.border=k(e.border),e.borderColor=k(e.borderColor);let d=an(this._defaultStyle,r,i,e);return d.rowIndex=t,d.colIndex=n,d.font=a??{},d.customFont=o,d.text=fn(d.text),d.rowSpan=d.rowSpan??1,d.colSpan=d.colSpan??1,d.padding=k(d.padding,`0.25em`,e=>s.sizeToPoint(e,`0.25em`)),d.border=k(d.border,1,e=>s.sizeToPoint(e,1)),d.borderColor=k(d.borderColor,`black`,e=>e??`black`),d.align=un(d.align),d.align.x=d.align.x??`left`,d.align.y=d.align.y??`top`,d.textStroke=s.sizeToPoint(d.textStroke,0),d.textStrokeColor=d.textStrokeColor??`black`,d.textColor=d.textColor??`black`,d.textOptions=d.textOptions??{},d.id=new String(d.id??`${this._id}-${t}-${n}`),d.type=d.type?.toUpperCase()===`TH`?`TH`:`TD`,d.scope&&(d.scope=d.scope.toLowerCase(),d.scope===`row`?d.scope=`Row`:d.scope===`both`?d.scope=`Both`:d.scope===`column`&&(d.scope=`Column`)),typeof this.opts.debug==`boolean`&&(d.debug=this.opts.debug),o&&s.font(c,u,l),d}function mn(e,t){this._cellClaim||=new Set;let n=0;return e.map(e=>{for((typeof e!=`object`||!e)&&(e={text:e});this._cellClaim.has(`${t},${n}`);)n++;e=pn.call(this,e,t,n);for(let r=0;r<e.rowSpan;r++)for(let i=0;i<e.colSpan;i++)this._cellClaim.add(`${t+r},${n+i}`);return n+=e.colSpan,e})}function hn(e){this._columnWidths=[],gn.call(this,e.reduce((e,t)=>e+t.colSpan,0)),this._rowHeights=[],this._rowYPos=[this._position.y],this._rowBuffer=new Set}function gn(e){let t=[],n=0,r=this._maxWidth;for(let i=0;i<e;i++){let e=this._colStyle(i);e.width===`*`?(t[i]=e,n+=e.minWidth):(r-=e.width,this._columnWidths[i]=e.width)}let i=t.reduce(e=>e+1,0);n>=r?t.forEach((e,t)=>{this._columnWidths[t]=e.minWidth}):i>0&&t.forEach((e,t)=>{let n=r/i;this._columnWidths[t]=Math.max(n,e.minWidth),e.maxWidth>0&&(this._columnWidths[t]=Math.min(this._columnWidths[t],e.maxWidth)),r-=this._columnWidths[t],i--});let a=this._position.x;this._columnXPos=Array.from(this._columnWidths,e=>{let t=a;return a+=e,t})}function _n(e,t){e.forEach(e=>this._rowBuffer.add(e)),t>0&&(this._rowYPos[t]=this._rowYPos[t-1]+this._rowHeights[t-1]);let n=this._rowStyle(t),r=[];this._rowBuffer.forEach(e=>{e.rowIndex+e.rowSpan-1===t&&(r.push(vn.call(this,e,n.height)),this._rowBuffer.delete(e))});let i=n.height;i===`auto`&&(i=r.reduce((e,t)=>{let n=t.textBounds.height+t.padding.top+t.padding.bottom;for(let e=0;e<t.rowSpan-1;e++)n-=this._rowHeights[t.rowIndex+e];return Math.max(e,n)},0)),i=Math.max(i,n.minHeight),n.maxHeight>0&&(i=Math.min(i,n.maxHeight)),this._rowHeights[t]=i;let a=!1;return i>this.document.page.contentHeight?(console.warn(Error(`Row ${t} requested more than the safe page height, row has been clamped`).stack.slice(7)),this._rowHeights[t]=this.document.page.maxY()-this._rowYPos[t]):this._rowYPos[t]+i>=this.document.page.maxY()&&(this._rowYPos[t]=this.document.page.margins.top,a=!0),{newPage:a,toRender:r.map(e=>vn.call(this,e,i))}}function vn(e,t){let n=0;for(let t=0;t<e.colSpan;t++)n+=this._columnWidths[e.colIndex+t];let r=t;if(r===`auto`)r=this.document.page.contentHeight;else for(let t=0;t<e.rowSpan-1;t++)r+=this._rowHeights[e.rowIndex+t];let i=n-e.padding.left-e.padding.right,a=r-e.padding.top-e.padding.bottom,o=e.textOptions.rotation??0,s=yn(o,i,a),c=s.width,l=s.height,u={align:e.align.x,ellipsis:!0,stroke:e.textStroke>0,fill:!0,width:c,height:l,rotation:o,...e.textOptions},d={x:0,y:0,width:0,height:0};if(e.text){let t=this.document._fontSource,n=this.document._fontSize,r=this.document._fontFamily;e.font?.src&&this.document.font(e.font.src,e.font?.family),e.font?.size&&this.document.fontSize(e.font.size);let i=this.document.boundsOfString(e.text,0,0,{...u,rotation:0});u.width=i.width,u.height=i.height,d=this.document.boundsOfString(e.text,0,0,u),this.document.font(t,r,n)}return{...e,textOptions:u,x:this._columnXPos[e.colIndex],y:this._rowYPos[e.rowIndex],textX:this._columnXPos[e.colIndex]+e.padding.left,textY:this._rowYPos[e.rowIndex]+e.padding.top,width:n,height:r,textAllocatedHeight:a,textAllocatedWidth:i,textBounds:d}}function yn(e,t,n){let r,i,a=j(e),o=M(e);if(e===0||e===180?(r=t,i=n):e===90||e===270?(r=n,i=t):e<90||e>180&&e<270?(r=t/(2*a),i=t/(2*o)):(i=t/(2*a),r=t/(2*o)),o*r+a*i>n){let s=a*a-o*o;e===0||e===180?(r=t,i=n):e===90||e===270?(r=n,i=t):e<90||e>180&&e<270?(r=(t*a-n*o)/s,i=(n*a-t*o)/s):(i=(t*a-n*o)/s,r=(n*a-t*o)/s)}return{width:Math.abs(r),height:Math.abs(i)}}function bn(){let e=this.opts.structParent;e&&(this._tableStruct=this.document.struct(`Table`),this._tableStruct.dictionary.data.ID=this._id,e instanceof Bt?e.add(this._tableStruct):e instanceof Mn&&e.addStructure(this._tableStruct),this._headerRowLookup={},this._headerColumnLookup={})}function xn(){this._tableStruct&&this._tableStruct.end()}function Sn(e,t,n){let r=this.document.struct(`TR`);r.dictionary.data.ID=new String(`${this._id}-${t}`),this._tableStruct.add(r),e.forEach(e=>n(e,r)),r.end()}function Cn(e,t,n){let r=this.document,i=r.struct(e.type,{title:e.title});i.dictionary.data.ID=e.id,t.add(i);let a=e.padding,o=e.border,s={O:`Table`,Width:e.width,Height:e.height,Padding:[a.top,a.bottom,a.left,a.right],RowSpan:e.rowSpan>1?e.rowSpan:void 0,ColSpan:e.colSpan>1?e.colSpan:void 0,BorderThickness:[o.top,o.bottom,o.left,o.right]};if(e.type===`TH`){if(e.scope===`Row`||e.scope===`Both`){for(let t=0;t<e.rowSpan;t++)this._headerRowLookup[e.rowIndex+t]||(this._headerRowLookup[e.rowIndex+t]=[]),this._headerRowLookup[e.rowIndex+t].push(e.id);s.Scope=e.scope}if(e.scope===`Column`||e.scope===`Both`){for(let t=0;t<e.colSpan;t++)this._headerColumnLookup[e.colIndex+t]||(this._headerColumnLookup[e.colIndex+t]=[]),this._headerColumnLookup[e.colIndex+t].push(e.id);s.Scope=e.scope}}let c=new Set([...Array.from({length:e.colSpan},(t,n)=>this._headerColumnLookup[e.colIndex+n]).flat(),...Array.from({length:e.rowSpan},(t,n)=>this._headerRowLookup[e.rowIndex+n]).flat()].filter(Boolean));c.size&&(s.Headers=Array.from(c));let l=r._normalizeColor;e.backgroundColor!=null&&(s.BackgroundColor=l(e.backgroundColor));let u=[o.top,o.bottom,o.left,o.right];if(u.some(e=>e)){let t=e.borderColor;s.BorderColor=[u[0]?l(t.top):null,u[1]?l(t.bottom):null,u[2]?l(t.left):null,u[3]?l(t.right):null]}Object.keys(s).forEach(e=>s[e]===void 0&&delete s[e]),i.dictionary.data.A=r.ref(s),i.add(n),i.end(),i.dictionary.data.A.end()}function wn(e,t){return this._tableStruct?Sn.call(this,e,t,Tn.bind(this)):e.forEach(e=>Tn.call(this,e)),this._rowYPos[t]+this._rowHeights[t]}function Tn(e,t){let n=()=>{e.backgroundColor!=null&&this.document.save().fillColor(e.backgroundColor).rect(e.x,e.y,e.width,e.height).fill().restore(),Dn.call(this,e.border,e.borderColor,e.x,e.y,e.width,e.height),e.debug&&(this.document.save(),this.document.dash(1,{space:1}).lineWidth(1).strokeOpacity(.3),this.document.rect(e.x,e.y,e.width,e.height).stroke(`green`),this.document.restore()),e.text&&En.call(this,e)};t?Cn.call(this,e,t,n):n()}function En(e){let t=this.document,n=t._fontSource,r=t._fontSize,i=t._fontFamily;e.customFont&&(e.font.src&&t.font(e.font.src,e.font.family),e.font.size&&t.fontSize(e.font.size));let a=e.textX,o=e.textY,s=e.textAllocatedHeight,c=e.textAllocatedWidth,l=e.textBounds.width,u=e.textBounds.height,d=-e.textBounds.x,f=-e.textBounds.y,p=e.align.x===`right`?1:e.align.x===`center`?.5:0,m=(c-l)*p,h=e.align.y===`bottom`?1:e.align.y===`center`?.5:0,g=(s-u)*h,_=m+d,v=g+f;e.debug&&(t.save(),t.dash(1,{space:1}).lineWidth(1).strokeOpacity(.3),e.text&&t.moveTo(a+m,o).lineTo(a+m,o+s).moveTo(a+m+l,o).lineTo(a+m+l,o+s).stroke(`blue`).moveTo(a,o+g).lineTo(a+c,o+g).moveTo(a,o+g+u).lineTo(a+c,o+g+u).stroke(`green`),t.rect(a,o,c,s).stroke(`orange`),t.restore()),t.save().rect(a,o,c,s).clip(),t.fillColor(e.textColor).strokeColor(e.textStrokeColor),e.textStroke>0&&t.lineWidth(e.textStroke),t.text(e.text,a+_,o+v,e.textOptions),t.restore(),e.font&&t.font(n,i,r)}function Dn(e,t,n,r,i,a,o){e=Object.fromEntries(Object.entries(e).map(e=>{let t=e[0],n=e[1];return[t,o&&!o[t]?0:n]}));let s=this.document;[e.right,e.bottom,e.left].every(t=>t===e.top)?e.top>0&&s.save().lineWidth(e.top).strokeColor(t.top).rect(n,r,i,a).stroke().restore():(e.top>0&&s.save().lineWidth(e.top).moveTo(n,r).strokeColor(t.top).lineTo(n+i,r).stroke().restore(),e.right>0&&s.save().lineWidth(e.right).moveTo(n+i,r).strokeColor(t.right).lineTo(n+i,r+a).stroke().restore(),e.bottom>0&&s.save().lineWidth(e.bottom).moveTo(n+i,r+a).strokeColor(t.bottom).lineTo(n,r+a).stroke().restore(),e.left>0&&s.save().lineWidth(e.left).moveTo(n,r+a).strokeColor(t.left).lineTo(n,r).stroke().restore())}class On{constructor(e,t){if(t===void 0&&(t={}),this.document=e,this.opts=Object.freeze(t),dn.call(this),bn.call(this),this._currRowIndex=0,this._ended=!1,t.data){for(let e of t.data)this.row(e);return this.end()}}row(e,t){if(t===void 0&&(t=!1),this._ended)throw Error(`Table was marked as ended on row ${this._currRowIndex}`);e=Array.from(e),e=mn.call(this,e,this._currRowIndex),this._currRowIndex===0&&hn.call(this,e);let n=_n.call(this,e,this._currRowIndex),r=n.newPage,i=n.toRender;r&&this.document.continueOnNewPage();let a=wn.call(this,i,this._currRowIndex);return this.document.x=this._position.x,this.document.y=a,t?this.end():(this._currRowIndex++,this)}end(){for(;this._rowBuffer?.size;)this.row([]);return this._ended=!0,xn.call(this),this.document}}var kn={initTables(){this._tableIndex=0},table(e){return new On(this,e)}};class An{constructor(){this._metadata=`
|
|
110
|
+
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
|
|
111
|
+
<x:xmpmeta xmlns:x="adobe:ns:meta/">
|
|
112
|
+
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
113
|
+
`}_closeTags(){this._metadata=this._metadata.concat(`
|
|
114
|
+
</rdf:RDF>
|
|
115
|
+
</x:xmpmeta>
|
|
116
|
+
<?xpacket end="w"?>
|
|
117
|
+
`)}append(e,t){t===void 0&&(t=!0),this._metadata=this._metadata.concat(e),t&&(this._metadata=this._metadata.concat(`
|
|
118
|
+
`))}getXML(){return this._metadata}getLength(){return this._metadata.length}end(){this._closeTags(),this._metadata=this._metadata.trim()}}var jn={initMetadata(){this.metadata=new An},appendXML(e,t){t===void 0&&(t=!0),this.metadata.append(e,t)},_addInfo(){this.appendXML(`
|
|
119
|
+
<rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/">
|
|
120
|
+
<xmp:CreateDate>${this.info.CreationDate.toISOString().split(`.`)[0]+`Z`}</xmp:CreateDate>
|
|
121
|
+
<xmp:CreatorTool>${this.info.Creator}</xmp:CreatorTool>
|
|
122
|
+
</rdf:Description>
|
|
123
|
+
`),(this.info.Title||this.info.Author||this.info.Subject)&&(this.appendXML(`
|
|
124
|
+
<rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
125
|
+
`),this.info.Title&&this.appendXML(`
|
|
126
|
+
<dc:title>
|
|
127
|
+
<rdf:Alt>
|
|
128
|
+
<rdf:li xml:lang="x-default">${this.info.Title}</rdf:li>
|
|
129
|
+
</rdf:Alt>
|
|
130
|
+
</dc:title>
|
|
131
|
+
`),this.info.Author&&this.appendXML(`
|
|
132
|
+
<dc:creator>
|
|
133
|
+
<rdf:Seq>
|
|
134
|
+
<rdf:li>${this.info.Author}</rdf:li>
|
|
135
|
+
</rdf:Seq>
|
|
136
|
+
</dc:creator>
|
|
137
|
+
`),this.info.Subject&&this.appendXML(`
|
|
138
|
+
<dc:description>
|
|
139
|
+
<rdf:Alt>
|
|
140
|
+
<rdf:li xml:lang="x-default">${this.info.Subject}</rdf:li>
|
|
141
|
+
</rdf:Alt>
|
|
142
|
+
</dc:description>
|
|
143
|
+
`),this.appendXML(`
|
|
144
|
+
</rdf:Description>
|
|
145
|
+
`)),this.appendXML(`
|
|
146
|
+
<rdf:Description rdf:about="" xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
|
|
147
|
+
<pdf:Producer>${this.info.Producer}</pdf:Producer>`,!1),this.info.Keywords&&this.appendXML(`
|
|
148
|
+
<pdf:Keywords>${this.info.Keywords}</pdf:Keywords>`,!1),this.appendXML(`
|
|
149
|
+
</rdf:Description>
|
|
150
|
+
`)},endMetadata(){this._addInfo(),this.metadata.end(),this.version!=1.3&&(this.metadataRef=this.ref({length:this.metadata.getLength(),Type:`Metadata`,Subtype:`XML`}),this.metadataRef.compress=!1,this.metadataRef.write(r.from(this.metadata.getXML(),`utf-8`)),this.metadataRef.end(),this._root.data.Metadata=this.metadataRef)}};class Mn extends i.default.Readable{constructor(e){switch(e===void 0&&(e={}),super(e),this.options=e,e.pdfVersion){case`1.4`:this.version=1.4;break;case`1.5`:this.version=1.5;break;case`1.6`:this.version=1.6;break;case`1.7`:case`1.7ext3`:this.version=1.7;break;default:this.version=1.3}this.compress=this.options.compress==null||this.options.compress,this._pageBuffer=[],this._pageBufferStart=0,this._offsets=[],this._waiting=0,this._ended=!1,this._offset=0;let t=this.ref({Type:`Pages`,Count:0,Kids:[]}),n=this.ref({Dests:new I});if(this._root=this.ref({Type:`Catalog`,Pages:t,Names:n}),this.options.lang&&(this._root.data.Lang=new String(this.options.lang)),this.options.pageLayout){let e=this.options.pageLayout;this._root.data.PageLayout=e.charAt(0).toUpperCase()+e.slice(1)}if(this.page=null,this.initMetadata(),this.initColor(),this.initVector(),this.initFonts(e.font),this.initText(),this.initImages(),this.initOutline(),this.initMarkings(e),this.initTables(),this.initSubset(e),this.info={Producer:`PDFKit`,Creator:`PDFKit`,CreationDate:new Date},this.options.info)for(let e in this.options.info){let t=this.options.info[e];this.info[e]=t}this.options.displayTitle&&(this._root.data.ViewerPreferences=this.ref({DisplayDocTitle:!0})),this._id=he.generateFileID(this.info),this._security=he.create(this,e),this._write(`%PDF-${this.version}`),this._write(`%ÿÿÿÿ`),this.options.autoFirstPage!==!1&&this.addPage()}addPage(e){e??=this.options,this.options.bufferPages||this.flushPages(),this.page=new F(this,e),this._pageBuffer.push(this.page);let t=this._root.data.Pages.data;return t.Kids.push(this.page.dictionary),t.Count++,this.x=this.page.margins.left,this.y=this.page.margins.top,this._ctm=[1,0,0,1,0,0],this.transform(1,0,0,-1,0,this.page.height),this.emit(`pageAdded`),this}continueOnNewPage(e){let t=this.endPageMarkings(this.page);return this.addPage(e??this.page._options),this.initPageMarkings(t),this}bufferedPageRange(){return{start:this._pageBufferStart,count:this._pageBuffer.length}}switchToPage(e){let t;if(!(t=this._pageBuffer[e-this._pageBufferStart]))throw Error(`switchToPage(${e}) out of bounds, current buffer covers pages ${this._pageBufferStart} to ${this._pageBufferStart+this._pageBuffer.length-1}`);return this.page=t}flushPages(){let e=this._pageBuffer;this._pageBuffer=[],this._pageBufferStart+=e.length;for(let t of e)this.endPageMarkings(t),t.end()}addNamedDestination(e){var t=[...arguments].slice(1);t.length===0&&(t=[`XYZ`,null,null,null]),t[0]===`XYZ`&&t[2]!==null&&(t[2]=this.page.height-t[2]),t.unshift(this.page.dictionary),this._root.data.Names.data.Dests.add(e,t)}addNamedEmbeddedFile(e,t){this._root.data.Names.data.EmbeddedFiles||(this._root.data.Names.data.EmbeddedFiles=new I({limits:!1})),this._root.data.Names.data.EmbeddedFiles.add(e,t)}addNamedJavaScript(e,t){this._root.data.Names.data.JavaScript||(this._root.data.Names.data.JavaScript=new I);let n={JS:new String(t),S:`JavaScript`};this._root.data.Names.data.JavaScript.add(e,n)}ref(e){let t=new T(this,this._offsets.length+1,e);return this._offsets.push(null),this._waiting++,t}_read(){}_write(e){r.isBuffer(e)||(e=r.from(e+`
|
|
151
|
+
`,`binary`)),this.push(e),this._offset+=e.length}addContent(e){return this.page.write(e),this}_refEnd(e){this._offsets[e.id-1]=e.offset,--this._waiting===0&&this._ended&&(this._finalize(),this._ended=!1)}end(){this.flushPages(),this._info=this.ref();for(let e in this.info){let t=this.info[e];typeof t==`string`&&(t=new String(t));let n=this.ref(t);n.end(),this._info.data[e]=n}this._info.end();for(let e in this._fontFamilies)this._fontFamilies[e].finalize();this.endOutline(),this.endMarkings(),this.subset&&this.endSubset(),this.endMetadata(),this._root.end(),this._root.data.Pages.end(),this._root.data.Names.end(),this.endAcroForm(),this._root.data.ViewerPreferences&&this._root.data.ViewerPreferences.end(),this._security&&this._security.end(),this._waiting===0?this._finalize():this._ended=!0}_finalize(){let e=this._offset;this._write(`xref`),this._write(`0 ${this._offsets.length+1}`),this._write(`0000000000 65535 f `);for(let e of this._offsets)e=`0000000000${e}`.slice(-10),this._write(e+` 00000 n `);let t={Size:this._offsets.length+1,Root:this._root,Info:this._info,ID:[this._id,this._id]};this._security&&(t.Encrypt=this._security.dictionary),this._write(`trailer`),this._write(w.convert(t)),this._write(`startxref`),this._write(`${e}`),this._write(`%%EOF`),this.push(null)}toString(){return`[object PDFDocument]`}}t.A=Mn;let Nn=e=>{Object.assign(Mn.prototype,e)};Nn(jn),Nn(Be),Nn(ot),Nn(_t),Nn(xt),Nn(Nt),Nn(Ft),Nn(Rt),Nn(Ht),Nn(Jt),Nn(Yt),Nn($t),Nn(kn),Mn.LineWrapper=vt},6092(e,t,n){var r=n(2736),i=n(2022);i.pdfMake===void 0&&(i.pdfMake=r),e.exports=r},656(e,t,n){t.polyval=t.ghash=void 0;let r=n(5181),i=new Uint8Array(16),a=(0,r.u32)(i),o=(e,t,n,r)=>{let i=r&1;return{s3:n<<31|r>>>1,s2:t<<31|n>>>1,s1:e<<31|t>>>1,s0:e>>>1^225<<24&-(i&1)}},s=e=>(e>>>0&255)<<24|(e>>>8&255)<<16|(e>>>16&255)<<8|e>>>24&255|0;function c(e){e.reverse();let t=e[15]&1,n=0;for(let t=0;t<e.length;t++){let r=e[t];e[t]=r>>>1|n,n=(r&1)<<7}return e[0]^=-t&225,e}let l=e=>e>65536?8:e>1024?4:2;class u{constructor(e,t){this.blockLen=16,this.outputLen=16,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,e=(0,r.toBytes)(e),(0,r.abytes)(e,16);let n=(0,r.createView)(e),i=n.getUint32(0,!1),a=n.getUint32(4,!1),c=n.getUint32(8,!1),u=n.getUint32(12,!1),d=[];for(let e=0;e<128;e++)d.push({s0:s(i),s1:s(a),s2:s(c),s3:s(u)}),{s0:i,s1:a,s2:c,s3:u}=o(i,a,c,u);let f=l(t||1024);if(![1,2,4,8].includes(f))throw Error(`ghash: invalid window size, expected 2, 4 or 8`);this.W=f;let p=128/f,m=this.windowSize=2**f,h=[];for(let e=0;e<p;e++)for(let t=0;t<m;t++){let n=0,r=0,i=0,a=0;for(let o=0;o<f;o++){if(!(t>>>f-o-1&1))continue;let{s0:s,s1:c,s2:l,s3:u}=d[f*e+o];n^=s,r^=c,i^=l,a^=u}h.push({s0:n,s1:r,s2:i,s3:a})}this.t=h}_updateBlock(e,t,n,r){e^=this.s0,t^=this.s1,n^=this.s2,r^=this.s3;let{W:i,t:a,windowSize:o}=this,s=0,c=0,l=0,u=0,d=(1<<i)-1,f=0;for(let p of[e,t,n,r])for(let e=0;e<4;e++){let t=p>>>8*e&255;for(let e=8/i-1;e>=0;e--){let n=t>>>i*e&d,{s0:r,s1:p,s2:m,s3:h}=a[f*o+n];s^=r,c^=p,l^=m,u^=h,f+=1}}this.s0=s,this.s1=c,this.s2=l,this.s3=u}update(e){(0,r.aexists)(this),e=(0,r.toBytes)(e),(0,r.abytes)(e);let t=(0,r.u32)(e),n=Math.floor(e.length/16),o=e.length%16;for(let e=0;e<n;e++)this._updateBlock(t[e*4+0],t[e*4+1],t[e*4+2],t[e*4+3]);return o&&(i.set(e.subarray(n*16)),this._updateBlock(a[0],a[1],a[2],a[3]),(0,r.clean)(a)),this}destroy(){let{t:e}=this;for(let t of e)t.s0=0,t.s1=0,t.s2=0,t.s3=0}digestInto(e){(0,r.aexists)(this),(0,r.aoutput)(e,this),this.finished=!0;let{s0:t,s1:n,s2:i,s3:a}=this,o=(0,r.u32)(e);return o[0]=t,o[1]=n,o[2]=i,o[3]=a,e}digest(){let e=new Uint8Array(16);return this.digestInto(e),this.destroy(),e}}class d extends u{constructor(e,t){e=(0,r.toBytes)(e),(0,r.abytes)(e);let n=c((0,r.copyBytes)(e));super(n,t),(0,r.clean)(n)}update(e){e=(0,r.toBytes)(e),(0,r.aexists)(this);let t=(0,r.u32)(e),n=e.length%16,o=Math.floor(e.length/16);for(let e=0;e<o;e++)this._updateBlock(s(t[e*4+3]),s(t[e*4+2]),s(t[e*4+1]),s(t[e*4+0]));return n&&(i.set(e.subarray(o*16)),this._updateBlock(s(a[3]),s(a[2]),s(a[1]),s(a[0])),(0,r.clean)(a)),this}digestInto(e){(0,r.aexists)(this),(0,r.aoutput)(e,this),this.finished=!0;let{s0:t,s1:n,s2:i,s3:a}=this,o=(0,r.u32)(e);return o[0]=t,o[1]=n,o[2]=i,o[3]=a,e.reverse()}}function f(e){let t=(t,n)=>e(n,t.length).update((0,r.toBytes)(t)).digest(),n=e(new Uint8Array(16),0);return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=(t,n)=>e(t,n),t}t.ghash=f((e,t)=>new u(e,t)),t.polyval=f((e,t)=>new d(e,t))},2651(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.unsafe=t.aeskwp=t.aeskw=t.siv=t.gcmsiv=t.gcm=t.cfb=t.cbc=t.ecb=t.ctr=void 0;let r=n(656),i=n(5181),a=new Uint8Array(16);function o(e){return e<<1^283&-(e>>7)}function s(e,t){let n=0;for(;t>0;t>>=1)n^=e&-(t&1),e=o(e);return n}let c=(()=>{let e=new Uint8Array(256);for(let t=0,n=1;t<256;t++,n^=o(n))e[t]=n;let t=new Uint8Array(256);t[0]=99;for(let n=0;n<255;n++){let r=e[255-n];r|=r<<8,t[e[n]]=(r^r>>4^r>>5^r>>6^r>>7^99)&255}return(0,i.clean)(e),t})(),l=c.map((e,t)=>c.indexOf(t)),u=e=>e<<24|e>>>8,d=e=>e<<8|e>>>24,f=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function p(e,t){if(e.length!==256)throw Error(`Wrong sbox length`);let n=new Uint32Array(256).map((n,r)=>t(e[r])),r=n.map(d),i=r.map(d),a=i.map(d),o=new Uint32Array(65536),s=new Uint32Array(65536),c=new Uint16Array(65536);for(let t=0;t<256;t++)for(let l=0;l<256;l++){let u=t*256+l;o[u]=n[t]^r[l],s[u]=i[t]^a[l],c[u]=e[t]<<8|e[l]}return{sbox:e,sbox2:c,T0:n,T1:r,T2:i,T3:a,T01:o,T23:s}}let m=p(c,e=>s(e,3)<<24|e<<16|e<<8|s(e,2)),h=p(l,e=>s(e,11)<<24|s(e,13)<<16|s(e,9)<<8|s(e,14)),g=(()=>{let e=new Uint8Array(16);for(let t=0,n=1;t<16;t++,n=o(n))e[t]=n;return e})();function _(e){(0,i.abytes)(e);let t=e.length;if(![16,24,32].includes(t))throw Error(`aes: invalid key size, should be 16, 24 or 32, got `+t);let{sbox2:n}=m,r=[];(0,i.isAligned32)(e)||r.push(e=(0,i.copyBytes)(e));let a=(0,i.u32)(e),o=a.length,s=e=>b(n,e,e,e,e),c=new Uint32Array(t+28);c.set(a);for(let e=o;e<c.length;e++){let t=c[e-1];e%o===0?t=s(u(t))^g[e/o-1]:o>6&&e%o===4&&(t=s(t)),c[e]=c[e-o]^t}return(0,i.clean)(...r),c}function v(e){let t=_(e),n=t.slice(),r=t.length,{sbox2:a}=m,{T0:o,T1:s,T2:c,T3:l}=h;for(let e=0;e<r;e+=4)for(let i=0;i<4;i++)n[e+i]=t[r-e-4+i];(0,i.clean)(t);for(let e=4;e<r-4;e++){let t=n[e],r=b(a,t,t,t,t);n[e]=o[r&255]^s[r>>>8&255]^c[r>>>16&255]^l[r>>>24]}return n}function y(e,t,n,r,i,a){return e[n<<8&65280|r>>>8&255]^t[i>>>8&65280|a>>>24&255]}function b(e,t,n,r,i){return e[t&255|n&65280]|e[r>>>16&255|i>>>16&65280]<<16}function x(e,t,n,r,i){let{sbox2:a,T01:o,T23:s}=m,c=0;t^=e[c++],n^=e[c++],r^=e[c++],i^=e[c++];let l=e.length/4-2;for(let a=0;a<l;a++){let a=e[c++]^y(o,s,t,n,r,i),l=e[c++]^y(o,s,n,r,i,t),u=e[c++]^y(o,s,r,i,t,n),d=e[c++]^y(o,s,i,t,n,r);t=a,n=l,r=u,i=d}return{s0:e[c++]^b(a,t,n,r,i),s1:e[c++]^b(a,n,r,i,t),s2:e[c++]^b(a,r,i,t,n),s3:e[c++]^b(a,i,t,n,r)}}function S(e,t,n,r,i){let{sbox2:a,T01:o,T23:s}=h,c=0;t^=e[c++],n^=e[c++],r^=e[c++],i^=e[c++];let l=e.length/4-2;for(let a=0;a<l;a++){let a=e[c++]^y(o,s,t,i,r,n),l=e[c++]^y(o,s,n,t,i,r),u=e[c++]^y(o,s,r,n,t,i),d=e[c++]^y(o,s,i,r,n,t);t=a,n=l,r=u,i=d}return{s0:e[c++]^b(a,t,i,r,n),s1:e[c++]^b(a,n,t,i,r),s2:e[c++]^b(a,r,n,t,i),s3:e[c++]^b(a,i,r,n,t)}}function C(e,t,n,r){(0,i.abytes)(t,16),(0,i.abytes)(n);let a=n.length;r=(0,i.getOutput)(a,r),(0,i.complexOverlapBytes)(n,r);let o=t,s=(0,i.u32)(o),{s0:c,s1:l,s2:u,s3:d}=x(e,s[0],s[1],s[2],s[3]),f=(0,i.u32)(n),p=(0,i.u32)(r);for(let t=0;t+4<=f.length;t+=4){p[t+0]=f[t+0]^c,p[t+1]=f[t+1]^l,p[t+2]=f[t+2]^u,p[t+3]=f[t+3]^d;let n=1;for(let e=o.length-1;e>=0;e--)n=n+(o[e]&255)|0,o[e]=n&255,n>>>=8;({s0:c,s1:l,s2:u,s3:d}=x(e,s[0],s[1],s[2],s[3]))}let m=16*Math.floor(f.length/4);if(m<a){let e=new Uint32Array([c,l,u,d]),t=(0,i.u8)(e);for(let e=m,i=0;e<a;e++,i++)r[e]=n[e]^t[i];(0,i.clean)(e)}return r}function w(e,t,n,r,a){(0,i.abytes)(n,16),(0,i.abytes)(r),a=(0,i.getOutput)(r.length,a);let o=n,s=(0,i.u32)(o),c=(0,i.createView)(o),l=(0,i.u32)(r),u=(0,i.u32)(a),d=t?0:12,f=r.length,p=c.getUint32(d,t),{s0:m,s1:h,s2:g,s3:_}=x(e,s[0],s[1],s[2],s[3]);for(let n=0;n+4<=l.length;n+=4)u[n+0]=l[n+0]^m,u[n+1]=l[n+1]^h,u[n+2]=l[n+2]^g,u[n+3]=l[n+3]^_,p=p+1>>>0,c.setUint32(d,p,t),{s0:m,s1:h,s2:g,s3:_}=x(e,s[0],s[1],s[2],s[3]);let v=16*Math.floor(l.length/4);if(v<f){let e=new Uint32Array([m,h,g,_]),t=(0,i.u8)(e);for(let e=v,n=0;e<f;e++,n++)a[e]=r[e]^t[n];(0,i.clean)(e)}return a}t.ctr=(0,i.wrapCipher)({blockSize:16,nonceLength:16},function(e,t){function n(n,r){if((0,i.abytes)(n),r!==void 0&&((0,i.abytes)(r),!(0,i.isAligned32)(r)))throw Error(`unaligned destination`);let a=_(e),o=(0,i.copyBytes)(t),s=[a,o];(0,i.isAligned32)(n)||s.push(n=(0,i.copyBytes)(n));let c=C(a,o,n,r);return(0,i.clean)(...s),c}return{encrypt:(e,t)=>n(e,t),decrypt:(e,t)=>n(e,t)}});function T(e){if((0,i.abytes)(e),e.length%16!=0)throw Error(`aes-(cbc/ecb).decrypt ciphertext should consist of blocks with size 16`)}function E(e,t,n){(0,i.abytes)(e);let r=e.length,a=r%16;if(!t&&a!==0)throw Error(`aec/(cbc-ecb): unpadded plaintext with disabled padding`);(0,i.isAligned32)(e)||(e=(0,i.copyBytes)(e));let o=(0,i.u32)(e);if(t){let e=16-a;e||=16,r+=e}return n=(0,i.getOutput)(r,n),(0,i.complexOverlapBytes)(e,n),{b:o,o:(0,i.u32)(n),out:n}}function D(e,t){if(!t)return e;let n=e.length;if(!n)throw Error(`aes/pcks5: empty ciphertext not allowed`);let r=e[n-1];if(r<=0||r>16)throw Error(`aes/pcks5: wrong padding`);let i=e.subarray(0,-r);for(let t=0;t<r;t++)if(e[n-t-1]!==r)throw Error(`aes/pcks5: wrong padding`);return i}function O(e){let t=new Uint8Array(16),n=(0,i.u32)(t);t.set(e);let r=16-e.length;for(let e=16-r;e<16;e++)t[e]=r;return n}t.ecb=(0,i.wrapCipher)({blockSize:16},function(e,t={}){let n=!t.disablePadding;return{encrypt(t,r){let{b:a,o,out:s}=E(t,n,r),c=_(e),l=0;for(;l+4<=a.length;){let{s0:e,s1:t,s2:n,s3:r}=x(c,a[l+0],a[l+1],a[l+2],a[l+3]);o[l++]=e,o[l++]=t,o[l++]=n,o[l++]=r}if(n){let e=O(t.subarray(l*4)),{s0:n,s1:r,s2:i,s3:a}=x(c,e[0],e[1],e[2],e[3]);o[l++]=n,o[l++]=r,o[l++]=i,o[l++]=a}return(0,i.clean)(c),s},decrypt(t,r){T(t);let a=v(e);r=(0,i.getOutput)(t.length,r);let o=[a];(0,i.isAligned32)(t)||o.push(t=(0,i.copyBytes)(t)),(0,i.complexOverlapBytes)(t,r);let s=(0,i.u32)(t),c=(0,i.u32)(r);for(let e=0;e+4<=s.length;){let{s0:t,s1:n,s2:r,s3:i}=S(a,s[e+0],s[e+1],s[e+2],s[e+3]);c[e++]=t,c[e++]=n,c[e++]=r,c[e++]=i}return(0,i.clean)(...o),D(r,n)}}}),t.cbc=(0,i.wrapCipher)({blockSize:16,nonceLength:16},function(e,t,n={}){let r=!n.disablePadding;return{encrypt(n,a){let o=_(e),{b:s,o:c,out:l}=E(n,r,a),u=t,d=[o];(0,i.isAligned32)(u)||d.push(u=(0,i.copyBytes)(u));let f=(0,i.u32)(u),p=f[0],m=f[1],h=f[2],g=f[3],v=0;for(;v+4<=s.length;)p^=s[v+0],m^=s[v+1],h^=s[v+2],g^=s[v+3],{s0:p,s1:m,s2:h,s3:g}=x(o,p,m,h,g),c[v++]=p,c[v++]=m,c[v++]=h,c[v++]=g;if(r){let e=O(n.subarray(v*4));p^=e[0],m^=e[1],h^=e[2],g^=e[3],{s0:p,s1:m,s2:h,s3:g}=x(o,p,m,h,g),c[v++]=p,c[v++]=m,c[v++]=h,c[v++]=g}return(0,i.clean)(...d),l},decrypt(n,a){T(n);let o=v(e),s=t,c=[o];(0,i.isAligned32)(s)||c.push(s=(0,i.copyBytes)(s));let l=(0,i.u32)(s);a=(0,i.getOutput)(n.length,a),(0,i.isAligned32)(n)||c.push(n=(0,i.copyBytes)(n)),(0,i.complexOverlapBytes)(n,a);let u=(0,i.u32)(n),d=(0,i.u32)(a),f=l[0],p=l[1],m=l[2],h=l[3];for(let e=0;e+4<=u.length;){let t=f,n=p,r=m,i=h;f=u[e+0],p=u[e+1],m=u[e+2],h=u[e+3];let{s0:a,s1:s,s2:c,s3:l}=S(o,f,p,m,h);d[e++]=a^t,d[e++]=s^n,d[e++]=c^r,d[e++]=l^i}return(0,i.clean)(...c),D(a,r)}}}),t.cfb=(0,i.wrapCipher)({blockSize:16,nonceLength:16},function(e,t){function n(n,r,a){(0,i.abytes)(n);let o=n.length;if(a=(0,i.getOutput)(o,a),(0,i.overlapBytes)(n,a))throw Error(`overlapping src and dst not supported.`);let s=_(e),c=t,l=[s];(0,i.isAligned32)(c)||l.push(c=(0,i.copyBytes)(c)),(0,i.isAligned32)(n)||l.push(n=(0,i.copyBytes)(n));let u=(0,i.u32)(n),d=(0,i.u32)(a),f=r?d:u,p=(0,i.u32)(c),m=p[0],h=p[1],g=p[2],v=p[3];for(let e=0;e+4<=u.length;){let{s0:t,s1:n,s2:r,s3:i}=x(s,m,h,g,v);d[e+0]=u[e+0]^t,d[e+1]=u[e+1]^n,d[e+2]=u[e+2]^r,d[e+3]=u[e+3]^i,m=f[e++],h=f[e++],g=f[e++],v=f[e++]}let y=16*Math.floor(u.length/4);if(y<o){({s0:m,s1:h,s2:g,s3:v}=x(s,m,h,g,v));let e=(0,i.u8)(new Uint32Array([m,h,g,v]));for(let t=y,r=0;t<o;t++,r++)a[t]=n[t]^e[r];(0,i.clean)(e)}return(0,i.clean)(...l),a}return{encrypt:(e,t)=>n(e,!0,t),decrypt:(e,t)=>n(e,!1,t)}});function k(e,t,n,r,a){let o=a?a.length:0,s=e.create(n,r.length+o);a&&s.update(a);let c=(0,i.u64Lengths)(8*r.length,8*o,t);s.update(r),s.update(c);let l=s.digest();return(0,i.clean)(c),l}t.gcm=(0,i.wrapCipher)({blockSize:16,nonceLength:12,tagLength:16,varSizeNonce:!0},function(e,t,n){if(t.length<8)throw Error(`aes/gcm: invalid nonce length`);function o(e,t,i){let a=k(r.ghash,!1,e,i,n);for(let e=0;e<t.length;e++)a[e]^=t[e];return a}function s(){let n=_(e),o=a.slice(),s=a.slice();if(w(n,!1,s,s,o),t.length===12)s.set(t);else{let e=a.slice(),n=(0,i.createView)(e);(0,i.setBigUint64)(n,8,BigInt(t.length*8),!1);let c=r.ghash.create(o).update(t).update(e);c.digestInto(s),c.destroy()}return{xk:n,authKey:o,counter:s,tagMask:w(n,!1,s,a)}}return{encrypt(e){let{xk:t,authKey:n,counter:r,tagMask:a}=s(),c=new Uint8Array(e.length+16),l=[t,n,r,a];(0,i.isAligned32)(e)||l.push(e=(0,i.copyBytes)(e)),w(t,!1,r,e,c.subarray(0,e.length));let u=o(n,a,c.subarray(0,c.length-16));return l.push(u),c.set(u,e.length),(0,i.clean)(...l),c},decrypt(e){let{xk:t,authKey:n,counter:r,tagMask:a}=s(),c=[t,n,a,r];(0,i.isAligned32)(e)||c.push(e=(0,i.copyBytes)(e));let l=e.subarray(0,-16),u=e.subarray(-16),d=o(n,a,l);if(c.push(d),!(0,i.equalBytes)(d,u))throw Error(`aes/gcm: invalid ghash tag`);let f=w(t,!1,r,l);return(0,i.clean)(...c),f}}});let A=(e,t,n)=>r=>{if(!Number.isSafeInteger(r)||t>r||r>n){let i=`[`+t+`..`+n+`]`;throw Error(``+e+`: expected value in range `+i+`, got `+r)}};t.gcmsiv=(0,i.wrapCipher)({blockSize:16,nonceLength:12,tagLength:16,varSizeNonce:!0},function(e,t,n){let a=A(`AAD`,0,2**36),o=A(`plaintext`,0,2**36),s=A(`nonce`,12,12),c=A(`ciphertext`,16,2**36+16);(0,i.abytes)(e,16,24,32),s(t.length),n!==void 0&&a(n.length);function l(){let n=_(e),r=new Uint8Array(e.length),a=new Uint8Array(16),o=[n,r],s=t;(0,i.isAligned32)(s)||o.push(s=(0,i.copyBytes)(s));let c=(0,i.u32)(s),l=0,u=c[0],d=c[1],f=c[2],p=0;for(let e of[a,r].map(i.u32)){let t=(0,i.u32)(e);for(let e=0;e<t.length;e+=2){let{s0:r,s1:i}=x(n,l,u,d,f);t[e+0]=r,t[e+1]=i,l=++p}}let m={authKey:a,encKey:_(r)};return(0,i.clean)(...o),m}function u(e,a,o){let s=k(r.polyval,!0,a,o,n);for(let e=0;e<12;e++)s[e]^=t[e];s[15]&=127;let c=(0,i.u32)(s),l=c[0],u=c[1],d=c[2],f=c[3];return{s0:l,s1:u,s2:d,s3:f}=x(e,l,u,d,f),c[0]=l,c[1]=u,c[2]=d,c[3]=f,s}function d(e,t,n){let r=(0,i.copyBytes)(t);r[15]|=128;let a=w(e,!0,r,n);return(0,i.clean)(r),a}return{encrypt(e){o(e.length);let{encKey:t,authKey:n}=l(),r=u(t,n,e),a=[t,n,r];(0,i.isAligned32)(e)||a.push(e=(0,i.copyBytes)(e));let s=new Uint8Array(e.length+16);return s.set(r,e.length),s.set(d(t,r,e)),(0,i.clean)(...a),s},decrypt(e){c(e.length);let t=e.subarray(-16),{encKey:n,authKey:r}=l(),a=[n,r];(0,i.isAligned32)(e)||a.push(e=(0,i.copyBytes)(e));let o=d(n,t,e.subarray(0,-16)),s=u(n,r,o);if(a.push(s),!(0,i.equalBytes)(t,s))throw(0,i.clean)(...a),Error(`invalid polyval tag`);return(0,i.clean)(...a),o}}}),t.siv=t.gcmsiv;function j(e){return e instanceof Uint32Array||ArrayBuffer.isView(e)&&e.constructor.name===`Uint32Array`}function M(e,t){if((0,i.abytes)(t,16),!j(e))throw Error(`_encryptBlock accepts result of expandKeyLE`);let n=(0,i.u32)(t),{s0:r,s1:a,s2:o,s3:s}=x(e,n[0],n[1],n[2],n[3]);return n[0]=r,n[1]=a,n[2]=o,n[3]=s,t}function N(e,t){if((0,i.abytes)(t,16),!j(e))throw Error(`_decryptBlock accepts result of expandKeyLE`);let n=(0,i.u32)(t),{s0:r,s1:a,s2:o,s3:s}=S(e,n[0],n[1],n[2],n[3]);return n[0]=r,n[1]=a,n[2]=o,n[3]=s,t}let P={encrypt(e,t){if(t.length>=2**32)throw Error(`plaintext should be less than 4gb`);let n=_(e);if(t.length===16)M(n,t);else{let e=(0,i.u32)(t),r=e[0],a=e[1];for(let t=0,i=1;t<6;t++)for(let t=2;t<e.length;t+=2,i++){let{s0:o,s1:s,s2:c,s3:l}=x(n,r,a,e[t],e[t+1]);r=o,a=s^f(i),e[t]=c,e[t+1]=l}e[0]=r,e[1]=a}n.fill(0)},decrypt(e,t){if(t.length-8>=2**32)throw Error(`ciphertext should be less than 4gb`);let n=v(e),r=t.length/8-1;if(r===1)N(n,t);else{let e=(0,i.u32)(t),a=e[0],o=e[1];for(let t=0,i=r*6;t<6;t++)for(let t=r*2;t>=1;t-=2,i--){o^=f(i);let{s0:r,s1:s,s2:c,s3:l}=S(n,a,o,e[t],e[t+1]);a=r,o=s,e[t]=c,e[t+1]=l}e[0]=a,e[1]=o}n.fill(0)}},F=new Uint8Array(8).fill(166);t.aeskw=(0,i.wrapCipher)({blockSize:8},e=>({encrypt(t){if(!t.length||t.length%8!=0)throw Error(`invalid plaintext length`);if(t.length===8)throw Error(`8-byte keys not allowed in AESKW, use AESKWP instead`);let n=(0,i.concatBytes)(F,t);return P.encrypt(e,n),n},decrypt(t){if(t.length%8!=0||t.length<24)throw Error(`invalid ciphertext length`);let n=(0,i.copyBytes)(t);if(P.decrypt(e,n),!(0,i.equalBytes)(n.subarray(0,8),F))throw Error(`integrity check failed`);return n.subarray(0,8).fill(0),n.subarray(8)}}));let I=2790873510;t.aeskwp=(0,i.wrapCipher)({blockSize:8},e=>({encrypt(t){if(!t.length)throw Error(`invalid plaintext length`);let n=Math.ceil(t.length/8)*8,r=new Uint8Array(8+n);r.set(t,8);let a=(0,i.u32)(r);return a[0]=I,a[1]=f(t.length),P.encrypt(e,r),r},decrypt(t){if(t.length<16)throw Error(`invalid ciphertext length`);let n=(0,i.copyBytes)(t),r=(0,i.u32)(n);P.decrypt(e,n);let a=f(r[1])>>>0,o=Math.ceil(a/8)*8;if(r[0]!==I||n.length-8!==o)throw Error(`integrity check failed`);for(let e=a;e<o;e++)if(n[8+e]!==0)throw Error(`integrity check failed`);return n.subarray(0,8).fill(0),n.subarray(8,8+a)}})),t.unsafe={expandKeyLE:_,expandKeyDecLE:v,encrypt:x,decrypt:S,encryptBlock:M,decryptBlock:N,ctrCounter:C,ctr32:w}},5181(e,t){t.wrapCipher=t.qv=void 0,t.abytes=i,t.aexists=a,t.aoutput=o,t.u8=s,t.u32=c,t.clean=l,t.createView=u,t.toBytes=f,t.overlapBytes=p,t.complexOverlapBytes=m,t.concatBytes=h,t.equalBytes=g,t.getOutput=_,t.setBigUint64=v,t.u64Lengths=y,t.isAligned32=b,t.copyBytes=x;function n(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name===`Uint8Array`}function r(e){if(typeof e!=`boolean`)throw Error(`boolean expected, not ${e}`)}function i(e,...t){if(!n(e))throw Error(`Uint8Array expected`);if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length `+t+`, got length=`+e.length)}function a(e,t=!0){if(e.destroyed)throw Error(`Hash instance has been destroyed`);if(t&&e.finished)throw Error(`Hash#digest() has already been called`)}function o(e,t){i(e);let n=t.outputLen;if(e.length<n)throw Error(`digestInto() expects output buffer of length at least `+n)}function s(e){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}function c(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function l(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function u(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}t.qv=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function d(e){if(typeof e!=`string`)throw Error(`string expected`);return new Uint8Array(new TextEncoder().encode(e))}function f(e){if(typeof e==`string`)e=d(e);else if(n(e))e=x(e);else throw Error(`Uint8Array expected, got `+typeof e);return e}function p(e,t){return e.buffer===t.buffer&&e.byteOffset<t.byteOffset+t.byteLength&&t.byteOffset<e.byteOffset+e.byteLength}function m(e,t){if(p(e,t)&&e.byteOffset<t.byteOffset)throw Error(`complex overlap of input and output is not supported`)}function h(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];i(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}function g(e,t){if(e.length!==t.length)return!1;let n=0;for(let r=0;r<e.length;r++)n|=e[r]^t[r];return n===0}t.wrapCipher=(e,n)=>{function r(r,...a){if(i(r),!t.qv)throw Error(`Non little-endian hardware is not yet supported`);if(e.nonceLength!==void 0){let t=a[0];if(!t)throw Error(`nonce / iv required`);e.varSizeNonce?i(t):i(t,e.nonceLength)}let o=e.tagLength;o&&a[1]!==void 0&&i(a[1]);let s=n(r,...a),c=(e,t)=>{if(t!==void 0){if(e!==2)throw Error(`cipher output not supported`);i(t)}},l=!1;return{encrypt(e,t){if(l)throw Error(`cannot encrypt() twice with same key + nonce`);return l=!0,i(e),c(s.encrypt.length,t),s.encrypt(e,t)},decrypt(e,t){if(i(e),o&&e.length<o)throw Error(`invalid ciphertext length: smaller than tagLength=`+o);return c(s.decrypt.length,t),s.decrypt(e,t)}}}return Object.assign(r,e),r};function _(e,t,n=!0){if(t===void 0)return new Uint8Array(e);if(t.length!==e)throw Error(`invalid output length, expected `+e+`, got: `+t.length);if(n&&!b(t))throw Error(`invalid output, must be aligned`);return t}function v(e,t,n,r){if(typeof e.setBigUint64==`function`)return e.setBigUint64(t,n,r);let i=BigInt(32),a=BigInt(4294967295),o=Number(n>>i&a),s=Number(n&a),c=r?4:0,l=r?0:4;e.setUint32(t+c,o,r),e.setUint32(t+l,s,r)}function y(e,t,n){r(n);let i=new Uint8Array(16),a=u(i);return v(a,0,BigInt(t),n),v(a,8,BigInt(e),n),i}function b(e){return e.byteOffset%4==0}function x(e){return Uint8Array.from(e)}},6784(e,t,n){t.SHA512_IV=t.SHA384_IV=t.SHA224_IV=t.SHA256_IV=t.HashMD=void 0,t.Chi=a,t.Maj=o;let r=n(3973);function i(e,t,n,r){if(typeof e.setBigUint64==`function`)return e.setBigUint64(t,n,r);let i=BigInt(32),a=BigInt(4294967295),o=Number(n>>i&a),s=Number(n&a),c=r?4:0,l=r?0:4;e.setUint32(t+c,o,r),e.setUint32(t+l,s,r)}function a(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}class s extends r.Hash{constructor(e,t,n,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=i,this.buffer=new Uint8Array(e),this.view=(0,r.createView)(this.buffer)}update(e){(0,r.aexists)(this),e=(0,r.toBytes)(e),(0,r.abytes)(e);let{view:t,buffer:n,blockLen:i}=this,a=e.length;for(let o=0;o<a;){let s=Math.min(i-this.pos,a-o);if(s===i){let t=(0,r.createView)(e);for(;i<=a-o;o+=i)this.process(t,o);continue}n.set(e.subarray(o,o+s),this.pos),this.pos+=s,o+=s,this.pos===i&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,r.aexists)(this),(0,r.aoutput)(e,this),this.finished=!0;let{buffer:t,view:n,blockLen:a,isLE:o}=this,{pos:s}=this;t[s++]=128,(0,r.clean)(this.buffer.subarray(s)),this.padOffset>a-s&&(this.process(n,0),s=0);for(let e=s;e<a;e++)t[e]=0;i(n,a-8,BigInt(this.length*8),o),this.process(n,0);let c=(0,r.createView)(e),l=this.outputLen;if(l%4)throw Error(`_sha2: outputLen should be aligned to 32bit`);let u=l/4,d=this.get();if(u>d.length)throw Error(`_sha2: outputLen bigger than state`);for(let e=0;e<u;e++)c.setUint32(4*e,d[e],o)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let n=e.slice(0,t);return this.destroy(),n}_cloneInto(e){e||=new this.constructor,e.set(...this.get());let{blockLen:t,buffer:n,length:r,finished:i,destroyed:a,pos:o}=this;return e.destroyed=a,e.finished=i,e.length=r,e.pos=o,r%t&&e.buffer.set(n),e}clone(){return this._cloneInto()}}t.HashMD=s,t.SHA256_IV=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),t.SHA224_IV=Uint32Array.from([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]),t.SHA384_IV=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),t.SHA512_IV=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209])},4996(e,t){t.shrSL=t.shrSH=t.rotrSL=t.rotrSH=t.rotrBL=t.rotrBH=t.add5L=t.add5H=t.add4L=t.add4H=t.add3L=t.add3H=void 0,t.add=o,t.split=a;let n=BigInt(2**32-1),r=BigInt(32);function i(e,t=!1){return t?{h:Number(e&n),l:Number(e>>r&n)}:{h:Number(e>>r&n)|0,l:Number(e&n)|0}}function a(e,t=!1){let n=e.length,r=new Uint32Array(n),a=new Uint32Array(n);for(let o=0;o<n;o++){let{h:n,l:s}=i(e[o],t);[r[o],a[o]]=[n,s]}return[r,a]}t.shrSH=(e,t,n)=>e>>>n,t.shrSL=(e,t,n)=>e<<32-n|t>>>n,t.rotrSH=(e,t,n)=>e>>>n|t<<32-n,t.rotrSL=(e,t,n)=>e<<32-n|t>>>n,t.rotrBH=(e,t,n)=>e<<64-n|t>>>n-32,t.rotrBL=(e,t,n)=>e>>>n-32|t<<64-n;function o(e,t,n,r){let i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:i|0}}t.add3L=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),t.add3H=(e,t,n,r)=>t+n+r+(e/2**32|0)|0,t.add4L=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),t.add4H=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0,t.add5L=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0),t.add5H=(e,t,n,r,i,a)=>t+n+r+i+a+(e/2**32|0)|0},2491(e,t){t.crypto=void 0,t.crypto=typeof globalThis==`object`&&`crypto`in globalThis?globalThis.crypto:void 0},2650(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.sha512_224=t.sha512_256=t.sha384=t.sha512=t.sha224=t.sha256=t.SHA512_256=t.SHA512_224=t.SHA384=t.SHA512=t.SHA224=t.SHA256=void 0;let r=n(6784),i=n(4996),a=n(3973),o=Uint32Array.from([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]),s=new Uint32Array(64);class c extends r.HashMD{constructor(e=32){super(64,e,8,!1),this.A=r.SHA256_IV[0]|0,this.B=r.SHA256_IV[1]|0,this.C=r.SHA256_IV[2]|0,this.D=r.SHA256_IV[3]|0,this.E=r.SHA256_IV[4]|0,this.F=r.SHA256_IV[5]|0,this.G=r.SHA256_IV[6]|0,this.H=r.SHA256_IV[7]|0}get(){let{A:e,B:t,C:n,D:r,E:i,F:a,G:o,H:s}=this;return[e,t,n,r,i,a,o,s]}set(e,t,n,r,i,a,o,s){this.A=e|0,this.B=t|0,this.C=n|0,this.D=r|0,this.E=i|0,this.F=a|0,this.G=o|0,this.H=s|0}process(e,t){for(let n=0;n<16;n++,t+=4)s[n]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=s[e-15],n=s[e-2],r=(0,a.rotr)(t,7)^(0,a.rotr)(t,18)^t>>>3,i=(0,a.rotr)(n,17)^(0,a.rotr)(n,19)^n>>>10;s[e]=i+s[e-7]+r+s[e-16]|0}let{A:n,B:i,C:c,D:l,E:u,F:d,G:f,H:p}=this;for(let e=0;e<64;e++){let t=(0,a.rotr)(u,6)^(0,a.rotr)(u,11)^(0,a.rotr)(u,25),m=p+t+(0,r.Chi)(u,d,f)+o[e]+s[e]|0,h=((0,a.rotr)(n,2)^(0,a.rotr)(n,13)^(0,a.rotr)(n,22))+(0,r.Maj)(n,i,c)|0;p=f,f=d,d=u,u=l+m|0,l=c,c=i,i=n,n=m+h|0}n=n+this.A|0,i=i+this.B|0,c=c+this.C|0,l=l+this.D|0,u=u+this.E|0,d=d+this.F|0,f=f+this.G|0,p=p+this.H|0,this.set(n,i,c,l,u,d,f,p)}roundClean(){(0,a.clean)(s)}destroy(){this.set(0,0,0,0,0,0,0,0),(0,a.clean)(this.buffer)}}t.SHA256=c;class l extends c{constructor(){super(28),this.A=r.SHA224_IV[0]|0,this.B=r.SHA224_IV[1]|0,this.C=r.SHA224_IV[2]|0,this.D=r.SHA224_IV[3]|0,this.E=r.SHA224_IV[4]|0,this.F=r.SHA224_IV[5]|0,this.G=r.SHA224_IV[6]|0,this.H=r.SHA224_IV[7]|0}}t.SHA224=l;let u=i.split(`0x428a2f98d728ae22.0x7137449123ef65cd.0xb5c0fbcfec4d3b2f.0xe9b5dba58189dbbc.0x3956c25bf348b538.0x59f111f1b605d019.0x923f82a4af194f9b.0xab1c5ed5da6d8118.0xd807aa98a3030242.0x12835b0145706fbe.0x243185be4ee4b28c.0x550c7dc3d5ffb4e2.0x72be5d74f27b896f.0x80deb1fe3b1696b1.0x9bdc06a725c71235.0xc19bf174cf692694.0xe49b69c19ef14ad2.0xefbe4786384f25e3.0x0fc19dc68b8cd5b5.0x240ca1cc77ac9c65.0x2de92c6f592b0275.0x4a7484aa6ea6e483.0x5cb0a9dcbd41fbd4.0x76f988da831153b5.0x983e5152ee66dfab.0xa831c66d2db43210.0xb00327c898fb213f.0xbf597fc7beef0ee4.0xc6e00bf33da88fc2.0xd5a79147930aa725.0x06ca6351e003826f.0x142929670a0e6e70.0x27b70a8546d22ffc.0x2e1b21385c26c926.0x4d2c6dfc5ac42aed.0x53380d139d95b3df.0x650a73548baf63de.0x766a0abb3c77b2a8.0x81c2c92e47edaee6.0x92722c851482353b.0xa2bfe8a14cf10364.0xa81a664bbc423001.0xc24b8b70d0f89791.0xc76c51a30654be30.0xd192e819d6ef5218.0xd69906245565a910.0xf40e35855771202a.0x106aa07032bbd1b8.0x19a4c116b8d2d0c8.0x1e376c085141ab53.0x2748774cdf8eeb99.0x34b0bcb5e19b48a8.0x391c0cb3c5c95a63.0x4ed8aa4ae3418acb.0x5b9cca4f7763e373.0x682e6ff3d6b2b8a3.0x748f82ee5defb2fc.0x78a5636f43172f60.0x84c87814a1f0ab72.0x8cc702081a6439ec.0x90befffa23631e28.0xa4506cebde82bde9.0xbef9a3f7b2c67915.0xc67178f2e372532b.0xca273eceea26619c.0xd186b8c721c0c207.0xeada7dd6cde0eb1e.0xf57d4f7fee6ed178.0x06f067aa72176fba.0x0a637dc5a2c898a6.0x113f9804bef90dae.0x1b710b35131c471b.0x28db77f523047d84.0x32caab7b40c72493.0x3c9ebe0a15c9bebc.0x431d67c49c100d4c.0x4cc5d4becb3e42b6.0x597f299cfc657e2a.0x5fcb6fab3ad6faec.0x6c44198c4a475817`.split(`.`).map(e=>BigInt(e))),d=u[0],f=u[1],p=new Uint32Array(80),m=new Uint32Array(80);class h extends r.HashMD{constructor(e=64){super(128,e,16,!1),this.Ah=r.SHA512_IV[0]|0,this.Al=r.SHA512_IV[1]|0,this.Bh=r.SHA512_IV[2]|0,this.Bl=r.SHA512_IV[3]|0,this.Ch=r.SHA512_IV[4]|0,this.Cl=r.SHA512_IV[5]|0,this.Dh=r.SHA512_IV[6]|0,this.Dl=r.SHA512_IV[7]|0,this.Eh=r.SHA512_IV[8]|0,this.El=r.SHA512_IV[9]|0,this.Fh=r.SHA512_IV[10]|0,this.Fl=r.SHA512_IV[11]|0,this.Gh=r.SHA512_IV[12]|0,this.Gl=r.SHA512_IV[13]|0,this.Hh=r.SHA512_IV[14]|0,this.Hl=r.SHA512_IV[15]|0}get(){let{Ah:e,Al:t,Bh:n,Bl:r,Ch:i,Cl:a,Dh:o,Dl:s,Eh:c,El:l,Fh:u,Fl:d,Gh:f,Gl:p,Hh:m,Hl:h}=this;return[e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h]}set(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h){this.Ah=e|0,this.Al=t|0,this.Bh=n|0,this.Bl=r|0,this.Ch=i|0,this.Cl=a|0,this.Dh=o|0,this.Dl=s|0,this.Eh=c|0,this.El=l|0,this.Fh=u|0,this.Fl=d|0,this.Gh=f|0,this.Gl=p|0,this.Hh=m|0,this.Hl=h|0}process(e,t){for(let n=0;n<16;n++,t+=4)p[n]=e.getUint32(t),m[n]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=p[e-15]|0,n=m[e-15]|0,r=i.rotrSH(t,n,1)^i.rotrSH(t,n,8)^i.shrSH(t,n,7),a=i.rotrSL(t,n,1)^i.rotrSL(t,n,8)^i.shrSL(t,n,7),o=p[e-2]|0,s=m[e-2]|0,c=i.rotrSH(o,s,19)^i.rotrBH(o,s,61)^i.shrSH(o,s,6),l=i.rotrSL(o,s,19)^i.rotrBL(o,s,61)^i.shrSL(o,s,6),u=i.add4L(a,l,m[e-7],m[e-16]),d=i.add4H(u,r,c,p[e-7],p[e-16]);p[e]=d|0,m[e]=u|0}let{Ah:n,Al:r,Bh:a,Bl:o,Ch:s,Cl:c,Dh:l,Dl:u,Eh:h,El:g,Fh:_,Fl:v,Gh:y,Gl:b,Hh:x,Hl:S}=this;for(let e=0;e<80;e++){let t=i.rotrSH(h,g,14)^i.rotrSH(h,g,18)^i.rotrBH(h,g,41),C=i.rotrSL(h,g,14)^i.rotrSL(h,g,18)^i.rotrBL(h,g,41),w=h&_^~h&y,T=g&v^~g&b,E=i.add5L(S,C,T,f[e],m[e]),D=i.add5H(E,x,t,w,d[e],p[e]),O=E|0,k=i.rotrSH(n,r,28)^i.rotrBH(n,r,34)^i.rotrBH(n,r,39),A=i.rotrSL(n,r,28)^i.rotrBL(n,r,34)^i.rotrBL(n,r,39),j=n&a^n&s^a&s,M=r&o^r&c^o&c;x=y|0,S=b|0,y=_|0,b=v|0,_=h|0,v=g|0,{h,l:g}=i.add(l|0,u|0,D|0,O|0),l=s|0,u=c|0,s=a|0,c=o|0,a=n|0,o=r|0;let N=i.add3L(O,A,M);n=i.add3H(N,D,k,j),r=N|0}({h:n,l:r}=i.add(this.Ah|0,this.Al|0,n|0,r|0)),{h:a,l:o}=i.add(this.Bh|0,this.Bl|0,a|0,o|0),{h:s,l:c}=i.add(this.Ch|0,this.Cl|0,s|0,c|0),{h:l,l:u}=i.add(this.Dh|0,this.Dl|0,l|0,u|0),{h,l:g}=i.add(this.Eh|0,this.El|0,h|0,g|0),{h:_,l:v}=i.add(this.Fh|0,this.Fl|0,_|0,v|0),{h:y,l:b}=i.add(this.Gh|0,this.Gl|0,y|0,b|0),{h:x,l:S}=i.add(this.Hh|0,this.Hl|0,x|0,S|0),this.set(n,r,a,o,s,c,l,u,h,g,_,v,y,b,x,S)}roundClean(){(0,a.clean)(p,m)}destroy(){(0,a.clean)(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}t.SHA512=h;class g extends h{constructor(){super(48),this.Ah=r.SHA384_IV[0]|0,this.Al=r.SHA384_IV[1]|0,this.Bh=r.SHA384_IV[2]|0,this.Bl=r.SHA384_IV[3]|0,this.Ch=r.SHA384_IV[4]|0,this.Cl=r.SHA384_IV[5]|0,this.Dh=r.SHA384_IV[6]|0,this.Dl=r.SHA384_IV[7]|0,this.Eh=r.SHA384_IV[8]|0,this.El=r.SHA384_IV[9]|0,this.Fh=r.SHA384_IV[10]|0,this.Fl=r.SHA384_IV[11]|0,this.Gh=r.SHA384_IV[12]|0,this.Gl=r.SHA384_IV[13]|0,this.Hh=r.SHA384_IV[14]|0,this.Hl=r.SHA384_IV[15]|0}}t.SHA384=g;let _=Uint32Array.from([2352822216,424955298,1944164710,2312950998,502970286,855612546,1738396948,1479516111,258812777,2077511080,2011393907,79989058,1067287976,1780299464,286451373,2446758561]),v=Uint32Array.from([573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882]);class y extends h{constructor(){super(28),this.Ah=_[0]|0,this.Al=_[1]|0,this.Bh=_[2]|0,this.Bl=_[3]|0,this.Ch=_[4]|0,this.Cl=_[5]|0,this.Dh=_[6]|0,this.Dl=_[7]|0,this.Eh=_[8]|0,this.El=_[9]|0,this.Fh=_[10]|0,this.Fl=_[11]|0,this.Gh=_[12]|0,this.Gl=_[13]|0,this.Hh=_[14]|0,this.Hl=_[15]|0}}t.SHA512_224=y;class b extends h{constructor(){super(32),this.Ah=v[0]|0,this.Al=v[1]|0,this.Bh=v[2]|0,this.Bl=v[3]|0,this.Ch=v[4]|0,this.Cl=v[5]|0,this.Dh=v[6]|0,this.Dl=v[7]|0,this.Eh=v[8]|0,this.El=v[9]|0,this.Fh=v[10]|0,this.Fl=v[11]|0,this.Gh=v[12]|0,this.Gl=v[13]|0,this.Hh=v[14]|0,this.Hl=v[15]|0}}t.SHA512_256=b,t.sha256=(0,a.createHasher)(()=>new c),t.sha224=(0,a.createHasher)(()=>new l),t.sha512=(0,a.createHasher)(()=>new h),t.sha384=(0,a.createHasher)(()=>new g),t.sha512_256=(0,a.createHasher)(()=>new b),t.sha512_224=(0,a.createHasher)(()=>new y)},3973(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.Hash=t.nextTick=t.swap32IfBE=t.byteSwapIfBE=t.swap8IfBE=t.isLE=void 0,t.isBytes=i,t.anumber=a,t.abytes=o,t.ahash=s,t.aexists=c,t.aoutput=l,t.u8=u,t.u32=d,t.clean=f,t.createView=p,t.rotr=m,t.rotl=h,t.byteSwap=g,t.byteSwap32=_,t.bytesToHex=b,t.hexToBytes=C,t.asyncLoop=w,t.utf8ToBytes=T,t.bytesToUtf8=E,t.toBytes=D,t.kdfInputToBytes=O,t.concatBytes=k,t.checkOpts=A,t.createHasher=M,t.createOptHasher=N,t.createXOFer=P,t.randomBytes=F;let r=n(2491);function i(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name===`Uint8Array`}function a(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, got `+e)}function o(e,...t){if(!i(e))throw Error(`Uint8Array expected`);if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length `+t+`, got length=`+e.length)}function s(e){if(typeof e!=`function`||typeof e.create!=`function`)throw Error(`Hash should be wrapped by utils.createHasher`);a(e.outputLen),a(e.blockLen)}function c(e,t=!0){if(e.destroyed)throw Error(`Hash instance has been destroyed`);if(t&&e.finished)throw Error(`Hash#digest() has already been called`)}function l(e,t){o(e);let n=t.outputLen;if(e.length<n)throw Error(`digestInto() expects output buffer of length at least `+n)}function u(e){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}function d(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function f(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function p(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function m(e,t){return e<<32-t|e>>>t}function h(e,t){return e<<t|e>>>32-t>>>0}t.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function g(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}t.swap8IfBE=t.isLE?e=>e:e=>g(e),t.byteSwapIfBE=t.swap8IfBE;function _(e){for(let t=0;t<e.length;t++)e[t]=g(e[t]);return e}t.swap32IfBE=t.isLE?e=>e:_;let v=typeof Uint8Array.from([]).toHex==`function`&&typeof Uint8Array.fromHex==`function`,y=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function b(e){if(o(e),v)return e.toHex();let t=``;for(let n=0;n<e.length;n++)t+=y[e[n]];return t}let x={_0:48,_9:57,A:65,F:70,a:97,f:102};function S(e){if(e>=x._0&&e<=x._9)return e-x._0;if(e>=x.A&&e<=x.F)return e-(x.A-10);if(e>=x.a&&e<=x.f)return e-(x.a-10)}function C(e){if(typeof e!=`string`)throw Error(`hex string expected, got `+typeof e);if(v)return Uint8Array.fromHex(e);let t=e.length,n=t/2;if(t%2)throw Error(`hex string expected, got unpadded hex of length `+t);let r=new Uint8Array(n);for(let t=0,i=0;t<n;t++,i+=2){let n=S(e.charCodeAt(i)),a=S(e.charCodeAt(i+1));if(n===void 0||a===void 0){let t=e[i]+e[i+1];throw Error(`hex string expected, got non-hex character "`+t+`" at index `+i)}r[t]=n*16+a}return r}t.nextTick=async()=>{};async function w(e,n,r){let i=Date.now();for(let a=0;a<e;a++){r(a);let e=Date.now()-i;e>=0&&e<n||(await(0,t.nextTick)(),i+=e)}}function T(e){if(typeof e!=`string`)throw Error(`string expected`);return new Uint8Array(new TextEncoder().encode(e))}function E(e){return new TextDecoder().decode(e)}function D(e){return typeof e==`string`&&(e=T(e)),o(e),e}function O(e){return typeof e==`string`&&(e=T(e)),o(e),e}function k(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];o(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}function A(e,t){if(t!==void 0&&{}.toString.call(t)!==`[object Object]`)throw Error(`options should be object or undefined`);return Object.assign(e,t)}class j{}t.Hash=j;function M(e){let t=t=>e().update(D(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function N(e){let t=(t,n)=>e(n).update(D(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t}function P(e){let t=(t,n)=>e(n).update(D(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t}t.wrapConstructor=M,t.wrapConstructorWithOpts=N,t.wrapXOFConstructorWithOpts=P;function F(e=32){if(r.crypto&&typeof r.crypto.getRandomValues==`function`)return r.crypto.getRandomValues(new Uint8Array(e));if(r.crypto&&typeof r.crypto.randomBytes==`function`)return Uint8Array.from(r.crypto.randomBytes(e));throw Error(`crypto.getRandomValues must be defined`)}},7801(e,t,n){var r=n(9964);function i(e){"@babel/helpers - typeof";return i=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},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=c(e,`string`);return i(t)===`symbol`?t:String(t)}function c(e,t){if(i(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(i(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function l(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}var u=n(5403).codes,d=u.ERR_AMBIGUOUS_ARGUMENT,f=u.ERR_INVALID_ARG_TYPE,p=u.ERR_INVALID_ARG_VALUE,m=u.ERR_INVALID_RETURN_VALUE,h=u.ERR_MISSING_ARGS,g=n(5416),_=n(7187).inspect,v=n(7187).types,y=v.isPromise,b=v.isRegExp,x=n(7596)(),S=n(9636)(),C=n(7913)(`RegExp.prototype.test`),w,T;function E(){var e=n(6781);w=e.isDeepEqual,T=e.isDeepStrictEqual}var D=!1,O=e.exports=N,k={};function A(e){throw e.message instanceof Error?e.message:new g(e)}function j(e,t,n,i,a){var o=arguments.length,s;if(o===0?s=`Failed`:o===1?(n=e,e=void 0):(D===!1&&(D=!0,(r.emitWarning?r.emitWarning:console.warn.bind(console))(`assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.`,`DeprecationWarning`,`DEP0094`)),o===2&&(i=`!=`)),n instanceof Error)throw n;var c={actual:e,expected:t,operator:i===void 0?`fail`:i,stackStartFn:a||j};n!==void 0&&(c.message=n);var l=new g(c);throw s&&(l.message=s,l.generatedMessage=!0),l}O.fail=j,O.AssertionError=g;function M(e,t,n,r){if(!n){var i=!1;if(t===0)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var a=new g({actual:n,expected:!0,message:r,operator:`==`,stackStartFn:e});throw a.generatedMessage=i,a}}function N(){var e=[...arguments];M.apply(void 0,[N,e.length].concat(e))}O.ok=N,O.equal=function e(t,n,r){if(arguments.length<2)throw new h(`actual`,`expected`);t!=n&&A({actual:t,expected:n,message:r,operator:`==`,stackStartFn:e})},O.notEqual=function e(t,n,r){if(arguments.length<2)throw new h(`actual`,`expected`);t==n&&A({actual:t,expected:n,message:r,operator:`!=`,stackStartFn:e})},O.deepEqual=function e(t,n,r){if(arguments.length<2)throw new h(`actual`,`expected`);w===void 0&&E(),w(t,n)||A({actual:t,expected:n,message:r,operator:`deepEqual`,stackStartFn:e})},O.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new h(`actual`,`expected`);w===void 0&&E(),w(t,n)&&A({actual:t,expected:n,message:r,operator:`notDeepEqual`,stackStartFn:e})},O.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h(`actual`,`expected`);w===void 0&&E(),T(t,n)||A({actual:t,expected:n,message:r,operator:`deepStrictEqual`,stackStartFn:e})},O.notDeepStrictEqual=P;function P(e,t,n){if(arguments.length<2)throw new h(`actual`,`expected`);w===void 0&&E(),T(e,t)&&A({actual:e,expected:t,message:n,operator:`notDeepStrictEqual`,stackStartFn:P})}O.strictEqual=function e(t,n,r){if(arguments.length<2)throw new h(`actual`,`expected`);S(t,n)||A({actual:t,expected:n,message:r,operator:`strictEqual`,stackStartFn:e})},O.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new h(`actual`,`expected`);S(t,n)&&A({actual:t,expected:n,message:r,operator:`notStrictEqual`,stackStartFn:e})};var F=o(function e(t,n,r){var i=this;l(this,e),n.forEach(function(e){e in t&&(i[e]=r!==void 0&&typeof r[e]==`string`&&b(t[e])&&C(t[e],r[e])?r[e]:t[e])})});function I(e,t,n,r,i,a){if(!(n in e)||!T(e[n],t[n])){if(!r){var o=new g({actual:new F(e,i),expected:new F(t,i,e),operator:`deepStrictEqual`,stackStartFn:a});throw o.actual=e,o.expected=t,o.operator=a.name,o}A({actual:e,expected:t,message:r,operator:a.name,stackStartFn:a})}}function L(e,t,n,r){if(typeof t!=`function`){if(b(t))return C(t,e);if(arguments.length===2)throw new f(`expected`,[`Function`,`RegExp`],t);if(i(e)!==`object`||e===null){var a=new g({actual:e,expected:t,message:n,operator:`deepStrictEqual`,stackStartFn:r});throw a.operator=r.name,a}var o=Object.keys(t);if(t instanceof Error)o.push(`name`,`message`);else if(o.length===0)throw new p(`error`,t,`may not be an empty object`);return w===void 0&&E(),o.forEach(function(i){typeof e[i]==`string`&&b(t[i])&&C(t[i],e[i])||I(e,t,i,n,o,r)}),!0}return t.prototype!==void 0&&e instanceof t||!Error.isPrototypeOf(t)&&t.call({},e)===!0}function R(e){if(typeof e!=`function`)throw new f(`fn`,`Function`,e);try{e()}catch(e){return e}return k}function z(e){return y(e)||e!==null&&i(e)===`object`&&typeof e.then==`function`&&typeof e.catch==`function`}function B(e){return Promise.resolve().then(function(){var t;if(typeof e==`function`){if(t=e(),!z(t))throw new m(`instance of Promise`,`promiseFn`,t)}else if(z(e))t=e;else throw new f(`promiseFn`,[`Function`,`Promise`],e);return Promise.resolve().then(function(){return t}).then(function(){return k}).catch(function(e){return e})})}function ee(e,t,n,r){if(typeof n==`string`){if(arguments.length===4)throw new f(`error`,[`Object`,`Error`,`Function`,`RegExp`],n);if(i(t)===`object`&&t!==null){if(t.message===n)throw new d(`error/message`,`The error message "${t.message}" is identical to the message.`)}else if(t===n)throw new d(`error/message`,`The error "${t}" is identical to the message.`);r=n,n=void 0}else if(n!=null&&i(n)!==`object`&&typeof n!=`function`)throw new f(`error`,[`Object`,`Error`,`Function`,`RegExp`],n);if(t===k){var a=``;n&&n.name&&(a+=` (${n.name})`),a+=r?`: ${r}`:`.`;var o=e.name===`rejects`?`rejection`:`exception`;A({actual:void 0,expected:n,operator:e.name,message:`Missing expected ${o}${a}`,stackStartFn:e})}if(n&&!L(t,n,r,e))throw t}function te(e,t,n,r){if(t!==k){if(typeof n==`string`&&(r=n,n=void 0),!n||L(t,n)){var i=r?`: ${r}`:`.`,a=e.name===`doesNotReject`?`rejection`:`exception`;A({actual:t,expected:n,operator:e.name,message:`Got unwanted ${a}${i}
|
|
152
|
+
Actual message: "${t&&t.message}"`,stackStartFn:e})}throw t}}O.throws=function e(t){var n=[...arguments].slice(1);ee.apply(void 0,[e,R(t)].concat(n))},O.rejects=function e(t){var n=[...arguments].slice(1);return B(t).then(function(t){return ee.apply(void 0,[e,t].concat(n))})},O.doesNotThrow=function e(t){var n=[...arguments].slice(1);te.apply(void 0,[e,R(t)].concat(n))},O.doesNotReject=function e(t){var n=[...arguments].slice(1);return B(t).then(function(t){return te.apply(void 0,[e,t].concat(n))})},O.ifError=function e(t){if(t!=null){var n=`ifError got unwanted exception: `;i(t)===`object`&&typeof t.message==`string`?t.message.length===0&&t.constructor?n+=t.constructor.name:n+=t.message:n+=_(t);var r=new g({actual:t,expected:null,operator:`ifError`,message:n,stackStartFn:e}),a=t.stack;if(typeof a==`string`){var o=a.split(`
|
|
153
|
+
`);o.shift();for(var s=r.stack.split(`
|
|
154
|
+
`),c=0;c<o.length;c++){var l=s.indexOf(o[c]);if(l!==-1){s=s.slice(0,l);break}}r.stack=`${s.join(`
|
|
155
|
+
`)}
|
|
156
|
+
${o.join(`
|
|
157
|
+
`)}`}throw r}};function ne(e,t,n,r,a){if(!b(t))throw new f(`regexp`,`RegExp`,t);var o=a===`match`;if(typeof e!=`string`||C(t,e)!==o){if(n instanceof Error)throw n;var s=!n;n||=typeof e==`string`?(o?`The input did not match the regular expression `:`The input was expected to not match the regular expression `)+`${_(t)}. Input:
|
|
158
|
+
|
|
159
|
+
${_(e)}
|
|
160
|
+
`:`The "string" argument must be of type string. Received type ${i(e)} (${_(e)})`;var c=new g({actual:e,expected:t,message:n,operator:a,stackStartFn:r});throw c.generatedMessage=s,c}}O.match=function e(t,n,r){ne(t,n,r,e,`match`)},O.doesNotMatch=function e(t,n,r){ne(t,n,r,e,`doesNotMatch`)};function V(){var e=[...arguments];M.apply(void 0,[V,e.length].concat(e))}O.strict=x(V,O,{equal:O.strictEqual,deepEqual:O.deepStrictEqual,notEqual:O.notStrictEqual,notDeepEqual:O.notDeepStrictEqual}),O.strict.strict=O.strict},5416(e,t,n){var r=n(9964);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?i(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t,n){return t=u(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e){var t=d(e,`string`);return S(t)===`symbol`?t:String(t)}function d(e,t){if(S(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(S(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function f(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function p(e){var t=v();return function(){var n=x(e),r;if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){if(t&&(S(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return h(e)}function h(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function g(e){var t=typeof Map==`function`?new Map:void 0;return g=function(e){if(e===null||!y(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _(e,arguments,x(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),b(n,e)},g(e)}function _(e,t,n){return _=v()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&b(i,n.prototype),i},_.apply(null,arguments)}function v(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function y(e){return Function.toString.call(e).indexOf(`[native code]`)!==-1}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function S(e){"@babel/helpers - typeof";return S=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},S(e)}var C=n(7187).inspect,w=n(5403).codes.ERR_INVALID_ARG_TYPE;function T(e,t,n){return(n===void 0||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function E(e,t){if(t=Math.floor(t),e.length==0||t==0)return``;var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+=e.substring(0,n-e.length),e}var D=``,O=``,k=``,A=``,j={deepStrictEqual:`Expected values to be strictly deep-equal:`,strictEqual:`Expected values to be strictly equal:`,strictEqualObject:`Expected "actual" to be reference-equal to "expected":`,deepEqual:`Expected values to be loosely deep-equal:`,equal:`Expected values to be loosely equal:`,notDeepStrictEqual:`Expected "actual" not to be strictly deep-equal to:`,notStrictEqual:`Expected "actual" to be strictly unequal to:`,notStrictEqualObject:`Expected "actual" not to be reference-equal to "expected":`,notDeepEqual:`Expected "actual" not to be loosely deep-equal to:`,notEqual:`Expected "actual" to be loosely unequal to:`,notIdentical:`Values identical but not reference-equal:`},M=10;function N(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach(function(t){n[t]=e[t]}),Object.defineProperty(n,"message",{value:e.message}),n}function P(e){return C(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function F(e,t,n){var i=``,a=``,o=0,s=``,c=!1,l=P(e),u=l.split(`
|
|
161
|
+
`),d=P(t).split(`
|
|
162
|
+
`),f=0,p=``;if(n===`strictEqual`&&S(e)===`object`&&S(t)===`object`&&e!==null&&t!==null&&(n=`strictEqualObject`),u.length===1&&d.length===1&&u[0]!==d[0]){var m=u[0].length+d[0].length;if(m<=M){if((S(e)!==`object`||e===null)&&(S(t)!==`object`||t===null)&&(e!==0||t!==0))return`${j[n]}
|
|
163
|
+
|
|
164
|
+
${u[0]} !== ${d[0]}
|
|
165
|
+
`}else if(n!==`strictEqualObject`&&m<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;u[0][f]===d[0][f];)f++;f>2&&(p=`
|
|
166
|
+
${E(` `,f)}^`,f=0)}}for(var h=u[u.length-1],g=d[d.length-1];h===g&&(f++<2?s=`
|
|
167
|
+
${h}${s}`:i=h,u.pop(),d.pop(),u.length!==0&&d.length!==0);)h=u[u.length-1],g=d[d.length-1];var _=Math.max(u.length,d.length);if(_===0){var v=l.split(`
|
|
168
|
+
`);if(v.length>30)for(v[26]=`${D}...${A}`;v.length>27;)v.pop();return`${j.notIdentical}
|
|
169
|
+
|
|
170
|
+
${v.join(`
|
|
171
|
+
`)}
|
|
172
|
+
`}f>3&&(s=`
|
|
173
|
+
${D}...${A}${s}`,c=!0),i!==``&&(s=`
|
|
174
|
+
${i}${s}`,i=``);var y=0,b=j[n]+`
|
|
175
|
+
${O}+ actual${A} ${k}- expected${A}`,x=` ${D}...${A} Lines skipped`;for(f=0;f<_;f++){var C=f-o;if(u.length<f+1)C>1&&f>2&&(C>4?(a+=`
|
|
176
|
+
${D}...${A}`,c=!0):C>3&&(a+=`
|
|
177
|
+
${d[f-2]}`,y++),a+=`
|
|
178
|
+
${d[f-1]}`,y++),o=f,i+=`
|
|
179
|
+
${k}-${A} ${d[f]}`,y++;else if(d.length<f+1)C>1&&f>2&&(C>4?(a+=`
|
|
180
|
+
${D}...${A}`,c=!0):C>3&&(a+=`
|
|
181
|
+
${u[f-2]}`,y++),a+=`
|
|
182
|
+
${u[f-1]}`,y++),o=f,a+=`
|
|
183
|
+
${O}+${A} ${u[f]}`,y++;else{var w=d[f],N=u[f],F=N!==w&&(!T(N,`,`)||N.slice(0,-1)!==w);F&&T(w,`,`)&&w.slice(0,-1)===N&&(F=!1,N+=`,`),F?(C>1&&f>2&&(C>4?(a+=`
|
|
184
|
+
${D}...${A}`,c=!0):C>3&&(a+=`
|
|
185
|
+
${u[f-2]}`,y++),a+=`
|
|
186
|
+
${u[f-1]}`,y++),o=f,a+=`
|
|
187
|
+
${O}+${A} ${N}`,i+=`
|
|
188
|
+
${k}-${A} ${w}`,y+=2):(a+=i,i=``,(C===1||f===0)&&(a+=`
|
|
189
|
+
${N}`,y++))}if(y>20&&f<_-2)return`${b}${x}
|
|
190
|
+
${a}
|
|
191
|
+
${D}...${A}${i}
|
|
192
|
+
${D}...${A}`}return`${b}${c?x:``}
|
|
193
|
+
${a}${i}${s}${p}`}e.exports=function(e,t){f(i,e);var n=p(i);function i(e){var t;if(s(this,i),S(e)!==`object`||e===null)throw new w(`options`,`Object`,e);var a=e.message,o=e.operator,c=e.stackStartFn,l=e.actual,u=e.expected,d=Error.stackTraceLimit;if(Error.stackTraceLimit=0,a!=null)t=n.call(this,String(a));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&r.stderr.getColorDepth()!==1?(D=`\x1B[34m`,O=`\x1B[32m`,A=`\x1B[39m`,k=`\x1B[31m`):(D=``,O=``,A=``,k=``)),S(l)===`object`&&l!==null&&S(u)===`object`&&u!==null&&`stack`in l&&l instanceof Error&&`stack`in u&&u instanceof Error&&(l=N(l),u=N(u)),o===`deepStrictEqual`||o===`strictEqual`)t=n.call(this,F(l,u,o));else if(o===`notDeepStrictEqual`||o===`notStrictEqual`){var f=j[o],p=P(l).split(`
|
|
194
|
+
`);if(o===`notStrictEqual`&&S(l)===`object`&&l!==null&&(f=j.notStrictEqualObject),p.length>30)for(p[26]=`${D}...${A}`;p.length>27;)p.pop();t=p.length===1?n.call(this,`${f} ${p[0]}`):n.call(this,`${f}
|
|
195
|
+
|
|
196
|
+
${p.join(`
|
|
197
|
+
`)}
|
|
198
|
+
`)}else{var g=P(l),_=``,v=j[o];o===`notDeepEqual`||o===`notEqual`?(g=`${j[o]}
|
|
199
|
+
|
|
200
|
+
${g}`,g.length>1024&&(g=`${g.slice(0,1021)}...`)):(_=`${P(u)}`,g.length>512&&(g=`${g.slice(0,509)}...`),_.length>512&&(_=`${_.slice(0,509)}...`),o===`deepEqual`||o===`equal`?g=`${v}
|
|
201
|
+
|
|
202
|
+
${g}
|
|
203
|
+
|
|
204
|
+
should equal
|
|
205
|
+
|
|
206
|
+
`:_=` ${o} ${_}`),t=n.call(this,`${g}${_}`)}return Error.stackTraceLimit=d,t.generatedMessage=!a,Object.defineProperty(h(t),"name",{value:`AssertionError [ERR_ASSERTION]`,enumerable:!1,writable:!0,configurable:!0}),t.code=`ERR_ASSERTION`,t.actual=l,t.expected=u,t.operator=o,Error.captureStackTrace&&Error.captureStackTrace(h(t),c),t.stack,t.name=`AssertionError`,m(t)}return l(i,[{key:`toString`,value:function(){return`${this.name} [${this.code}]: ${this.message}`}},{key:t,value:function(e,t){return C(this,a(a({},t),{},{customInspect:!1,depth:0}))}}]),i}(g(Error),C.custom)},5403(e,t,n){function r(e){"@babel/helpers - typeof";return r=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},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=s(e,`string`);return r(t)===`symbol`?t:String(t)}function s(e,t){if(r(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||`default`);if(r(i)!==`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function c(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function l(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=m();return function(){var n=h(e),r;if(t){var i=h(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){if(t&&(r(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return p(e)}function p(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function m(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var g={},_,v;function y(e,t,n){n||=Error;function r(e,n,r){return typeof t==`string`?t:t(e,n,r)}g[e]=function(t){l(i,t);var n=d(i);function i(t,a,o){var s;return c(this,i),s=n.call(this,r(t,a,o)),s.code=e,s}return a(i)}(n)}function b(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?`one of ${t} ${e.slice(0,n-1).join(`, `)}, or `+e[n-1]:n===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}function x(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function S(e,t,n){return(n===void 0||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function C(e,t,n){return typeof n!=`number`&&(n=0),n+t.length>e.length?!1:e.indexOf(t,n)!==-1}y(`ERR_AMBIGUOUS_ARGUMENT`,`The "%s" argument is ambiguous. %s`,TypeError),y(`ERR_INVALID_ARG_TYPE`,function(e,t,i){_===void 0&&(_=n(7801)),_(typeof e==`string`,`'name' must be a string`);var a;typeof t==`string`&&x(t,`not `)?(a=`must not be`,t=t.replace(/^not /,``)):a=`must be`;var o=S(e,` argument`)?`The ${e} ${a} ${b(t,`type`)}`:`The "${e}" ${C(e,`.`)?`property`:`argument`} ${a} ${b(t,`type`)}`;return o+=`. Received type ${r(i)}`,o},TypeError),y(`ERR_INVALID_ARG_VALUE`,function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`is invalid`;v===void 0&&(v=n(7187));var i=v.inspect(t);return i.length>128&&(i=`${i.slice(0,128)}...`),`The argument '${e}' ${r}. Received ${i}`},TypeError,RangeError),y(`ERR_INVALID_RETURN_VALUE`,function(e,t,n){return`Expected ${e} to be returned from the "${t}" function but got ${n&&n.constructor&&n.constructor.name?`instance of ${n.constructor.name}`:`type ${r(n)}`}.`},TypeError),y(`ERR_MISSING_ARGS`,function(){var e=[...arguments];_===void 0&&(_=n(7801)),_(e.length>0,`At least one arg needs to be specified`);var t=`The `,r=e.length;switch(e=e.map(function(e){return`"${e}"`}),r){case 1:t+=`${e[0]} argument`;break;case 2:t+=`${e[0]} and ${e[1]} arguments`;break;default:t+=e.slice(0,r-1).join(`, `),t+=`, and ${e[r-1]} arguments`}return`${t} must be specified`},TypeError),e.exports.codes=g},6781(e,t,n){function r(e,t){return c(e)||s(e,t)||a(e,t)||i()}function i(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
207
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(e,t){if(e){if(typeof e==`string`)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}}function o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function c(e){if(Array.isArray(e))return e}function l(e){"@babel/helpers - typeof";return l=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},l(e)}var u=/a/g.flags!==void 0,d=function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t},f=function(e){var t=[];return e.forEach(function(e,n){return t.push([n,e])}),t},p=Object.is?Object.is:n(8527),m=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},h=Number.isNaN?Number.isNaN:n(7051);function g(e){return e.call.bind(e)}var _=g(Object.prototype.hasOwnProperty),v=g(Object.prototype.propertyIsEnumerable),y=g(Object.prototype.toString),b=n(7187).types,x=b.isAnyArrayBuffer,S=b.isArrayBufferView,C=b.isDate,w=b.isMap,T=b.isRegExp,E=b.isSet,D=b.isNativeError,O=b.isBoxedPrimitive,k=b.isNumberObject,A=b.isStringObject,j=b.isBooleanObject,M=b.isBigIntObject,N=b.isSymbolObject,P=b.isFloat32Array,F=b.isFloat64Array;function I(e){if(e.length===0||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return e.length===10&&e>=2**32}function L(e){return Object.keys(e).filter(I).concat(m(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function R(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)}var z=void 0,B=!0,ee=!1,te=0,ne=1,V=2,re=3;function ie(e,t){return u?e.source===t.source&&e.flags===t.flags:RegExp.prototype.toString.call(e)===RegExp.prototype.toString.call(t)}function ae(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}function oe(e,t){return e.byteLength===t.byteLength&&R(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))===0}function se(e,t){return e.byteLength===t.byteLength&&R(new Uint8Array(e),new Uint8Array(t))===0}function ce(e,t){return k(e)?k(t)&&p(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):A(e)?A(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):j(e)?j(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):M(e)?M(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):N(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}function H(e,t,n,r){if(e===t)return e!==0||!n||p(e,t);if(n){if(l(e)!==`object`)return typeof e==`number`&&h(e)&&h(t);if(l(t)!==`object`||e===null||t===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(e===null||l(e)!==`object`)return t===null||l(t)!==`object`?e==t:!1;if(t===null||l(t)!==`object`)return!1}var i=y(e);if(i!==y(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var a=L(e,z),o=L(t,z);return a.length===o.length&&ue(e,t,n,r,ne,a)}if(i===`[object Object]`&&(!w(e)&&w(t)||!E(e)&&E(t)))return!1;if(C(e)){if(!C(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(T(e)){if(!T(t)||!ie(e,t))return!1}else if(D(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else if(S(e)){if(!n&&(P(e)||F(e))){if(!ae(e,t))return!1}else if(!oe(e,t))return!1;var s=L(e,z),c=L(t,z);return s.length===c.length&&ue(e,t,n,r,te,s)}else if(E(e))return!E(t)||e.size!==t.size?!1:ue(e,t,n,r,V);else if(w(e))return!w(t)||e.size!==t.size?!1:ue(e,t,n,r,re);else if(x(e)){if(!se(e,t))return!1}else if(O(e)&&!ce(e,t))return!1;return ue(e,t,n,r,te)}function le(e,t){return t.filter(function(t){return v(e,t)})}function ue(e,t,n,r,i,a){if(arguments.length===5){a=Object.keys(e);var o=Object.keys(t);if(a.length!==o.length)return!1}for(var s=0;s<a.length;s++)if(!_(t,a[s]))return!1;if(n&&arguments.length===5){var c=m(e);if(c.length!==0){var l=0;for(s=0;s<c.length;s++){var u=c[s];if(v(e,u)){if(!v(t,u))return!1;a.push(u),l++}else if(v(t,u))return!1}var d=m(t);if(c.length!==d.length&&le(t,d).length!==l)return!1}else{var f=m(t);if(f.length!==0&&le(t,f).length!==0)return!1}}if(a.length===0&&(i===te||i===ne&&e.length===0||e.size===0))return!0;if(r===void 0)r={val1:new Map,val2:new Map,position:0};else{var p=r.val1.get(e);if(p!==void 0){var h=r.val2.get(t);if(h!==void 0)return p===h}r.position++}r.val1.set(e,r.position),r.val2.set(t,r.position);var g=J(e,t,n,a,r,i);return r.val1.delete(e),r.val2.delete(t),g}function U(e,t,n,r){for(var i=d(e),a=0;a<i.length;a++){var o=i[a];if(H(t,o,n,r))return e.delete(o),!0}return!1}function W(e){switch(l(e)){case`undefined`:return null;case`object`:return;case`symbol`:return!1;case`string`:e=+e;case`number`:if(h(e))return!1}return!0}function G(e,t,n){var r=W(n);return r??(t.has(r)&&!e.has(r))}function de(e,t,n,r,i){var a=W(n);if(a!=null)return a;var o=t.get(a);return o===void 0&&!t.has(a)||!H(r,o,!1,i)?!1:!e.has(a)&&H(r,o,!1,i)}function fe(e,t,n,r){for(var i=null,a=d(e),o=0;o<a.length;o++){var s=a[o];if(l(s)===`object`&&s!==null)i===null&&(i=new Set),i.add(s);else if(!t.has(s)){if(n||!G(e,t,s))return!1;i===null&&(i=new Set),i.add(s)}}if(i!==null){for(var c=d(t),u=0;u<c.length;u++){var f=c[u];if(l(f)===`object`&&f!==null){if(!U(i,f,n,r))return!1}else if(!n&&!e.has(f)&&!U(i,f,n,r))return!1}return i.size===0}return!0}function K(e,t,n,r,i,a){for(var o=d(e),s=0;s<o.length;s++){var c=o[s];if(H(n,c,i,a)&&H(r,t.get(c),i,a))return e.delete(c),!0}return!1}function q(e,t,n,i){for(var a=null,o=f(e),s=0;s<o.length;s++){var c=r(o[s],2),u=c[0],d=c[1];if(l(u)===`object`&&u!==null)a===null&&(a=new Set),a.add(u);else{var p=t.get(u);if(p===void 0&&!t.has(u)||!H(d,p,n,i)){if(n||!de(e,t,u,d,i))return!1;a===null&&(a=new Set),a.add(u)}}}if(a!==null){for(var m=f(t),h=0;h<m.length;h++){var g=r(m[h],2),_=g[0],v=g[1];if(l(_)===`object`&&_!==null){if(!K(a,e,_,v,n,i))return!1}else if(!n&&(!e.has(_)||!H(e.get(_),v,!1,i))&&!K(a,e,_,v,!1,i))return!1}return a.size===0}return!0}function J(e,t,n,r,i,a){var o=0;if(a===V){if(!fe(e,t,n,i))return!1}else if(a===re){if(!q(e,t,n,i))return!1}else if(a===ne)for(;o<e.length;o++)if(_(e,o)){if(!_(t,o)||!H(e[o],t[o],n,i))return!1}else if(_(t,o))return!1;else{for(var s=Object.keys(e);o<s.length;o++){var c=s[o];if(!_(t,c)||!H(e[c],t[c],n,i))return!1}return s.length===Object.keys(t).length}for(o=0;o<r.length;o++){var l=r[o];if(!H(e[l],t[l],n,i))return!1}return!0}function Y(e,t){return H(e,t,ee)}function pe(e,t){return H(e,t,B)}e.exports={isDeepEqual:Y,isDeepStrictEqual:pe}},2504(e,t){t.byteLength=l,t.toByteArray=d,t.fromByteArray=m;for(var n=[],r=[],i=typeof Uint8Array<`u`?Uint8Array:Array,a=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,o=0,s=a.length;o<s;++o)n[o]=a[o],r[a.charCodeAt(o)]=o;r[45]=62,r[95]=63;function c(e){var t=e.length;if(t%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var n=e.indexOf(`=`);n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function l(e){var t=c(e),n=t[0],r=t[1];return(n+r)*3/4-r}function u(e,t,n){return(t+n)*3/4-n}function d(e){for(var t,n=c(e),a=n[0],o=n[1],s=new i(u(e,a,o)),l=0,d=o>0?a-4:a,f=0;f<d;f+=4)t=r[e.charCodeAt(f)]<<18|r[e.charCodeAt(f+1)]<<12|r[e.charCodeAt(f+2)]<<6|r[e.charCodeAt(f+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=t&255;return o===2&&(t=r[e.charCodeAt(f)]<<2|r[e.charCodeAt(f+1)]>>4,s[l++]=t&255),o===1&&(t=r[e.charCodeAt(f)]<<10|r[e.charCodeAt(f+1)]<<4|r[e.charCodeAt(f+2)]>>2,s[l++]=t>>8&255,s[l++]=t&255),s}function f(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[e&63]}function p(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(f(r));return i.join(``)}function m(e){for(var t,r=e.length,i=r%3,a=[],o=16383,s=0,c=r-i;s<c;s+=o)a.push(p(e,s,s+o>c?c:s+o));return i===1?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+`==`)):i===2&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+`=`)),a.join(``)}},4097(e){var t=4096,n=2*t+32,r=2*t-1,i=new Uint32Array([0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215]);function a(e){this.buf_=new Uint8Array(n),this.input_=e,this.reset()}a.READ_SIZE=t,a.IBUF_MASK=r,a.prototype.reset=function(){this.buf_ptr_=0,this.val_=0,this.pos_=0,this.bit_pos_=0,this.bit_end_pos_=0,this.eos_=0,this.readMoreInput();for(var e=0;e<4;e++)this.val_|=this.buf_[this.pos_]<<8*e,++this.pos_;return this.bit_end_pos_>0},a.prototype.readMoreInput=function(){if(!(this.bit_end_pos_>256)){if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw Error(`Unexpected end of input `+this.bit_pos_+` `+this.bit_end_pos_)}else{var e=this.buf_ptr_,n=this.input_.read(this.buf_,e,t);if(n<0)throw Error(`Unexpected end of input`);if(n<t){this.eos_=1;for(var r=0;r<32;r++)this.buf_[e+n+r]=0}if(e===0){for(var r=0;r<32;r++)this.buf_[(t<<1)+r]=this.buf_[r];this.buf_ptr_=t}else this.buf_ptr_=0;this.bit_end_pos_+=n<<3}}},a.prototype.fillBitWindow=function(){for(;this.bit_pos_>=8;)this.val_>>>=8,this.val_|=this.buf_[this.pos_&r]<<24,++this.pos_,this.bit_pos_=this.bit_pos_-8>>>0,this.bit_end_pos_=this.bit_end_pos_-8>>>0},a.prototype.readBits=function(e){32-this.bit_pos_<e&&this.fillBitWindow();var t=this.val_>>>this.bit_pos_&i[e];return this.bit_pos_+=e,t},e.exports=a},7043(e,t){t.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,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2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,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,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,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,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,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,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,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,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,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,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},980(e,t,n){var r=n(8197).z,i=n(8197).y,a=n(4097),o=n(614),s=n(1561).z,c=n(1561).u,l=n(7043),u=n(2210),d=n(7984),f=8,p=16,m=256,h=704,g=26,_=6,v=2,y=8,b=255,x=1080,S=18,C=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),w=16,T=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]),E=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),D=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function O(e){var t;return e.readBits(1)===0?16:(t=e.readBits(3),t>0?17+t:(t=e.readBits(3),t>0?8+t:17))}function k(e){if(e.readBits(1)){var t=e.readBits(3);return t===0?1:e.readBits(t)+(1<<t)}return 0}function A(){this.meta_block_length=0,this.input_end=0,this.is_uncompressed=0,this.is_metadata=!1}function j(e){var t=new A,n,r,i;if(t.input_end=e.readBits(1),t.input_end&&e.readBits(1))return t;if(n=e.readBits(2)+4,n===7){if(t.is_metadata=!0,e.readBits(1)!==0)throw Error(`Invalid reserved bit`);if(r=e.readBits(2),r===0)return t;for(i=0;i<r;i++){var a=e.readBits(8);if(i+1===r&&r>1&&a===0)throw Error(`Invalid size byte`);t.meta_block_length|=a<<i*8}}else for(i=0;i<n;++i){var o=e.readBits(4);if(i+1===n&&n>4&&o===0)throw Error(`Invalid size nibble`);t.meta_block_length|=o<<i*4}return++t.meta_block_length,!t.input_end&&!t.is_metadata&&(t.is_uncompressed=e.readBits(1)),t}function M(e,t,n){var r;return n.fillBitWindow(),t+=n.val_>>>n.bit_pos_&b,r=e[t].bits-y,r>0&&(n.bit_pos_+=y,t+=e[t].value,t+=n.val_>>>n.bit_pos_&(1<<r)-1),n.bit_pos_+=e[t].bits,e[t].value}function N(e,t,n,r){for(var i=0,a=f,o=0,l=0,u=32768,d=[],m=0;m<32;m++)d.push(new s(0,0));for(c(d,0,5,e,S);i<t&&u>0;){var h=0,g;if(r.readMoreInput(),r.fillBitWindow(),h+=r.val_>>>r.bit_pos_&31,r.bit_pos_+=d[h].bits,g=d[h].value&255,g<p)o=0,n[i++]=g,g!==0&&(a=g,u-=32768>>g);else{var _=g-14,v,y,b=0;if(g===p&&(b=a),l!==b&&(o=0,l=b),v=o,o>0&&(o-=2,o<<=_),o+=r.readBits(_)+3,y=o-v,i+y>t)throw Error(`[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols`);for(var x=0;x<y;x++)n[i+x]=l;i+=y,l!==0&&(u-=y<<15-l)}}if(u!==0)throw Error(`[ReadHuffmanCodeLengths] space = `+u);for(;i<t;i++)n[i]=0}function P(e,t,n,r){var i=0,a,o=new Uint8Array(e);if(r.readMoreInput(),a=r.readBits(2),a===1){for(var l,u=e-1,d=0,f=new Int32Array(4),p=r.readBits(2)+1;u;)u>>=1,++d;for(l=0;l<p;++l)f[l]=r.readBits(d)%e,o[f[l]]=2;switch(o[f[0]]=1,p){case 1:break;case 3:if(f[0]===f[1]||f[0]===f[2]||f[1]===f[2])throw Error(`[ReadHuffmanCode] invalid symbols`);break;case 2:if(f[0]===f[1])throw Error(`[ReadHuffmanCode] invalid symbols`);o[f[1]]=1;break;case 4:if(f[0]===f[1]||f[0]===f[2]||f[0]===f[3]||f[1]===f[2]||f[1]===f[3]||f[2]===f[3])throw Error(`[ReadHuffmanCode] invalid symbols`);r.readBits(1)?(o[f[2]]=3,o[f[3]]=3):o[f[0]]=2}}else{var l,m=new Uint8Array(S),h=32,g=0,_=[new s(2,0),new s(2,4),new s(2,3),new s(3,2),new s(2,0),new s(2,4),new s(2,3),new s(4,1),new s(2,0),new s(2,4),new s(2,3),new s(3,2),new s(2,0),new s(2,4),new s(2,3),new s(4,5)];for(l=a;l<S&&h>0;++l){var v=C[l],b=0,x;r.fillBitWindow(),b+=r.val_>>>r.bit_pos_&15,r.bit_pos_+=_[b].bits,x=_[b].value,m[v]=x,x!==0&&(h-=32>>x,++g)}if(g!==1&&h!==0)throw Error(`[ReadHuffmanCode] invalid num_codes or space`);N(m,e,o,r)}if(i=c(t,n,y,o,e),i===0)throw Error(`[ReadHuffmanCode] BuildHuffmanTable failed: `);return i}function F(e,t,n){var r=M(e,t,n),i=u.kBlockLengthPrefixCode[r].nbits;return u.kBlockLengthPrefixCode[r].offset+n.readBits(i)}function I(e,t,n){var r;return e<w?(n+=T[e],n&=3,r=t[n]+E[e]):r=e-w+1,r}function L(e,t){for(var n=e[t],r=t;r;--r)e[r]=e[r-1];e[0]=n}function R(e,t){for(var n=new Uint8Array(256),r=0;r<256;++r)n[r]=r;for(r=0;r<t;++r){var i=e[r];e[r]=n[i],i&&L(n,i)}}function z(e,t){this.alphabet_size=e,this.num_htrees=t,this.codes=Array(t+t*D[e+31>>>5]),this.htrees=new Uint32Array(t)}z.prototype.decode=function(e){var t,n,r=0;for(t=0;t<this.num_htrees;++t)this.htrees[t]=r,n=P(this.alphabet_size,this.codes,r,e),r+=n};function B(e,t){var n={num_htrees:null,context_map:null},r,i=0,a,o;t.readMoreInput();var c=n.num_htrees=k(t)+1,l=n.context_map=new Uint8Array(e);if(c<=1)return n;for(r=t.readBits(1),r&&(i=t.readBits(4)+1),a=[],o=0;o<x;o++)a[o]=new s(0,0);for(P(c+i,a,0,t),o=0;o<e;){var u;if(t.readMoreInput(),u=M(a,0,t),u===0)l[o]=0,++o;else if(u<=i)for(var d=1+(1<<u)+t.readBits(u);--d;){if(o>=e)throw Error(`[DecodeContextMap] i >= context_map_size`);l[o]=0,++o}else l[o]=u-i,++o}return t.readBits(1)&&R(l,e),n}function ee(e,t,n,r,i,a,o){var s=n*2,c=n,l=M(t,n*x,o),u=l===0?i[s+(a[c]&1)]:l===1?i[s+(a[c]-1&1)]+1:l-2;u>=e&&(u-=e),r[n]=u,i[s+(a[c]&1)]=u,++a[c]}function te(e,t,n,r,i,o){var s=i+1,c=n&i,l=o.pos_&a.IBUF_MASK,u;if(t<8||o.bit_pos_+(t<<3)<o.bit_end_pos_){for(;t-->0;)o.readMoreInput(),r[c++]=o.readBits(8),c===s&&(e.write(r,s),c=0);return}if(o.bit_end_pos_<32)throw Error(`[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32`);for(;o.bit_pos_<32;)r[c]=o.val_>>>o.bit_pos_,o.bit_pos_+=8,++c,--t;if(u=o.bit_end_pos_-o.bit_pos_>>3,l+u>a.IBUF_MASK){for(var d=a.IBUF_MASK+1-l,f=0;f<d;f++)r[c+f]=o.buf_[l+f];u-=d,c+=d,t-=d,l=0}for(var f=0;f<u;f++)r[c+f]=o.buf_[l+f];if(c+=u,t-=u,c>=s){e.write(r,s),c-=s;for(var f=0;f<c;f++)r[f]=r[s+f]}for(;c+t>=s;){if(u=s-c,o.input_.read(r,c,u)<u)throw Error(`[CopyUncompressedBlockToOutput] not enough bytes`);e.write(r,s),t-=u,c=0}if(o.input_.read(r,c,t)<t)throw Error(`[CopyUncompressedBlockToOutput] not enough bytes`);o.reset()}function ne(e){var t=e.bit_pos_+7&-8;return e.readBits(t-e.bit_pos_)==0}function V(e){var t=new a(new r(e));return O(t),j(t).meta_block_length}function re(e,t){var n=new r(e);t??=V(e);var a=new i(new Uint8Array(t));return ie(n,a),a.pos<a.buffer.length&&(a.buffer=a.buffer.subarray(0,a.pos)),a.buffer}t.BrotliDecompressBuffer=re;function ie(e,t){var n,r=0,i=0,c=0,f,p=0,y,b,S,C,T=[16,15,11,4],E=0,D=0,A=0,N=[new z(0,0),new z(0,0),new z(0,0)],L,R,V,re=128+a.READ_SIZE;V=new a(e),c=O(V),f=(1<<c)-16,y=1<<c,b=y-1,S=new Uint8Array(y+re+o.maxDictionaryWordLength),C=y,L=[],R=[];for(var ie=0;ie<3*x;ie++)L[ie]=new s(0,0),R[ie]=new s(0,0);for(;!i;){var ae=0,oe,se=[1<<28,1<<28,1<<28],ce=[0],H=[1,1,1],le=[0,1,0,1,0,1],ue=[0],U,W,G,de,fe=null,K=null,q,J=null,Y,pe=0,me=null,X=0,he=0,ge=null,_e=0,ve=0,ye=0,be,xe;for(n=0;n<3;++n)N[n].codes=null,N[n].htrees=null;V.readMoreInput();var Se=j(V);if(ae=Se.meta_block_length,r+ae>t.buffer.length){var Ce=new Uint8Array(r+ae);Ce.set(t.buffer),t.buffer=Ce}if(i=Se.input_end,oe=Se.is_uncompressed,Se.is_metadata){for(ne(V);ae>0;--ae)V.readMoreInput(),V.readBits(8);continue}if(ae!==0){if(oe){V.bit_pos_=V.bit_pos_+7&-8,te(t,ae,r,S,b,V),r+=ae;continue}for(n=0;n<3;++n)H[n]=k(V)+1,H[n]>=2&&(P(H[n]+2,L,n*x,V),P(g,R,n*x,V),se[n]=F(R,n*x,V),ue[n]=1);for(V.readMoreInput(),U=V.readBits(2),W=w+(V.readBits(4)<<U),G=(1<<U)-1,de=W+(48<<U),K=new Uint8Array(H[0]),n=0;n<H[0];++n)V.readMoreInput(),K[n]=V.readBits(2)<<1;var we=B(H[0]<<_,V);q=we.num_htrees,fe=we.context_map;var Te=B(H[2]<<v,V);for(Y=Te.num_htrees,J=Te.context_map,N[0]=new z(m,q),N[1]=new z(h,H[1]),N[2]=new z(de,Y),n=0;n<3;++n)N[n].decode(V);for(me=0,ge=0,be=K[ce[0]],ve=l.lookupOffsets[be],ye=l.lookupOffsets[be+1],xe=N[1].htrees[0];ae>0;){var Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie;for(V.readMoreInput(),se[1]===0&&(ee(H[1],L,1,ce,le,ue,V),se[1]=F(R,x,V),xe=N[1].htrees[ce[1]]),--se[1],Ee=M(N[1].codes,xe,V),De=Ee>>6,De>=2?(De-=2,Me=-1):Me=0,Oe=u.kInsertRangeLut[De]+(Ee>>3&7),ke=u.kCopyRangeLut[De]+(Ee&7),Ae=u.kInsertLengthPrefixCode[Oe].offset+V.readBits(u.kInsertLengthPrefixCode[Oe].nbits),je=u.kCopyLengthPrefixCode[ke].offset+V.readBits(u.kCopyLengthPrefixCode[ke].nbits),D=S[r-1&b],A=S[r-2&b],Fe=0;Fe<Ae;++Fe)V.readMoreInput(),se[0]===0&&(ee(H[0],L,0,ce,le,ue,V),se[0]=F(R,0,V),pe=ce[0]<<_,me=pe,be=K[ce[0]],ve=l.lookupOffsets[be],ye=l.lookupOffsets[be+1]),Pe=l.lookup[ve+D]|l.lookup[ye+A],X=fe[me+Pe],--se[0],A=D,D=M(N[0].codes,N[0].htrees[X],V),S[r&b]=D,(r&b)===b&&t.write(S,y),++r;if(ae-=Ae,ae<=0)break;if(Me<0){var Pe;if(V.readMoreInput(),se[2]===0&&(ee(H[2],L,2,ce,le,ue,V),se[2]=F(R,2*x,V),he=ce[2]<<v,ge=he),--se[2],Pe=(je>4?3:je-2)&255,_e=J[ge+Pe],Me=M(N[2].codes,N[2].htrees[_e],V),Me>=W){var Le,Re,ze;Me-=W,Re=Me&G,Me>>=U,Le=(Me>>1)+1,ze=(2+(Me&1)<<Le)-4,Me=W+(ze+V.readBits(Le)<<U)+Re}}if(Ne=I(Me,T,E),Ne<0)throw Error(`[BrotliDecompress] invalid distance`);if(p=r<f&&p!==f?r:f,Ie=r&b,Ne>p){if(je>=o.minDictionaryWordLength&&je<=o.maxDictionaryWordLength){var ze=o.offsetsByLength[je],Be=Ne-p-1,Ve=o.sizeBitsByLength[je],Z=Be&(1<<Ve)-1,Q=Be>>Ve;if(ze+=Z*je,Q<d.kNumTransforms){var He=d.transformDictionaryWord(S,Ie,ze,je,Q);if(Ie+=He,r+=He,ae-=He,Ie>=C){t.write(S,y);for(var Ue=0;Ue<Ie-C;Ue++)S[Ue]=S[C+Ue]}}else throw Error(`Invalid backward reference. pos: `+r+` distance: `+Ne+` len: `+je+` bytes left: `+ae)}else throw Error(`Invalid backward reference. pos: `+r+` distance: `+Ne+` len: `+je+` bytes left: `+ae)}else{if(Me>0&&(T[E&3]=Ne,++E),je>ae)throw Error(`Invalid backward reference. pos: `+r+` distance: `+Ne+` len: `+je+` bytes left: `+ae);for(Fe=0;Fe<je;++Fe)S[r&b]=S[r-Ne&b],(r&b)===b&&t.write(S,y),++r,--ae}D=S[r-1&b],A=S[r-2&b]}r&=1073741823}}t.write(S,r&b)}o.init()},4543(e,t,n){var r=n(2504);t.init=function(){var e=n(980).BrotliDecompressBuffer;return e(r.toByteArray(n(3501)))}},3501(e){e.exports=`W5/fcQLn5gKf2XUbAiQ1XULX+TZz6ADToDsgqk6qVfeC0e4m6OO2wcQ1J76ZBVRV1fRkEsdu//62zQsFEZWSTCnMhcsQKlS2qOhuVYYMGCkV0fXWEoMFbESXrKEZ9wdUEsyw9g4bJlEt1Y6oVMxMRTEVbCIwZzJzboK5j8m4YH02qgXYhv1V+PM435sLVxyHJihaJREEhZGqL03txGFQLm76caGO/ovxKvzCby/3vMTtX/459f0igi7WutnKiMQ6wODSoRh/8Lx1V3Q99MvKtwB6bHdERYRY0hStJoMjNeTsNX7bn+Y7e4EQ3bf8xBc7L0BsyfFPK43dGSXpL6clYC/I328h54/VYrQ5i0648FgbGtl837svJ35L3Mot/+nPlNpWgKx1gGXQYqX6n+bbZ7wuyCHKcU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VgJ3GvdFvlqD8075woxh4fVt0JZE0KVFsAvqhe0dqN9b35jtSpnYMXkU+vZq+IAHad3IHc2s/LYrnD1anfG46IFiMIr9oNbZDWvwthqYNqOigaKd/XlLU4XHfk/PXIjPsLy/9/kAtQ+/wKH+hI/IROWj5FPvTZAT9f7j4ZXQyG4M0TujMAFXYkKvEHv1xhySekgXGGqNxWeWKlf8dDAlLuB1cb/qOD+rk7cmwt+1yKpk9cudqBanTi6zTbXRtV8qylNtjyOVKy1HTz0GW9rjt6sSjAZcT5R+KdtyYb0zyqG9pSLuCw5WBwAn7fjBjKLLoxLXMI+52L9cLwIR2B6OllJZLHJ8vDxmWdtF+QJnmt1rsHPIWY20lftk8fYePkAIg6Hgn532QoIpegMxiWgAOfe5/U44APR8Ac0NeZrVh3gEhs12W+tVSiWiUQekf/YBECUy5fdYbA08dd7VzPAP9aiVcIB9k6tY7WdJ1wNV+bHeydNtmC6G5ICtFC1ZwmJU/j8hf0I8TRVKSiz5oYIa93EpUI78X8GYIAZabx47/n8LDAAJ0nNtP1rpROprqKMBRecShca6qXuTSI3jZBLOB3Vp381B5rCGhjSvh/NSVkYp2qIdP/Bg=`},614(e,t,n){var r=n(4543);t.init=function(){t.dictionary=r.init()},t.offsetsByLength=new Uint32Array([0,0,0,0,0,4096,9216,21504,35840,44032,53248,63488,74752,87040,93696,100864,104704,106752,108928,113536,115968,118528,119872,121280,122016]),t.sizeBitsByLength=new Uint8Array([0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5]),t.minDictionaryWordLength=4,t.maxDictionaryWordLength=24},1561(e,t){function n(e,t){this.bits=e,this.value=t}t.z=n;var r=15;function i(e,t){for(var n=1<<t-1;e&n;)n>>=1;return(e&n-1)+n}function a(e,t,r,i,a){do i-=r,e[t+i]=new n(a.bits,a.value);while(i>0)}function o(e,t,n){for(var i=1<<t-n;t<r&&(i-=e[t],!(i<=0));)++t,i<<=1;return t-n}t.u=function(e,t,s,c,l){var u=t,d,f,p,m,h,g,_,v,y,b,x,S=new Int32Array(r+1),C=new Int32Array(r+1);for(x=new Int32Array(l),p=0;p<l;p++)S[c[p]]++;for(C[1]=0,f=1;f<r;f++)C[f+1]=C[f]+S[f];for(p=0;p<l;p++)c[p]!==0&&(x[C[c[p]]++]=p);if(v=s,y=1<<v,b=y,C[r]===1){for(m=0;m<b;++m)e[t+m]=new n(0,x[0]&65535);return b}for(m=0,p=0,f=1,h=2;f<=s;++f,h<<=1)for(;S[f]>0;--S[f])d=new n(f&255,x[p++]&65535),a(e,t+m,h,y,d),m=i(m,f);for(_=b-1,g=-1,f=s+1,h=2;f<=r;++f,h<<=1)for(;S[f]>0;--S[f])(m&_)!==g&&(t+=y,v=o(S,f,s),y=1<<v,b+=y,g=m&_,e[u+g]=new n(v+s&255,t-u-g&65535)),d=new n(f-s&255,x[p++]&65535),a(e,t+(m>>s),h,y,d),m=i(m,f);return b}},2210(e,t){function n(e,t){this.offset=e,this.nbits=t}t.kBlockLengthPrefixCode=[new n(1,2),new n(5,2),new n(9,2),new n(13,2),new n(17,3),new n(25,3),new n(33,3),new n(41,3),new n(49,4),new n(65,4),new n(81,4),new n(97,4),new n(113,5),new n(145,5),new n(177,5),new n(209,5),new n(241,6),new n(305,6),new n(369,7),new n(497,8),new n(753,9),new n(1265,10),new n(2289,11),new n(4337,12),new n(8433,13),new n(16625,24)],t.kInsertLengthPrefixCode=[new n(0,0),new n(1,0),new n(2,0),new n(3,0),new n(4,0),new n(5,0),new n(6,1),new n(8,1),new n(10,2),new n(14,2),new n(18,3),new n(26,3),new n(34,4),new n(50,4),new n(66,5),new n(98,5),new n(130,6),new n(194,7),new n(322,8),new n(578,9),new n(1090,10),new n(2114,12),new n(6210,14),new n(22594,24)],t.kCopyLengthPrefixCode=[new n(2,0),new n(3,0),new n(4,0),new n(5,0),new n(6,0),new n(7,0),new n(8,0),new n(9,0),new n(10,1),new n(12,1),new n(14,2),new n(18,2),new n(22,3),new n(30,3),new n(38,4),new n(54,4),new n(70,5),new n(102,5),new n(134,6),new n(198,7),new n(326,8),new n(582,9),new n(1094,10),new n(2118,24)],t.kInsertRangeLut=[0,0,8,8,0,16,8,16,16],t.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},8197(e,t){function n(e){this.buffer=e,this.pos=0}n.prototype.read=function(e,t,n){this.pos+n>this.buffer.length&&(n=this.buffer.length-this.pos);for(var r=0;r<n;r++)e[t+r]=this.buffer[this.pos+r];return this.pos+=n,n},t.z=n;function r(e){this.buffer=e,this.pos=0}r.prototype.write=function(e,t){if(this.pos+t>this.buffer.length)throw Error(`Output buffer is not large enough`);return this.buffer.set(e.subarray(0,t),this.pos),this.pos+=t,t},t.y=r},7984(e,t,n){var r=n(614),i=0,a=1,o=2,s=3,c=4,l=5,u=6,d=7,f=8,p=9,m=10,h=11,g=12,_=13,v=14,y=15,b=16,x=17,S=18,C=20;function w(e,t,n){this.prefix=new Uint8Array(e.length),this.transform=t,this.suffix=new Uint8Array(n.length);for(var r=0;r<e.length;r++)this.prefix[r]=e.charCodeAt(r);for(var r=0;r<n.length;r++)this.suffix[r]=n.charCodeAt(r)}var T=[new w(``,i,``),new w(``,i,` `),new w(` `,i,` `),new w(``,g,``),new w(``,m,` `),new w(``,i,` the `),new w(` `,i,``),new w(`s `,i,` `),new w(``,i,` of `),new w(``,m,``),new w(``,i,` and `),new w(``,_,``),new w(``,a,``),new w(`, `,i,` `),new w(``,i,`, `),new w(` `,m,` `),new w(``,i,` in `),new w(``,i,` to `),new w(`e `,i,` `),new w(``,i,`"`),new w(``,i,`.`),new w(``,i,`">`),new w(``,i,`
|
|
208
|
+
`),new w(``,s,``),new w(``,i,`]`),new w(``,i,` for `),new w(``,v,``),new w(``,o,``),new w(``,i,` a `),new w(``,i,` that `),new w(` `,m,``),new w(``,i,`. `),new w(`.`,i,``),new w(` `,i,`, `),new w(``,y,``),new w(``,i,` with `),new w(``,i,`'`),new w(``,i,` from `),new w(``,i,` by `),new w(``,b,``),new w(``,x,``),new w(` the `,i,``),new w(``,c,``),new w(``,i,`. The `),new w(``,h,``),new w(``,i,` on `),new w(``,i,` as `),new w(``,i,` is `),new w(``,d,``),new w(``,a,`ing `),new w(``,i,`
|
|
209
|
+
`),new w(``,i,`:`),new w(` `,i,`. `),new w(``,i,`ed `),new w(``,C,``),new w(``,S,``),new w(``,u,``),new w(``,i,`(`),new w(``,m,`, `),new w(``,f,``),new w(``,i,` at `),new w(``,i,`ly `),new w(` the `,i,` of `),new w(``,l,``),new w(``,p,``),new w(` `,m,`, `),new w(``,m,`"`),new w(`.`,i,`(`),new w(``,h,` `),new w(``,m,`">`),new w(``,i,`="`),new w(` `,i,`.`),new w(`.com/`,i,``),new w(` the `,i,` of the `),new w(``,m,`'`),new w(``,i,`. This `),new w(``,i,`,`),new w(`.`,i,` `),new w(``,m,`(`),new w(``,m,`.`),new w(``,i,` not `),new w(` `,i,`="`),new w(``,i,`er `),new w(` `,h,` `),new w(``,i,`al `),new w(` `,h,``),new w(``,i,`='`),new w(``,h,`"`),new w(``,m,`. `),new w(` `,i,`(`),new w(``,i,`ful `),new w(` `,m,`. `),new w(``,i,`ive `),new w(``,i,`less `),new w(``,h,`'`),new w(``,i,`est `),new w(` `,m,`.`),new w(``,h,`">`),new w(` `,i,`='`),new w(``,m,`,`),new w(``,i,`ize `),new w(``,h,`.`),new w(`Â\xA0`,i,``),new w(` `,i,`,`),new w(``,m,`="`),new w(``,h,`="`),new w(``,i,`ous `),new w(``,h,`, `),new w(``,m,`='`),new w(` `,m,`,`),new w(` `,h,`="`),new w(` `,h,`, `),new w(``,h,`,`),new w(``,h,`(`),new w(``,h,`. `),new w(` `,h,`.`),new w(``,h,`='`),new w(` `,h,`. `),new w(` `,m,`="`),new w(` `,h,`='`),new w(` `,m,`='`)];t.kTransforms=T,t.kNumTransforms=T.length;function E(e,t){return e[t]<192?(e[t]>=97&&e[t]<=122&&(e[t]^=32),1):e[t]<224?(e[t+1]^=32,2):(e[t+2]^=5,3)}t.transformDictionaryWord=function(e,t,n,i,a){var o=T[a].prefix,s=T[a].suffix,c=T[a].transform,l=c<g?0:c-(g-1),u=0,d=t,f;l>i&&(l=i);for(var _=0;_<o.length;)e[t++]=o[_++];for(n+=l,i-=l,c<=p&&(i-=c),u=0;u<i;u++)e[t++]=r.dictionary[n+u];if(f=t-i,c===m)E(e,f);else if(c===h)for(;i>0;){var v=E(e,f);f+=v,i-=v}for(var y=0;y<s.length;)e[t++]=s[y++];return t-d}},4460(e,t,n){e.exports=n(980).BrotliDecompressBuffer},2908(e,t,n){var r=n(783).Buffer,i=n(9964),a=n(7801),o=n(7468),s=n(2925),c=n(2269),l=n(1607);for(var u in l)t[u]=l[u];t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7;var d=31,f=139;function p(e){if(typeof e!=`number`||e<t.DEFLATE||e>t.UNZIP)throw TypeError(`Bad argument`);this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}p.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,a(this.init_done,`close before init`),a(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?s.deflateEnd(this.strm):(this.mode===t.INFLATE||this.mode===t.GUNZIP||this.mode===t.INFLATERAW||this.mode===t.UNZIP)&&c.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null},p.prototype.write=function(e,t,n,r,i,a,o){return this._write(!0,e,t,n,r,i,a,o)},p.prototype.writeSync=function(e,t,n,r,i,a,o){return this._write(!1,e,t,n,r,i,a,o)},p.prototype._write=function(e,n,o,s,c,l,u,d){if(a.equal(arguments.length,8),a(this.init_done,`write before init`),a(this.mode!==t.NONE,`already finalized`),a.equal(!1,this.write_in_progress,`write already in progress`),a.equal(!1,this.pending_close,`close is pending`),this.write_in_progress=!0,a.equal(!1,n===void 0,`must provide flush value`),this.write_in_progress=!0,n!==t.Z_NO_FLUSH&&n!==t.Z_PARTIAL_FLUSH&&n!==t.Z_SYNC_FLUSH&&n!==t.Z_FULL_FLUSH&&n!==t.Z_FINISH&&n!==t.Z_BLOCK)throw Error(`Invalid flush value`);if(o??(o=r.alloc(0),c=0,s=0),this.strm.avail_in=c,this.strm.input=o,this.strm.next_in=s,this.strm.avail_out=d,this.strm.output=l,this.strm.next_out=u,this.flush=n,!e)return this._process(),this._checkError()?this._afterSync():void 0;var f=this;return i.nextTick(function(){f._process(),f._after()}),this},p.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},p.prototype._process=function(){var e=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(e===null)break;if(this.strm.input[e]===d){if(this.gzip_id_bytes_read=1,e++,this.strm.avail_in===1)break}else{this.mode=t.INFLATE;break}case 1:if(e===null)break;this.strm.input[e]===f?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw Error(`invalid number of gzip magic number bytes read`)}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:for(this.err=c.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=c.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=c.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&this.strm.next_in[0]!==0;)this.reset(),this.err=c.inflate(this.strm,this.flush);break;default:throw Error(`Unknown mode `+this.mode)}},p.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(this.strm.avail_out!==0&&this.flush===t.Z_FINISH)return this._error(`unexpected end of file`),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return this.dictionary==null?this._error(`Missing dictionary`):this._error(`Bad dictionary`),!1;default:return this._error(`Zlib error`),!1}return!0},p.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},p.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},p.prototype.init=function(e,n,r,i,o){a(arguments.length===4||arguments.length===5,`init(windowBits, level, memLevel, strategy, [dictionary])`),a(e>=8&&e<=15,`invalid windowBits`),a(n>=-1&&n<=9,`invalid compression level`),a(r>=1&&r<=9,`invalid memlevel`),a(i===t.Z_FILTERED||i===t.Z_HUFFMAN_ONLY||i===t.Z_RLE||i===t.Z_FIXED||i===t.Z_DEFAULT_STRATEGY,`invalid strategy`),this._init(n,e,r,i,o),this._setDictionary()},p.prototype.params=function(){throw Error(`deflateParams Not supported`)},p.prototype.reset=function(){this._reset(),this._setDictionary()},p.prototype._init=function(e,n,r,i,a){switch(this.level=e,this.windowBits=n,this.memLevel=r,this.strategy=i,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,(this.mode===t.GZIP||this.mode===t.GUNZIP)&&(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),(this.mode===t.DEFLATERAW||this.mode===t.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new o,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=c.inflateInit2(this.strm,this.windowBits);break;default:throw Error(`Unknown mode `+this.mode)}this.err!==t.Z_OK&&this._error(`Init error`),this.dictionary=a,this.write_in_progress=!1,this.init_done=!0},p.prototype._setDictionary=function(){if(this.dictionary!=null){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=s.deflateSetDictionary(this.strm,this.dictionary)}this.err!==t.Z_OK&&this._error(`Failed to set dictionary`)}},p.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=s.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=c.inflateReset(this.strm)}this.err!==t.Z_OK&&this._error(`Failed to reset stream`)},t.Zlib=p},6729(e,t,n){var r=n(9964),i=n(783).Buffer,a=n(9760).Transform,o=n(2908),s=n(7187),c=n(7801).ok,l=n(783).kMaxLength,u=`Cannot create final Buffer. It would be larger than 0x`+l.toString(16)+` bytes`;o.Z_MIN_WINDOWBITS=8,o.Z_MAX_WINDOWBITS=15,o.Z_DEFAULT_WINDOWBITS=15,o.Z_MIN_CHUNK=64,o.Z_MAX_CHUNK=1/0,o.Z_DEFAULT_CHUNK=16384,o.Z_MIN_MEMLEVEL=1,o.Z_MAX_MEMLEVEL=9,o.Z_DEFAULT_MEMLEVEL=8,o.Z_MIN_LEVEL=-1,o.Z_MAX_LEVEL=9,o.Z_DEFAULT_LEVEL=o.Z_DEFAULT_COMPRESSION;for(var d=Object.keys(o),f=0;f<d.length;f++){var p=d[f];p.match(/^Z/)&&Object.defineProperty(t,p,{enumerable:!0,value:o[p],writable:!1})}for(var m={Z_OK:o.Z_OK,Z_STREAM_END:o.Z_STREAM_END,Z_NEED_DICT:o.Z_NEED_DICT,Z_ERRNO:o.Z_ERRNO,Z_STREAM_ERROR:o.Z_STREAM_ERROR,Z_DATA_ERROR:o.Z_DATA_ERROR,Z_MEM_ERROR:o.Z_MEM_ERROR,Z_BUF_ERROR:o.Z_BUF_ERROR,Z_VERSION_ERROR:o.Z_VERSION_ERROR},h=Object.keys(m),g=0;g<h.length;g++){var _=h[g];m[m[_]]=_}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(m),writable:!1}),t.Deflate=b,t.Inflate=x,t.Gzip=S,t.Gunzip=C,t.DeflateRaw=w,t.InflateRaw=T,t.Unzip=E,t.createDeflate=function(e){return new b(e)},t.createInflate=function(e){return new x(e)},t.createDeflateRaw=function(e){return new w(e)},t.createInflateRaw=function(e){return new T(e)},t.createGzip=function(e){return new S(e)},t.createGunzip=function(e){return new C(e)},t.createUnzip=function(e){return new E(e)},t.deflate=function(e,t,n){return typeof t==`function`&&(n=t,t={}),v(new b(t),e,n)},t.deflateSync=function(e,t){return y(new b(t),e)},t.gzip=function(e,t,n){return typeof t==`function`&&(n=t,t={}),v(new S(t),e,n)},t.gzipSync=function(e,t){return y(new S(t),e)},t.deflateRaw=function(e,t,n){return typeof t==`function`&&(n=t,t={}),v(new w(t),e,n)},t.deflateRawSync=function(e,t){return y(new w(t),e)},t.unzip=function(e,t,n){return typeof t==`function`&&(n=t,t={}),v(new E(t),e,n)},t.unzipSync=function(e,t){return y(new E(t),e)},t.inflate=function(e,t,n){return typeof t==`function`&&(n=t,t={}),v(new x(t),e,n)},t.inflateSync=function(e,t){return y(new x(t),e)},t.gunzip=function(e,t,n){return typeof t==`function`&&(n=t,t={}),v(new C(t),e,n)},t.gunzipSync=function(e,t){return y(new C(t),e)},t.inflateRaw=function(e,t,n){return typeof t==`function`&&(n=t,t={}),v(new T(t),e,n)},t.inflateRawSync=function(e,t){return y(new T(t),e)};function v(e,t,n){var r=[],a=0;e.on(`error`,s),e.on(`end`,c),e.end(t),o();function o(){for(var t;(t=e.read())!==null;)r.push(t),a+=t.length;e.once(`readable`,o)}function s(t){e.removeListener(`end`,c),e.removeListener(`readable`,o),n(t)}function c(){var t,o=null;a>=l?o=RangeError(u):t=i.concat(r,a),r=[],e.close(),n(o,t)}}function y(e,t){if(typeof t==`string`&&(t=i.from(t)),!i.isBuffer(t))throw TypeError(`Not a string or buffer`);var n=e._finishFlushFlag;return e._processChunk(t,n)}function b(e){if(!(this instanceof b))return new b(e);O.call(this,e,o.DEFLATE)}function x(e){if(!(this instanceof x))return new x(e);O.call(this,e,o.INFLATE)}function S(e){if(!(this instanceof S))return new S(e);O.call(this,e,o.GZIP)}function C(e){if(!(this instanceof C))return new C(e);O.call(this,e,o.GUNZIP)}function w(e){if(!(this instanceof w))return new w(e);O.call(this,e,o.DEFLATERAW)}function T(e){if(!(this instanceof T))return new T(e);O.call(this,e,o.INFLATERAW)}function E(e){if(!(this instanceof E))return new E(e);O.call(this,e,o.UNZIP)}function D(e){return e===o.Z_NO_FLUSH||e===o.Z_PARTIAL_FLUSH||e===o.Z_SYNC_FLUSH||e===o.Z_FULL_FLUSH||e===o.Z_FINISH||e===o.Z_BLOCK}function O(e,n){var r=this;if(this._opts=e||={},this._chunkSize=e.chunkSize||t.Z_DEFAULT_CHUNK,a.call(this,e),e.flush&&!D(e.flush))throw Error(`Invalid flush flag: `+e.flush);if(e.finishFlush&&!D(e.finishFlush))throw Error(`Invalid flush flag: `+e.finishFlush);if(this._flushFlag=e.flush||o.Z_NO_FLUSH,this._finishFlushFlag=e.finishFlush===void 0?o.Z_FINISH:e.finishFlush,e.chunkSize&&(e.chunkSize<t.Z_MIN_CHUNK||e.chunkSize>t.Z_MAX_CHUNK))throw Error(`Invalid chunk size: `+e.chunkSize);if(e.windowBits&&(e.windowBits<t.Z_MIN_WINDOWBITS||e.windowBits>t.Z_MAX_WINDOWBITS))throw Error(`Invalid windowBits: `+e.windowBits);if(e.level&&(e.level<t.Z_MIN_LEVEL||e.level>t.Z_MAX_LEVEL))throw Error(`Invalid compression level: `+e.level);if(e.memLevel&&(e.memLevel<t.Z_MIN_MEMLEVEL||e.memLevel>t.Z_MAX_MEMLEVEL))throw Error(`Invalid memLevel: `+e.memLevel);if(e.strategy&&e.strategy!=t.Z_FILTERED&&e.strategy!=t.Z_HUFFMAN_ONLY&&e.strategy!=t.Z_RLE&&e.strategy!=t.Z_FIXED&&e.strategy!=t.Z_DEFAULT_STRATEGY)throw Error(`Invalid strategy: `+e.strategy);if(e.dictionary&&!i.isBuffer(e.dictionary))throw Error(`Invalid dictionary: it should be a Buffer instance`);this._handle=new o.Zlib(n);var s=this;this._hadError=!1,this._handle.onerror=function(e,n){k(s),s._hadError=!0;var r=Error(e);r.errno=n,r.code=t.codes[n],s.emit(`error`,r)};var c=t.Z_DEFAULT_COMPRESSION;typeof e.level==`number`&&(c=e.level);var l=t.Z_DEFAULT_STRATEGY;typeof e.strategy==`number`&&(l=e.strategy),this._handle.init(e.windowBits||t.Z_DEFAULT_WINDOWBITS,c,e.memLevel||t.Z_DEFAULT_MEMLEVEL,l,e.dictionary),this._buffer=i.allocUnsafe(this._chunkSize),this._offset=0,this._level=c,this._strategy=l,this.once(`end`,this.close),Object.defineProperty(this,"_closed",{get:function(){return!r._handle},configurable:!0,enumerable:!0})}s.inherits(O,a),O.prototype.params=function(e,n,i){if(e<t.Z_MIN_LEVEL||e>t.Z_MAX_LEVEL)throw RangeError(`Invalid compression level: `+e);if(n!=t.Z_FILTERED&&n!=t.Z_HUFFMAN_ONLY&&n!=t.Z_RLE&&n!=t.Z_FIXED&&n!=t.Z_DEFAULT_STRATEGY)throw TypeError(`Invalid strategy: `+n);if(this._level!==e||this._strategy!==n){var a=this;this.flush(o.Z_SYNC_FLUSH,function(){c(a._handle,`zlib binding closed`),a._handle.params(e,n),a._hadError||(a._level=e,a._strategy=n,i&&i())})}else r.nextTick(i)},O.prototype.reset=function(){return c(this._handle,`zlib binding closed`),this._handle.reset()},O.prototype._flush=function(e){this._transform(i.alloc(0),``,e)},O.prototype.flush=function(e,t){var n=this,a=this._writableState;(typeof e==`function`||e===void 0&&!t)&&(t=e,e=o.Z_FULL_FLUSH),a.ended?t&&r.nextTick(t):a.ending?t&&this.once(`end`,t):a.needDrain?t&&this.once(`drain`,function(){return n.flush(e,t)}):(this._flushFlag=e,this.write(i.alloc(0),``,t))},O.prototype.close=function(e){k(this,e),r.nextTick(A,this)};function k(e,t){t&&r.nextTick(t),e._handle&&=(e._handle.close(),null)}function A(e){e.emit(`close`)}O.prototype._transform=function(e,t,n){var r,a=this._writableState,s=(a.ending||a.ended)&&(!e||a.length===e.length);if(e!==null&&!i.isBuffer(e))return n(Error(`invalid input`));if(!this._handle)return n(Error(`zlib binding closed`));s?r=this._finishFlushFlag:(r=this._flushFlag,e.length>=a.length&&(this._flushFlag=this._opts.flush||o.Z_NO_FLUSH)),this._processChunk(e,r,n)},O.prototype._processChunk=function(e,t,n){var r=e&&e.length,a=this._chunkSize-this._offset,o=0,s=this,d=typeof n==`function`;if(!d){var f=[],p=0,m;this.on(`error`,function(e){m=e}),c(this._handle,`zlib binding closed`);do var h=this._handle.writeSync(t,e,o,r,this._buffer,this._offset,a);while(!this._hadError&&v(h[0],h[1]));if(this._hadError)throw m;if(p>=l)throw k(this),RangeError(u);var g=i.concat(f,p);return k(this),g}c(this._handle,`zlib binding closed`);var _=this._handle.write(t,e,o,r,this._buffer,this._offset,a);_.buffer=e,_.callback=v;function v(l,u){if(this&&(this.buffer=null,this.callback=null),!s._hadError){var m=a-u;if(c(m>=0,`have should not go down`),m>0){var h=s._buffer.slice(s._offset,s._offset+m);s._offset+=m,d?s.push(h):(f.push(h),p+=h.length)}if((u===0||s._offset>=s._chunkSize)&&(a=s._chunkSize,s._offset=0,s._buffer=i.allocUnsafe(s._chunkSize)),u===0){if(o+=r-l,r=l,!d)return!0;var g=s._handle.write(t,e,o,r,s._buffer,s._offset,s._chunkSize);g.callback=v,g.buffer=e;return}if(!d)return!1;n()}}},s.inherits(b,O),s.inherits(x,O),s.inherits(S,O),s.inherits(C,O),s.inherits(w,O),s.inherits(T,O),s.inherits(E,O)},7802(e,t,n){var r=n(5049),i=n(3036),a=n(78);e.exports=n(1909)||r.call(a,i)},8619(e,t,n){var r=n(5049),i=n(3036),a=n(7802);e.exports=function(){return a(r,i,arguments)}},3036(e){e.exports=Function.prototype.apply},78(e){e.exports=Function.prototype.call},6688(e,t,n){var r=n(5049),i=n(6785),a=n(78),o=n(7802);e.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new i(`a function is required`);return o(r,a,e)}},1909(e){e.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply},7913(e,t,n){var r=n(8651),i=n(6601),a=i(r(`String.prototype.indexOf`));e.exports=function(e,t){var n=r(e,!!t);return typeof n==`function`&&a(e,`.prototype.`)>-1?i(n):n}},6601(e,t,n){var r=n(6255),i=n(6649),a=n(6688),o=n(8619);e.exports=function(e){var t=a(arguments),n=1+e.length-(arguments.length-1);return r(t,n>0?n:0,!0)},i?i(e.exports,`apply`,{value:o}):e.exports.apply=o},2774(e,t,n){var r=n(8651),i=n(6688),a=i([r(`%String.prototype.indexOf%`)]);e.exports=function(e,t){var n=r(e,!!t);return typeof n==`function`&&a(e,`.prototype.`)>-1?i([n]):n}},1613(e,t,n){var r=n(783).Buffer,i=(function(){function e(e,t){return t!=null&&e instanceof t}var t;try{t=Map}catch{t=function(){}}var n;try{n=Set}catch{n=function(){}}var i;try{i=Promise}catch{i=function(){}}function a(o,s,c,l,d){typeof s==`object`&&(c=s.depth,l=s.prototype,d=s.includeNonEnumerable,s=s.circular);var f=[],p=[],m=r!==void 0;s===void 0&&(s=!0),c===void 0&&(c=1/0);function h(o,c){if(o===null)return null;if(c===0)return o;var g,_;if(typeof o!=`object`)return o;if(e(o,t))g=new t;else if(e(o,n))g=new n;else if(e(o,i))g=new i(function(e,t){o.then(function(t){e(h(t,c-1))},function(e){t(h(e,c-1))})});else if(a.__isArray(o))g=[];else if(a.__isRegExp(o))g=new RegExp(o.source,u(o)),o.lastIndex&&(g.lastIndex=o.lastIndex);else if(a.__isDate(o))g=new Date(o.getTime());else if(m&&r.isBuffer(o))return g=r.allocUnsafe?r.allocUnsafe(o.length):new r(o.length),o.copy(g),g;else e(o,Error)?g=Object.create(o):l===void 0?(_=Object.getPrototypeOf(o),g=Object.create(_)):(g=Object.create(l),_=l);if(s){var v=f.indexOf(o);if(v!=-1)return p[v];f.push(o),p.push(g)}for(var y in e(o,t)&&o.forEach(function(e,t){var n=h(t,c-1),r=h(e,c-1);g.set(n,r)}),e(o,n)&&o.forEach(function(e){var t=h(e,c-1);g.add(t)}),o){var b;_&&(b=Object.getOwnPropertyDescriptor(_,y)),!(b&&b.set==null)&&(g[y]=h(o[y],c-1))}if(Object.getOwnPropertySymbols)for(var x=Object.getOwnPropertySymbols(o),y=0;y<x.length;y++){var S=x[y],C=Object.getOwnPropertyDescriptor(o,S);(!C||C.enumerable||d)&&(g[S]=h(o[S],c-1),C.enumerable||Object.defineProperty(g,S,{enumerable:!1}))}if(d)for(var w=Object.getOwnPropertyNames(o),y=0;y<w.length;y++){var T=w[y],C=Object.getOwnPropertyDescriptor(o,T);C&&C.enumerable||(g[T]=h(o[T],c-1),Object.defineProperty(g,T,{enumerable:!1}))}return g}return h(o,c)}a.clonePrototype=function(e){if(e===null)return null;var t=function(){};return t.prototype=e,new t};function o(e){return Object.prototype.toString.call(e)}a.__objToStr=o;function s(e){return typeof e==`object`&&o(e)===`[object Date]`}a.__isDate=s;function c(e){return typeof e==`object`&&o(e)===`[object Array]`}a.__isArray=c;function l(e){return typeof e==`object`&&o(e)===`[object RegExp]`}a.__isRegExp=l;function u(e){var t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),t}return a.__getRegExpFlags=u,a})();e.exports&&=i},9295(e,t,n){var r=n(6649),i=n(7770),a=n(6785),o=n(8109);e.exports=function(e,t,n){if(!e||typeof e!=`object`&&typeof e!=`function`)throw new a("`obj` must be an object or a function`");if(typeof t!=`string`&&typeof t!=`symbol`)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=`boolean`&&arguments[3]!==null)throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=`boolean`&&arguments[4]!==null)throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=`boolean`&&arguments[5]!==null)throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=`boolean`)throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!o&&o(e,t);if(r)r(e,t,{configurable:l===null&&d?d.configurable:!l,enumerable:s===null&&d?d.enumerable:!s,value:n,writable:c===null&&d?d.writable:!c});else if(u||!s&&!c&&!l)e[t]=n;else throw new i(`This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.`)}},5421(e,t,n){var r=n(5643),i=typeof Symbol==`function`&&typeof Symbol(`foo`)==`symbol`,a=Object.prototype.toString,o=Array.prototype.concat,s=n(9295),c=function(e){return typeof e==`function`&&a.call(e)===`[object Function]`},l=n(8890)(),u=function(e,t,n,r){if(t in e){if(r===!0){if(e[t]===n)return}else if(!c(r)||!r())return}l?s(e,t,n,!0):s(e,t,n)},d=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);i&&(a=o.call(a,Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;s+=1)u(e,a[s],t[a[s]],n[a[s]])};d.supportsDescriptors=!!l,e.exports=d},9302(e,t,n){var r=n(6688),i=n(8109),a;try{a=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var o=!!a&&i&&i(Object.prototype,`__proto__`),s=Object,c=s.getPrototypeOf;e.exports=o&&typeof o.get==`function`?r([o.get]):typeof c==`function`&&function(e){return c(e==null?e:s(e))}},6649(e){var t=Object.defineProperty||!1;if(t)try{t({},`a`,{value:1})}catch{t=!1}e.exports=t},9055(e){e.exports=EvalError},5293(e){e.exports=Error},8888(e){e.exports=RangeError},7900(e){e.exports=ReferenceError},7770(e){e.exports=SyntaxError},6785(e){e.exports=TypeError},4055(e){e.exports=URIError},5846(e){e.exports=Object},4785(e){var t=typeof Reflect==`object`?Reflect:null,n=t&&typeof t.apply==`function`?t.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},r=t&&typeof t.ownKeys==`function`?t.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};function i(e){console&&console.warn&&console.warn(e)}var a=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}e.exports=o,e.exports.once=v,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function c(e){if(typeof e!=`function`)throw TypeError(`The "listener" argument must be of type Function. Received type `+typeof e)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if(typeof e!=`number`||e<0||a(e))throw RangeError(`The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received `+e+`.`);s=e}}),o.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if(typeof e!=`number`||e<0||a(e))throw RangeError(`The value of "n" is out of range. It must be a non-negative number. Received `+e+`.`);return this._maxListeners=e,this};function l(e){return e._maxListeners===void 0?o.defaultMaxListeners:e._maxListeners}o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i=e===`error`,a=this._events;if(a!==void 0)i&&=a.error===void 0;else if(!i)return!1;if(i){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=Error(`Unhandled error.`+(o?` (`+o.message+`)`:``));throw s.context=o,s}var c=a[e];if(c===void 0)return!1;if(typeof c==`function`)n(c,this,t);else for(var l=c.length,u=h(c,l),r=0;r<l;++r)n(u[r],this,t);return!0};function u(e,t,n,r){var a,o,s;if(c(n),o=e._events,o===void 0?(o=e._events=Object.create(null),e._eventsCount=0):(o.newListener!==void 0&&(e.emit(`newListener`,t,n.listener?n.listener:n),o=e._events),s=o[t]),s===void 0)s=o[t]=n,++e._eventsCount;else if(typeof s==`function`?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),a=l(e),a>0&&s.length>a&&!s.warned){s.warned=!0;var u=Error(`Possible EventEmitter memory leak detected. `+s.length+` `+String(t)+` listeners added. Use emitter.setMaxListeners() to increase limit`);u.name=`MaxListenersExceededWarning`,u.emitter=e,u.type=t,u.count=s.length,i(u)}return e}o.prototype.addListener=function(e,t){return u(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return u(this,e,t,!0)};function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}o.prototype.once=function(e,t){return c(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,a,o;if(c(t),r=this._events,r===void 0||(n=r[e],n===void 0))return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit(`removeListener`,e,n.listener||t));else if(typeof n!=`function`){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;i===0?n.shift():g(n,i),n.length===1&&(r[e]=n[0]),r.removeListener!==void 0&&this.emit(`removeListener`,e,o||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n=this._events,r;if(n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var i=Object.keys(n),a;for(r=0;r<i.length;++r)a=i[r],a!==`removeListener`&&this.removeAllListeners(a);return this.removeAllListeners(`removeListener`),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],typeof t==`function`)this.removeListener(e,t);else if(t!==void 0)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this};function p(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i==`function`?n?[i.listener||i]:[i]:n?_(i):h(i,i.length)}o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return typeof e.listenerCount==`function`?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m;function m(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n==`function`)return 1;if(n!==void 0)return n.length}return 0}o.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]};function h(e,t){for(var n=Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function _(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function v(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,a),r(n)}function a(){typeof e.removeListener==`function`&&e.removeListener(`error`,i),n([].slice.call(arguments))}b(e,t,a,{once:!0}),t!==`error`&&y(e,i,{once:!0})})}function y(e,t,n){typeof e.on==`function`&&b(e,`error`,t,n)}function b(e,t,n,r){if(typeof e.on==`function`)r.once?e.once(t,n):e.on(t,n);else if(typeof e.addEventListener==`function`)e.addEventListener(t,function i(a){r.once&&e.removeEventListener(t,i),n(a)});else throw TypeError(`The "emitter" argument must be of type EventEmitter. Received type `+typeof e)}},2022(e,t,n){e.exports=function(){if(typeof globalThis==`object`)return globalThis;var e;try{e=this||Function(`return this`)()}catch{if(typeof window==`object`)return window;if(typeof self==`object`)return self;if(n.g!==void 0)return n.g}return e}()},453(e){e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}},8404(e,t,n){var r=n(3746),i=Object.prototype.toString,a=Object.prototype.hasOwnProperty,o=function(e,t,n){for(var r=0,i=e.length;r<i;r++)a.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))},s=function(e,t,n){for(var r=0,i=e.length;r<i;r++)n==null?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)},c=function(e,t,n){for(var r in e)a.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))};function l(e){return i.call(e)===`[object Array]`}e.exports=function(e,t,n){if(!r(t))throw TypeError(`iterator must be a function`);var i;arguments.length>=3&&(i=n),l(e)?o(e,t,i):typeof e==`string`?s(e,t,i):c(e,t,i)}},2719(e){var t=Object.prototype.toString,n=Math.max,r=`[object Function]`,i=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},a=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},o=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var s=this;if(typeof s!=`function`||t.apply(s)!==r)throw TypeError(`Function.prototype.bind called on incompatible `+s);for(var c=a(arguments,1),l,u=function(){if(this instanceof l){var t=s.apply(this,i(c,arguments));return Object(t)===t?t:this}return s.apply(e,i(c,arguments))},d=n(0,s.length-c.length),f=[],p=0;p<d;p++)f[p]=`$`+p;if(l=Function(`binder`,`return function (`+o(f,`,`)+`){ return binder.apply(this,arguments); }`)(u),s.prototype){var m=function(){};m.prototype=s.prototype,l.prototype=new m,m.prototype=null}return l}},5049(e,t,n){var r=n(2719);e.exports=Function.prototype.bind||r},3011(e){let t=function*(){}.constructor;e.exports=()=>t},8651(e,t,n){var r,i=n(5846),a=n(5293),o=n(9055),s=n(8888),c=n(7900),l=n(7770),u=n(6785),d=n(4055),f=n(716),p=n(7450),m=n(3774),h=n(7552),g=n(5874),_=n(9292),v=n(6071),y=Function,b=function(e){try{return y(`"use strict"; return (`+e+`).constructor;`)()}catch{}},x=n(8109),S=n(6649),C=function(){throw new u},w=x?function(){try{return arguments.callee,C}catch{try{return x(arguments,`callee`).get}catch{return C}}}():C,T=n(3257)(),E=n(7106),D=n(3766),O=n(6822),k=n(3036),A=n(78),j={},M=typeof Uint8Array>`u`||!E?r:E(Uint8Array),N={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?r:ArrayBuffer,"%ArrayIteratorPrototype%":T&&E?E([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":typeof Atomics>`u`?r:Atomics,"%BigInt%":typeof BigInt>`u`?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>`u`?r:Float16Array,"%Float32Array%":typeof Float32Array>`u`?r:Float32Array,"%Float64Array%":typeof Float64Array>`u`?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?r:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":j,"%Int8Array%":typeof Int8Array>`u`?r:Int8Array,"%Int16Array%":typeof Int16Array>`u`?r:Int16Array,"%Int32Array%":typeof Int32Array>`u`?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":T&&E?E(E([][Symbol.iterator]())):r,"%JSON%":typeof JSON==`object`?JSON:r,"%Map%":typeof Map>`u`?r:Map,"%MapIteratorPrototype%":typeof Map>`u`||!T||!E?r:E(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?r:Promise,"%Proxy%":typeof Proxy>`u`?r:Proxy,"%RangeError%":s,"%ReferenceError%":c,"%Reflect%":typeof Reflect>`u`?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?r:Set,"%SetIteratorPrototype%":typeof Set>`u`||!T||!E?r:E(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":T&&E?E(``[Symbol.iterator]()):r,"%Symbol%":T?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":w,"%TypedArray%":M,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>`u`?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?r:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>`u`?r:WeakMap,"%WeakRef%":typeof WeakRef>`u`?r:WeakRef,"%WeakSet%":typeof WeakSet>`u`?r:WeakSet,"%Function.prototype.call%":A,"%Function.prototype.apply%":k,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":D,"%Math.abs%":f,"%Math.floor%":p,"%Math.max%":m,"%Math.min%":h,"%Math.pow%":g,"%Math.round%":_,"%Math.sign%":v,"%Reflect.getPrototypeOf%":O};if(E)try{null.error}catch(e){N[`%Error.prototype%`]=E(E(e))}var P=function e(t){var n;if(t===`%AsyncFunction%`)n=b(`async function () {}`);else if(t===`%GeneratorFunction%`)n=b(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=b(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&E&&(n=E(i.prototype))}return N[t]=n,n},F={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},I=n(5049),L=n(5215),R=I.call(A,Array.prototype.concat),z=I.call(k,Array.prototype.splice),B=I.call(A,String.prototype.replace),ee=I.call(A,String.prototype.slice),te=I.call(A,RegExp.prototype.exec),ne=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,re=function(e){var t=ee(e,0,1),n=ee(e,-1);if(t===`%`&&n!==`%`)throw new l("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return B(e,ne,function(e,t,n,i){r[r.length]=n?B(i,V,`$1`):t||e}),r},ie=function(e,t){var n=e,r;if(L(F,n)&&(r=F[n],n=`%`+r[0]+`%`),L(N,n)){var i=N[n];if(i===j&&(i=P(n)),i===void 0&&!t)throw new u(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new l(`intrinsic `+e+` does not exist!`)};e.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new u(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new u(`"allowMissing" argument must be a boolean`);if(te(/^%?[^%]*%?$/,e)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=re(e),r=n.length>0?n[0]:``,i=ie(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,c=i.alias;c&&(r=c[0],z(n,R([0,1],c)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=ee(p,0,1),h=ee(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new l(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,L(N,a))o=N[a];else if(o!=null){if(!(p in o)){if(!t)throw new u(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(x&&d+1>=n.length){var g=x(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=L(o,p),o=o[p];f&&!s&&(N[a]=o)}}return o}},3766(e,t,n){e.exports=n(5846).getPrototypeOf||null},6822(e){e.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null},7106(e,t,n){var r=n(6822),i=n(3766),a=n(9302);e.exports=r?function(e){return r(e)}:i?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return i(e)}:a?function(e){return a(e)}:null},5567(e){e.exports=Object.getOwnPropertyDescriptor},8109(e,t,n){var r=n(5567);if(r)try{r([],`length`)}catch{r=null}e.exports=r},8890(e,t,n){var r=n(6649),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],`length`,{value:1}).length!==1}catch{return!0}},e.exports=i},3257(e,t,n){var r=typeof Symbol<`u`&&Symbol,i=n(2843);e.exports=function(){return typeof r!=`function`||typeof Symbol!=`function`||typeof r(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:i()}},2843(e){e.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}},6626(e,t,n){var r=n(2843);e.exports=function(){return r()&&!!Symbol.toStringTag}},5215(e,t,n){var r=Function.prototype.call,i=Object.prototype.hasOwnProperty;e.exports=n(5049).call(r,i)},9029(e,t){t.read=function(e,t,n,r,i){var a,o,s=i*8-r-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=f,u-=8);if(a===0)a=1-l;else if(a===c)return o?NaN:(p?-1:1)*(1/0);else o+=2**r,a-=l;return(p?-1:1)*o*2**(a-r)},t.write=function(e,t,n,r,i,a){var o,s,c,l=a*8-i-1,u=(1<<l)-1,d=u>>1,f=i===23?2**-24-2**-77:0,p=r?0:a-1,m=r?1:-1,h=+(t<0||t===0&&1/t<0);for(t=Math.abs(t),isNaN(t)||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=2**-o)<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*2**(1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*2**i,o+=d):(s=t*2**(d-1)*2**i,o=0));i>=8;e[n+p]=s&255,p+=m,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+p]=o&255,p+=m,o/=256,l-=8);e[n+p-m]|=h*128}},9784(e){e.exports=typeof Object.create==`function`?function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},7906(e,t,n){var r=n(6626)(),i=n(2774)(`Object.prototype.toString`),a=function(e){return r&&e&&typeof e==`object`&&Symbol.toStringTag in e?!1:i(e)===`[object Arguments]`},o=function(e){return a(e)?!0:typeof e==`object`&&!!e&&`length`in e&&typeof e.length==`number`&&e.length>=0&&i(e)!==`[object Array]`&&`callee`in e&&i(e.callee)===`[object Function]`},s=function(){return a(arguments)}();a.isLegacyArguments=o,e.exports=s?a:o},3746(e){var t=Function.prototype.toString,n=typeof Reflect==`object`&&Reflect!==null&&Reflect.apply,r,i;if(typeof n==`function`&&typeof Object.defineProperty==`function`)try{r=Object.defineProperty({},"length",{get:function(){throw i}}),i={},n(function(){throw 42},null,r)}catch(e){e!==i&&(n=null)}else n=null;var a=/^\s*class\b/,o=function(e){try{var n=t.call(e);return a.test(n)}catch{return!1}},s=function(e){try{return!o(e)&&(t.call(e),!0)}catch{return!1}},c=Object.prototype.toString,l=`[object Object]`,u=`[object Function]`,d=`[object GeneratorFunction]`,f=`[object HTMLAllCollection]`,p=`[object HTML document.all class]`,m=`[object HTMLCollection]`,h=typeof Symbol==`function`&&!!Symbol.toStringTag,g=!(0 in[,]),_=function(){return!1};if(typeof document==`object`){var v=document.all;c.call(v)===c.call(document.all)&&(_=function(e){if((g||!e)&&(e===void 0||typeof e==`object`))try{var t=c.call(e);return(t===f||t===p||t===m||t===l)&&e(``)==null}catch{}return!1})}e.exports=n?function(e){if(_(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;try{n(e,null,r)}catch(e){if(e!==i)return!1}return!o(e)&&s(e)}:function(e){if(_(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;if(h)return s(e);if(o(e))return!1;var t=c.call(e);return t!==u&&t!==d&&!/^\[object HTML/.test(t)?!1:s(e)}},4610(e,t,n){var r=n(2774),i=n(8843)(/^\s*(?:function)?\*/),a=n(6626)(),o=n(7106),s=r(`Object.prototype.toString`),c=r(`Function.prototype.toString`),l=n(9294).c;e.exports=function(e){if(typeof e!=`function`)return!1;if(i(c(e)))return!0;if(!a)return s(e)===`[object GeneratorFunction]`;if(!o)return!1;var t=l();return t&&o(e)===t.prototype}},2621(e){e.exports=function(e){return e!==e}},7051(e,t,n){var r=n(6601),i=n(5421),a=n(2621),o=n(1320),s=n(5074),c=r(o(),Number);i(c,{getPolyfill:o,implementation:a,shim:s}),e.exports=c},1320(e,t,n){var r=n(2621);e.exports=function(){return Number.isNaN&&!Number.isNaN(`a`)?Number.isNaN:r}},5074(e,t,n){var r=n(5421),i=n(1320);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},1689(e,t,n){var r=n(2774),i=n(6626)(),a=n(5215),o=n(8109),s;if(i){var c=r(`RegExp.prototype.exec`),l={},u=function(){throw l},d={toString:u,valueOf:u};typeof Symbol.toPrimitive==`symbol`&&(d[Symbol.toPrimitive]=u),s=function(e){if(!e||typeof e!=`object`)return!1;var t=o(e,`lastIndex`);if(!(t&&a(t,`value`)))return!1;try{c(e,d)}catch(e){return e===l}}}else{var f=r(`Object.prototype.toString`),p=`[object RegExp]`;s=function(e){return!e||typeof e!=`object`&&typeof e!=`function`?!1:f(e)===p}}e.exports=s},6094(e,t,n){var r=n(3381);e.exports=function(e){return!!r(e)}},1632(e,t,n){var r=n(9964),i;(function(){var t=`input is invalid type`,a=typeof window==`object`,o=a?window:{};o.JS_MD5_NO_WINDOW&&(a=!1);var s=!a&&typeof self==`object`,c=!o.JS_MD5_NO_NODE_JS&&typeof r==`object`&&r.versions&&r.versions.node;c?o=n.g:s&&(o=self);var l=!o.JS_MD5_NO_COMMON_JS&&e.exports,u=n.amdO,d=!o.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<`u`,f=`0123456789abcdef`.split(``),p=[128,32768,8388608,-2147483648],m=[0,8,16,24],h=[`hex`,`array`,`digest`,`buffer`,`arrayBuffer`,`base64`],g=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``),_=[],v;if(d){var y=new ArrayBuffer(68);v=new Uint8Array(y),_=new Uint32Array(y)}var b=Array.isArray;(o.JS_MD5_NO_NODE_JS||!b)&&(b=function(e){return Object.prototype.toString.call(e)===`[object Array]`});var x=ArrayBuffer.isView;d&&(o.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!x)&&(x=function(e){return typeof e==`object`&&e.buffer&&e.buffer.constructor===ArrayBuffer});var S=function(e){var n=typeof e;if(n===`string`)return[e,!0];if(n!==`object`||e===null)throw Error(t);if(d&&e.constructor===ArrayBuffer)return[new Uint8Array(e),!1];if(!b(e)&&!x(e))throw Error(t);return[e,!1]},C=function(e){return function(t){return new O(!0).update(t)[e]()}},w=function(){var e=C(`hex`);c&&(e=T(e)),e.create=function(){return new O},e.update=function(t){return e.create().update(t)};for(var t=0;t<h.length;++t){var n=h[t];e[n]=C(n)}return e},T=function(e){var r=n(8535),i=n(6274).Buffer,a=i.from&&!o.JS_MD5_NO_BUFFER_FROM?i.from:function(e){return new i(e)};return function(n){if(typeof n==`string`)return r.createHash(`md5`).update(n,`utf8`).digest(`hex`);if(n==null)throw Error(t);return n.constructor===ArrayBuffer&&(n=new Uint8Array(n)),b(n)||x(n)||n.constructor===i?r.createHash(`md5`).update(a(n)).digest(`hex`):e(n)}},E=function(e){return function(t,n){return new k(t,!0).update(n)[e]()}},D=function(){var e=E(`hex`);e.create=function(e){return new k(e)},e.update=function(t,n){return e.create(t).update(n)};for(var t=0;t<h.length;++t){var n=h[t];e[n]=E(n)}return e};function O(e){if(e)_[0]=_[16]=_[1]=_[2]=_[3]=_[4]=_[5]=_[6]=_[7]=_[8]=_[9]=_[10]=_[11]=_[12]=_[13]=_[14]=_[15]=0,this.blocks=_,this.buffer8=v;else if(d){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}O.prototype.update=function(e){if(this.finalized)throw Error(`finalize already called`);var t=S(e);e=t[0];for(var n=t[1],r,i=0,a,o=e.length,s=this.blocks,c=this.buffer8;i<o;){if(this.hashed&&(this.hashed=!1,s[0]=s[16],s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),n){if(d)for(a=this.start;i<o&&a<64;++i)r=e.charCodeAt(i),r<128?c[a++]=r:r<2048?(c[a++]=192|r>>>6,c[a++]=128|r&63):r<55296||r>=57344?(c[a++]=224|r>>>12,c[a++]=128|r>>>6&63,c[a++]=128|r&63):(r=65536+((r&1023)<<10|e.charCodeAt(++i)&1023),c[a++]=240|r>>>18,c[a++]=128|r>>>12&63,c[a++]=128|r>>>6&63,c[a++]=128|r&63);else for(a=this.start;i<o&&a<64;++i)r=e.charCodeAt(i),r<128?s[a>>>2]|=r<<m[a++&3]:r<2048?(s[a>>>2]|=(192|r>>>6)<<m[a++&3],s[a>>>2]|=(128|r&63)<<m[a++&3]):r<55296||r>=57344?(s[a>>>2]|=(224|r>>>12)<<m[a++&3],s[a>>>2]|=(128|r>>>6&63)<<m[a++&3],s[a>>>2]|=(128|r&63)<<m[a++&3]):(r=65536+((r&1023)<<10|e.charCodeAt(++i)&1023),s[a>>>2]|=(240|r>>>18)<<m[a++&3],s[a>>>2]|=(128|r>>>12&63)<<m[a++&3],s[a>>>2]|=(128|r>>>6&63)<<m[a++&3],s[a>>>2]|=(128|r&63)<<m[a++&3])}else if(d)for(a=this.start;i<o&&a<64;++i)c[a++]=e[i];else for(a=this.start;i<o&&a<64;++i)s[a>>>2]|=e[i]<<m[a++&3];this.lastByteIndex=a,this.bytes+=a-this.start,a>=64?(this.start=a-64,this.hash(),this.hashed=!0):this.start=a}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes%=4294967296),this},O.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>>2]|=p[t&3],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},O.prototype.hash=function(){var e,t,n,r,i,a,o=this.blocks;this.first?(e=o[0]-680876937,e=(e<<7|e>>>25)-271733879<<0,r=(-1732584194^e&2004318071)+o[1]-117830708,r=(r<<12|r>>>20)+e<<0,n=(-271733879^r&(e^-271733879))+o[2]-1126478375,n=(n<<17|n>>>15)+r<<0,t=(e^n&(r^e))+o[3]-1316259209,t=(t<<22|t>>>10)+n<<0):(e=this.h0,t=this.h1,n=this.h2,r=this.h3,e+=(r^t&(n^r))+o[0]-680876936,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+o[1]-389564586,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+o[2]+606105819,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+o[3]-1044525330,t=(t<<22|t>>>10)+n<<0),e+=(r^t&(n^r))+o[4]-176418897,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+o[5]+1200080426,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+o[6]-1473231341,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+o[7]-45705983,t=(t<<22|t>>>10)+n<<0,e+=(r^t&(n^r))+o[8]+1770035416,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+o[9]-1958414417,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+o[10]-42063,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+o[11]-1990404162,t=(t<<22|t>>>10)+n<<0,e+=(r^t&(n^r))+o[12]+1804603682,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+o[13]-40341101,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+o[14]-1502002290,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+o[15]+1236535329,t=(t<<22|t>>>10)+n<<0,e+=(n^r&(t^n))+o[1]-165796510,e=(e<<5|e>>>27)+t<<0,r+=(t^n&(e^t))+o[6]-1069501632,r=(r<<9|r>>>23)+e<<0,n+=(e^t&(r^e))+o[11]+643717713,n=(n<<14|n>>>18)+r<<0,t+=(r^e&(n^r))+o[0]-373897302,t=(t<<20|t>>>12)+n<<0,e+=(n^r&(t^n))+o[5]-701558691,e=(e<<5|e>>>27)+t<<0,r+=(t^n&(e^t))+o[10]+38016083,r=(r<<9|r>>>23)+e<<0,n+=(e^t&(r^e))+o[15]-660478335,n=(n<<14|n>>>18)+r<<0,t+=(r^e&(n^r))+o[4]-405537848,t=(t<<20|t>>>12)+n<<0,e+=(n^r&(t^n))+o[9]+568446438,e=(e<<5|e>>>27)+t<<0,r+=(t^n&(e^t))+o[14]-1019803690,r=(r<<9|r>>>23)+e<<0,n+=(e^t&(r^e))+o[3]-187363961,n=(n<<14|n>>>18)+r<<0,t+=(r^e&(n^r))+o[8]+1163531501,t=(t<<20|t>>>12)+n<<0,e+=(n^r&(t^n))+o[13]-1444681467,e=(e<<5|e>>>27)+t<<0,r+=(t^n&(e^t))+o[2]-51403784,r=(r<<9|r>>>23)+e<<0,n+=(e^t&(r^e))+o[7]+1735328473,n=(n<<14|n>>>18)+r<<0,t+=(r^e&(n^r))+o[12]-1926607734,t=(t<<20|t>>>12)+n<<0,i=t^n,e+=(i^r)+o[5]-378558,e=(e<<4|e>>>28)+t<<0,r+=(i^e)+o[8]-2022574463,r=(r<<11|r>>>21)+e<<0,a=r^e,n+=(a^t)+o[11]+1839030562,n=(n<<16|n>>>16)+r<<0,t+=(a^n)+o[14]-35309556,t=(t<<23|t>>>9)+n<<0,i=t^n,e+=(i^r)+o[1]-1530992060,e=(e<<4|e>>>28)+t<<0,r+=(i^e)+o[4]+1272893353,r=(r<<11|r>>>21)+e<<0,a=r^e,n+=(a^t)+o[7]-155497632,n=(n<<16|n>>>16)+r<<0,t+=(a^n)+o[10]-1094730640,t=(t<<23|t>>>9)+n<<0,i=t^n,e+=(i^r)+o[13]+681279174,e=(e<<4|e>>>28)+t<<0,r+=(i^e)+o[0]-358537222,r=(r<<11|r>>>21)+e<<0,a=r^e,n+=(a^t)+o[3]-722521979,n=(n<<16|n>>>16)+r<<0,t+=(a^n)+o[6]+76029189,t=(t<<23|t>>>9)+n<<0,i=t^n,e+=(i^r)+o[9]-640364487,e=(e<<4|e>>>28)+t<<0,r+=(i^e)+o[12]-421815835,r=(r<<11|r>>>21)+e<<0,a=r^e,n+=(a^t)+o[15]+530742520,n=(n<<16|n>>>16)+r<<0,t+=(a^n)+o[2]-995338651,t=(t<<23|t>>>9)+n<<0,e+=(n^(t|~r))+o[0]-198630844,e=(e<<6|e>>>26)+t<<0,r+=(t^(e|~n))+o[7]+1126891415,r=(r<<10|r>>>22)+e<<0,n+=(e^(r|~t))+o[14]-1416354905,n=(n<<15|n>>>17)+r<<0,t+=(r^(n|~e))+o[5]-57434055,t=(t<<21|t>>>11)+n<<0,e+=(n^(t|~r))+o[12]+1700485571,e=(e<<6|e>>>26)+t<<0,r+=(t^(e|~n))+o[3]-1894986606,r=(r<<10|r>>>22)+e<<0,n+=(e^(r|~t))+o[10]-1051523,n=(n<<15|n>>>17)+r<<0,t+=(r^(n|~e))+o[1]-2054922799,t=(t<<21|t>>>11)+n<<0,e+=(n^(t|~r))+o[8]+1873313359,e=(e<<6|e>>>26)+t<<0,r+=(t^(e|~n))+o[15]-30611744,r=(r<<10|r>>>22)+e<<0,n+=(e^(r|~t))+o[6]-1560198380,n=(n<<15|n>>>17)+r<<0,t+=(r^(n|~e))+o[13]+1309151649,t=(t<<21|t>>>11)+n<<0,e+=(n^(t|~r))+o[4]-145523070,e=(e<<6|e>>>26)+t<<0,r+=(t^(e|~n))+o[11]-1120210379,r=(r<<10|r>>>22)+e<<0,n+=(e^(r|~t))+o[2]+718787259,n=(n<<15|n>>>17)+r<<0,t+=(r^(n|~e))+o[9]-343485551,t=(t<<21|t>>>11)+n<<0,this.first?(this.h0=e+1732584193<<0,this.h1=t-271733879<<0,this.h2=n-1732584194<<0,this.h3=r+271733878<<0,this.first=!1):(this.h0=this.h0+e<<0,this.h1=this.h1+t<<0,this.h2=this.h2+n<<0,this.h3=this.h3+r<<0)},O.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3;return f[e>>>4&15]+f[e&15]+f[e>>>12&15]+f[e>>>8&15]+f[e>>>20&15]+f[e>>>16&15]+f[e>>>28&15]+f[e>>>24&15]+f[t>>>4&15]+f[t&15]+f[t>>>12&15]+f[t>>>8&15]+f[t>>>20&15]+f[t>>>16&15]+f[t>>>28&15]+f[t>>>24&15]+f[n>>>4&15]+f[n&15]+f[n>>>12&15]+f[n>>>8&15]+f[n>>>20&15]+f[n>>>16&15]+f[n>>>28&15]+f[n>>>24&15]+f[r>>>4&15]+f[r&15]+f[r>>>12&15]+f[r>>>8&15]+f[r>>>20&15]+f[r>>>16&15]+f[r>>>28&15]+f[r>>>24&15]},O.prototype.toString=O.prototype.hex,O.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3;return[e&255,e>>>8&255,e>>>16&255,e>>>24&255,t&255,t>>>8&255,t>>>16&255,t>>>24&255,n&255,n>>>8&255,n>>>16&255,n>>>24&255,r&255,r>>>8&255,r>>>16&255,r>>>24&255]},O.prototype.array=O.prototype.digest,O.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},O.prototype.buffer=O.prototype.arrayBuffer,O.prototype.base64=function(){for(var e,t,n,r=``,i=this.array(),a=0;a<15;)e=i[a++],t=i[a++],n=i[a++],r+=g[e>>>2]+g[(e<<4|t>>>4)&63]+g[(t<<2|n>>>6)&63]+g[n&63];return e=i[a],r+=g[e>>>2]+g[e<<4&63]+`==`,r};function k(e,t){var n,r=S(e);if(e=r[0],r[1]){var i=[],a=e.length,o=0,s;for(n=0;n<a;++n)s=e.charCodeAt(n),s<128?i[o++]=s:s<2048?(i[o++]=192|s>>>6,i[o++]=128|s&63):s<55296||s>=57344?(i[o++]=224|s>>>12,i[o++]=128|s>>>6&63,i[o++]=128|s&63):(s=65536+((s&1023)<<10|e.charCodeAt(++n)&1023),i[o++]=240|s>>>18,i[o++]=128|s>>>12&63,i[o++]=128|s>>>6&63,i[o++]=128|s&63);e=i}e.length>64&&(e=new O(!0).update(e).array());var c=[],l=[];for(n=0;n<64;++n){var u=e[n]||0;c[n]=92^u,l[n]=54^u}O.call(this,t),this.update(l),this.oKeyPad=c,this.inner=!0,this.sharedMemory=t}k.prototype=new O,k.prototype.finalize=function(){if(O.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();O.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(e),O.prototype.finalize.call(this)}};var A=w();A.md5=A,A.md5.hmac=D(),l?e.exports=A:(o.md5=A,u&&(i=(function(){return A}).call(A,n,A,e),i!==void 0&&(e.exports=i)))})()},716(e){e.exports=Math.abs},7450(e){e.exports=Math.floor},713(e){e.exports=Number.isNaN||function(e){return e!==e}},3774(e){e.exports=Math.max},7552(e){e.exports=Math.min},5874(e){e.exports=Math.pow},9292(e){e.exports=Math.round},6071(e,t,n){var r=n(713);e.exports=function(e){return r(e)||e===0?e:e<0?-1:1}},3249(e){var t=function(e){return e!==e};e.exports=function(e,n){return e===0&&n===0?1/e==1/n:!!(e===n||t(e)&&t(n))}},8527(e,t,n){var r=n(5421),i=n(6601),a=n(3249),o=n(9636),s=n(3534),c=i(o(),Object);r(c,{getPolyfill:o,implementation:a,shim:s}),e.exports=c},9636(e,t,n){var r=n(3249);e.exports=function(){return typeof Object.is==`function`?Object.is:r}},3534(e,t,n){var r=n(9636),i=n(5421);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},8461(e,t,n){var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,o=n(6515),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},`toString`),l=s.call(function(){},`prototype`),u=[`toString`,`toLocaleString`,`valueOf`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`constructor`],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if(typeof window>`u`)return!1;for(var e in window)try{if(!f[`$`+e]&&i.call(window,e)&&window[e]!==null&&typeof window[e]==`object`)try{d(window[e])}catch{return!0}}catch{return!0}return!1}(),m=function(e){if(typeof window>`u`||!p)return d(e);try{return d(e)}catch{return!1}};r=function(e){var t=typeof e==`object`&&!!e,n=a.call(e)===`[object Function]`,r=o(e),s=t&&a.call(e)===`[object String]`,d=[];if(!t&&!n&&!r)throw TypeError(`Object.keys called on a non-object`);var f=l&&n;if(s&&e.length>0&&!i.call(e,0))for(var p=0;p<e.length;++p)d.push(String(p));if(r&&e.length>0)for(var h=0;h<e.length;++h)d.push(String(h));else for(var g in e)!(f&&g===`prototype`)&&i.call(e,g)&&d.push(String(g));if(c)for(var _=m(e),v=0;v<u.length;++v)!(_&&u[v]===`constructor`)&&i.call(e,u[v])&&d.push(u[v]);return d}}e.exports=r},5643(e,t,n){var r=Array.prototype.slice,i=n(6515),a=Object.keys,o=a?function(e){return a(e)}:n(8461),s=Object.keys;o.shim=function(){return Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return i(e)?s(r.call(e)):s(e)}):Object.keys=o,Object.keys||o},e.exports=o},6515(e){var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r=n===`[object Arguments]`;return r||=n!==`[object Array]`&&typeof e==`object`&&!!e&&typeof e.length==`number`&&e.length>=0&&t.call(e.callee)===`[object Function]`,r}},6521(e,t,n){var r=n(5643),i=n(2843)(),a=n(2774),o=n(5846),s=a(`Array.prototype.push`),c=a(`Object.prototype.propertyIsEnumerable`),l=i?o.getOwnPropertySymbols:null;e.exports=function(e,t){if(e==null)throw TypeError(`target must be an object`);var n=o(e);if(arguments.length===1)return n;for(var a=1;a<arguments.length;++a){var u=o(arguments[a]),d=r(u),f=i&&(o.getOwnPropertySymbols||l);if(f)for(var p=f(u),m=0;m<p.length;++m){var h=p[m];c(u,h)&&s(d,h)}for(var g=0;g<d.length;++g){var _=d[g];c(u,_)&&(n[_]=u[_])}}return n}},7596(e,t,n){var r=n(6521),i=function(){if(!Object.assign)return!1;for(var e=`abcdefghijklmnopqrst`,t=e.split(``),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var i=Object.assign({},n),a=``;for(var o in i)a+=o;return e!==a},a=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,`xy`)}catch{return e[1]===`y`}return!1};e.exports=function(){return!Object.assign||i()||a()?r:Object.assign}},2519(e,t){var n=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Int32Array<`u`;function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if(typeof n!=`object`)throw TypeError(n+`must be non-object`);for(var i in n)r(n,i)&&(e[i]=n[i])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+r),i);return}for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r=0,i,a,o;for(t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,i)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,a))},t.setTyped(n)},6911(e){function t(e,t,n,r){for(var i=e&65535|0,a=e>>>16&65535|0,o=0;n!==0;){o=n>2e3?2e3:n,n-=o;do i=i+t[r++]|0,a=a+i|0;while(--o);i%=65521,a%=65521}return i|a<<16|0}e.exports=t},1607(e){e.exports={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_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}},9049(e){function t(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var n=t();function r(e,t,r,i){var a=n,o=i+r;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[(e^t[s])&255];return e^-1}e.exports=r},2925(e,t,n){var r=n(2519),i=n(2367),a=n(6911),o=n(9049),s=n(6228),c=0,l=1,u=3,d=4,f=5,p=0,m=1,h=-2,g=-3,_=-5,v=-1,y=1,b=2,x=3,S=4,C=0,w=2,T=8,E=9,D=15,O=8,k=286,A=30,j=19,M=2*k+1,N=15,P=3,F=258,I=F+P+1,L=32,R=42,z=69,B=73,ee=91,te=103,ne=113,V=666,re=1,ie=2,ae=3,oe=4,se=3;function ce(e,t){return e.msg=s[t],t}function H(e){return(e<<1)-(e>4?9:0)}function le(e){for(var t=e.length;--t>=0;)e[t]=0}function ue(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function U(e,t){i._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ue(e.strm)}function W(e,t){e.pending_buf[e.pending++]=t}function G(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function de(e,t,n,i){var s=e.avail_in;return s>i&&(s=i),s===0?0:(e.avail_in-=s,r.arraySet(t,e.input,e.next_in,s,n),e.state.wrap===1?e.adler=a(e.adler,t,s,n):e.state.wrap===2&&(e.adler=o(e.adler,t,s,n)),e.next_in+=s,e.total_in+=s,s)}function fe(e,t){var n=e.max_chain_length,r=e.strstart,i,a,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-I?e.strstart-(e.w_size-I):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+F,p=l[r+o-1],m=l[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(i=t,l[i+o]===m&&l[i+o-1]===p&&l[i]===l[r]&&l[++i]===l[r+1]){r+=2,i++;do;while(l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&r<f);if(a=F-(f-r),r=f-F,a>o){if(e.match_start=t,o=a,a>=s)break;p=l[r+o-1],m=l[r+o]}}while((t=d[t&u])>c&&--n!==0);return o<=e.lookahead?o:e.lookahead}function K(e){var t=e.w_size,n,i,a,o,s;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-I)){r.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,n=i;do a=e.head[--n],e.head[n]=a>=t?a-t:0;while(--i);i=t,n=i;do a=e.prev[--n],e.prev[n]=a>=t?a-t:0;while(--i);o+=t}if(e.strm.avail_in===0)break;if(i=de(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=i,e.lookahead+e.insert>=P)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+P-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<P)););}while(e.lookahead<I&&e.strm.avail_in!==0)}function q(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(K(e),e.lookahead===0&&t===c)return re;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,U(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-I&&(U(e,!1),e.strm.avail_out===0))return re}return e.insert=0,t===d?(U(e,!0),e.strm.avail_out===0?ae:oe):(e.strstart>e.block_start&&(U(e,!1),e.strm.avail_out),re)}function J(e,t){for(var n,r;;){if(e.lookahead<I){if(K(e),e.lookahead<I&&t===c)return re;if(e.lookahead===0)break}if(n=0,e.lookahead>=P&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+P-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-I&&(e.match_length=fe(e,n)),e.match_length>=P){if(r=i._tr_tally(e,e.strstart-e.match_start,e.match_length-P),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=P){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+P-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask}else r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(U(e,!1),e.strm.avail_out===0))return re}return e.insert=e.strstart<P-1?e.strstart:P-1,t===d?(U(e,!0),e.strm.avail_out===0?ae:oe):e.last_lit&&(U(e,!1),e.strm.avail_out===0)?re:ie}function Y(e,t){for(var n,r,a;;){if(e.lookahead<I){if(K(e),e.lookahead<I&&t===c)return re;if(e.lookahead===0)break}if(n=0,e.lookahead>=P&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+P-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=P-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-I&&(e.match_length=fe(e,n),e.match_length<=5&&(e.strategy===y||e.match_length===P&&e.strstart-e.match_start>4096)&&(e.match_length=P-1)),e.prev_length>=P&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-P,r=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-P),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+P-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=P-1,e.strstart++,r&&(U(e,!1),e.strm.avail_out===0))return re}else if(e.match_available){if(r=i._tr_tally(e,0,e.window[e.strstart-1]),r&&U(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return re}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&=(r=i._tr_tally(e,0,e.window[e.strstart-1]),0),e.insert=e.strstart<P-1?e.strstart:P-1,t===d?(U(e,!0),e.strm.avail_out===0?ae:oe):e.last_lit&&(U(e,!1),e.strm.avail_out===0)?re:ie}function pe(e,t){for(var n,r,a,o,s=e.window;;){if(e.lookahead<=F){if(K(e),e.lookahead<=F&&t===c)return re;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=P&&e.strstart>0&&(a=e.strstart-1,r=s[a],r===s[++a]&&r===s[++a]&&r===s[++a])){o=e.strstart+F;do;while(r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&a<o);e.match_length=F-(o-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=P?(n=i._tr_tally(e,1,e.match_length-P),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(U(e,!1),e.strm.avail_out===0))return re}return e.insert=0,t===d?(U(e,!0),e.strm.avail_out===0?ae:oe):e.last_lit&&(U(e,!1),e.strm.avail_out===0)?re:ie}function me(e,t){for(var n;;){if(e.lookahead===0&&(K(e),e.lookahead===0)){if(t===c)return re;break}if(e.match_length=0,n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(U(e,!1),e.strm.avail_out===0))return re}return e.insert=0,t===d?(U(e,!0),e.strm.avail_out===0?ae:oe):e.last_lit&&(U(e,!1),e.strm.avail_out===0)?re:ie}function X(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var he=[new X(0,0,0,0,q),new X(4,4,8,4,J),new X(4,5,16,8,J),new X(4,6,32,32,J),new X(4,4,16,16,Y),new X(8,16,32,32,Y),new X(8,16,128,128,Y),new X(8,32,128,256,Y),new X(32,128,258,1024,Y),new X(32,258,258,4096,Y)];function ge(e){e.window_size=2*e.w_size,le(e.head),e.max_lazy_match=he[e.level].max_lazy,e.good_match=he[e.level].good_length,e.nice_match=he[e.level].nice_length,e.max_chain_length=he[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=P-1,e.match_available=0,e.ins_h=0}function _e(){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=T,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 r.Buf16(M*2),this.dyn_dtree=new r.Buf16((2*A+1)*2),this.bl_tree=new r.Buf16((2*j+1)*2),le(this.dyn_ltree),le(this.dyn_dtree),le(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(N+1),this.heap=new r.Buf16(2*k+1),le(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*k+1),le(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ve(e){var t;return!e||!e.state?ce(e,h):(e.total_in=e.total_out=0,e.data_type=w,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?R:ne,e.adler=t.wrap===2?0:1,t.last_flush=c,i._tr_init(t),p)}function ye(e){var t=ve(e);return t===p&&ge(e.state),t}function be(e,t){return!e||!e.state||e.state.wrap!==2?h:(e.state.gzhead=t,p)}function xe(e,t,n,i,a,o){if(!e)return h;var s=1;if(t===v&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),a<1||a>E||n!==T||i<8||i>15||t<0||t>9||o<0||o>S)return ce(e,h);i===8&&(i=9);var c=new _e;return e.state=c,c.strm=e,c.wrap=s,c.gzhead=null,c.w_bits=i,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+P-1)/P),c.window=new r.Buf8(c.w_size*2),c.head=new r.Buf16(c.hash_size),c.prev=new r.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=c.lit_bufsize*4,c.pending_buf=new r.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=n,ye(e)}function Se(e,t){return xe(e,t,T,D,O,C)}function Ce(e,t){var n,r,a,s;if(!e||!e.state||t>f||t<0)return e?ce(e,h):h;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===V&&t!==d)return ce(e,e.avail_out===0?_:h);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===R){if(r.wrap===2)e.adler=0,W(r,31),W(r,139),W(r,8),r.gzhead?(W(r,+!!r.gzhead.text+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),W(r,r.gzhead.time&255),W(r,r.gzhead.time>>8&255),W(r,r.gzhead.time>>16&255),W(r,r.gzhead.time>>24&255),W(r,r.level===9?2:r.strategy>=b||r.level<2?4:0),W(r,r.gzhead.os&255),r.gzhead.extra&&r.gzhead.extra.length&&(W(r,r.gzhead.extra.length&255),W(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=o(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=z):(W(r,0),W(r,0),W(r,0),W(r,0),W(r,0),W(r,r.level===9?2:r.strategy>=b||r.level<2?4:0),W(r,se),r.status=ne);else{var g=T+(r.w_bits-8<<4)<<8,v=-1;v=r.strategy>=b||r.level<2?0:r.level<6?1:r.level===6?2:3,g|=v<<6,r.strstart!==0&&(g|=L),g+=31-g%31,r.status=ne,G(r,g),r.strstart!==0&&(G(r,e.adler>>>16),G(r,e.adler&65535)),e.adler=1}}if(r.status===z){if(r.gzhead.extra){for(a=r.pending;r.gzindex<(r.gzhead.extra.length&65535)&&!(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),ue(e),a=r.pending,r.pending===r.pending_buf_size));)W(r,r.gzhead.extra[r.gzindex]&255),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=B)}else r.status=B}if(r.status===B){if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),ue(e),a=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.name.length?r.gzhead.name.charCodeAt(r.gzindex++)&255:0,W(r,s)}while(s!==0);r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),s===0&&(r.gzindex=0,r.status=ee)}else r.status=ee}if(r.status===ee){if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),ue(e),a=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.comment.length?r.gzhead.comment.charCodeAt(r.gzindex++)&255:0,W(r,s)}while(s!==0);r.gzhead.hcrc&&r.pending>a&&(e.adler=o(e.adler,r.pending_buf,r.pending-a,a)),s===0&&(r.status=te)}else r.status=te}if(r.status===te&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&ue(e),r.pending+2<=r.pending_buf_size&&(W(r,e.adler&255),W(r,e.adler>>8&255),e.adler=0,r.status=ne)):r.status=ne),r.pending!==0){if(ue(e),e.avail_out===0)return r.last_flush=-1,p}else if(e.avail_in===0&&H(t)<=H(n)&&t!==d)return ce(e,_);if(r.status===V&&e.avail_in!==0)return ce(e,_);if(e.avail_in!==0||r.lookahead!==0||t!==c&&r.status!==V){var y=r.strategy===b?me(r,t):r.strategy===x?pe(r,t):he[r.level].func(r,t);if((y===ae||y===oe)&&(r.status=V),y===re||y===ae)return e.avail_out===0&&(r.last_flush=-1),p;if(y===ie&&(t===l?i._tr_align(r):t!==f&&(i._tr_stored_block(r,0,0,!1),t===u&&(le(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),ue(e),e.avail_out===0))return r.last_flush=-1,p}return t===d?r.wrap<=0?m:(r.wrap===2?(W(r,e.adler&255),W(r,e.adler>>8&255),W(r,e.adler>>16&255),W(r,e.adler>>24&255),W(r,e.total_in&255),W(r,e.total_in>>8&255),W(r,e.total_in>>16&255),W(r,e.total_in>>24&255)):(G(r,e.adler>>>16),G(r,e.adler&65535)),ue(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending===0?m:p):p}function we(e){var t;return!e||!e.state?h:(t=e.state.status,t!==R&&t!==z&&t!==B&&t!==ee&&t!==te&&t!==ne&&t!==V?ce(e,h):(e.state=null,t===ne?ce(e,g):p))}function Te(e,t){var n=t.length,i,o,s,c,l,u,d,f;if(!e||!e.state||(i=e.state,c=i.wrap,c===2||c===1&&i.status!==R||i.lookahead))return h;for(c===1&&(e.adler=a(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(c===0&&(le(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new r.Buf8(i.w_size),r.arraySet(f,t,n-i.w_size,i.w_size,0),t=f,n=i.w_size),l=e.avail_in,u=e.next_in,d=e.input,e.avail_in=n,e.next_in=0,e.input=t,K(i);i.lookahead>=P;){o=i.strstart,s=i.lookahead-(P-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[o+P-1])&i.hash_mask,i.prev[o&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=o,o++;while(--s);i.strstart=o,i.lookahead=P-1,K(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=P-1,i.match_available=0,e.next_in=u,e.input=d,e.avail_in=l,i.wrap=c,p}t.deflateInit=Se,t.deflateInit2=xe,t.deflateReset=ye,t.deflateResetKeep=ve,t.deflateSetHeader=be,t.deflate=Ce,t.deflateEnd=we,t.deflateSetDictionary=Te,t.deflateInfo=`pako deflate (from Nodeca project)`},6395(e){e.exports=function(e,t){var n=e.state,r=e.next_in,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T=e.input,E;i=r+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,d=n.wnext,f=n.window,p=n.hold,m=n.bits,h=n.lencode,g=n.distcode,_=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;top:do{m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=h[p&_];dolen:for(;;){if(b=y>>>24,p>>>=b,m-=b,b=y>>>16&255,b===0)E[a++]=y&65535;else if(b&16){x=y&65535,b&=15,b&&(m<b&&(p+=T[r++]<<m,m+=8),x+=p&(1<<b)-1,p>>>=b,m-=b),m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=g[p&v];dodist:for(;;){if(b=y>>>24,p>>>=b,m-=b,b=y>>>16&255,b&16){if(S=y&65535,b&=15,m<b&&(p+=T[r++]<<m,m+=8,m<b&&(p+=T[r++]<<m,m+=8)),S+=p&(1<<b)-1,S>c){e.msg=`invalid distance too far back`,n.mode=30;break top}if(p>>>=b,m-=b,b=a-o,S>b){if(b=S-b,b>u&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break top}if(C=0,w=f,d===0){if(C+=l-b,b<x){x-=b;do E[a++]=f[C++];while(--b);C=a-S,w=E}}else if(d<b){if(C+=l+d-b,b-=d,b<x){x-=b;do E[a++]=f[C++];while(--b);if(C=0,d<x){b=d,x-=b;do E[a++]=f[C++];while(--b);C=a-S,w=E}}}else if(C+=d-b,b<x){x-=b;do E[a++]=f[C++];while(--b);C=a-S,w=E}for(;x>2;)E[a++]=w[C++],E[a++]=w[C++],E[a++]=w[C++],x-=3;x&&(E[a++]=w[C++],x>1&&(E[a++]=w[C++]))}else{C=a-S;do E[a++]=E[C++],E[a++]=E[C++],E[a++]=E[C++],x-=3;while(x>2);x&&(E[a++]=E[C++],x>1&&(E[a++]=E[C++]))}}else if(b&64){e.msg=`invalid distance code`,n.mode=30;break top}else{y=g[(y&65535)+(p&(1<<b)-1)];continue dodist}break}}else if(!(b&64)){y=h[(y&65535)+(p&(1<<b)-1)];continue dolen}else if(b&32){n.mode=12;break top}else{e.msg=`invalid literal/length code`,n.mode=30;break top}break}}while(r<i&&a<s);x=m>>3,r-=x,m-=x<<3,p&=(1<<m)-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?5+(i-r):5-(r-i),e.avail_out=a<s?257+(s-a):257-(a-s),n.hold=p,n.bits=m}},2269(e,t,n){var r=n(2519),i=n(6911),a=n(9049),o=n(6395),s=n(2920),c=0,l=1,u=2,d=4,f=5,p=6,m=0,h=1,g=2,_=-2,v=-3,y=-4,b=-5,x=8,S=1,C=2,w=3,T=4,E=5,D=6,O=7,k=8,A=9,j=10,M=11,N=12,P=13,F=14,I=15,L=16,R=17,z=18,B=19,ee=20,te=21,ne=22,V=23,re=24,ie=25,ae=26,oe=27,se=28,ce=29,H=30,le=31,ue=32,U=852,W=592,G=15;function de(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function fe(){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 r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function K(e){var t;return!e||!e.state?_:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=``,t.wrap&&(e.adler=t.wrap&1),t.mode=S,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(U),t.distcode=t.distdyn=new r.Buf32(W),t.sane=1,t.back=-1,m)}function q(e){var t;return!e||!e.state?_:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,K(e))}function J(e,t){var n,r;return!e||!e.state||(r=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?_:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,q(e))}function Y(e,t){var n,r;return e?(r=new fe,e.state=r,r.window=null,n=J(e,t),n!==m&&(e.state=null),n):_}function pe(e){return Y(e,G)}var me=!0,X,he;function ge(e){if(me){var t;for(X=new r.Buf32(512),he=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(l,e.lens,0,288,X,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(u,e.lens,0,32,he,0,e.work,{bits:5}),me=!1}e.lencode=X,e.lenbits=9,e.distcode=he,e.distbits=5}function _e(e,t,n,i){var a,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new r.Buf8(o.wsize)),i>=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>i&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),i-=a,i?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}function ve(e,t){var n,U,W,G,fe,K,q,J,Y,pe,me,X,he,ve,ye=0,be,xe,Se,Ce,we,Te,Ee,De,Oe=new r.Buf8(4),ke,Ae,je=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return _;n=e.state,n.mode===N&&(n.mode=P),fe=e.next_out,W=e.output,q=e.avail_out,G=e.next_in,U=e.input,K=e.avail_in,J=n.hold,Y=n.bits,pe=K,me=q,De=m;inf_leave:for(;;)switch(n.mode){case S:if(n.wrap===0){n.mode=P;break}for(;Y<16;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if(n.wrap&2&&J===35615){n.check=0,Oe[0]=J&255,Oe[1]=J>>>8&255,n.check=a(n.check,Oe,2,0),J=0,Y=0,n.mode=C;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((J&255)<<8)+(J>>8))%31){e.msg=`incorrect header check`,n.mode=H;break}if((J&15)!==x){e.msg=`unknown compression method`,n.mode=H;break}if(J>>>=4,Y-=4,Ee=(J&15)+8,n.wbits===0)n.wbits=Ee;else if(Ee>n.wbits){e.msg=`invalid window size`,n.mode=H;break}n.dmax=1<<Ee,e.adler=n.check=1,n.mode=J&512?j:N,J=0,Y=0;break;case C:for(;Y<16;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if(n.flags=J,(n.flags&255)!==x){e.msg=`unknown compression method`,n.mode=H;break}if(n.flags&57344){e.msg=`unknown header flags set`,n.mode=H;break}n.head&&(n.head.text=J>>8&1),n.flags&512&&(Oe[0]=J&255,Oe[1]=J>>>8&255,n.check=a(n.check,Oe,2,0)),J=0,Y=0,n.mode=w;case w:for(;Y<32;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}n.head&&(n.head.time=J),n.flags&512&&(Oe[0]=J&255,Oe[1]=J>>>8&255,Oe[2]=J>>>16&255,Oe[3]=J>>>24&255,n.check=a(n.check,Oe,4,0)),J=0,Y=0,n.mode=T;case T:for(;Y<16;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}n.head&&(n.head.xflags=J&255,n.head.os=J>>8),n.flags&512&&(Oe[0]=J&255,Oe[1]=J>>>8&255,n.check=a(n.check,Oe,2,0)),J=0,Y=0,n.mode=E;case E:if(n.flags&1024){for(;Y<16;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}n.length=J,n.head&&(n.head.extra_len=J),n.flags&512&&(Oe[0]=J&255,Oe[1]=J>>>8&255,n.check=a(n.check,Oe,2,0)),J=0,Y=0}else n.head&&(n.head.extra=null);n.mode=D;case D:if(n.flags&1024&&(X=n.length,X>K&&(X=K),X&&(n.head&&(Ee=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),r.arraySet(n.head.extra,U,G,X,Ee)),n.flags&512&&(n.check=a(n.check,U,X,G)),K-=X,G+=X,n.length-=X),n.length))break inf_leave;n.length=0,n.mode=O;case O:if(n.flags&2048){if(K===0)break inf_leave;X=0;do Ee=U[G+X++],n.head&&Ee&&n.length<65536&&(n.head.name+=String.fromCharCode(Ee));while(Ee&&X<K);if(n.flags&512&&(n.check=a(n.check,U,X,G)),K-=X,G+=X,Ee)break inf_leave}else n.head&&(n.head.name=null);n.length=0,n.mode=k;case k:if(n.flags&4096){if(K===0)break inf_leave;X=0;do Ee=U[G+X++],n.head&&Ee&&n.length<65536&&(n.head.comment+=String.fromCharCode(Ee));while(Ee&&X<K);if(n.flags&512&&(n.check=a(n.check,U,X,G)),K-=X,G+=X,Ee)break inf_leave}else n.head&&(n.head.comment=null);n.mode=A;case A:if(n.flags&512){for(;Y<16;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if(J!==(n.check&65535)){e.msg=`header crc mismatch`,n.mode=H;break}J=0,Y=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=N;break;case j:for(;Y<32;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}e.adler=n.check=de(J),J=0,Y=0,n.mode=M;case M:if(n.havedict===0)return e.next_out=fe,e.avail_out=q,e.next_in=G,e.avail_in=K,n.hold=J,n.bits=Y,g;e.adler=n.check=1,n.mode=N;case N:if(t===f||t===p)break inf_leave;case P:if(n.last){J>>>=Y&7,Y-=Y&7,n.mode=oe;break}for(;Y<3;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}switch(n.last=J&1,J>>>=1,--Y,J&3){case 0:n.mode=F;break;case 1:if(ge(n),n.mode=ee,t===p){J>>>=2,Y-=2;break inf_leave}break;case 2:n.mode=R;break;case 3:e.msg=`invalid block type`,n.mode=H}J>>>=2,Y-=2;break;case F:for(J>>>=Y&7,Y-=Y&7;Y<32;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if((J&65535)!=(J>>>16^65535)){e.msg=`invalid stored block lengths`,n.mode=H;break}if(n.length=J&65535,J=0,Y=0,n.mode=I,t===p)break inf_leave;case I:n.mode=L;case L:if(X=n.length,X){if(X>K&&(X=K),X>q&&(X=q),X===0)break inf_leave;r.arraySet(W,U,G,X,fe),K-=X,G+=X,q-=X,fe+=X,n.length-=X;break}n.mode=N;break;case R:for(;Y<14;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if(n.nlen=(J&31)+257,J>>>=5,Y-=5,n.ndist=(J&31)+1,J>>>=5,Y-=5,n.ncode=(J&15)+4,J>>>=4,Y-=4,n.nlen>286||n.ndist>30){e.msg=`too many length or distance symbols`,n.mode=H;break}n.have=0,n.mode=z;case z:for(;n.have<n.ncode;){for(;Y<3;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}n.lens[je[n.have++]]=J&7,J>>>=3,Y-=3}for(;n.have<19;)n.lens[je[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,ke={bits:n.lenbits},De=s(c,n.lens,0,19,n.lencode,0,n.work,ke),n.lenbits=ke.bits,De){e.msg=`invalid code lengths set`,n.mode=H;break}n.have=0,n.mode=B;case B:for(;n.have<n.nlen+n.ndist;){for(;ye=n.lencode[J&(1<<n.lenbits)-1],be=ye>>>24,xe=ye>>>16&255,Se=ye&65535,!(be<=Y);){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if(Se<16)J>>>=be,Y-=be,n.lens[n.have++]=Se;else{if(Se===16){for(Ae=be+2;Y<Ae;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if(J>>>=be,Y-=be,n.have===0){e.msg=`invalid bit length repeat`,n.mode=H;break}Ee=n.lens[n.have-1],X=3+(J&3),J>>>=2,Y-=2}else if(Se===17){for(Ae=be+3;Y<Ae;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}J>>>=be,Y-=be,Ee=0,X=3+(J&7),J>>>=3,Y-=3}else{for(Ae=be+7;Y<Ae;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}J>>>=be,Y-=be,Ee=0,X=11+(J&127),J>>>=7,Y-=7}if(n.have+X>n.nlen+n.ndist){e.msg=`invalid bit length repeat`,n.mode=H;break}for(;X--;)n.lens[n.have++]=Ee}}if(n.mode===H)break;if(n.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,n.mode=H;break}if(n.lenbits=9,ke={bits:n.lenbits},De=s(l,n.lens,0,n.nlen,n.lencode,0,n.work,ke),n.lenbits=ke.bits,De){e.msg=`invalid literal/lengths set`,n.mode=H;break}if(n.distbits=6,n.distcode=n.distdyn,ke={bits:n.distbits},De=s(u,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,ke),n.distbits=ke.bits,De){e.msg=`invalid distances set`,n.mode=H;break}if(n.mode=ee,t===p)break inf_leave;case ee:n.mode=te;case te:if(K>=6&&q>=258){e.next_out=fe,e.avail_out=q,e.next_in=G,e.avail_in=K,n.hold=J,n.bits=Y,o(e,me),fe=e.next_out,W=e.output,q=e.avail_out,G=e.next_in,U=e.input,K=e.avail_in,J=n.hold,Y=n.bits,n.mode===N&&(n.back=-1);break}for(n.back=0;ye=n.lencode[J&(1<<n.lenbits)-1],be=ye>>>24,xe=ye>>>16&255,Se=ye&65535,!(be<=Y);){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if(xe&&!(xe&240)){for(Ce=be,we=xe,Te=Se;ye=n.lencode[Te+((J&(1<<Ce+we)-1)>>Ce)],be=ye>>>24,xe=ye>>>16&255,Se=ye&65535,!(Ce+be<=Y);){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}J>>>=Ce,Y-=Ce,n.back+=Ce}if(J>>>=be,Y-=be,n.back+=be,n.length=Se,xe===0){n.mode=ae;break}if(xe&32){n.back=-1,n.mode=N;break}if(xe&64){e.msg=`invalid literal/length code`,n.mode=H;break}n.extra=xe&15,n.mode=ne;case ne:if(n.extra){for(Ae=n.extra;Y<Ae;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}n.length+=J&(1<<n.extra)-1,J>>>=n.extra,Y-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=V;case V:for(;ye=n.distcode[J&(1<<n.distbits)-1],be=ye>>>24,xe=ye>>>16&255,Se=ye&65535,!(be<=Y);){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if(!(xe&240)){for(Ce=be,we=xe,Te=Se;ye=n.distcode[Te+((J&(1<<Ce+we)-1)>>Ce)],be=ye>>>24,xe=ye>>>16&255,Se=ye&65535,!(Ce+be<=Y);){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}J>>>=Ce,Y-=Ce,n.back+=Ce}if(J>>>=be,Y-=be,n.back+=be,xe&64){e.msg=`invalid distance code`,n.mode=H;break}n.offset=Se,n.extra=xe&15,n.mode=re;case re:if(n.extra){for(Ae=n.extra;Y<Ae;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}n.offset+=J&(1<<n.extra)-1,J>>>=n.extra,Y-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=`invalid distance too far back`,n.mode=H;break}n.mode=ie;case ie:if(q===0)break inf_leave;if(X=me-q,n.offset>X){if(X=n.offset-X,X>n.whave&&n.sane){e.msg=`invalid distance too far back`,n.mode=H;break}X>n.wnext?(X-=n.wnext,he=n.wsize-X):he=n.wnext-X,X>n.length&&(X=n.length),ve=n.window}else ve=W,he=fe-n.offset,X=n.length;X>q&&(X=q),q-=X,n.length-=X;do W[fe++]=ve[he++];while(--X);n.length===0&&(n.mode=te);break;case ae:if(q===0)break inf_leave;W[fe++]=n.length,q--,n.mode=te;break;case oe:if(n.wrap){for(;Y<32;){if(K===0)break inf_leave;K--,J|=U[G++]<<Y,Y+=8}if(me-=q,e.total_out+=me,n.total+=me,me&&(e.adler=n.check=n.flags?a(n.check,W,me,fe-me):i(n.check,W,me,fe-me)),me=q,(n.flags?J:de(J))!==n.check){e.msg=`incorrect data check`,n.mode=H;break}J=0,Y=0}n.mode=se;case se:if(n.wrap&&n.flags){for(;Y<32;){if(K===0)break inf_leave;K--,J+=U[G++]<<Y,Y+=8}if(J!==(n.total&4294967295)){e.msg=`incorrect length check`,n.mode=H;break}J=0,Y=0}n.mode=ce;case ce:De=h;break inf_leave;case H:De=v;break inf_leave;case le:return y;case ue:default:return _}return e.next_out=fe,e.avail_out=q,e.next_in=G,e.avail_in=K,n.hold=J,n.bits=Y,(n.wsize||me!==e.avail_out&&n.mode<H&&(n.mode<oe||t!==d))&&_e(e,e.output,e.next_out,me-e.avail_out)?(n.mode=le,y):(pe-=e.avail_in,me-=e.avail_out,e.total_in+=pe,e.total_out+=me,n.total+=me,n.wrap&&me&&(e.adler=n.check=n.flags?a(n.check,W,me,e.next_out-me):i(n.check,W,me,e.next_out-me)),e.data_type=n.bits+(n.last?64:0)+(n.mode===N?128:0)+(n.mode===ee||n.mode===I?256:0),(pe===0&&me===0||t===d)&&De===m&&(De=b),De)}function ye(e){if(!e||!e.state)return _;var t=e.state;return t.window&&=null,e.state=null,m}function be(e,t){var n;return!e||!e.state||(n=e.state,!(n.wrap&2))?_:(n.head=t,t.done=!1,m)}function xe(e,t){var n=t.length,r,a,o;return!e||!e.state||(r=e.state,r.wrap!==0&&r.mode!==M)?_:r.mode===M&&(a=1,a=i(a,t,n,0),a!==r.check)?v:(o=_e(e,t,n,n),o?(r.mode=le,y):(r.havedict=1,m))}t.inflateReset=q,t.inflateReset2=J,t.inflateResetKeep=K,t.inflateInit=pe,t.inflateInit2=Y,t.inflate=ve,t.inflateEnd=ye,t.inflateGetHeader=be,t.inflateSetDictionary=xe,t.inflateInfo=`pako inflate (from Nodeca project)`},2920(e,t,n){var r=n(2519),i=15,a=852,o=592,s=0,c=1,l=2,u=[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],d=[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],f=[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],p=[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];e.exports=function(e,t,n,m,h,g,_,v){var y=v.bits,b=0,x=0,S=0,C=0,w=0,T=0,E=0,D=0,O=0,k=0,A,j,M,N,P,F=null,I=0,L,R=new r.Buf16(i+1),z=new r.Buf16(i+1),B=null,ee=0,te,ne,V;for(b=0;b<=i;b++)R[b]=0;for(x=0;x<m;x++)R[t[n+x]]++;for(w=y,C=i;C>=1&&R[C]===0;C--);if(w>C&&(w=C),C===0)return h[g++]=20971520,h[g++]=20971520,v.bits=1,0;for(S=1;S<C&&R[S]===0;S++);for(w<S&&(w=S),D=1,b=1;b<=i;b++)if(D<<=1,D-=R[b],D<0)return-1;if(D>0&&(e===s||C!==1))return-1;for(z[1]=0,b=1;b<i;b++)z[b+1]=z[b]+R[b];for(x=0;x<m;x++)t[n+x]!==0&&(_[z[t[n+x]]++]=x);if(e===s?(F=B=_,L=19):e===c?(F=u,I-=257,B=d,ee-=257,L=256):(F=f,B=p,L=-1),k=0,x=0,b=S,P=g,T=w,E=0,M=-1,O=1<<w,N=O-1,e===c&&O>a||e===l&&O>o)return 1;for(;;){te=b-E,_[x]<L?(ne=0,V=_[x]):_[x]>L?(ne=B[ee+_[x]],V=F[I+_[x]]):(ne=96,V=0),A=1<<b-E,j=1<<T,S=j;do j-=A,h[P+(k>>E)+j]=te<<24|ne<<16|V|0;while(j!==0);for(A=1<<b-1;k&A;)A>>=1;if(A===0?k=0:(k&=A-1,k+=A),x++,--R[b]===0){if(b===C)break;b=t[n+_[x]]}if(b>w&&(k&N)!==M){for(E===0&&(E=w),P+=S,T=b-E,D=1<<T;T+E<C&&(D-=R[T+E],!(D<=0));)T++,D<<=1;if(O+=1<<T,e===c&&O>a||e===l&&O>o)return 1;M=k&N,h[M]=w<<24|T<<16|P-g|0}}return k!==0&&(h[P+k]=b-E<<24|4194304),v.bits=w,0}},6228(e){e.exports={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`}},2367(e,t,n){var r=n(2519),i=4,a=0,o=1,s=2;function c(e){for(var t=e.length;--t>=0;)e[t]=0}var l=0,u=1,d=2,f=3,p=258,m=29,h=256,g=h+1+m,_=30,v=19,y=2*g+1,b=15,x=16,S=7,C=256,w=16,T=17,E=18,D=[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],O=[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],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],A=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],j=512,M=Array((g+2)*2);c(M);var N=Array(_*2);c(N);var P=Array(j);c(P);var F=Array(p-f+1);c(F);var I=Array(m);c(I);var L=Array(_);c(L);function R(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}var z,B,ee;function te(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function ne(e){return e<256?P[e]:P[256+(e>>>7)]}function V(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function re(e,t,n){e.bi_valid>x-n?(e.bi_buf|=t<<e.bi_valid&65535,V(e,e.bi_buf),e.bi_buf=t>>x-e.bi_valid,e.bi_valid+=n-x):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function ie(e,t,n){re(e,n[t*2],n[t*2+1])}function ae(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function oe(e){e.bi_valid===16?(V(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function se(e,t){var n=t.dyn_tree,r=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length,l,u,d,f,p,m,h=0;for(f=0;f<=b;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;l<y;l++)u=e.heap[l],f=n[n[u*2+1]*2+1]+1,f>c&&(f=c,h++),n[u*2+1]=f,!(u>r)&&(e.bl_count[f]++,p=0,u>=s&&(p=o[u-s]),m=n[u*2],e.opt_len+=m*(f+p),a&&(e.static_len+=m*(i[u*2+1]+p)));if(h!==0){do{for(f=c-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[c]--,h-=2}while(h>0);for(f=c;f!==0;f--)for(u=e.bl_count[f];u!==0;)d=e.heap[--l],!(d>r)&&(n[d*2+1]!==f&&(e.opt_len+=(f-n[d*2+1])*n[d*2],n[d*2+1]=f),u--)}}function ce(e,t,n){for(var r=Array(b+1),i=0,a=1,o;a<=b;a++)r[a]=i=i+n[a-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=ae(r[s]++,s))}}function H(){var e,t,n,r,i,a=Array(b+1);for(n=0,r=0;r<m-1;r++)for(I[r]=n,e=0;e<1<<D[r];e++)F[n++]=r;for(F[n-1]=r,i=0,r=0;r<16;r++)for(L[r]=i,e=0;e<1<<O[r];e++)P[i++]=r;for(i>>=7;r<_;r++)for(L[r]=i<<7,e=0;e<1<<O[r]-7;e++)P[256+i++]=r;for(t=0;t<=b;t++)a[t]=0;for(e=0;e<=143;)M[e*2+1]=8,e++,a[8]++;for(;e<=255;)M[e*2+1]=9,e++,a[9]++;for(;e<=279;)M[e*2+1]=7,e++,a[7]++;for(;e<=287;)M[e*2+1]=8,e++,a[8]++;for(ce(M,g+1,a),e=0;e<_;e++)N[e*2+1]=5,N[e*2]=ae(e,5);z=new R(M,D,h+1,g,b),B=new R(N,O,0,_,b),ee=new R([],k,0,v,S)}function le(e){for(var t=0;t<g;t++)e.dyn_ltree[t*2]=0;for(t=0;t<_;t++)e.dyn_dtree[t*2]=0;for(t=0;t<v;t++)e.bl_tree[t*2]=0;e.dyn_ltree[C*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function ue(e){e.bi_valid>8?V(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function U(e,t,n,i){ue(e),i&&(V(e,n),V(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function W(e,t,n,r){var i=t*2,a=n*2;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function G(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&W(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!W(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function de(e,t,n){var r,i,a=0,o,s;if(e.last_lit!==0)do r=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,r===0?ie(e,i,t):(o=F[i],ie(e,o+h+1,t),s=D[o],s!==0&&(i-=I[o],re(e,i,s)),r--,o=ne(r),ie(e,o,n),s=O[o],s!==0&&(r-=L[o],re(e,r,s)));while(a<e.last_lit);ie(e,C,t)}function fe(e,t){var n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,o,s,c=-1,l;for(e.heap_len=0,e.heap_max=y,o=0;o<a;o++)n[o*2]===0?n[o*2+1]=0:(e.heap[++e.heap_len]=c=o,e.depth[o]=0);for(;e.heap_len<2;)l=e.heap[++e.heap_len]=c<2?++c:0,n[l*2]=1,e.depth[l]=0,e.opt_len--,i&&(e.static_len-=r[l*2+1]);for(t.max_code=c,o=e.heap_len>>1;o>=1;o--)G(e,n,o);l=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,n[l*2]=n[o*2]+n[s*2],e.depth[l]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,n[o*2+1]=n[s*2+1]=l,e.heap[1]=l++,G(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],se(e,t),ce(n,c,e.bl_count)}function K(e,t,n){var r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)&&(s<l?e.bl_tree[a*2]+=s:a===0?s<=10?e.bl_tree[T*2]++:e.bl_tree[E*2]++:(a!==i&&e.bl_tree[a*2]++,e.bl_tree[w*2]++),s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4))}function q(e,t,n){var r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),r=0;r<=n;r++)if(a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)){if(s<l)do ie(e,a,e.bl_tree);while(--s!==0);else a===0?s<=10?(ie(e,T,e.bl_tree),re(e,s-3,3)):(ie(e,E,e.bl_tree),re(e,s-11,7)):(a!==i&&(ie(e,a,e.bl_tree),s--),ie(e,w,e.bl_tree),re(e,s-3,2));s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4)}}function J(e){var t;for(K(e,e.dyn_ltree,e.l_desc.max_code),K(e,e.dyn_dtree,e.d_desc.max_code),fe(e,e.bl_desc),t=v-1;t>=3&&e.bl_tree[A[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Y(e,t,n,r){var i;for(re(e,t-257,5),re(e,n-1,5),re(e,r-4,4),i=0;i<r;i++)re(e,e.bl_tree[A[i]*2+1],3);q(e,e.dyn_ltree,t-1),q(e,e.dyn_dtree,n-1)}function pe(e){for(var t=4093624447,n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return a;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return o;for(n=32;n<h;n++)if(e.dyn_ltree[n*2]!==0)return o;return a}var me=!1;function X(e){me||=(H(),!0),e.l_desc=new te(e.dyn_ltree,z),e.d_desc=new te(e.dyn_dtree,B),e.bl_desc=new te(e.bl_tree,ee),e.bi_buf=0,e.bi_valid=0,le(e)}function he(e,t,n,r){re(e,(l<<1)+ +!!r,3),U(e,t,n,!0)}function ge(e){re(e,u<<1,3),ie(e,C,M),oe(e)}function _e(e,t,n,r){var a,o,c=0;e.level>0?(e.strm.data_type===s&&(e.strm.data_type=pe(e)),fe(e,e.l_desc),fe(e,e.d_desc),c=J(e),a=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=a&&(a=o)):a=o=n+5,n+4<=a&&t!==-1?he(e,t,n,r):e.strategy===i||o===a?(re(e,(u<<1)+ +!!r,3),de(e,M,N)):(re(e,(d<<1)+ +!!r,3),Y(e,e.l_desc.max_code+1,e.d_desc.max_code+1,c+1),de(e,e.dyn_ltree,e.dyn_dtree)),le(e),r&&ue(e)}function ve(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(F[n]+h+1)*2]++,e.dyn_dtree[ne(t)*2]++),e.last_lit===e.lit_bufsize-1}t._tr_init=X,t._tr_stored_block=he,t._tr_flush_block=_e,t._tr_tally=ve,t._tr_align=ge},7468(e){function t(){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}e.exports=t},884(e){e.exports=[`Float16Array`,`Float32Array`,`Float64Array`,`Int8Array`,`Int16Array`,`Int32Array`,`Uint8Array`,`Uint8ClampedArray`,`Uint16Array`,`Uint32Array`,`BigInt64Array`,`BigUint64Array`]},9964(e){var t=e.exports={},n,r;function i(){throw Error(`setTimeout has not been defined`)}function a(){throw Error(`clearTimeout has not been defined`)}(function(){try{n=typeof setTimeout==`function`?setTimeout:i}catch{n=i}try{r=typeof clearTimeout==`function`?clearTimeout:a}catch{r=a}})();function o(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch{try{return n.call(null,e,0)}catch{return n.call(this,e,0)}}}function s(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch{try{return r.call(null,e)}catch{return r.call(this,e)}}}var c=[],l=!1,u,d=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&p())}function p(){if(!l){var e=o(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,s(e)}}t.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),c.length===1&&!l&&o(p)};function m(e,t){this.fun=e,this.array=t}m.prototype.run=function(){this.fun.apply(null,this.array)},t.title=`browser`,t.browser=!0,t.env={},t.argv=[],t.version=``,t.versions={};function h(){}t.on=h,t.addListener=h,t.once=h,t.off=h,t.removeListener=h,t.removeAllListeners=h,t.emit=h,t.prependListener=h,t.prependOnceListener=h,t.listeners=function(e){return[]},t.binding=function(e){throw Error(`process.binding is not supported`)},t.cwd=function(){return`/`},t.chdir=function(e){throw Error(`process.chdir is not supported`)},t.umask=function(){return 0}},8843(e,t,n){var r=n(2774),i=n(1689),a=r(`RegExp.prototype.exec`),o=n(6785);e.exports=function(e){if(!i(e))throw new o("`regex` must be a RegExp");return function(t){return a(e,t)!==null}}},1733(e,t,n){var r=n(783).Buffer;(function(e){e.parser=function(e,t){return new i(e,t)},e.SAXParser=i,e.SAXStream=f,e.createStream=u,e.MAX_BUFFER_LENGTH=65536;var t=[`comment`,`sgmlDecl`,`textNode`,`tagName`,`doctype`,`procInstName`,`procInstBody`,`entity`,`attribName`,`attribValue`,`cdata`,`script`];e.EVENTS=[`text`,`processinginstruction`,`sgmldeclaration`,`doctype`,`comment`,`opentagstart`,`attribute`,`opentag`,`closetag`,`opencdata`,`cdata`,`closecdata`,`error`,`end`,`ready`,`script`,`opennamespace`,`closenamespace`];function i(t,n){if(!(this instanceof i))return new i(t,n);var r=this;o(r),r.q=r.c=``,r.bufferCheckPosition=e.MAX_BUFFER_LENGTH,r.encoding=null,r.opt=n||{},r.opt.lowercase=r.opt.lowercase||r.opt.lowercasetags,r.looseCase=r.opt.lowercase?`toLowerCase`:`toUpperCase`,r.opt.maxEntityCount=r.opt.maxEntityCount||512,r.opt.maxEntityDepth=r.opt.maxEntityDepth||4,r.entityCount=r.entityDepth=0,r.tags=[],r.closed=r.closedRoot=r.sawRoot=!1,r.tag=r.error=null,r.strict=!!t,r.noscript=!!(t||r.opt.noscript),r.state=D.BEGIN,r.strictEntities=r.opt.strictEntities,r.ENTITIES=r.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),r.attribList=[],r.opt.xmlns&&(r.ns=Object.create(_)),r.opt.unquotedAttributeValues===void 0&&(r.opt.unquotedAttributeValues=!t),r.trackPosition=r.opt.position!==!1,r.trackPosition&&(r.position=r.line=r.column=0),k(r,`onready`)}Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t});function a(n){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),i=0,a=0,o=t.length;a<o;a++){var s=n[t[a]].length;if(s>r)switch(t[a]){case`textNode`:F(n);break;case`cdata`:P(n,`oncdata`,n.cdata),n.cdata=``;break;case`script`:P(n,`onscript`,n.script),n.script=``;break;default:L(n,`Max buffer length exceeded: `+t[a])}i=Math.max(i,s)}n.bufferCheckPosition=e.MAX_BUFFER_LENGTH-i+n.position}function o(e){for(var n=0,r=t.length;n<r;n++)e[t[n]]=``}function s(e){F(e),e.cdata!==``&&(P(e,`oncdata`,e.cdata),e.cdata=``),e.script!==``&&(P(e,`onscript`,e.script),e.script=``)}i.prototype={end:function(){R(this)},write:oe,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){s(this)}};var c;try{c=n(9760).Stream}catch{c=function(){}}c||=function(){};var l=e.EVENTS.filter(function(e){return e!==`error`&&e!==`end`});function u(e,t){return new f(e,t)}function d(e,t){if(e.length>=2){if(e[0]===255&&e[1]===254)return`utf-16le`;if(e[0]===254&&e[1]===255)return`utf-16be`}return e.length>=3&&e[0]===239&&e[1]===187&&e[2]===191?`utf8`:e.length>=4?e[0]===60&&e[1]===0&&e[2]===63&&e[3]===0?`utf-16le`:e[0]===0&&e[1]===60&&e[2]===0&&e[3]===63?`utf-16be`:`utf8`:t?`utf8`:null}function f(e,t){if(!(this instanceof f))return new f(e,t);c.apply(this),this._parser=new i(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit(`end`)},this._parser.onerror=function(e){n.emit(`error`,e),n._parser.error=null},this._decoder=null,this._decoderBuffer=null,l.forEach(function(e){Object.defineProperty(n,`on`+e,{get:function(){return n._parser[`on`+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser[`on`+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})})}f.prototype=Object.create(c.prototype,{constructor:{value:f}}),f.prototype._decodeBuffer=function(e,t){if(this._decoderBuffer&&=(e=r.concat([this._decoderBuffer,e]),null),!this._decoder){var n=d(e,t);if(!n)return this._decoderBuffer=e,``;this._parser.encoding=n,this._decoder=new TextDecoder(n)}return this._decoder.decode(e,{stream:!t})},f.prototype.write=function(e){if(typeof r==`function`&&typeof r.isBuffer==`function`&&r.isBuffer(e))e=this._decodeBuffer(e,!1);else if(this._decoderBuffer){var t=this._decodeBuffer(r.alloc(0),!0);t&&(this._parser.write(t),this.emit(`data`,t))}return this._parser.write(e.toString()),this.emit(`data`,e),!0},f.prototype.end=function(e){if(e&&e.length&&this.write(e),this._decoderBuffer){var t=this._decodeBuffer(r.alloc(0),!0);t&&(this._parser.write(t),this.emit(`data`,t))}else if(this._decoder){var n=this._decoder.decode();n&&(this._parser.write(n),this.emit(`data`,n))}return this._parser.end(),!0},f.prototype.on=function(e,t){var n=this;return!n._parser[`on`+e]&&l.indexOf(e)!==-1&&(n._parser[`on`+e]=function(){var t=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),c.prototype.on.call(n,e,t)};var p=`[CDATA[`,m=`DOCTYPE`,h=`http://www.w3.org/XML/1998/namespace`,g=`http://www.w3.org/2000/xmlns/`,_={xml:h,xmlns:g},v=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,y=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,b=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,x=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function S(e){return e===` `||e===`
|
|
210
|
+
`||e===`\r`||e===` `}function C(e){return e===`"`||e===`'`}function w(e){return e===`>`||S(e)}function T(e,t){return e.test(t)}function E(e,t){return!T(e,t)}var D=0;for(var O in e.STATE={BEGIN:D++,BEGIN_WHITESPACE:D++,TEXT:D++,TEXT_ENTITY:D++,OPEN_WAKA:D++,SGML_DECL:D++,SGML_DECL_QUOTED:D++,DOCTYPE:D++,DOCTYPE_QUOTED:D++,DOCTYPE_DTD:D++,DOCTYPE_DTD_QUOTED:D++,COMMENT_STARTING:D++,COMMENT:D++,COMMENT_ENDING:D++,COMMENT_ENDED:D++,CDATA:D++,CDATA_ENDING:D++,CDATA_ENDING_2:D++,PROC_INST:D++,PROC_INST_BODY:D++,PROC_INST_ENDING:D++,OPEN_TAG:D++,OPEN_TAG_SLASH:D++,ATTRIB:D++,ATTRIB_NAME:D++,ATTRIB_NAME_SAW_WHITE:D++,ATTRIB_VALUE:D++,ATTRIB_VALUE_QUOTED:D++,ATTRIB_VALUE_CLOSED:D++,ATTRIB_VALUE_UNQUOTED:D++,ATTRIB_VALUE_ENTITY_Q:D++,ATTRIB_VALUE_ENTITY_U:D++,CLOSE_TAG:D++,CLOSE_TAG_SAW_WHITE:D++,SCRIPT:D++,SCRIPT_ENDING:D++},e.XML_ENTITIES={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},e.ENTITIES={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`,AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach(function(t){var n=e.ENTITIES[t],r=typeof n==`number`?String.fromCharCode(n):n;e.ENTITIES[t]=r}),e.STATE)e.STATE[e.STATE[O]]=O;D=e.STATE;function k(e,t,n){e[t]&&e[t](n)}function A(e){var t=e&&e.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i);return t?t[2]:null}function j(e){return e?e.toLowerCase().replace(/[^a-z0-9]/g,``):null}function M(e,t){let n=j(e),r=j(t);return!n||!r?!0:r===`utf16`?n===`utf16le`||n===`utf16be`:n===r}function N(e,t){if(e.strict&&e.encoding&&t&&t.name===`xml`){var n=A(t.body);n&&!M(e.encoding,n)&&z(e,`XML declaration encoding `+n+` does not match detected stream encoding `+e.encoding.toUpperCase())}}function P(e,t,n){e.textNode&&F(e),k(e,t,n)}function F(e){e.textNode=I(e.opt,e.textNode),e.textNode&&k(e,`ontext`,e.textNode),e.textNode=``}function I(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g,` `)),t}function L(e,t){return F(e),e.trackPosition&&(t+=`
|
|
211
|
+
Line: `+e.line+`
|
|
212
|
+
Column: `+e.column+`
|
|
213
|
+
Char: `+e.c),t=Error(t),e.error=t,k(e,`onerror`,t),e}function R(e){return e.sawRoot&&!e.closedRoot&&z(e,`Unclosed root tag`),e.state!==D.BEGIN&&e.state!==D.BEGIN_WHITESPACE&&e.state!==D.TEXT&&L(e,`Unexpected end`),F(e),e.c=``,e.closed=!0,k(e,`onend`),i.call(e,e.strict,e.opt),e}function z(e,t){if(typeof e!=`object`||!(e instanceof i))throw Error(`bad call to strictFail`);e.strict&&L(e,t)}function B(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,P(e,`onopentagstart`,n)}function ee(e,t){var n=e.indexOf(`:`)<0?[``,e]:e.split(`:`),r=n[0],i=n[1];return t&&e===`xmlns`&&(r=`xmlns`,i=``),{prefix:r,local:i}}function te(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),e.attribList.indexOf(e.attribName)!==-1||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue=``;return}if(e.opt.xmlns){var t=ee(e.attribName,!0),n=t.prefix,r=t.local;if(n===`xmlns`){if(r===`xml`&&e.attribValue!==h)z(e,`xml: prefix must be bound to `+h+`
|
|
214
|
+
Actual: `+e.attribValue);else if(r===`xmlns`&&e.attribValue!==g)z(e,`xmlns: prefix must be bound to `+g+`
|
|
215
|
+
Actual: `+e.attribValue);else{var i=e.tag,a=e.tags[e.tags.length-1]||e;i.ns===a.ns&&(i.ns=Object.create(a.ns)),i.ns[r]=e.attribValue}}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,P(e,`onattribute`,{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=``}function ne(e,t){if(e.opt.xmlns){var n=e.tag,r=ee(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||``,n.prefix&&!n.uri&&(z(e,`Unbound namespace prefix: `+JSON.stringify(e.tagName)),n.uri=r.prefix);var i=e.tags[e.tags.length-1]||e;n.ns&&i.ns!==n.ns&&Object.keys(n.ns).forEach(function(t){P(e,`onopennamespace`,{prefix:t,uri:n.ns[t]})});for(var a=0,o=e.attribList.length;a<o;a++){var s=e.attribList[a],c=s[0],l=s[1],u=ee(c,!0),d=u.prefix,f=u.local,p=d===``?``:n.ns[d]||``,m={name:c,value:l,prefix:d,local:f,uri:p};d&&d!==`xmlns`&&!p&&(z(e,`Unbound namespace prefix: `+JSON.stringify(d)),m.uri=d),e.tag.attributes[c]=m,P(e,`onattribute`,m)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),P(e,`onopentag`,e.tag),t||(e.state=!e.noscript&&e.tagName.toLowerCase()===`script`?D.SCRIPT:D.TEXT,e.tag=null,e.tagName=``),e.attribName=e.attribValue=``,e.attribList.length=0}function V(e){if(!e.tagName){z(e,`Weird empty close tag.`),e.textNode+=`</>`,e.state=D.TEXT;return}if(e.script){if(e.tagName!==`script`){e.script+=`</`+e.tagName+`>`,e.tagName=``,e.state=D.SCRIPT;return}P(e,`onscript`,e.script),e.script=``}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)z(e,`Unexpected close tag`);if(t<0){z(e,`Unmatched closing tag: `+e.tagName),e.textNode+=`</`+e.tagName+`>`,e.state=D.TEXT;return}e.tagName=n;for(var i=e.tags.length;i-->t;){var a=e.tag=e.tags.pop();e.tagName=e.tag.name,P(e,`onclosetag`,e.tagName);var o={};for(var s in a.ns)o[s]=a.ns[s];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&a.ns!==c.ns&&Object.keys(a.ns).forEach(function(t){var n=a.ns[t];P(e,`onclosenamespace`,{prefix:t,uri:n})})}t===0&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName=``,e.attribList.length=0,e.state=D.TEXT}function re(e){var t=e.entity,n=t.toLowerCase(),r,i=``;return e.ENTITIES[t]?e.ENTITIES[t]:e.ENTITIES[n]?e.ENTITIES[n]:(t=n,t.charAt(0)===`#`&&(t.charAt(1)===`x`?(t=t.slice(2),r=parseInt(t,16),i=r.toString(16)):(t=t.slice(1),r=parseInt(t,10),i=r.toString(10))),t=t.replace(/^0+/,``),isNaN(r)||i.toLowerCase()!==t||r<0||r>1114111?(z(e,`Invalid character entity`),`&`+e.entity+`;`):String.fromCodePoint(r))}function ie(e,t){t===`<`?(e.state=D.OPEN_WAKA,e.startTagPosition=e.position):S(t)||(z(e,`Non-whitespace before first tag.`),e.textNode=t,e.state=D.TEXT)}function ae(e,t){var n=``;return t<e.length&&(n=e.charAt(t)),n}function oe(t){var n=this;if(this.error)throw this.error;if(n.closed)return L(n,`Cannot write after close. Assign an onready handler.`);if(t===null)return R(n);typeof t==`object`&&(t=t.toString());for(var r=0,i=``;i=ae(t,r++),n.c=i,i;)switch(n.trackPosition&&(n.position++,i===`
|
|
216
|
+
`?(n.line++,n.column=0):n.column++),n.state){case D.BEGIN:if(n.state=D.BEGIN_WHITESPACE,i===``)continue;ie(n,i);continue;case D.BEGIN_WHITESPACE:ie(n,i);continue;case D.TEXT:if(n.sawRoot&&!n.closedRoot){for(var o=r-1;i&&i!==`<`&&i!==`&`;)i=ae(t,r++),i&&n.trackPosition&&(n.position++,i===`
|
|
217
|
+
`?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(o,r-1)}i===`<`&&!(n.sawRoot&&n.closedRoot&&!n.strict)?(n.state=D.OPEN_WAKA,n.startTagPosition=n.position):(!S(i)&&(!n.sawRoot||n.closedRoot)&&z(n,`Text data outside of root node.`),i===`&`?n.state=D.TEXT_ENTITY:n.textNode+=i);continue;case D.SCRIPT:i===`<`?n.state=D.SCRIPT_ENDING:n.script+=i;continue;case D.SCRIPT_ENDING:i===`/`?n.state=D.CLOSE_TAG:(n.script+=`<`+i,n.state=D.SCRIPT);continue;case D.OPEN_WAKA:if(i===`!`)n.state=D.SGML_DECL,n.sgmlDecl=``;else if(!S(i)){if(T(v,i))n.state=D.OPEN_TAG,n.tagName=i;else if(i===`/`)n.state=D.CLOSE_TAG,n.tagName=``;else if(i===`?`)n.state=D.PROC_INST,n.procInstName=n.procInstBody=``;else{if(z(n,`Unencoded <`),n.startTagPosition+1<n.position){var s=n.position-n.startTagPosition;i=Array(s).join(` `)+i}n.textNode+=`<`+i,n.state=D.TEXT}}continue;case D.SGML_DECL:if(n.sgmlDecl+i===`--`){n.state=D.COMMENT,n.comment=``,n.sgmlDecl=``;continue}n.doctype&&n.doctype!==!0&&n.sgmlDecl?(n.state=D.DOCTYPE_DTD,n.doctype+=`<!`+n.sgmlDecl+i,n.sgmlDecl=``):(n.sgmlDecl+i).toUpperCase()===p?(P(n,`onopencdata`),n.state=D.CDATA,n.sgmlDecl=``,n.cdata=``):(n.sgmlDecl+i).toUpperCase()===m?(n.state=D.DOCTYPE,(n.doctype||n.sawRoot)&&z(n,`Inappropriately located doctype declaration`),n.doctype=``,n.sgmlDecl=``):i===`>`?(P(n,`onsgmldeclaration`,n.sgmlDecl),n.sgmlDecl=``,n.state=D.TEXT):(C(i)&&(n.state=D.SGML_DECL_QUOTED),n.sgmlDecl+=i);continue;case D.SGML_DECL_QUOTED:i===n.q&&(n.state=D.SGML_DECL,n.q=``),n.sgmlDecl+=i;continue;case D.DOCTYPE:i===`>`?(n.state=D.TEXT,P(n,`ondoctype`,n.doctype),n.doctype=!0):(n.doctype+=i,i===`[`?n.state=D.DOCTYPE_DTD:C(i)&&(n.state=D.DOCTYPE_QUOTED,n.q=i));continue;case D.DOCTYPE_QUOTED:n.doctype+=i,i===n.q&&(n.q=``,n.state=D.DOCTYPE);continue;case D.DOCTYPE_DTD:i===`]`?(n.doctype+=i,n.state=D.DOCTYPE):i===`<`?(n.state=D.OPEN_WAKA,n.startTagPosition=n.position):C(i)?(n.doctype+=i,n.state=D.DOCTYPE_DTD_QUOTED,n.q=i):n.doctype+=i;continue;case D.DOCTYPE_DTD_QUOTED:n.doctype+=i,i===n.q&&(n.state=D.DOCTYPE_DTD,n.q=``);continue;case D.COMMENT:i===`-`?n.state=D.COMMENT_ENDING:n.comment+=i;continue;case D.COMMENT_ENDING:i===`-`?(n.state=D.COMMENT_ENDED,n.comment=I(n.opt,n.comment),n.comment&&P(n,`oncomment`,n.comment),n.comment=``):(n.comment+=`-`+i,n.state=D.COMMENT);continue;case D.COMMENT_ENDED:i===`>`?n.state=n.doctype&&n.doctype!==!0?D.DOCTYPE_DTD:D.TEXT:(z(n,`Malformed comment`),n.comment+=`--`+i,n.state=D.COMMENT);continue;case D.CDATA:for(var o=r-1;i&&i!==`]`;)i=ae(t,r++),i&&n.trackPosition&&(n.position++,i===`
|
|
218
|
+
`?(n.line++,n.column=0):n.column++);n.cdata+=t.substring(o,r-1),i===`]`&&(n.state=D.CDATA_ENDING);continue;case D.CDATA_ENDING:i===`]`?n.state=D.CDATA_ENDING_2:(n.cdata+=`]`+i,n.state=D.CDATA);continue;case D.CDATA_ENDING_2:i===`>`?(n.cdata&&P(n,`oncdata`,n.cdata),P(n,`onclosecdata`),n.cdata=``,n.state=D.TEXT):i===`]`?n.cdata+=`]`:(n.cdata+=`]]`+i,n.state=D.CDATA);continue;case D.PROC_INST:i===`?`?n.state=D.PROC_INST_ENDING:S(i)?n.state=D.PROC_INST_BODY:n.procInstName+=i;continue;case D.PROC_INST_BODY:if(!n.procInstBody&&S(i))continue;i===`?`?n.state=D.PROC_INST_ENDING:n.procInstBody+=i;continue;case D.PROC_INST_ENDING:if(i===`>`){let e={name:n.procInstName,body:n.procInstBody};N(n,e),P(n,`onprocessinginstruction`,e),n.procInstName=n.procInstBody=``,n.state=D.TEXT}else n.procInstBody+=`?`+i,n.state=D.PROC_INST_BODY;continue;case D.OPEN_TAG:T(y,i)?n.tagName+=i:(B(n),i===`>`?ne(n):i===`/`?n.state=D.OPEN_TAG_SLASH:(S(i)||z(n,`Invalid character in tag name`),n.state=D.ATTRIB));continue;case D.OPEN_TAG_SLASH:i===`>`?(ne(n,!0),V(n)):(z(n,`Forward-slash in opening tag not followed by >`),n.state=D.ATTRIB);continue;case D.ATTRIB:if(S(i))continue;i===`>`?ne(n):i===`/`?n.state=D.OPEN_TAG_SLASH:T(v,i)?(n.attribName=i,n.attribValue=``,n.state=D.ATTRIB_NAME):z(n,`Invalid attribute name`);continue;case D.ATTRIB_NAME:i===`=`?n.state=D.ATTRIB_VALUE:i===`>`?(z(n,`Attribute without value`),n.attribValue=n.attribName,te(n),ne(n)):S(i)?n.state=D.ATTRIB_NAME_SAW_WHITE:T(y,i)?n.attribName+=i:z(n,`Invalid attribute name`);continue;case D.ATTRIB_NAME_SAW_WHITE:if(i===`=`)n.state=D.ATTRIB_VALUE;else if(S(i))continue;else z(n,`Attribute without value`),n.tag.attributes[n.attribName]=``,n.attribValue=``,P(n,`onattribute`,{name:n.attribName,value:``}),n.attribName=``,i===`>`?ne(n):T(v,i)?(n.attribName=i,n.state=D.ATTRIB_NAME):(z(n,`Invalid attribute name`),n.state=D.ATTRIB);continue;case D.ATTRIB_VALUE:if(S(i))continue;C(i)?(n.q=i,n.state=D.ATTRIB_VALUE_QUOTED):(n.opt.unquotedAttributeValues||L(n,`Unquoted attribute value`),n.state=D.ATTRIB_VALUE_UNQUOTED,n.attribValue=i);continue;case D.ATTRIB_VALUE_QUOTED:if(i!==n.q){i===`&`?n.state=D.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=i;continue}te(n),n.q=``,n.state=D.ATTRIB_VALUE_CLOSED;continue;case D.ATTRIB_VALUE_CLOSED:S(i)?n.state=D.ATTRIB:i===`>`?ne(n):i===`/`?n.state=D.OPEN_TAG_SLASH:T(v,i)?(z(n,`No whitespace between attributes`),n.attribName=i,n.attribValue=``,n.state=D.ATTRIB_NAME):z(n,`Invalid attribute name`);continue;case D.ATTRIB_VALUE_UNQUOTED:if(!w(i)){i===`&`?n.state=D.ATTRIB_VALUE_ENTITY_U:n.attribValue+=i;continue}te(n),i===`>`?ne(n):n.state=D.ATTRIB;continue;case D.CLOSE_TAG:if(n.tagName)i===`>`?V(n):T(y,i)?n.tagName+=i:n.script?(n.script+=`</`+n.tagName+i,n.tagName=``,n.state=D.SCRIPT):(S(i)||z(n,`Invalid tagname in closing tag`),n.state=D.CLOSE_TAG_SAW_WHITE);else{if(S(i))continue;E(v,i)?n.script?(n.script+=`</`+i,n.state=D.SCRIPT):z(n,`Invalid tagname in closing tag.`):n.tagName=i}continue;case D.CLOSE_TAG_SAW_WHITE:if(S(i))continue;i===`>`?V(n):z(n,`Invalid characters in closing tag`);continue;case D.TEXT_ENTITY:case D.ATTRIB_VALUE_ENTITY_Q:case D.ATTRIB_VALUE_ENTITY_U:var c,l;switch(n.state){case D.TEXT_ENTITY:c=D.TEXT,l=`textNode`;break;case D.ATTRIB_VALUE_ENTITY_Q:c=D.ATTRIB_VALUE_QUOTED,l=`attribValue`;break;case D.ATTRIB_VALUE_ENTITY_U:c=D.ATTRIB_VALUE_UNQUOTED,l=`attribValue`}if(i===`;`){var u=re(n);n.opt.unparsedEntities&&!Object.values(e.XML_ENTITIES).includes(u)?((n.entityCount+=1)>n.opt.maxEntityCount&&L(n,`Parsed entity count exceeds max entity count`),(n.entityDepth+=1)>n.opt.maxEntityDepth&&L(n,`Parsed entity depth exceeds max entity depth`),n.entity=``,n.state=c,n.write(u),--n.entityDepth):(n[l]+=u,n.entity=``,n.state=c)}else T(n.entity.length?x:b,i)?n.entity+=i:(z(n,`Invalid character in entity name`),n[l]+=`&`+n.entity+i,n.entity=``,n.state=c);continue;default:throw Error(n,`Unknown state: `+n.state)}return n.position>=n.bufferCheckPosition&&a(n),n}String.fromCodePoint||(function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n=16384,r=[],i,a,o=-1,s=arguments.length;if(!s)return``;for(var c=``;++o<s;){var l=Number(arguments[o]);if(!isFinite(l)||l<0||l>1114111||t(l)!==l)throw RangeError(`Invalid code point: `+l);l<=65535?r.push(l):(l-=65536,i=(l>>10)+55296,a=l%1024+56320,r.push(i,a)),(o+1===s||r.length>n)&&(c+=e.apply(null,r),r.length=0)}return c};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n})()})(t)},6255(e,t,n){var r=n(8651),i=n(9295),a=n(8890)(),o=n(8109),s=n(6785),c=r(`%Math.floor%`);e.exports=function(e,t){if(typeof e!=`function`)throw new s("`fn` is not a function");if(typeof t!=`number`||t<0||t>4294967295||c(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if(`length`in e&&o){var u=o(e,`length`);u&&!u.configurable&&(r=!1),u&&!u.writable&&(l=!1)}return(r||l||!n)&&(a?i(e,`length`,t,!0,!0):i(e,`length`,t)),e}},9760(e,t,n){e.exports=i;var r=n(4785).EventEmitter;n(9784)(i,r),i.Readable=n(8261),i.Writable=n(9781),i.Duplex=n(4903),i.Transform=n(8569),i.PassThrough=n(7723),i.finished=n(2167),i.pipeline=n(3765),i.Stream=i;function i(){r.call(this)}i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}n.on(`data`,i);function a(){n.readable&&n.resume&&n.resume()}e.on(`drain`,a),!e._isStdio&&(!t||t.end!==!1)&&(n.on(`end`,s),n.on(`close`,c));var o=!1;function s(){o||(o=!0,e.end())}function c(){o||(o=!0,typeof e.destroy==`function`&&e.destroy())}function l(e){if(u(),r.listenerCount(this,`error`)===0)throw e}n.on(`error`,l),e.on(`error`,l);function u(){n.removeListener(`data`,i),e.removeListener(`drain`,a),n.removeListener(`end`,s),n.removeListener(`close`,c),n.removeListener(`error`,l),e.removeListener(`error`,l),n.removeListener(`end`,u),n.removeListener(`close`,u),e.removeListener(`close`,u)}return n.on(`end`,u),n.on(`close`,u),e.on(`close`,u),e.emit(`pipe`,n),e}},3797(e){function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var n={};function r(e,r,i){i||=Error;function a(e,t,n){return typeof r==`string`?r:r(e,t,n)}var o=function(e){t(n,e);function n(t,n,r){return e.call(this,a(t,n,r))||this}return n}(i);o.prototype.name=i.name,o.prototype.code=e,n[e]=o}function i(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?`one of ${t} ${e.slice(0,n-1).join(`, `)}, or `+e[n-1]:n===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}function a(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function o(e,t,n){return(n===void 0||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function s(e,t,n){return typeof n!=`number`&&(n=0),n+t.length>e.length?!1:e.indexOf(t,n)!==-1}r(`ERR_INVALID_OPT_VALUE`,function(e,t){return`The value "`+t+`" is invalid for option "`+e+`"`},TypeError),r(`ERR_INVALID_ARG_TYPE`,function(e,t,n){var r;typeof t==`string`&&a(t,`not `)?(r=`must not be`,t=t.replace(/^not /,``)):r=`must be`;var c=o(e,` argument`)?`The ${e} ${r} ${i(t,`type`)}`:`The "${e}" ${s(e,`.`)?`property`:`argument`} ${r} ${i(t,`type`)}`;return c+=`. Received type ${typeof n}`,c},TypeError),r(`ERR_STREAM_PUSH_AFTER_EOF`,`stream.push() after EOF`),r(`ERR_METHOD_NOT_IMPLEMENTED`,function(e){return`The `+e+` method is not implemented`}),r(`ERR_STREAM_PREMATURE_CLOSE`,`Premature close`),r(`ERR_STREAM_DESTROYED`,function(e){return`Cannot call `+e+` after a stream was destroyed`}),r(`ERR_MULTIPLE_CALLBACK`,`Callback called multiple times`),r(`ERR_STREAM_CANNOT_PIPE`,`Cannot pipe, not readable`),r(`ERR_STREAM_WRITE_AFTER_END`,`write after end`),r(`ERR_STREAM_NULL_VALUES`,`May not write null values to stream`,TypeError),r(`ERR_UNKNOWN_ENCODING`,function(e){return`Unknown encoding: `+e},TypeError),r(`ERR_STREAM_UNSHIFT_AFTER_END_EVENT`,`stream.unshift() after end event`),e.exports.F=n},4903(e,t,n){var r=n(9964),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var a=n(8261),o=n(9781);n(9784)(u,a);for(var s=i(o.prototype),c=0;c<s.length;c++){var l=s[c];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(e);a.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once(`end`,d)))}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function d(){this._writableState.ended||r.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},7723(e,t,n){e.exports=i;var r=n(8569);n(9784)(i,r);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}i.prototype._transform=function(e,t,n){n(null,e)}},8261(e,t,n){var r=n(9964);e.exports=O;var i;O.ReadableState=D,n(4785).EventEmitter;var a=function(e,t){return e.listeners(t).length},o=n(9018),s=n(783).Buffer,c=(n.g===void 0?typeof window<`u`?window:typeof self<`u`?self:{}:n.g).Uint8Array||function(){};function l(e){return s.from(e)}function u(e){return s.isBuffer(e)||e instanceof c}var d=n(7199),f=d&&d.debuglog?d.debuglog(`stream`):function(){},p=n(182),m=n(7385),h=n(8130).getHighWaterMark,g=n(3797).F,_=g.ERR_INVALID_ARG_TYPE,v=g.ERR_STREAM_PUSH_AFTER_EOF,y=g.ERR_METHOD_NOT_IMPLEMENTED,b=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,x,S,C;n(9784)(O,o);var w=m.errorOrDestroy,T=[`error`,`close`,`destroy`,`pause`,`resume`];function E(e,t,n){if(typeof e.prependListener==`function`)return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function D(e,t,r){i||=n(4903),e||={},typeof r!=`boolean`&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=h(this,e,`readableHighWaterMark`,r),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||`utf8`,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(x||=n(3143).I,this.decoder=new x(e.encoding),this.encoding=e.encoding)}function O(e){if(i||=n(4903),!(this instanceof O))return new O(e);var t=this instanceof i;this._readableState=new D(e,this,t),this.readable=!0,e&&(typeof e.read==`function`&&(this._read=e.read),typeof e.destroy==`function`&&(this._destroy=e.destroy)),o.call(this)}Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),O.prototype.destroy=m.destroy,O.prototype._undestroy=m.undestroy,O.prototype._destroy=function(e,t){t(e)},O.prototype.push=function(e,t){var n=this._readableState,r;return n.objectMode?r=!0:typeof e==`string`&&(t||=n.defaultEncoding,t!==n.encoding&&(e=s.from(e,t),t=``),r=!0),k(this,e,t,!1,r)},O.prototype.unshift=function(e){return k(this,e,null,!0,!1)};function k(e,t,n,r,i){f(`readableAddChunk`,t);var a=e._readableState;if(t===null)a.reading=!1,F(e,a);else{var o;if(i||(o=j(a,t)),o)w(e,o);else if(a.objectMode||t&&t.length>0){if(typeof t!=`string`&&!a.objectMode&&Object.getPrototypeOf(t)!==s.prototype&&(t=l(t)),r)a.endEmitted?w(e,new b):A(e,a,t,!0);else if(a.ended)w(e,new v);else if(a.destroyed)return!1;else a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||t.length!==0?A(e,a,t,!1):R(e,a)):A(e,a,t,!1)}else r||(a.reading=!1,R(e,a))}return!a.ended&&(a.length<a.highWaterMark||a.length===0)}function A(e,t,n,r){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit(`data`,n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&I(e)),R(e,t)}function j(e,t){var n;return!u(t)&&typeof t!=`string`&&t!==void 0&&!e.objectMode&&(n=new _(`chunk`,[`string`,`Buffer`,`Uint8Array`],t)),n}O.prototype.isPaused=function(){return this._readableState.flowing===!1},O.prototype.setEncoding=function(e){x||=n(3143).I;var t=new x(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i=``;r!==null;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),i!==``&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var M=1073741824;function N(e){return e>=M?e=M:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function P(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e===e?(e>t.highWaterMark&&(t.highWaterMark=N(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)):t.flowing&&t.length?t.buffer.head.data.length:t.length}O.prototype.read=function(e){f(`read`,e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark===0?t.length>0:t.length>=t.highWaterMark)||t.ended))return f(`read: emitReadable`,t.length,t.ended),t.length===0&&t.ended?ae(this):I(this),null;if(e=P(e,t),e===0&&t.ended)return t.length===0&&ae(this),null;var r=t.needReadable;f(`need readable`,r),(t.length===0||t.length-e<t.highWaterMark)&&(r=!0,f(`length less than watermark`,r)),t.ended||t.reading?(r=!1,f(`reading or ended`,r)):r&&(f(`do read`),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=P(n,t)));var i=e>0?ie(e,t):null;return i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&ae(this)),i!==null&&this.emit(`data`,i),i};function F(e,t){if(f(`onEofChunk`),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?I(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,L(e)))}}function I(e){var t=e._readableState;f(`emitReadable`,t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(f(`emitReadable`,t.flowing),t.emittedReadable=!0,r.nextTick(L,e))}function L(e){var t=e._readableState;f(`emitReadable_`,t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit(`readable`),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,re(e)}function R(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(z,e,t))}function z(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var n=t.length;if(f(`maybeReadMore read 0`),e.read(0),n===t.length)break}t.readingMore=!1}O.prototype._read=function(e){w(this,new y(`_read()`))},O.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,f(`pipe count=%d opts=%j`,i.pipesCount,t);var o=(!t||t.end!==!1)&&e!==r.stdout&&e!==r.stderr?c:_;i.endEmitted?r.nextTick(o):n.once(`end`,o),e.on(`unpipe`,s);function s(e,t){f(`onunpipe`),e===n&&t&&t.hasUnpiped===!1&&(t.hasUnpiped=!0,d())}function c(){f(`onend`),e.end()}var l=B(n);e.on(`drain`,l);var u=!1;function d(){f(`cleanup`),e.removeListener(`close`,h),e.removeListener(`finish`,g),e.removeListener(`drain`,l),e.removeListener(`error`,m),e.removeListener(`unpipe`,s),n.removeListener(`end`,c),n.removeListener(`end`,_),n.removeListener(`data`,p),u=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l()}n.on(`data`,p);function p(t){f(`ondata`);var r=e.write(t);f(`dest.write`,r),r===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&se(i.pipes,e)!==-1)&&!u&&(f(`false write response, pause`,i.awaitDrain),i.awaitDrain++),n.pause())}function m(t){f(`onerror`,t),_(),e.removeListener(`error`,m),a(e,`error`)===0&&w(e,t)}E(e,`error`,m);function h(){e.removeListener(`finish`,g),_()}e.once(`close`,h);function g(){f(`onfinish`),e.removeListener(`close`,h),_()}e.once(`finish`,g);function _(){f(`unpipe`),n.unpipe(e)}return e.emit(`pipe`,n),i.flowing||(f(`pipe resume`),n.resume()),e};function B(e){return function(){var t=e._readableState;f(`pipeOnDrain`,t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&a(e,`data`)&&(t.flowing=!0,re(e))}}O.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||=t.pipes,t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(`unpipe`,this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit(`unpipe`,this,{hasUnpiped:!1});return this}var o=se(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),--t.pipesCount,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit(`unpipe`,this,n),this)},O.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),i=this._readableState;return e===`data`?(i.readableListening=this.listenerCount(`readable`)>0,i.flowing!==!1&&this.resume()):e===`readable`&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,f(`on readable`,i.length,i.reading),i.length?I(this):i.reading||r.nextTick(te,this)),n},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return e===`readable`&&r.nextTick(ee,this),n},O.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return(e===`readable`||e===void 0)&&r.nextTick(ee,this),t};function ee(e){var t=e._readableState;t.readableListening=e.listenerCount(`readable`)>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount(`data`)>0&&e.resume()}function te(e){f(`readable nexttick read 0`),e.read(0)}O.prototype.resume=function(){var e=this._readableState;return e.flowing||(f(`resume`),e.flowing=!e.readableListening,ne(this,e)),e.paused=!1,this};function ne(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(V,e,t))}function V(e,t){f(`resume`,t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit(`resume`),re(e),t.flowing&&!t.reading&&e.read(0)}O.prototype.pause=function(){return f(`call pause flowing=%j`,this._readableState.flowing),this._readableState.flowing!==!1&&(f(`pause`),this._readableState.flowing=!1,this.emit(`pause`)),this._readableState.paused=!0,this};function re(e){var t=e._readableState;for(f(`flow`,t.flowing);t.flowing&&e.read()!==null;);}O.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on(`end`,function(){if(f(`wrapped end`),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on(`data`,function(i){f(`wrapped data`),n.decoder&&(i=n.decoder.write(i)),!(n.objectMode&&i==null)&&(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)this[i]===void 0&&typeof e[i]==`function`&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<T.length;a++)e.on(T[a],this.emit.bind(this,T[a]));return this._read=function(t){f(`wrapped _read`,t),r&&(r=!1,e.resume())},this},typeof Symbol==`function`&&(O.prototype[Symbol.asyncIterator]=function(){return S===void 0&&(S=n(9676)),S(this)}),Object.defineProperty(O.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(O.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(O.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),O._fromList=ie,Object.defineProperty(O.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function ie(e,t){if(t.length===0)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(``):t.buffer.length===1?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n}function ae(e){var t=e._readableState;f(`endReadable`,t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(oe,t,e))}function oe(e,t){if(f(`endReadableNT`,e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit(`end`),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}typeof Symbol==`function`&&(O.from=function(e,t){return C===void 0&&(C=n(378)),C(O,e,t)});function se(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}},8569(e,t,n){e.exports=u;var r=n(3797).F,i=r.ERR_METHOD_NOT_IMPLEMENTED,a=r.ERR_MULTIPLE_CALLBACK,o=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,c=n(4903);n(9784)(u,c);function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(r===null)return this.emit(`error`,new a);n.writechunk=null,n.writecb=null,t!=null&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);c.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform==`function`&&(this._transform=e.transform),typeof e.flush==`function`&&(this._flush=e.flush)),this.on(`prefinish`,d)}function d(){var e=this;typeof this._flush==`function`&&!this._readableState.destroyed?this._flush(function(t,n){f(e,t,n)}):f(this,null,null)}u.prototype.push=function(e,t){return this._transformState.needTransform=!1,c.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new i(`_transform()`))},u.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},u.prototype._destroy=function(e,t){c.prototype._destroy.call(this,e,function(e){t(e)})};function f(e,t,n){if(t)return e.emit(`error`,t);if(n!=null&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new o;return e.push(null)}},9781(e,t,n){var r=n(9964);e.exports=D;function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){V(t,e)}}var a;D.WritableState=T;var o={deprecate:n(6465)},s=n(9018),c=n(783).Buffer,l=(n.g===void 0?typeof window<`u`?window:typeof self<`u`?self:{}:n.g).Uint8Array||function(){};function u(e){return c.from(e)}function d(e){return c.isBuffer(e)||e instanceof l}var f=n(7385),p=n(8130).getHighWaterMark,m=n(3797).F,h=m.ERR_INVALID_ARG_TYPE,g=m.ERR_METHOD_NOT_IMPLEMENTED,_=m.ERR_MULTIPLE_CALLBACK,v=m.ERR_STREAM_CANNOT_PIPE,y=m.ERR_STREAM_DESTROYED,b=m.ERR_STREAM_NULL_VALUES,x=m.ERR_STREAM_WRITE_AFTER_END,S=m.ERR_UNKNOWN_ENCODING,C=f.errorOrDestroy;n(9784)(D,s);function w(){}function T(e,t,r){a||=n(4903),e||={},typeof r!=`boolean`&&(r=t instanceof a),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=p(this,e,`writableHighWaterMark`,r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=e.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||`utf8`,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){F(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}T.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},(function(){try{Object.defineProperty(T.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},`_writableState.buffer is deprecated. Use _writableState.getBuffer instead.`,`DEP0003`)})}catch{}})();var E;typeof Symbol==`function`&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==`function`?(E=Function.prototype[Symbol.hasInstance],Object.defineProperty(D,Symbol.hasInstance,{value:function(e){return E.call(this,e)?!0:this===D&&e&&e._writableState instanceof T}})):E=function(e){return e instanceof this};function D(e){a||=n(4903);var t=this instanceof a;if(!t&&!E.call(D,this))return new D(e);this._writableState=new T(e,this,t),this.writable=!0,e&&(typeof e.write==`function`&&(this._write=e.write),typeof e.writev==`function`&&(this._writev=e.writev),typeof e.destroy==`function`&&(this._destroy=e.destroy),typeof e.final==`function`&&(this._final=e.final)),s.call(this)}D.prototype.pipe=function(){C(this,new v)};function O(e,t){var n=new x;C(e,n),r.nextTick(t,n)}function k(e,t,n,i){var a;return n===null?a=new b:typeof n!=`string`&&!t.objectMode&&(a=new h(`chunk`,[`string`,`Buffer`],n)),!a||(C(e,a),r.nextTick(i,a),!1)}D.prototype.write=function(e,t,n){var r=this._writableState,i=!1,a=!r.objectMode&&d(e);return a&&!c.isBuffer(e)&&(e=u(e)),typeof t==`function`&&(n=t,t=null),a?t=`buffer`:t||=r.defaultEncoding,typeof n!=`function`&&(n=w),r.ending?O(this,n):(a||k(this,r,e,n))&&(r.pendingcb++,i=j(this,r,a,e,t,n)),i},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&R(this,e))},D.prototype.setDefaultEncoding=function(e){if(typeof e==`string`&&(e=e.toLowerCase()),!([`hex`,`utf8`,`utf-8`,`ascii`,`binary`,`base64`,`ucs2`,`ucs-2`,`utf16le`,`utf-16le`,`raw`].indexOf((e+``).toLowerCase())>-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function A(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t==`string`&&(t=c.from(t,n)),t}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function j(e,t,n,r,i,a){if(!n){var o=A(t,r,i);r!==o&&(n=!0,i=`buffer`,r=o)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else M(e,t,!1,s,r,i,a);return c}function M(e,t,n,r,i,a,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y(`write`)):n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function N(e,t,n,i,a){--t.pendingcb,n?(r.nextTick(a,i),r.nextTick(te,e,t),e._writableState.errorEmitted=!0,C(e,i)):(a(i),e._writableState.errorEmitted=!0,C(e,i),te(e,t))}function P(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function F(e,t){var n=e._writableState,i=n.sync,a=n.writecb;if(typeof a!=`function`)throw new _;if(P(n),t)N(e,n,i,t,a);else{var o=z(n)||e.destroyed;!o&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&R(e,n),i?r.nextTick(I,e,n,o,a):I(e,n,o,a)}}function I(e,t,n,r){n||L(e,t),t.pendingcb--,r(),te(e,t)}function L(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit(`drain`))}function R(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,a=Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,c=!0;n;)a[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;a.allBuffers=c,M(e,t,!0,t.length,a,``,o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,d=n.callback;if(M(e,t,!1,t.objectMode?1:l.length,l,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}D.prototype._write=function(e,t,n){n(new g(`_write()`))},D.prototype._writev=null,D.prototype.end=function(e,t,n){var r=this._writableState;return typeof e==`function`?(n=e,e=null,t=null):typeof t==`function`&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||ne(this,r,n),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function z(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function B(e,t){e._final(function(n){t.pendingcb--,n&&C(e,n),t.prefinished=!0,e.emit(`prefinish`),te(e,t)})}function ee(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final==`function`&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,r.nextTick(B,e,t)):(t.prefinished=!0,e.emit(`prefinish`)))}function te(e,t){var n=z(t);if(n&&(ee(e,t),t.pendingcb===0&&(t.finished=!0,e.emit(`finish`),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}function ne(e,t,n){t.ending=!0,te(e,t),n&&(t.finished?r.nextTick(n):e.once(`finish`,n)),t.ended=!0,e.writable=!1}function V(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),D.prototype.destroy=f.destroy,D.prototype._undestroy=f.undestroy,D.prototype._destroy=function(e,t){t(e)}},9676(e,t,n){var r=n(9964),i;function a(e,t,n){return t=o(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=s(e,`string`);return typeof t==`symbol`?t:String(t)}function s(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var c=n(2167),l=Symbol(`lastResolve`),u=Symbol(`lastReject`),d=Symbol(`error`),f=Symbol(`ended`),p=Symbol(`lastPromise`),m=Symbol(`handlePromise`),h=Symbol(`stream`);function g(e,t){return{value:e,done:t}}function _(e){var t=e[l];if(t!==null){var n=e[h].read();n!==null&&(e[p]=null,e[l]=null,e[u]=null,t(g(n,!1)))}}function v(e){r.nextTick(_,e)}function y(e,t){return function(n,r){e.then(function(){if(t[f]){n(g(void 0,!0));return}t[m](n,r)},r)}}var b=Object.getPrototypeOf(function(){}),x=Object.setPrototypeOf((i={get stream(){return this[h]},next:function(){var e=this,t=this[d];if(t!==null)return Promise.reject(t);if(this[f])return Promise.resolve(g(void 0,!0));if(this[h].destroyed)return new Promise(function(t,n){r.nextTick(function(){e[d]?n(e[d]):t(g(void 0,!0))})});var n=this[p],i;if(n)i=new Promise(y(n,this));else{var a=this[h].read();if(a!==null)return Promise.resolve(g(a,!1));i=new Promise(this[m])}return this[p]=i,i}},a(i,Symbol.asyncIterator,function(){return this}),a(i,`return`,function(){var e=this;return new Promise(function(t,n){e[h].destroy(null,function(e){if(e){n(e);return}t(g(void 0,!0))})})}),i),b);e.exports=function(e){var t,n=Object.create(x,(t={},a(t,h,{value:e,writable:!0}),a(t,l,{value:null,writable:!0}),a(t,u,{value:null,writable:!0}),a(t,d,{value:null,writable:!0}),a(t,f,{value:e._readableState.endEmitted,writable:!0}),a(t,m,{value:function(e,t){var r=n[h].read();r?(n[p]=null,n[l]=null,n[u]=null,e(g(r,!1))):(n[l]=e,n[u]=t)},writable:!0}),t));return n[p]=null,c(e,function(e){if(e&&e.code!==`ERR_STREAM_PREMATURE_CLOSE`){var t=n[u];t!==null&&(n[p]=null,n[l]=null,n[u]=null,t(e)),n[d]=e;return}var r=n[l];r!==null&&(n[p]=null,n[l]=null,n[u]=null,r(g(void 0,!0))),n[f]=!0}),e.on(`readable`,v.bind(null,n)),n}},7385(e,t,n){var r=n(9964);function i(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return i||s?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(c,this,e)):r.nextTick(c,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?n._writableState?n._writableState.errorEmitted?r.nextTick(o,n):(n._writableState.errorEmitted=!0,r.nextTick(a,n,e)):r.nextTick(a,n,e):t?(r.nextTick(o,n),t(e)):r.nextTick(o,n)}),this)}function a(e,t){c(e,t),o(e)}function o(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit(`close`)}function s(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function c(e,t){e.emit(`error`,t)}function l(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit(`error`,t)}e.exports={destroy:i,undestroy:s,errorOrDestroy:l}},2167(e,t,n){var r=n(3797).F.ERR_STREAM_PREMATURE_CLOSE;function i(e){var t=!1;return function(){if(!t){t=!0;var n=[...arguments];e.apply(this,n)}}}function a(){}function o(e){return e.setHeader&&typeof e.abort==`function`}function s(e,t,n){if(typeof t==`function`)return s(e,null,t);t||={},n=i(n||a);var c=t.readable||t.readable!==!1&&e.readable,l=t.writable||t.writable!==!1&&e.writable,u=function(){e.writable||f()},d=e._writableState&&e._writableState.finished,f=function(){l=!1,d=!0,c||n.call(e)},p=e._readableState&&e._readableState.endEmitted,m=function(){c=!1,p=!0,l||n.call(e)},h=function(t){n.call(e,t)},g=function(){var t;if(c&&!p)return(!e._readableState||!e._readableState.ended)&&(t=new r),n.call(e,t);if(l&&!d)return(!e._writableState||!e._writableState.ended)&&(t=new r),n.call(e,t)},_=function(){e.req.on(`finish`,f)};return o(e)?(e.on(`complete`,f),e.on(`abort`,g),e.req?_():e.on(`request`,_)):l&&!e._writableState&&(e.on(`end`,u),e.on(`close`,u)),e.on(`end`,m),e.on(`finish`,f),t.error!==!1&&e.on(`error`,h),e.on(`close`,g),function(){e.removeListener(`complete`,f),e.removeListener(`abort`,g),e.removeListener(`request`,_),e.req&&e.req.removeListener(`finish`,f),e.removeListener(`end`,u),e.removeListener(`close`,u),e.removeListener(`finish`,f),e.removeListener(`end`,m),e.removeListener(`error`,h),e.removeListener(`close`,g)}}e.exports=s},378(e){e.exports=function(){throw Error(`Readable.from is not available in the browser`)}},3765(e,t,n){var r;function i(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var a=n(3797).F,o=a.ERR_MISSING_ARGS,s=a.ERR_STREAM_DESTROYED;function c(e){if(e)throw e}function l(e){return e.setHeader&&typeof e.abort==`function`}function u(e,t,a,o){o=i(o);var c=!1;e.on(`close`,function(){c=!0}),r===void 0&&(r=n(2167)),r(e,{readable:t,writable:a},function(e){if(e)return o(e);c=!0,o()});var u=!1;return function(t){if(!c&&!u){if(u=!0,l(e))return e.abort();if(typeof e.destroy==`function`)return e.destroy();o(t||new s(`pipe`))}}}function d(e){e()}function f(e,t){return e.pipe(t)}function p(e){return!e.length||typeof e[e.length-1]!=`function`?c:e.pop()}function m(){var e=[...arguments],t=p(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o(`streams`);var n,r=e.map(function(i,a){var o=a<e.length-1;return u(i,o,a>0,function(e){n||=e,e&&r.forEach(d),!o&&(r.forEach(d),t(n))})});return e.reduce(f)}e.exports=m},8130(e,t,n){var r=n(3797).F.ERR_INVALID_OPT_VALUE;function i(e,t,n){return e.highWaterMark==null?t?e[n]:null:e.highWaterMark}function a(e,t,n,a){var o=i(t,a,n);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new r(a?n:`highWaterMark`,o);return Math.floor(o)}return e.objectMode?16:16384}e.exports={getHighWaterMark:a}},9018(e,t,n){e.exports=n(4785).EventEmitter},3143(e,t,n){var r=n(5691).Buffer,i=r.isEncoding||function(e){switch(e=``+e,e&&e.toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:case`raw`:return!0;default:return!1}};function a(e){if(!e)return`utf8`;for(var t;;)switch(e){case`utf8`:case`utf-8`:return`utf8`;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return`utf16le`;case`latin1`:case`binary`:return`latin1`;case`base64`:case`ascii`:case`hex`:return e;default:if(t)return;e=(``+e).toLowerCase(),t=!0}}function o(e){var t=a(e);if(typeof t!=`string`&&(r.isEncoding===i||!i(e)))throw Error(`Unknown encoding: `+e);return t||e}t.I=s;function s(e){this.encoding=o(e);var t;switch(this.encoding){case`utf16le`:this.text=m,this.end=h,t=4;break;case`utf8`:this.fillLast=d,t=4;break;case`base64`:this.text=g,this.end=_,t=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}s.prototype.write=function(e){if(e.length===0)return``;var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return``;n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||``},s.prototype.end=p,s.prototype.text=f,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function c(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function l(e,t,n){var r=t.length-1;if(r<n)return 0;var i=c(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||i===-2?0:(i=c(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||i===-2?0:(i=c(t[r]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function u(e,t,n){if((t[0]&192)!=128)return e.lastNeed=0,`�`;if(e.lastNeed>1&&t.length>1){if((t[1]&192)!=128)return e.lastNeed=1,`�`;if(e.lastNeed>2&&t.length>2&&(t[2]&192)!=128)return e.lastNeed=2,`�`}}function d(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);if(n!==void 0)return n;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function f(e,t){var n=l(this,e,t);if(!this.lastNeed)return e.toString(`utf8`,t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString(`utf8`,t,r)}function p(e){var t=e&&e.length?this.write(e):``;return this.lastNeed?t+`�`:t}function m(e,t){if((e.length-t)%2==0){var n=e.toString(`utf16le`,t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString(`utf16le`,t,e.length-1)}function h(e){var t=e&&e.length?this.write(e):``;if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString(`utf16le`,0,n)}return t}function g(e,t){var n=(e.length-t)%3;return n===0?e.toString(`base64`,t):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString(`base64`,t,e.length-n))}function _(e){var t=e&&e.length?this.write(e):``;return this.lastNeed?t+this.lastChar.toString(`base64`,0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):``}},3483(e){function t(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function n(e,n){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=n,this.destLen=0,this.ltree=new t,this.dtree=new t}var r=new t,i=new t,a=new Uint8Array(30),o=new Uint16Array(30),s=new Uint8Array(30),c=new Uint16Array(30),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),u=new t,d=new Uint8Array(320);function f(e,t,n,r){for(var i=0,a;i<n;++i)e[i]=0;for(i=0;i<30-n;++i)e[i+n]=i/n|0;for(a=r,i=0;i<30;++i)t[i]=a,a+=1<<e[i]}function p(e,t){for(var n=0;n<7;++n)e.table[n]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,n=0;n<24;++n)e.trans[n]=256+n;for(n=0;n<144;++n)e.trans[24+n]=n;for(n=0;n<8;++n)e.trans[168+n]=280+n;for(n=0;n<112;++n)e.trans[176+n]=144+n;for(n=0;n<5;++n)t.table[n]=0;for(t.table[5]=32,n=0;n<32;++n)t.trans[n]=n}var m=new Uint16Array(16);function h(e,t,n,r){for(var i=0,a;i<16;++i)e.table[i]=0;for(i=0;i<r;++i)e.table[t[n+i]]++;for(e.table[0]=0,a=0,i=0;i<16;++i)m[i]=a,a+=e.table[i];for(i=0;i<r;++i)t[n+i]&&(e.trans[m[t[n+i]]++]=i)}function g(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var t=e.tag&1;return e.tag>>>=1,t}function _(e,t,n){if(!t)return n;for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var r=e.tag&65535>>>16-t;return e.tag>>>=t,e.bitcount-=t,r+n}function v(e,t){for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var n=0,r=0,i=0,a=e.tag;do r=2*r+(a&1),a>>>=1,++i,n+=t.table[i],r-=t.table[i];while(r>=0);return e.tag=a,e.bitcount-=i,t.trans[n+r]}function y(e,t,n){for(var r=_(e,5,257),i=_(e,5,1),a=_(e,4,4),o=0,s,c;o<19;++o)d[o]=0;for(o=0;o<a;++o){var f=_(e,3,0);d[l[o]]=f}for(h(u,d,0,19),s=0;s<r+i;){var p=v(e,u);switch(p){case 16:var m=d[s-1];for(c=_(e,2,3);c;--c)d[s++]=m;break;case 17:for(c=_(e,3,3);c;--c)d[s++]=0;break;case 18:for(c=_(e,7,11);c;--c)d[s++]=0;break;default:d[s++]=p}}h(t,d,0,r),h(n,d,r,i)}function b(e,t,n){for(;;){var r=v(e,t);if(r===256)return 0;if(r<256)e.dest[e.destLen++]=r;else{var i,l,u,d;for(r-=257,i=_(e,a[r],o[r]),l=v(e,n),u=e.destLen-_(e,s[l],c[l]),d=u;d<u+i;++d)e.dest[e.destLen++]=e.dest[d]}}}function x(e){for(var t,n,r;e.bitcount>8;)e.sourceIndex--,e.bitcount-=8;if(t=e.source[e.sourceIndex+1],t=256*t+e.source[e.sourceIndex],n=e.source[e.sourceIndex+3],n=256*n+e.source[e.sourceIndex+2],t!==(~n&65535))return-3;for(e.sourceIndex+=4,r=t;r;--r)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,0}function S(e,t){var a=new n(e,t),o,s,c;do{switch(o=g(a),s=_(a,2,0),s){case 0:c=x(a);break;case 1:c=b(a,r,i);break;case 2:y(a,a.ltree,a.dtree),c=b(a,a.ltree,a.dtree);break;default:c=-3}if(c!==0)throw Error(`Data error`)}while(!o);return a.destLen<a.dest.length?typeof a.dest.slice==`function`?a.dest.slice(0,a.destLen):a.dest.subarray(0,a.destLen):a.dest}p(r,i),f(a,o,4,3),f(s,c,2,1),a[28]=0,o[28]=258,e.exports=S},6465(e,t,n){e.exports=r;function r(e,t){if(i(`noDeprecation`))return e;var n=!1;function r(){if(!n){if(i(`throwDeprecation`))throw Error(t);i(`traceDeprecation`)?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return r}function i(e){try{if(!n.g.localStorage)return!1}catch{return!1}var t=n.g.localStorage[e];return t!=null&&String(t).toLowerCase()===`true`}},1201(e){e.exports=function(e){return e&&typeof e==`object`&&typeof e.copy==`function`&&typeof e.fill==`function`&&typeof e.readUInt8==`function`}},9490(e,t,n){var r=n(7906),i=n(4610),a=n(3381),o=n(6094);function s(e){return e.call.bind(e)}var c=typeof BigInt<`u`,l=typeof Symbol<`u`,u=s(Object.prototype.toString),d=s(Number.prototype.valueOf),f=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(c)var m=s(BigInt.prototype.valueOf);if(l)var h=s(Symbol.prototype.valueOf);function g(e,t){if(typeof e!=`object`)return!1;try{return t(e),!0}catch{return!1}}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=o;function _(e){return typeof Promise<`u`&&e instanceof Promise||typeof e==`object`&&!!e&&typeof e.then==`function`&&typeof e.catch==`function`}t.isPromise=_;function v(e){return typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):o(e)||ee(e)}t.isArrayBufferView=v;function y(e){return a(e)===`Uint8Array`}t.isUint8Array=y;function b(e){return a(e)===`Uint8ClampedArray`}t.isUint8ClampedArray=b;function x(e){return a(e)===`Uint16Array`}t.isUint16Array=x;function S(e){return a(e)===`Uint32Array`}t.isUint32Array=S;function C(e){return a(e)===`Int8Array`}t.isInt8Array=C;function w(e){return a(e)===`Int16Array`}t.isInt16Array=w;function T(e){return a(e)===`Int32Array`}t.isInt32Array=T;function E(e){return a(e)===`Float32Array`}t.isFloat32Array=E;function D(e){return a(e)===`Float64Array`}t.isFloat64Array=D;function O(e){return a(e)===`BigInt64Array`}t.isBigInt64Array=O;function k(e){return a(e)===`BigUint64Array`}t.isBigUint64Array=k;function A(e){return u(e)===`[object Map]`}A.working=typeof Map<`u`&&A(new Map);function j(e){return typeof Map>`u`?!1:A.working?A(e):e instanceof Map}t.isMap=j;function M(e){return u(e)===`[object Set]`}M.working=typeof Set<`u`&&M(new Set);function N(e){return typeof Set>`u`?!1:M.working?M(e):e instanceof Set}t.isSet=N;function P(e){return u(e)===`[object WeakMap]`}P.working=typeof WeakMap<`u`&&P(new WeakMap);function F(e){return typeof WeakMap>`u`?!1:P.working?P(e):e instanceof WeakMap}t.isWeakMap=F;function I(e){return u(e)===`[object WeakSet]`}I.working=typeof WeakSet<`u`&&I(new WeakSet);function L(e){return I(e)}t.isWeakSet=L;function R(e){return u(e)===`[object ArrayBuffer]`}R.working=typeof ArrayBuffer<`u`&&R(new ArrayBuffer);function z(e){return typeof ArrayBuffer>`u`?!1:R.working?R(e):e instanceof ArrayBuffer}t.isArrayBuffer=z;function B(e){return u(e)===`[object DataView]`}B.working=typeof ArrayBuffer<`u`&&typeof DataView<`u`&&B(new DataView(new ArrayBuffer(1),0,1));function ee(e){return typeof DataView>`u`?!1:B.working?B(e):e instanceof DataView}t.isDataView=ee;var te=typeof SharedArrayBuffer<`u`?SharedArrayBuffer:void 0;function ne(e){return u(e)===`[object SharedArrayBuffer]`}function V(e){return te!==void 0&&(ne.working===void 0&&(ne.working=ne(new te)),ne.working?ne(e):e instanceof te)}t.isSharedArrayBuffer=V;function re(e){return u(e)===`[object AsyncFunction]`}t.isAsyncFunction=re;function ie(e){return u(e)===`[object Map Iterator]`}t.isMapIterator=ie;function ae(e){return u(e)===`[object Set Iterator]`}t.isSetIterator=ae;function oe(e){return u(e)===`[object Generator]`}t.isGeneratorObject=oe;function se(e){return u(e)===`[object WebAssembly.Module]`}t.isWebAssemblyCompiledModule=se;function ce(e){return g(e,d)}t.isNumberObject=ce;function H(e){return g(e,f)}t.isStringObject=H;function le(e){return g(e,p)}t.isBooleanObject=le;function ue(e){return c&&g(e,m)}t.isBigIntObject=ue;function U(e){return l&&g(e,h)}t.isSymbolObject=U;function W(e){return ce(e)||H(e)||le(e)||ue(e)||U(e)}t.isBoxedPrimitive=W;function G(e){return typeof Uint8Array<`u`&&(z(e)||V(e))}t.isAnyArrayBuffer=G,[`isProxy`,`isExternal`,`isModuleNamespaceObject`].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+` is not supported in userland`)}})})},7187(e,t,n){var r=n(9964),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},a=/%[sdj%]/g;t.format=function(e){if(!w(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(` `)}for(var n=1,r=arguments,i=r.length,o=String(e).replace(a,function(e){if(e===`%%`)return`%`;if(n>=i)return e;switch(e){case`%s`:return String(r[n++]);case`%d`:return Number(r[n++]);case`%j`:try{return JSON.stringify(r[n++])}catch{return`[Circular]`}default:return e}}),s=r[n];n<i;s=r[++n])x(s)||!O(s)?o+=` `+s:o+=` `+l(s);return o},t.deprecate=function(e,n){if(r!==void 0&&r.noDeprecation===!0)return e;if(r===void 0)return function(){return t.deprecate(e,n).apply(this,arguments)};var i=!1;function a(){if(!i){if(r.throwDeprecation)throw Error(n);r.traceDeprecation?console.trace(n):console.error(n),i=!0}return e.apply(this,arguments)}return a};var o={},s=/^$/;if(r.env.NODE_DEBUG){var c=r.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,`\\$&`).replace(/\*/g,`.*`).replace(/,/g,`$|^`).toUpperCase(),s=RegExp(`^`+c+`$`,`i`)}t.debuglog=function(e){if(e=e.toUpperCase(),!o[e]){if(s.test(e)){var n=r.pid;o[e]=function(){var r=t.format.apply(t,arguments);console.error(`%s %d: %s`,e,n,r)}}else o[e]=function(){}}return o[e]};function l(e,n){var r={seen:[],stylize:d};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),b(n)?r.showHidden=n:n&&t._extend(r,n),E(r.showHidden)&&(r.showHidden=!1),E(r.depth)&&(r.depth=2),E(r.colors)&&(r.colors=!1),E(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),p(r,e,r.depth)}t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`};function u(e,t){var n=l.styles[t];return n?`\x1B[`+l.colors[n][0]+`m`+e+`\x1B[`+l.colors[n][1]+`m`:e}function d(e,t){return e}function f(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function p(e,n,r){if(e.customInspect&&n&&j(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var i=n.inspect(r,e);return w(i)||(i=p(e,i,r)),i}var a=m(e,n);if(a)return a;var o=Object.keys(n),s=f(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(n)),A(n)&&(o.indexOf(`message`)>=0||o.indexOf(`description`)>=0))return h(n);if(o.length===0){if(j(n)){var c=n.name?`: `+n.name:``;return e.stylize(`[Function`+c+`]`,`special`)}if(D(n))return e.stylize(RegExp.prototype.toString.call(n),`regexp`);if(k(n))return e.stylize(Date.prototype.toString.call(n),`date`);if(A(n))return h(n)}var l=``,u=!1,d=[`{`,`}`];if(y(n)&&(u=!0,d=[`[`,`]`]),j(n)&&(l=` [Function`+(n.name?`: `+n.name:``)+`]`),D(n)&&(l=` `+RegExp.prototype.toString.call(n)),k(n)&&(l=` `+Date.prototype.toUTCString.call(n)),A(n)&&(l=` `+h(n)),o.length===0&&(!u||n.length==0))return d[0]+l+d[1];if(r<0)return D(n)?e.stylize(RegExp.prototype.toString.call(n),`regexp`):e.stylize(`[Object]`,`special`);e.seen.push(n);var b=u?g(e,n,r,s,o):o.map(function(t){return _(e,n,r,s,t,u)});return e.seen.pop(),v(b,l,d)}function m(e,t){if(E(t))return e.stylize(`undefined`,`undefined`);if(w(t)){var n=`'`+JSON.stringify(t).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return e.stylize(n,`string`)}if(C(t))return e.stylize(``+t,`number`);if(b(t))return e.stylize(``+t,`boolean`);if(x(t))return e.stylize(`null`,`null`)}function h(e){return`[`+Error.prototype.toString.call(e)+`]`}function g(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)L(t,String(o))?a.push(_(e,t,n,r,String(o),!0)):a.push(``);return i.forEach(function(i){i.match(/^\d+$/)||a.push(_(e,t,n,r,i,!0))}),a}function _(e,t,n,r,i,a){var o,s,c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(c.get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),L(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=x(n)?p(e,c.value,null):p(e,c.value,n-1),s.indexOf(`
|
|
219
|
+
`)>-1&&(s=a?s.split(`
|
|
220
|
+
`).map(function(e){return` `+e}).join(`
|
|
221
|
+
`).slice(2):`
|
|
222
|
+
`+s.split(`
|
|
223
|
+
`).map(function(e){return` `+e}).join(`
|
|
224
|
+
`))):s=e.stylize(`[Circular]`,`special`)),E(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(``+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=e.stylize(o,`name`)):(o=o.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),o=e.stylize(o,`string`))}return o+`: `+s}function v(e,t,n){var r=0;return e.reduce(function(e,t){return r++,t.indexOf(`
|
|
225
|
+
`)>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,``).length+1},0)>60?n[0]+(t===``?``:t+`
|
|
226
|
+
`)+` `+e.join(`,
|
|
227
|
+
`)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}t.types=n(9490);function y(e){return Array.isArray(e)}t.isArray=y;function b(e){return typeof e==`boolean`}t.isBoolean=b;function x(e){return e===null}t.isNull=x;function S(e){return e==null}t.isNullOrUndefined=S;function C(e){return typeof e==`number`}t.isNumber=C;function w(e){return typeof e==`string`}t.isString=w;function T(e){return typeof e==`symbol`}t.isSymbol=T;function E(e){return e===void 0}t.isUndefined=E;function D(e){return O(e)&&N(e)===`[object RegExp]`}t.isRegExp=D,t.types.isRegExp=D;function O(e){return typeof e==`object`&&!!e}t.isObject=O;function k(e){return O(e)&&N(e)===`[object Date]`}t.isDate=k,t.types.isDate=k;function A(e){return O(e)&&(N(e)===`[object Error]`||e instanceof Error)}t.isError=A,t.types.isNativeError=A;function j(e){return typeof e==`function`}t.isFunction=j;function M(e){return e===null||typeof e==`boolean`||typeof e==`number`||typeof e==`string`||typeof e==`symbol`||e===void 0}t.isPrimitive=M,t.isBuffer=n(1201);function N(e){return Object.prototype.toString.call(e)}function P(e){return e<10?`0`+e.toString(10):e.toString(10)}var F=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function I(){var e=new Date,t=[P(e.getHours()),P(e.getMinutes()),P(e.getSeconds())].join(`:`);return[e.getDate(),F[e.getMonth()],t].join(` `)}t.log=function(){console.log(`%s - %s`,I(),t.format.apply(t,arguments))},t.inherits=n(9784),t._extend=function(e,t){if(!t||!O(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var R=typeof Symbol<`u`?Symbol(`util.promisify.custom`):void 0;t.promisify=function(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);if(R&&e[R]){var t=e[R];if(typeof t!=`function`)throw TypeError(`The "util.promisify.custom" argument must be of type Function`);return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=R;function z(e,t){if(!e){var n=Error(`Promise was rejected with a falsy value`);n.reason=e,e=n}return t(e)}function B(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var i=t.pop();if(typeof i!=`function`)throw TypeError(`The last argument must be of type Function`);var a=this,o=function(){return i.apply(a,arguments)};e.apply(this,t).then(function(e){r.nextTick(o.bind(null,null,e))},function(e){r.nextTick(z.bind(null,e,o))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}t.callbackify=B},3381(e,t,n){var r=n(8404),i=n(821),a=n(6601),o=n(2774),s=n(8109),c=n(7106),l=o(`Object.prototype.toString`),u=n(6626)(),d=typeof globalThis>`u`?n.g:globalThis,f=i(),p=o(`String.prototype.slice`),m=o(`Array.prototype.indexOf`,!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},h={__proto__:null};u&&s&&c?r(f,function(e){var t=new d[e];if(Symbol.toStringTag in t&&c){var n=c(t),r=s(n,Symbol.toStringTag);if(!r&&n&&(r=s(c(n),Symbol.toStringTag)),r&&r.get){var i=a(r.get);h[`$`+e]=i}}}):r(f,function(e){var t=new d[e],n=t.slice||t.set;if(n){var r=a(n);h[`$`+e]=r}});function g(e){var t=!1;return r(h,function(n,r){if(!t)try{`$`+n(e)===r&&(t=p(r,1))}catch{}}),t}function _(e){var t=!1;return r(h,function(n,r){if(!t)try{n(e),t=p(r,1)}catch{}}),t}function v(e){return m(f,e)>-1}e.exports=function(e){if(!e||typeof e!=`object`)return!1;if(!u){var t=p(l(e),8,-1);return v(t)?t:t===`Object`&&_(e)}return s?g(e):null}},5127(e,t,n){var r,i,a;(function(n,o){i=[],r=o,a=typeof r==`function`?r.apply(t,i):r,a!==void 0&&(e.exports=a)})(this,function(){function t(e,t){return t===void 0?t={autoBom:!1}:typeof t!=`object`&&(console.warn(`Deprecated: Expected third argument to be a object`),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function r(e,t,n){var r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){c(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function i(e){var t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function a(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{var t=document.createEvent(`MouseEvents`);t.initMouseEvent(`click`,!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var o=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof n.g==`object`&&n.g.global===n.g?n.g:void 0,s=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=o.saveAs||(typeof window!=`object`||window!==o?function(){}:typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!s?function(e,t,n){var s=o.URL||o.webkitURL,c=document.createElement(`a`);t=t||e.name||`download`,c.download=t,c.rel=`noopener`,typeof e==`string`?(c.href=e,c.origin===location.origin?a(c):i(c.href)?r(e,t,n):a(c,c.target=`_blank`)):(c.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(c.href)},4e4),setTimeout(function(){a(c)},0))}:`msSaveOrOpenBlob`in navigator?function(e,n,o){if(n=n||e.name||`download`,typeof e!=`string`)navigator.msSaveOrOpenBlob(t(e,o),n);else if(i(e))r(e,n,o);else{var s=document.createElement(`a`);s.href=e,s.target=`_blank`,setTimeout(function(){a(s)})}}:function(e,t,n,i){if(i||=open(``,`_blank`),i&&(i.document.title=i.document.body.innerText=`downloading...`),typeof e==`string`)return r(e,t,n);var a=e.type===`application/octet-stream`,c=/constructor/i.test(o.HTMLElement)||o.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&c||s)&&typeof FileReader<`u`){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),i?i.location.href=e:location=e,i=null},u.readAsDataURL(e)}else{var d=o.URL||o.webkitURL,f=d.createObjectURL(e);i?i.location=f:location.href=f,i=null,setTimeout(function(){d.revokeObjectURL(f)},4e4)}});o.saveAs=c.saveAs=c,e.exports=c})},6274(){},8535(){},3779(){},7199(){},5117(e){e.exports=typeof ArrayBuffer<`u`&&typeof DataView<`u`},4074(e,t,n){var r=n(5117),i=n(5144),a=n(7756),o=n(8681),s=n(3598),c=n(6341),l=n(9391),u=n(8819),d=n(5719),f=n(4092),p=n(1182),m=n(9877),h=n(8607),g=n(443),_=n(8663),v=n(6044),y=n(6921),b=y.enforce,x=y.get,S=a.Int8Array,C=S&&S.prototype,w=a.Uint8ClampedArray,T=w&&w.prototype,E=S&&h(S),D=C&&h(C),O=Object.prototype,k=a.TypeError,A=_(`toStringTag`),j=v(`TYPED_ARRAY_TAG`),M=`TypedArrayConstructor`,N=r&&!!g&&l(a.opera)!==`Opera`,P=!1,F,I,L,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},B=function(e){if(!s(e))return!1;var t=l(e);return t===`DataView`||c(R,t)||c(z,t)},ee=function(e){var t=h(e);if(s(t)){var n=x(t);return n&&c(n,M)?n[M]:ee(t)}},te=function(e){if(!s(e))return!1;var t=l(e);return c(R,t)||c(z,t)},ne=function(e){if(te(e))return e;throw new k(`Target is not a typed array`)},V=function(e){if(o(e)&&(!g||m(E,e)))return e;throw new k(u(e)+` is not a typed array constructor`)},re=function(e,t,n,r){if(i){if(n)for(var o in R){var s=a[o];if(s&&c(s.prototype,e))try{delete s.prototype[e]}catch{try{s.prototype[e]=t}catch{}}}(!D[e]||n)&&f(D,e,n?t:N&&C[e]||t,r)}},ie=function(e,t,n){var r,o;if(i){if(g){if(n){for(r in R)if(o=a[r],o&&c(o,e))try{delete o[e]}catch{}}if(!E[e]||n)try{return f(E,e,n?t:N&&E[e]||t)}catch{}else return}for(r in R)o=a[r],o&&(!o[e]||n)&&f(o,e,t)}};for(F in R)I=a[F],L=I&&I.prototype,L?b(L)[M]=I:N=!1;for(F in z)I=a[F],L=I&&I.prototype,L&&(b(L)[M]=I);if((!N||!o(E)||E===Function.prototype)&&(E=function(){throw new k(`Incorrect invocation`)},N))for(F in R)a[F]&&g(a[F],E);if((!N||!D||D===O)&&(D=E.prototype,N))for(F in R)a[F]&&g(a[F].prototype,D);if(N&&h(T)!==D&&g(T,D),i&&!c(D,A))for(F in P=!0,p(D,A,{configurable:!0,get:function(){return s(this)?this[j]:void 0}}),R)a[F]&&d(a[F].prototype,j,F);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:P&&j,aTypedArray:ne,aTypedArrayConstructor:V,exportTypedArrayMethod:re,exportTypedArrayStaticMethod:ie,getTypedArrayConstructor:ee,isView:B,isTypedArray:te,TypedArray:E,TypedArrayPrototype:D}},4415(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t._=n},8395(e,t,n){t._=n(1635).__decorate},821(e,t,n){var r=n(884),i=typeof globalThis>`u`?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)typeof i[r[t]]==`function`&&(e[e.length]=r[t]);return e}},890(e,t,n){var r=n(6341),i=n(8468),a=n(5888),o=n(3793),s=a.data,c=a.normalize,l=`USE_FUNCTION_CONSTRUCTOR`,u=`AsyncIteratorPrototype`,d=function(e,t){if(i(e))for(var n=0;n<e.length;n++)s[c(e[n])]=t};e.exports=function(e){e&&typeof e==`object`&&(d(e.useNative,a.NATIVE),d(e.usePolyfill,a.POLYFILL),d(e.useFeatureDetection,null),r(e,l)&&(o[l]=!!e[l]),r(e,u)&&(o[u]=e[u]))}},1078(e,t,n){var r=n(8681),i=n(8819),a=TypeError;e.exports=function(e){if(r(e))return e;throw new a(i(e)+` is not a function`)}},7222(e,t,n){var r=n(2657),i=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw new a(`Can't set `+i(e)+` as a prototype`)}},1825(e,t,n){var r=n(8663),i=n(4860),a=n(2333).f,o=r(`unscopables`),s=Array.prototype;s[o]===void 0&&a(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},2091(e,t,n){var r=n(3598),i=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw new a(i(e)+` is not an object`)}},3161(e,t,n){var r=n(3297),i=n(4918),a=n(4730);e.exports=function(e){for(var t=r(this),n=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),c=o>2?arguments[2]:void 0,l=c===void 0?n:i(c,n);l>s;)t[s++]=e;return t}},789(e,t,n){var r=n(5137),i=n(4918),a=n(4730),o=function(e){return function(t,n,o){var s=r(t),c=a(s);if(c===0)return!e&&-1;var l=i(o,c),u;if(e&&n!==n){for(;c>l;)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},2740(e,t,n){e.exports=n(1212)([].slice)},644(e,t,n){var r=n(2740),i=Math.floor,a=function(e,t){var n=e.length;if(n<8)for(var o=1,s,c;o<n;){for(c=o,s=e[o];c&&t(e[c-1],s)>0;)e[c]=e[--c];c!==o++&&(e[c]=s)}else for(var l=i(n/2),u=a(r(e,0,l),t),d=a(r(e,l),t),f=u.length,p=d.length,m=0,h=0;m<f||h<p;)e[m+h]=m<f&&h<p?t(u[m],d[h])<=0?u[m++]:d[h++]:m<f?u[m++]:d[h++];return e};e.exports=a},8420(e,t,n){var r=n(1212),i=r({}.toString),a=r(``.slice);e.exports=function(e){return a(i(e),8,-1)}},9391(e,t,n){var r=n(7920),i=n(8681),a=n(8420),o=n(8663)(`toStringTag`),s=Object,c=a(function(){return arguments}())===`Arguments`,l=function(e,t){try{return e[t]}catch{}};e.exports=r?a:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=l(t=s(e),o))==`string`?n:c?a(t):(r=a(t))===`Object`&&i(t.callee)?`Arguments`:r}},8032(e,t,n){var r=n(6341),i=n(7523),a=n(423),o=n(2333);e.exports=function(e,t,n){for(var s=i(t),c=o.f,l=a.f,u=0;u<s.length;u++){var d=s[u];!r(e,d)&&!(n&&r(n,d))&&c(e,d,l(t,d))}}},5071(e,t,n){e.exports=!n(299)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},5719(e,t,n){var r=n(5144),i=n(2333),a=n(8264);e.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},8264(e){e.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}},1182(e,t,n){var r=n(3383),i=n(2333);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},4092(e,t,n){var r=n(8681),i=n(2333),a=n(3383),o=n(7309);e.exports=function(e,t,n,s){s||={};var c=s.enumerable,l=s.name===void 0?t:s.name;if(r(n)&&a(n,l,s),s.global)c?e[t]=n:o(t,n);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch{}c?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},7309(e,t,n){var r=n(7756),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}},5144(e,t,n){e.exports=!n(299)(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},2283(e,t,n){var r=n(7756),i=n(3598),a=r.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},2555(e){e.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]},5337(e,t,n){var r=n(8115).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7383(e,t,n){var r=n(8115);e.exports=/MSIE|Trident/.test(r)},8115(e,t,n){var r=n(7756).navigator,i=r&&r.userAgent;e.exports=i?String(i):``},2227(e,t,n){var r=n(7756),i=n(8115),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,c=s&&s.v8,l,u;c&&(l=c.split(`.`),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&i&&(l=i.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=i.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),e.exports=u},4507(e,t,n){var r=n(8115).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},3762(e,t,n){var r=n(7756),i=n(423).f,a=n(5719),o=n(4092),s=n(7309),c=n(8032),l=n(5888);e.exports=function(e,t){var n=e.target,u=e.global,d=e.stat,f,p=u?r:d?r[n]||s(n,{}):r[n]&&r[n].prototype,m,h,g,_;if(p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=i(p,m),h=_&&_.value):h=p[m],f=l(u?m:n+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&a(g,`sham`,!0),o(p,m,g,e)}}},299(e){e.exports=function(e){try{return!!e()}catch{return!0}}},1676(e,t,n){e.exports=!n(299)(function(){var e=function(){}.bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})},8993(e,t,n){var r=n(1676),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},4378(e,t,n){var r=n(5144),i=n(6341),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=i(a,`name`);e.exports={EXISTS:s,PROPER:s&&function(){}.name===`something`,CONFIGURABLE:s&&(!r||r&&o(a,`name`).configurable)}},4494(e,t,n){var r=n(1212),i=n(1078);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch{}}},5336(e,t,n){var r=n(8420),i=n(1212);e.exports=function(e){if(r(e)===`Function`)return i(e)}},1212(e,t,n){var r=n(1676),i=Function.prototype,a=i.call,o=r&&i.bind.bind(a,a);e.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}},7139(e,t,n){var r=n(7756),i=n(8681),a=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},9738(e,t,n){var r=n(1078),i=n(6297);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},7756(e,t,n){var r=function(e){return e&&e.Math===Math&&e};e.exports=r(typeof globalThis==`object`&&globalThis)||r(typeof window==`object`&&window)||r(typeof self==`object`&&self)||r(typeof n.g==`object`&&n.g)||r(typeof this==`object`&&this)||(function(){return this})()||Function(`return this`)()},6341(e,t,n){var r=n(1212),i=n(3297),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},2993(e){e.exports={}},4329(e,t,n){e.exports=n(7139)(`document`,`documentElement`)},7657(e,t,n){var r=n(5144),i=n(299),a=n(2283);e.exports=!r&&!i(function(){return Object.defineProperty(a(`div`),"a",{get:function(){return 7}}).a!==7})},2203(e,t,n){var r=n(1212),i=n(299),a=n(8420),o=Object,s=r(``.split);e.exports=i(function(){return!o(`z`).propertyIsEnumerable(0)})?function(e){return a(e)===`String`?s(e,``):o(e)}:o},4550(e,t,n){var r=n(1212),i=n(8681),a=n(3793),o=r(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},6921(e,t,n){var r=n(1194),i=n(7756),a=n(3598),o=n(5719),s=n(6341),c=n(3793),l=n(7099),u=n(2993),d=`Object already initialized`,f=i.TypeError,p=i.WeakMap,m,h,g,_=function(e){return g(e)?h(e):m(e,{})},v=function(e){return function(t){var n;if(!a(t)||(n=h(t)).type!==e)throw new f(`Incompatible receiver, `+e+` required`);return n}};if(r||c.state){var y=c.state||=new p;y.get=y.get,y.has=y.has,y.set=y.set,m=function(e,t){if(y.has(e))throw new f(d);return t.facade=e,y.set(e,t),t},h=function(e){return y.get(e)||{}},g=function(e){return y.has(e)}}else{var b=l(`state`);u[b]=!0,m=function(e,t){if(s(e,b))throw new f(d);return t.facade=e,o(e,b,t),t},h=function(e){return s(e,b)?e[b]:{}},g=function(e){return s(e,b)}}e.exports={set:m,get:h,has:g,enforce:_,getterFor:v}},8468(e,t,n){var r=n(8420);e.exports=Array.isArray||function(e){return r(e)===`Array`}},8681(e){var t=typeof document==`object`&&document.all;e.exports=t===void 0&&t!==void 0?function(e){return typeof e==`function`||e===t}:function(e){return typeof e==`function`}},5888(e,t,n){var r=n(299),i=n(8681),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n===u?!0:n===l?!1:i(t)?r(t):!!t},s=o.normalize=function(e){return String(e).replace(a,`.`).toLowerCase()},c=o.data={},l=o.NATIVE=`N`,u=o.POLYFILL=`P`;e.exports=o},6297(e){e.exports=function(e){return e==null}},3598(e,t,n){var r=n(8681);e.exports=function(e){return typeof e==`object`?e!==null:r(e)}},2657(e,t,n){var r=n(3598);e.exports=function(e){return r(e)||e===null}},7695(e){e.exports=!1},5985(e,t,n){var r=n(7139),i=n(8681),a=n(9877),o=n(8300),s=Object;e.exports=o?function(e){return typeof e==`symbol`}:function(e){var t=r(`Symbol`);return i(t)&&a(t.prototype,s(e))}},4730(e,t,n){var r=n(8266);e.exports=function(e){return r(e.length)}},3383(e,t,n){var r=n(1212),i=n(299),a=n(8681),o=n(6341),s=n(5144),c=n(4378).CONFIGURABLE,l=n(4550),u=n(6921),d=u.enforce,f=u.get,p=String,m=Object.defineProperty,h=r(``.slice),g=r(``.replace),_=r([].join),v=s&&!i(function(){return m(function(){},`length`,{value:8}).length!==8}),y=String(String).split(`String`),b=e.exports=function(e,t,n){h(p(t),0,7)===`Symbol(`&&(t=`[`+g(p(t),/^Symbol\(([^)]*)\).*$/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!o(e,`name`)||c&&e.name!==t)&&(s?m(e,`name`,{value:t,configurable:!0}):e.name=t),v&&n&&o(n,`arity`)&&e.length!==n.arity&&m(e,`length`,{value:n.arity});try{n&&o(n,`constructor`)&&n.constructor?s&&m(e,`prototype`,{writable:!1}):e.prototype&&=void 0}catch{}var r=d(e);return o(r,`source`)||(r.source=_(y,typeof t==`string`?t:``)),e};Function.prototype.toString=b(function(){return a(this)&&f(this).source||l(this)},`toString`)},2537(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},4860(e,t,n){var r=n(2091),i=n(2197),a=n(2555),o=n(2993),s=n(4329),c=n(2283),l=n(7099),u=`>`,d=`<`,f=`prototype`,p=`script`,m=l(`IE_PROTO`),h=function(){},g=function(e){return d+p+u+e+d+`/`+p+u},_=function(e){e.write(g(``)),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){var e=c(`iframe`),t=`java`+p+`:`,n;return e.style.display=`none`,s.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(g(`document.F=Object`)),n.close(),n.F},y,b=function(){try{y=new ActiveXObject(`htmlfile`)}catch{}b=typeof document<`u`?document.domain&&y?_(y):v():_(y);for(var e=a.length;e--;)delete b[f][a[e]];return b()};o[m]=!0,e.exports=Object.create||function(e,t){var n;return e===null?n=b():(h[f]=r(e),n=new h,h[f]=null,n[m]=e),t===void 0?n:i.f(n,t)}},2197(e,t,n){var r=n(5144),i=n(2538),a=n(2333),o=n(2091),s=n(5137),c=n(9428);t.f=r&&!i?Object.defineProperties:function(e,t){o(e);for(var n=s(t),r=c(t),i=r.length,l=0,u;i>l;)a.f(e,u=r[l++],n[u]);return e}},2333(e,t,n){var r=n(5144),i=n(7657),a=n(2538),o=n(2091),s=n(1413),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=`enumerable`,f=`configurable`,p=`writable`;t.f=r?a?function(e,t,n){if(o(e),t=s(t),o(n),typeof e==`function`&&t===`prototype`&&`value`in n&&p in n&&!n[p]){var r=u(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(o(e),t=s(t),o(n),i)try{return l(e,t,n)}catch{}if(`get`in n||`set`in n)throw new c(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},423(e,t,n){var r=n(5144),i=n(8993),a=n(4961),o=n(8264),s=n(5137),c=n(1413),l=n(6341),u=n(7657),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=c(t),u)try{return d(e,t)}catch{}if(l(e,t))return o(!i(a.f,e,t),e[t])}},5412(e,t,n){var r=n(3120),i=n(2555).concat(`length`,`prototype`);t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},4073(e,t){t.f=Object.getOwnPropertySymbols},8607(e,t,n){var r=n(6341),i=n(8681),a=n(3297),o=n(7099),s=n(5071),c=o(`IE_PROTO`),l=Object,u=l.prototype;e.exports=s?l.getPrototypeOf:function(e){var t=a(e);if(r(t,c))return t[c];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof l?u:null}},9877(e,t,n){e.exports=n(1212)({}.isPrototypeOf)},3120(e,t,n){var r=n(1212),i=n(6341),a=n(5137),o=n(789).indexOf,s=n(2993),c=r([].push);e.exports=function(e,t){var n=a(e),r=0,l=[],u;for(u in n)!i(s,u)&&i(n,u)&&c(l,u);for(;t.length>r;)i(n,u=t[r++])&&(~o(l,u)||c(l,u));return l}},9428(e,t,n){var r=n(3120),i=n(2555);e.exports=Object.keys||function(e){return r(e,i)}},4961(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor;t.f=r&&!n.call({1:2},1)?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},443(e,t,n){var r=n(4494),i=n(3598),a=n(5034),o=n(7222);e.exports=Object.setPrototypeOf||(`__proto__`in{}?function(){var e=!1,t={},n;try{n=r(Object.prototype,`__proto__`,`set`),n(t,[]),e=t instanceof Array}catch{}return function(t,r){return a(t),o(r),i(t)&&(e?n(t,r):t.__proto__=r),t}}():void 0)},290(e,t,n){var r=n(8993),i=n(8681),a=n(3598),o=TypeError;e.exports=function(e,t){var n,s;if(t===`string`&&i(n=e.toString)&&!a(s=r(n,e))||i(n=e.valueOf)&&!a(s=r(n,e))||t!==`string`&&i(n=e.toString)&&!a(s=r(n,e)))return s;throw new o(`Can't convert object to primitive value`)}},7523(e,t,n){var r=n(7139),i=n(1212),a=n(5412),o=n(4073),s=n(2091),c=i([].concat);e.exports=r(`Reflect`,`ownKeys`)||function(e){var t=a.f(s(e)),n=o.f;return n?c(t,n(e)):t}},5034(e,t,n){var r=n(6297),i=TypeError;e.exports=function(e){if(r(e))throw new i(`Can't call method on `+e);return e}},7099(e,t,n){var r=n(997),i=n(6044),a=r(`keys`);e.exports=function(e){return a[e]||(a[e]=i(e))}},3793(e,t,n){var r=n(7695),i=n(7756),a=n(7309),o=`__core-js_shared__`,s=e.exports=i[o]||a(o,{});(s.versions||=[]).push({version:`3.49.0`,mode:r?`pure`:`global`,copyright:`© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.`,license:`https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE`,source:`https://github.com/zloirock/core-js`})},997(e,t,n){var r=n(3793);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},4483(e,t,n){var r=n(2227),i=n(299),a=n(7756).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol(`symbol detection`);return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},4918(e,t,n){var r=n(2119),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},3018(e,t,n){var r=n(3301),i=TypeError;e.exports=function(e){var t=r(e,`number`);if(typeof t==`number`)throw new i(`Can't convert number to bigint`);return BigInt(t)}},5137(e,t,n){var r=n(2203),i=n(5034);e.exports=function(e){return r(i(e))}},2119(e,t,n){var r=n(2537);e.exports=function(e){var t=+e;return t!==t||t===0?0:r(t)}},8266(e,t,n){var r=n(2119),i=Math.min;e.exports=function(e){var t=r(e);return t>0?i(t,9007199254740991):0}},3297(e,t,n){var r=n(5034),i=Object;e.exports=function(e){return i(r(e))}},4001(e,t,n){var r=n(7866),i=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw new i(`Wrong offset`);return n}},7866(e,t,n){var r=n(2119),i=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw new i(`The argument can't be less than 0`);return t}},3301(e,t,n){var r=n(8993),i=n(3598),a=n(5985),o=n(9738),s=n(290),c=n(8663),l=TypeError,u=c(`toPrimitive`);e.exports=function(e,t){if(!i(e)||a(e))return e;var n=o(e,u),c;if(n){if(t===void 0&&(t=`default`),c=r(n,e,t),!i(c)||a(c))return c;throw new l(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),s(e,t)}},1413(e,t,n){var r=n(3301),i=n(5985);e.exports=function(e){var t=r(e,`string`);return i(t)?t:t+``}},7920(e,t,n){var r=n(8663)(`toStringTag`),i={};i[r]=`z`,e.exports=String(i)===`[object z]`},8819(e){var t=String;e.exports=function(e){try{return t(e)}catch{return`Object`}}},6044(e,t,n){var r=n(1212),i=0,a=Math.random(),o=r(1.1.toString);e.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+o(++i+a,36)}},8300(e,t,n){e.exports=n(4483)&&!Symbol.sham&&typeof Symbol.iterator==`symbol`},2538(e,t,n){var r=n(5144),i=n(299);e.exports=r&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},1194(e,t,n){var r=n(7756),i=n(8681),a=r.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},8663(e,t,n){var r=n(7756),i=n(997),a=n(6341),o=n(6044),s=n(4483),c=n(8300),l=r.Symbol,u=i(`wks`),d=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return a(u,e)||(u[e]=s&&a(l,e)?l[e]:d(`Symbol.`+e)),u[e]}},187(e,t,n){var r=n(3762),i=n(789).includes,a=n(299),o=n(1825),s=a(function(){return![,].includes()}),c=a(function(){return[,1].includes(void 0,1)});r({target:`Array`,proto:!0,forced:s||c},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(`includes`)},8376(e,t,n){var r=n(4074),i=n(3161),a=n(3018),o=n(9391),s=n(8993),c=n(1212),l=n(299),u=r.aTypedArray,d=r.exportTypedArrayMethod,f=c(``.slice);d(`fill`,function(e){var t=arguments.length;u(this);var n=f(o(this),0,3)===`Big`?a(e):+e;return s(i,this,n,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)},l(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),e!==1}))},6401(e,t,n){var r=n(7756),i=n(8993),a=n(4074),o=n(4730),s=n(4001),c=n(3297),l=n(299),u=r.RangeError,d=r.Int8Array,f=d&&d.prototype,p=f&&f.set,m=a.aTypedArray,h=a.exportTypedArrayMethod,g=!l(function(){var e=new Uint8ClampedArray(2);return i(p,e,{length:1,0:3},1),e[1]!==3}),_=g&&a.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var e=new d(2);return e.set(1),e.set(`2`,1),e[0]!==0||e[1]!==2});h(`set`,function(e){m(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=c(e);if(g)return i(p,this,n,t);var r=this.length,a=o(n),l=0;if(a+t>r)throw new u(`Wrong length`);for(;l<a;)this[t+l]=n[l++]},!g||_)},2017(e,t,n){var r=n(7756),i=n(5336),a=n(299),o=n(1078),s=n(644),c=n(4074),l=n(5337),u=n(7383),d=n(2227),f=n(4507),p=c.aTypedArray,m=c.exportTypedArrayMethod,h=r.Uint16Array,g=h&&i(h.prototype.sort),_=!!g&&!(a(function(){g(new h(2),null)})&&a(function(){g(new h(2),{})})),v=!!g&&!a(function(){if(d)return d<74;if(l)return l<67;if(u)return!0;if(f)return f<602;for(var e=new h(516),t=Array(516),n=0,r;n<516;n++)r=n%4,e[n]=515-n,t[n]=n-2*r+3;for(g(e,function(e,t){return(e/4|0)-(t/4|0)}),n=0;n<516;n++)if(e[n]!==t[n])return!0}),y=function(e){return function(t,n){return e===void 0?n===n?t===t?t===0&&n===0?1/t>0?1/n>0?0:1:1/n>0?-1:0:t>n?1:t<n?-1:0:1:t===t?-1:0:+e(t,n)||0}};m(`sort`,function(e){return e!==void 0&&o(e),v?g(this,e):s(p(this),y(e))},!v||_)},1715(e,t,n){var r=n(5233),i=n(4415),a=n(8395),o=n(453),s=n(4766),c=n(7571),l=n(4406),u=n(1613),d=n(3483),f=n(4460);function p(e,t){return Object.keys(t).forEach(function(n){n==="default"||n==="__esModule"||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})}),e}function m(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function h(e){return e&&e.__esModule?e.default:e}var g={};m(g,`logErrors`,()=>_),m(g,`registerFormat`,()=>y),m(g,`create`,()=>b),m(g,`defaultLanguage`,()=>x),m(g,`setDefaultLanguage`,()=>S);let _=!1,v=[];function y(e){v.push(e)}function b(e,t){for(let n=0;n<v.length;n++){let i=v[n];if(i.probe(e)){let n=new i(new r.DecodeStream(e));return t?n.getFont(t):n}}throw Error(`Unknown font format`)}let x=`en`;function S(e=`en`){x=e}function C(e,t,n){if(n.get){let e=n.get;n.get=function(){let n=e.call(this);return Object.defineProperty(this,t,{value:n}),n}}else if(typeof n.value==`function`){let e=n.value;return{get(){let n=new Map;function r(...t){let r=t.length>0?t[0]:`value`;if(n.has(r))return n.get(r);let i=e.apply(this,t);return n.set(r,i),i}return Object.defineProperty(this,t,{value:r}),r}}}}let w=new r.Struct({firstCode:r.uint16,entryCount:r.uint16,idDelta:r.int16,idRangeOffset:r.uint16}),T=new r.Struct({startCharCode:r.uint32,endCharCode:r.uint32,glyphID:r.uint32}),E=new r.Struct({startUnicodeValue:r.uint24,additionalCount:r.uint8}),D=new r.Struct({unicodeValue:r.uint24,glyphID:r.uint16}),O=new r.Array(E,r.uint32),k=new r.Array(D,r.uint32),A=new r.Struct({varSelector:r.uint24,defaultUVS:new r.Pointer(r.uint32,O,{type:`parent`}),nonDefaultUVS:new r.Pointer(r.uint32,k,{type:`parent`})}),j=new r.VersionedStruct(r.uint16,{0:{length:r.uint16,language:r.uint16,codeMap:new r.LazyArray(r.uint8,256)},2:{length:r.uint16,language:r.uint16,subHeaderKeys:new r.Array(r.uint16,256),subHeaderCount:e=>Math.max.apply(Math,e.subHeaderKeys),subHeaders:new r.LazyArray(w,`subHeaderCount`),glyphIndexArray:new r.LazyArray(r.uint16,`subHeaderCount`)},4:{length:r.uint16,language:r.uint16,segCountX2:r.uint16,segCount:e=>e.segCountX2>>1,searchRange:r.uint16,entrySelector:r.uint16,rangeShift:r.uint16,endCode:new r.LazyArray(r.uint16,`segCount`),reservedPad:new r.Reserved(r.uint16),startCode:new r.LazyArray(r.uint16,`segCount`),idDelta:new r.LazyArray(r.int16,`segCount`),idRangeOffset:new r.LazyArray(r.uint16,`segCount`),glyphIndexArray:new r.LazyArray(r.uint16,e=>(e.length-e._currentOffset)/2)},6:{length:r.uint16,language:r.uint16,firstCode:r.uint16,entryCount:r.uint16,glyphIndices:new r.LazyArray(r.uint16,`entryCount`)},8:{reserved:new r.Reserved(r.uint16),length:r.uint32,language:r.uint16,is32:new r.LazyArray(r.uint8,8192),nGroups:r.uint32,groups:new r.LazyArray(T,`nGroups`)},10:{reserved:new r.Reserved(r.uint16),length:r.uint32,language:r.uint32,firstCode:r.uint32,entryCount:r.uint32,glyphIndices:new r.LazyArray(r.uint16,`numChars`)},12:{reserved:new r.Reserved(r.uint16),length:r.uint32,language:r.uint32,nGroups:r.uint32,groups:new r.LazyArray(T,`nGroups`)},13:{reserved:new r.Reserved(r.uint16),length:r.uint32,language:r.uint32,nGroups:r.uint32,groups:new r.LazyArray(T,`nGroups`)},14:{length:r.uint32,numRecords:r.uint32,varSelectors:new r.LazyArray(A,`numRecords`)}}),M=new r.Struct({platformID:r.uint16,encodingID:r.uint16,table:new r.Pointer(r.uint32,j,{type:`parent`,lazy:!0})});var N=new r.Struct({version:r.uint16,numSubtables:r.uint16,tables:new r.Array(M,`numSubtables`)}),P=new r.Struct({version:r.int32,revision:r.int32,checkSumAdjustment:r.uint32,magicNumber:r.uint32,flags:r.uint16,unitsPerEm:r.uint16,created:new r.Array(r.int32,2),modified:new r.Array(r.int32,2),xMin:r.int16,yMin:r.int16,xMax:r.int16,yMax:r.int16,macStyle:new r.Bitfield(r.uint16,[`bold`,`italic`,`underline`,`outline`,`shadow`,`condensed`,`extended`]),lowestRecPPEM:r.uint16,fontDirectionHint:r.int16,indexToLocFormat:r.int16,glyphDataFormat:r.int16}),F=new r.Struct({version:r.int32,ascent:r.int16,descent:r.int16,lineGap:r.int16,advanceWidthMax:r.uint16,minLeftSideBearing:r.int16,minRightSideBearing:r.int16,xMaxExtent:r.int16,caretSlopeRise:r.int16,caretSlopeRun:r.int16,caretOffset:r.int16,reserved:new r.Reserved(r.int16,4),metricDataFormat:r.int16,numberOfMetrics:r.uint16});let I=new r.Struct({advance:r.uint16,bearing:r.int16});var L=new r.Struct({metrics:new r.LazyArray(I,e=>e.parent.hhea.numberOfMetrics),bearings:new r.LazyArray(r.int16,e=>e.parent.maxp.numGlyphs-e.parent.hhea.numberOfMetrics)}),R=new r.Struct({version:r.int32,numGlyphs:r.uint16,maxPoints:r.uint16,maxContours:r.uint16,maxComponentPoints:r.uint16,maxComponentContours:r.uint16,maxZones:r.uint16,maxTwilightPoints:r.uint16,maxStorage:r.uint16,maxFunctionDefs:r.uint16,maxInstructionDefs:r.uint16,maxStackElements:r.uint16,maxSizeOfInstructions:r.uint16,maxComponentElements:r.uint16,maxComponentDepth:r.uint16});function z(e,t,n=0){return e===1&&re[n]?re[n]:V[e][t]}let B=new Set([`x-mac-roman`,`x-mac-cyrillic`,`iso-8859-6`,`iso-8859-8`]),ee={"x-mac-croatian":`ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ`,"x-mac-gaelic":`ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ`,"x-mac-greek":`Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ`,"x-mac-icelandic":`ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ`,"x-mac-inuit":`ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł`,"x-mac-ce":`ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ`,"x-mac-romanian":`ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ`,"x-mac-turkish":`ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ`},te=new Map;function ne(e){let t=te.get(e);if(t)return t;let n=ee[e];if(n){let t=new Map;for(let e=0;e<n.length;e++)t.set(n.charCodeAt(e),128+e);return te.set(e,t),t}if(B.has(e)){let t=new TextDecoder(e),n=new Uint8Array(128);for(let e=0;e<128;e++)n[e]=128+e;let r=new Map,i=t.decode(n);for(let e=0;e<128;e++)r.set(i.charCodeAt(e),128+e);return te.set(e,r),r}}let V=[[`utf-16be`,`utf-16be`,`utf-16be`,`utf-16be`,`utf-16be`,`utf-16be`,`utf-16be`],`x-mac-roman.shift-jis.big5.euc-kr.iso-8859-6.iso-8859-8.x-mac-greek.x-mac-cyrillic.x-mac-symbol.x-mac-devanagari.x-mac-gurmukhi.x-mac-gujarati.Oriya.Bengali.Tamil.Telugu.Kannada.Malayalam.Sinhalese.Burmese.Khmer.iso-8859-11.Laotian.Georgian.Armenian.gbk.Tibetan.Mongolian.Geez.x-mac-ce.Vietnamese.Sindhi`.split(`.`),[`ascii`,null,`iso-8859-1`],[`symbol`,`utf-16be`,`shift-jis`,`gb18030`,`big5`,`euc-kr`,`johab`,null,null,null,`utf-16be`]],re={15:`x-mac-icelandic`,17:`x-mac-turkish`,18:`x-mac-croatian`,24:`x-mac-ce`,25:`x-mac-ce`,26:`x-mac-ce`,27:`x-mac-ce`,28:`x-mac-ce`,30:`x-mac-icelandic`,37:`x-mac-romanian`,38:`x-mac-ce`,39:`x-mac-ce`,40:`x-mac-ce`,143:`x-mac-inuit`,146:`x-mac-gaelic`},ie=[[],{0:`en`,30:`fo`,60:`ks`,90:`rw`,1:`fr`,31:`fa`,61:`ku`,91:`rn`,2:`de`,32:`ru`,62:`sd`,92:`ny`,3:`it`,33:`zh`,63:`bo`,93:`mg`,4:`nl`,34:`nl-BE`,64:`ne`,94:`eo`,5:`sv`,35:`ga`,65:`sa`,128:`cy`,6:`es`,36:`sq`,66:`mr`,129:`eu`,7:`da`,37:`ro`,67:`bn`,130:`ca`,8:`pt`,38:`cz`,68:`as`,131:`la`,9:`no`,39:`sk`,69:`gu`,132:`qu`,10:`he`,40:`si`,70:`pa`,133:`gn`,11:`ja`,41:`yi`,71:`or`,134:`ay`,12:`ar`,42:`sr`,72:`ml`,135:`tt`,13:`fi`,43:`mk`,73:`kn`,136:`ug`,14:`el`,44:`bg`,74:`ta`,137:`dz`,15:`is`,45:`uk`,75:`te`,138:`jv`,16:`mt`,46:`be`,76:`si`,139:`su`,17:`tr`,47:`uz`,77:`my`,140:`gl`,18:`hr`,48:`kk`,78:`km`,141:`af`,19:`zh-Hant`,49:`az-Cyrl`,79:`lo`,142:`br`,20:`ur`,50:`az-Arab`,80:`vi`,143:`iu`,21:`hi`,51:`hy`,81:`id`,144:`gd`,22:`th`,52:`ka`,82:`tl`,145:`gv`,23:`ko`,53:`mo`,83:`ms`,146:`ga`,24:`lt`,54:`ky`,84:`ms-Arab`,147:`to`,25:`pl`,55:`tg`,85:`am`,148:`el-polyton`,26:`hu`,56:`tk`,86:`ti`,149:`kl`,27:`es`,57:`mn-CN`,87:`om`,150:`az`,28:`lv`,58:`mn`,88:`so`,151:`nn`,29:`se`,59:`ps`,89:`sw`},[],{1078:`af`,16393:`en-IN`,1159:`rw`,1074:`tn`,1052:`sq`,6153:`en-IE`,1089:`sw`,1115:`si`,1156:`gsw`,8201:`en-JM`,1111:`kok`,1051:`sk`,1118:`am`,17417:`en-MY`,1042:`ko`,1060:`sl`,5121:`ar-DZ`,5129:`en-NZ`,1088:`ky`,11274:`es-AR`,15361:`ar-BH`,13321:`en-PH`,1108:`lo`,16394:`es-BO`,3073:`ar`,18441:`en-SG`,1062:`lv`,13322:`es-CL`,2049:`ar-IQ`,7177:`en-ZA`,1063:`lt`,9226:`es-CO`,11265:`ar-JO`,11273:`en-TT`,2094:`dsb`,5130:`es-CR`,13313:`ar-KW`,2057:`en-GB`,1134:`lb`,7178:`es-DO`,12289:`ar-LB`,1033:`en`,1071:`mk`,12298:`es-EC`,4097:`ar-LY`,12297:`en-ZW`,2110:`ms-BN`,17418:`es-SV`,6145:`ary`,1061:`et`,1086:`ms`,4106:`es-GT`,8193:`ar-OM`,1080:`fo`,1100:`ml`,18442:`es-HN`,16385:`ar-QA`,1124:`fil`,1082:`mt`,2058:`es-MX`,1025:`ar-SA`,1035:`fi`,1153:`mi`,19466:`es-NI`,10241:`ar-SY`,2060:`fr-BE`,1146:`arn`,6154:`es-PA`,7169:`aeb`,3084:`fr-CA`,1102:`mr`,15370:`es-PY`,14337:`ar-AE`,1036:`fr`,1148:`moh`,10250:`es-PE`,9217:`ar-YE`,5132:`fr-LU`,1104:`mn`,20490:`es-PR`,1067:`hy`,6156:`fr-MC`,2128:`mn-CN`,3082:`es`,1101:`as`,4108:`fr-CH`,1121:`ne`,1034:`es`,2092:`az-Cyrl`,1122:`fy`,1044:`nb`,21514:`es-US`,1068:`az`,1110:`gl`,2068:`nn`,14346:`es-UY`,1133:`ba`,1079:`ka`,1154:`oc`,8202:`es-VE`,1069:`eu`,3079:`de-AT`,1096:`or`,2077:`sv-FI`,1059:`be`,1031:`de`,1123:`ps`,1053:`sv`,2117:`bn`,5127:`de-LI`,1045:`pl`,1114:`syr`,1093:`bn-IN`,4103:`de-LU`,1046:`pt`,1064:`tg`,8218:`bs-Cyrl`,2055:`de-CH`,2070:`pt-PT`,2143:`tzm`,5146:`bs`,1032:`el`,1094:`pa`,1097:`ta`,1150:`br`,1135:`kl`,1131:`qu-BO`,1092:`tt`,1026:`bg`,1095:`gu`,2155:`qu-EC`,1098:`te`,1027:`ca`,1128:`ha`,3179:`qu`,1054:`th`,3076:`zh-HK`,1037:`he`,1048:`ro`,1105:`bo`,5124:`zh-MO`,1081:`hi`,1047:`rm`,1055:`tr`,2052:`zh`,1038:`hu`,1049:`ru`,1090:`tk`,4100:`zh-SG`,1039:`is`,9275:`smn`,1152:`ug`,1028:`zh-TW`,1136:`ig`,4155:`smj-NO`,1058:`uk`,1155:`co`,1057:`id`,5179:`smj`,1070:`hsb`,1050:`hr`,1117:`iu`,3131:`se-FI`,1056:`ur`,4122:`hr-BA`,2141:`iu-Latn`,1083:`se`,2115:`uz-Cyrl`,1029:`cs`,2108:`ga`,2107:`se-SE`,1091:`uz`,1030:`da`,1076:`xh`,8251:`sms`,1066:`vi`,1164:`prs`,1077:`zu`,6203:`sma-NO`,1106:`cy`,1125:`dv`,1040:`it`,7227:`sms`,1160:`wo`,2067:`nl-BE`,2064:`it-CH`,1103:`sa`,1157:`sah`,1043:`nl`,1041:`ja`,7194:`sr-Cyrl-BA`,1144:`ii`,3081:`en-AU`,1099:`kn`,3098:`sr`,1130:`yo`,10249:`en-BZ`,1087:`kk`,6170:`sr-Latn-BA`,4105:`en-CA`,1107:`km`,2074:`sr-Latn`,9225:`en-029`,1158:`quc`,1132:`nso`}],ae=new r.Struct({platformID:r.uint16,encodingID:r.uint16,languageID:r.uint16,nameID:r.uint16,length:r.uint16,string:new r.Pointer(r.uint16,new r.String(`length`,e=>z(e.platformID,e.encodingID,e.languageID)),{type:`parent`,relativeTo:e=>e.parent.stringOffset,allowNull:!1})}),oe=new r.Struct({length:r.uint16,tag:new r.Pointer(r.uint16,new r.String(`length`,`utf16be`),{type:`parent`,relativeTo:e=>e.stringOffset})});var se=new r.VersionedStruct(r.uint16,{0:{count:r.uint16,stringOffset:r.uint16,records:new r.Array(ae,`count`)},1:{count:r.uint16,stringOffset:r.uint16,records:new r.Array(ae,`count`),langTagCount:r.uint16,langTags:new r.Array(oe,`langTagCount`)}}),ce=se;let H=[`copyright`,`fontFamily`,`fontSubfamily`,`uniqueSubfamily`,`fullName`,`version`,`postscriptName`,`trademark`,`manufacturer`,`designer`,`description`,`vendorURL`,`designerURL`,`license`,`licenseURL`,null,`preferredFamily`,`preferredSubfamily`,`compatibleFull`,`sampleText`,`postscriptCIDFontName`,`wwsFamilyName`,`wwsSubfamilyName`];se.process=function(e){var t={};for(let e of this.records){let n=ie[e.platformID][e.languageID];n==null&&this.langTags!=null&&e.languageID>=32768&&(n=this.langTags[e.languageID-32768].tag),n??=e.platformID+`-`+e.languageID;let r=e.nameID>=256?`fontFeatures`:H[e.nameID]||e.nameID;t[r]??(t[r]={});let i=t[r];e.nameID>=256&&(i=i[e.nameID]||(i[e.nameID]={})),(typeof e.string==`string`||typeof i[n]!=`string`)&&(i[n]=e.string)}this.records=t},se.preEncode=function(){if(Array.isArray(this.records))return;this.version=0;let e=[];for(let t in this.records){let n=this.records[t];t!==`fontFeatures`&&(e.push({platformID:3,encodingID:1,languageID:1033,nameID:H.indexOf(t),length:n.en.length*2,string:n.en}),t===`postscriptName`&&e.push({platformID:1,encodingID:0,languageID:0,nameID:H.indexOf(t),length:n.en.length,string:n.en}))}this.records=e,this.count=e.length,this.stringOffset=se.size(this,null,!1)};var le=new r.VersionedStruct(r.uint16,{header:{xAvgCharWidth:r.int16,usWeightClass:r.uint16,usWidthClass:r.uint16,fsType:new r.Bitfield(r.uint16,[null,`noEmbedding`,`viewOnly`,`editable`,null,null,null,null,`noSubsetting`,`bitmapOnly`]),ySubscriptXSize:r.int16,ySubscriptYSize:r.int16,ySubscriptXOffset:r.int16,ySubscriptYOffset:r.int16,ySuperscriptXSize:r.int16,ySuperscriptYSize:r.int16,ySuperscriptXOffset:r.int16,ySuperscriptYOffset:r.int16,yStrikeoutSize:r.int16,yStrikeoutPosition:r.int16,sFamilyClass:r.int16,panose:new r.Array(r.uint8,10),ulCharRange:new r.Array(r.uint32,4),vendorID:new r.String(4),fsSelection:new r.Bitfield(r.uint16,[`italic`,`underscore`,`negative`,`outlined`,`strikeout`,`bold`,`regular`,`useTypoMetrics`,`wws`,`oblique`]),usFirstCharIndex:r.uint16,usLastCharIndex:r.uint16},0:{},1:{typoAscender:r.int16,typoDescender:r.int16,typoLineGap:r.int16,winAscent:r.uint16,winDescent:r.uint16,codePageRange:new r.Array(r.uint32,2)},2:{typoAscender:r.int16,typoDescender:r.int16,typoLineGap:r.int16,winAscent:r.uint16,winDescent:r.uint16,codePageRange:new r.Array(r.uint32,2),xHeight:r.int16,capHeight:r.int16,defaultChar:r.uint16,breakChar:r.uint16,maxContent:r.uint16},5:{typoAscender:r.int16,typoDescender:r.int16,typoLineGap:r.int16,winAscent:r.uint16,winDescent:r.uint16,codePageRange:new r.Array(r.uint32,2),xHeight:r.int16,capHeight:r.int16,defaultChar:r.uint16,breakChar:r.uint16,maxContent:r.uint16,usLowerOpticalPointSize:r.uint16,usUpperOpticalPointSize:r.uint16}});let ue=le.versions;ue[3]=ue[4]=ue[2];var U=le,W=new r.VersionedStruct(r.fixed32,{header:{italicAngle:r.fixed32,underlinePosition:r.int16,underlineThickness:r.int16,isFixedPitch:r.uint32,minMemType42:r.uint32,maxMemType42:r.uint32,minMemType1:r.uint32,maxMemType1:r.uint32},1:{},2:{numberOfGlyphs:r.uint16,glyphNameIndex:new r.Array(r.uint16,`numberOfGlyphs`),names:new r.Array(new r.String(r.uint8))},2.5:{numberOfGlyphs:r.uint16,offsets:new r.Array(r.uint8,`numberOfGlyphs`)},3:{},4:{map:new r.Array(r.uint32,e=>e.parent.maxp.numGlyphs)}}),G=new r.Struct({controlValues:new r.Array(r.int16)}),de=new r.Struct({instructions:new r.Array(r.uint8)});let fe=new r.VersionedStruct(`head.indexToLocFormat`,{0:{offsets:new r.Array(r.uint16)},1:{offsets:new r.Array(r.uint32)}});fe.process=function(){if(this.version===0&&!this._processed){for(let e=0;e<this.offsets.length;e++)this.offsets[e]<<=1;this._processed=!0}},fe.preEncode=function(){if(this.version===0&&this._processed!==!1){for(let e=0;e<this.offsets.length;e++)this.offsets[e]>>>=1;this._processed=!1}};var K=fe,q=new r.Struct({controlValueProgram:new r.Array(r.uint8)}),J=new r.Array(new r.Buffer);class Y{getCFFVersion(e){for(;e&&!e.hdrSize;)e=e.parent;return e?e.version:-1}decode(e,t){let n=this.getCFFVersion(t)>=2?e.readUInt32BE():e.readUInt16BE();if(n===0)return[];let i=e.readUInt8(),a;if(i===1)a=r.uint8;else if(i===2)a=r.uint16;else if(i===3)a=r.uint24;else if(i===4)a=r.uint32;else throw Error(`Bad offset size in CFFIndex: ${i} ${e.pos}`);let o=[],s=e.pos+(n+1)*i-1,c=a.decode(e);for(let r=0;r<n;r++){let n=a.decode(e);if(this.type!=null){let r=e.pos;e.pos=s+c,t.length=n-c,o.push(this.type.decode(e,t)),e.pos=r}else o.push({offset:s+c,length:n-c});c=n}return e.pos=s+c,o}size(e,t){let n=2;if(e.length===0)return n;let i=this.type||new r.Buffer,a=1;for(let n=0;n<e.length;n++){let r=e[n];a+=i.size(r,t)}let o;if(a<=255)o=r.uint8;else if(a<=65535)o=r.uint16;else if(a<=16777215)o=r.uint24;else if(a<=4294967295)o=r.uint32;else throw Error(`Bad offset in CFFIndex`);return n+=1+o.size()*(e.length+1),n+=a-1,n}encode(e,t,n){if(e.writeUInt16BE(t.length),t.length===0)return;let i=this.type||new r.Buffer,a=[],o=1;for(let e of t){let t=i.size(e,n);a.push(t),o+=t}let s;if(o<=255)s=r.uint8;else if(o<=65535)s=r.uint16;else if(o<=16777215)s=r.uint24;else if(o<=4294967295)s=r.uint32;else throw Error(`Bad offset in CFFIndex`);e.writeUInt8(s.size()),o=1,s.encode(e,o);for(let t of a)o+=t,s.encode(e,o);for(let r of t)i.encode(e,r,n)}constructor(e){this.type=e}}let pe=[`0`,`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`.`,`E`,`E-`,null,`-`],me={".":10,E:11,"E-":12,"-":14};class X{static decode(e,t){if(32<=t&&t<=246)return t-139;if(247<=t&&t<=250)return(t-247)*256+e.readUInt8()+108;if(251<=t&&t<=254)return-(t-251)*256-e.readUInt8()-108;if(t===28)return e.readInt16BE();if(t===29)return e.readInt32BE();if(t===30){let t=``;for(;;){let n=e.readUInt8(),r=n>>4;if(r===15)break;t+=pe[r];let i=n&15;if(i===15)break;t+=pe[i]}return parseFloat(t)}return null}static size(e){if(e.forceLarge&&(e=32768),(e|0)!==e){let t=``+e;return 1+Math.ceil((t.length+1)/2)}return-107<=e&&e<=107?1:108<=e&&e<=1131||-1131<=e&&e<=-108?2:-32768<=e&&e<=32767?3:5}static encode(e,t){let n=Number(t);if(t.forceLarge)return e.writeUInt8(29),e.writeInt32BE(n);if((n|0)!==n){e.writeUInt8(30);let t=``+n;for(let n=0;n<t.length;n+=2){let i=t[n],a=me[i]||+i;if(n===t.length-1)var r=15;else{let e=t[n+1];var r=me[e]||+e}e.writeUInt8(a<<4|r&15)}if(r!==15)return e.writeUInt8(240)}else if(-107<=n&&n<=107)return e.writeUInt8(n+139);else if(108<=n&&n<=1131)return n-=108,e.writeUInt8((n>>8)+247),e.writeUInt8(n&255);else if(-1131<=n&&n<=-108)return n=-n-108,e.writeUInt8((n>>8)+251),e.writeUInt8(n&255);else if(-32768<=n&&n<=32767)return e.writeUInt8(28),e.writeInt16BE(n);else return e.writeUInt8(29),e.writeInt32BE(n)}}class he{decodeOperands(e,t,n,r){if(Array.isArray(e))return r.map((r,i)=>this.decodeOperands(e[i],t,n,[r]));if(e.decode!=null)return e.decode(t,n,r);switch(e){case`number`:case`offset`:case`sid`:return r[0];case`boolean`:return!!r[0];default:return r}}encodeOperands(e,t,n,r){return Array.isArray(e)?r.map((r,i)=>this.encodeOperands(e[i],t,n,r)[0]):e.encode==null?typeof r==`number`?[r]:typeof r==`boolean`?[+r]:Array.isArray(r)?r:[r]:e.encode(t,r,n)}decode(e,t){let n=e.pos+t.length,i={},a=[];Object.defineProperties(i,{parent:{value:t},_startOffset:{value:e.pos}});for(let e in this.fields){let t=this.fields[e];i[t[1]]=t[3]}for(;e.pos<n;){let t=e.readUInt8();if(t<28){t===12&&(t=t<<8|e.readUInt8());let n=this.fields[t];if(!n)throw Error(`Unknown operator ${t}`);let o=this.decodeOperands(n[2],e,i,a);o!=null&&(o instanceof r.PropertyDescriptor?Object.defineProperty(i,n[1],o):i[n[1]]=o),a=[]}else a.push(X.decode(e,t))}return i}size(e,t,n=!0){let r={parent:t,val:e,pointerSize:0,startOffset:t.startOffset||0},i=0;for(let t in this.fields){let n=this.fields[t],a=e[n[1]];if(a==null||h(o)(a,n[3]))continue;let s=this.encodeOperands(n[2],null,r,a);for(let e of s)i+=X.size(e);let c=Array.isArray(n[0])?n[0]:[n[0]];i+=c.length}return n&&(i+=r.pointerSize),i}encode(e,t,n){let r={pointers:[],startOffset:e.pos,parent:n,val:t,pointerSize:0};r.pointerOffset=e.pos+this.size(t,r,!1);for(let n of this.ops){let i=t[n[1]];if(i==null||h(o)(i,n[3]))continue;let a=this.encodeOperands(n[2],e,r,i);for(let t of a)X.encode(e,t);let s=Array.isArray(n[0])?n[0]:[n[0]];for(let t of s)e.writeUInt8(t)}let i=0;for(;i<r.pointers.length;){let t=r.pointers[i++];t.type.encode(e,t.val,t.parent)}}constructor(e=[]){this.ops=e,this.fields={};for(let t of e){let e=Array.isArray(t[0])?t[0][0]<<8|t[0][1]:t[0];this.fields[e]=t}}}class ge extends r.Pointer{decode(e,t,n){return this.offsetType={decode:()=>n[0]},super.decode(e,t,n)}encode(e,t,n){if(!e)return this.offsetType={size:()=>0},this.size(t,n),[new _e(0)];let r=null;return this.offsetType={encode:(e,t)=>r=t},super.encode(e,t,n),[new _e(r)]}constructor(e,t={}){t.type??=`global`,super(null,e,t)}}class _e{valueOf(){return this.val}constructor(e){this.val=e,this.forceLarge=!0}}class ve{static decode(e,t,n){let r=n.pop();for(;n.length>r;)n.pop()}}var ye=new he([[6,`BlueValues`,`delta`,null],[7,`OtherBlues`,`delta`,null],[8,`FamilyBlues`,`delta`,null],[9,`FamilyOtherBlues`,`delta`,null],[[12,9],`BlueScale`,`number`,.039625],[[12,10],`BlueShift`,`number`,7],[[12,11],`BlueFuzz`,`number`,1],[10,`StdHW`,`number`,null],[11,`StdVW`,`number`,null],[[12,12],`StemSnapH`,`delta`,null],[[12,13],`StemSnapV`,`delta`,null],[[12,14],`ForceBold`,`boolean`,!1],[[12,17],`LanguageGroup`,`number`,0],[[12,18],`ExpansionFactor`,`number`,.06],[[12,19],`initialRandomSeed`,`number`,0],[20,`defaultWidthX`,`number`,0],[21,`nominalWidthX`,`number`,0],[22,`vsindex`,`number`,0],[23,`blend`,ve,null],[19,`Subrs`,new ge(new Y,{type:`local`}),null]]),be=`.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`.split(`,`);let xe=`................................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`.split(`.`),Se=`................................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`.split(`.`),Ce=`.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`.split(`,`),we=`.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`.split(`,`),Te=`.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`.split(`,`),Ee=new r.Struct({reserved:new r.Reserved(r.uint16),reqFeatureIndex:r.uint16,featureCount:r.uint16,featureIndexes:new r.Array(r.uint16,`featureCount`)}),De=new r.Struct({tag:new r.String(4),langSys:new r.Pointer(r.uint16,Ee,{type:`parent`})}),Oe=new r.Struct({defaultLangSys:new r.Pointer(r.uint16,Ee),count:r.uint16,langSysRecords:new r.Array(De,`count`)}),ke=new r.Struct({tag:new r.String(4),script:new r.Pointer(r.uint16,Oe,{type:`parent`})}),Ae=new r.Array(ke,r.uint16),je=new r.Struct({version:r.uint16,nameID:r.uint16}),Me=new r.Struct({featureParams:new r.Pointer(r.uint16,je),lookupCount:r.uint16,lookupListIndexes:new r.Array(r.uint16,`lookupCount`)}),Ne=new r.Struct({tag:new r.String(4),feature:new r.Pointer(r.uint16,Me,{type:`parent`})}),Pe=new r.Array(Ne,r.uint16),Fe=new r.Struct({markAttachmentType:r.uint8,flags:new r.Bitfield(r.uint8,[`rightToLeft`,`ignoreBaseGlyphs`,`ignoreLigatures`,`ignoreMarks`,`useMarkFilteringSet`])});function Ie(e){let t=new r.Struct({lookupType:r.uint16,flags:Fe,subTableCount:r.uint16,subTables:new r.Array(new r.Pointer(r.uint16,e),`subTableCount`),markFilteringSet:new r.Optional(r.uint16,e=>e.flags.flags.useMarkFilteringSet)});return new r.LazyArray(new r.Pointer(r.uint16,t),r.uint16)}let Le=new r.Struct({start:r.uint16,end:r.uint16,startCoverageIndex:r.uint16}),Re=new r.VersionedStruct(r.uint16,{1:{glyphCount:r.uint16,glyphs:new r.Array(r.uint16,`glyphCount`)},2:{rangeCount:r.uint16,rangeRecords:new r.Array(Le,`rangeCount`)}}),ze=new r.Struct({start:r.uint16,end:r.uint16,class:r.uint16}),Be=new r.VersionedStruct(r.uint16,{1:{startGlyph:r.uint16,glyphCount:r.uint16,classValueArray:new r.Array(r.uint16,`glyphCount`)},2:{classRangeCount:r.uint16,classRangeRecord:new r.Array(ze,`classRangeCount`)}}),Ve=new r.Struct({a:r.uint16,b:r.uint16,deltaFormat:r.uint16}),Z=new r.Struct({sequenceIndex:r.uint16,lookupListIndex:r.uint16}),Q=new r.Struct({glyphCount:r.uint16,lookupCount:r.uint16,input:new r.Array(r.uint16,e=>e.glyphCount-1),lookupRecords:new r.Array(Z,`lookupCount`)}),He=new r.Array(new r.Pointer(r.uint16,Q),r.uint16),Ue=new r.Struct({glyphCount:r.uint16,lookupCount:r.uint16,classes:new r.Array(r.uint16,e=>e.glyphCount-1),lookupRecords:new r.Array(Z,`lookupCount`)}),We=new r.Array(new r.Pointer(r.uint16,Ue),r.uint16),Ge=new r.VersionedStruct(r.uint16,{1:{coverage:new r.Pointer(r.uint16,Re),ruleSetCount:r.uint16,ruleSets:new r.Array(new r.Pointer(r.uint16,He),`ruleSetCount`)},2:{coverage:new r.Pointer(r.uint16,Re),classDef:new r.Pointer(r.uint16,Be),classSetCnt:r.uint16,classSet:new r.Array(new r.Pointer(r.uint16,We),`classSetCnt`)},3:{glyphCount:r.uint16,lookupCount:r.uint16,coverages:new r.Array(new r.Pointer(r.uint16,Re),`glyphCount`),lookupRecords:new r.Array(Z,`lookupCount`)}}),Ke=new r.Struct({backtrackGlyphCount:r.uint16,backtrack:new r.Array(r.uint16,`backtrackGlyphCount`),inputGlyphCount:r.uint16,input:new r.Array(r.uint16,e=>e.inputGlyphCount-1),lookaheadGlyphCount:r.uint16,lookahead:new r.Array(r.uint16,`lookaheadGlyphCount`),lookupCount:r.uint16,lookupRecords:new r.Array(Z,`lookupCount`)}),qe=new r.Array(new r.Pointer(r.uint16,Ke),r.uint16),Je=new r.VersionedStruct(r.uint16,{1:{coverage:new r.Pointer(r.uint16,Re),chainCount:r.uint16,chainRuleSets:new r.Array(new r.Pointer(r.uint16,qe),`chainCount`)},2:{coverage:new r.Pointer(r.uint16,Re),backtrackClassDef:new r.Pointer(r.uint16,Be),inputClassDef:new r.Pointer(r.uint16,Be),lookaheadClassDef:new r.Pointer(r.uint16,Be),chainCount:r.uint16,chainClassSet:new r.Array(new r.Pointer(r.uint16,qe),`chainCount`)},3:{backtrackGlyphCount:r.uint16,backtrackCoverage:new r.Array(new r.Pointer(r.uint16,Re),`backtrackGlyphCount`),inputGlyphCount:r.uint16,inputCoverage:new r.Array(new r.Pointer(r.uint16,Re),`inputGlyphCount`),lookaheadGlyphCount:r.uint16,lookaheadCoverage:new r.Array(new r.Pointer(r.uint16,Re),`lookaheadGlyphCount`),lookupCount:r.uint16,lookupRecords:new r.Array(Z,`lookupCount`)}}),Ye=new r.Fixed(16,`BE`,14),Xe=new r.Struct({startCoord:Ye,peakCoord:Ye,endCoord:Ye}),Ze=new r.Struct({axisCount:r.uint16,regionCount:r.uint16,variationRegions:new r.Array(new r.Array(Xe,`axisCount`),`regionCount`)}),Qe=new r.Struct({shortDeltas:new r.Array(r.int16,e=>e.parent.shortDeltaCount),regionDeltas:new r.Array(r.int8,e=>e.parent.regionIndexCount-e.parent.shortDeltaCount),deltas:e=>e.shortDeltas.concat(e.regionDeltas)}),$e=new r.Struct({itemCount:r.uint16,shortDeltaCount:r.uint16,regionIndexCount:r.uint16,regionIndexes:new r.Array(r.uint16,`regionIndexCount`),deltaSets:new r.Array(Qe,`itemCount`)}),et=new r.Struct({format:r.uint16,variationRegionList:new r.Pointer(r.uint32,Ze),variationDataCount:r.uint16,itemVariationData:new r.Array(new r.Pointer(r.uint32,$e),`variationDataCount`)}),tt=new r.VersionedStruct(r.uint16,{1:{axisIndex:r.uint16,axisIndex:r.uint16,filterRangeMinValue:Ye,filterRangeMaxValue:Ye}}),nt=new r.Struct({conditionCount:r.uint16,conditionTable:new r.Array(new r.Pointer(r.uint32,tt),`conditionCount`)}),rt=new r.Struct({featureIndex:r.uint16,alternateFeatureTable:new r.Pointer(r.uint32,Me,{type:`parent`})}),it=new r.Struct({version:r.fixed32,substitutionCount:r.uint16,substitutions:new r.Array(rt,`substitutionCount`)}),at=new r.Struct({conditionSet:new r.Pointer(r.uint32,nt,{type:`parent`}),featureTableSubstitution:new r.Pointer(r.uint32,it,{type:`parent`})}),ot=new r.Struct({majorVersion:r.uint16,minorVersion:r.uint16,featureVariationRecordCount:r.uint32,featureVariationRecords:new r.Array(at,`featureVariationRecordCount`)});class st{decode(e,t,n){return this.predefinedOps[n[0]]?this.predefinedOps[n[0]]:this.type.decode(e,t,n)}size(e,t){return this.type.size(e,t)}encode(e,t,n){let r=this.predefinedOps.indexOf(t);return r===-1?this.type.encode(e,t,n):r}constructor(e,t){this.predefinedOps=e,this.type=t}}class ct extends r.Number{decode(e){return r.uint8.decode(e)&127}constructor(){super(`UInt8`)}}let lt=new r.Struct({first:r.uint16,nLeft:r.uint8}),ut=new r.Struct({first:r.uint16,nLeft:r.uint16}),dt=new r.VersionedStruct(new ct,{0:{nCodes:r.uint8,codes:new r.Array(r.uint8,`nCodes`)},1:{nRanges:r.uint8,ranges:new r.Array(lt,`nRanges`)}}),ft=new st([xe,Se],new ge(dt,{lazy:!0}));class pt extends r.Array{decode(e,t){let n=(0,r.resolveLength)(this.length,e,t),i=0,a=[];for(;i<n;){let n=this.type.decode(e,t);n.offset=i,i+=n.nLeft+1,a.push(n)}return a}}let mt=new r.VersionedStruct(r.uint8,{0:{glyphs:new r.Array(r.uint16,e=>e.parent.CharStrings.length-1)},1:{ranges:new pt(lt,e=>e.parent.CharStrings.length-1)},2:{ranges:new pt(ut,e=>e.parent.CharStrings.length-1)}}),ht=new st([Ce,we,Te],new ge(mt,{lazy:!0})),gt=new r.Struct({first:r.uint16,fd:r.uint8}),_t=new r.Struct({first:r.uint32,fd:r.uint16}),vt=new r.VersionedStruct(r.uint8,{0:{fds:new r.Array(r.uint8,e=>e.parent.CharStrings.length)},3:{nRanges:r.uint16,ranges:new r.Array(gt,`nRanges`),sentinel:r.uint16},4:{nRanges:r.uint32,ranges:new r.Array(_t,`nRanges`),sentinel:r.uint32}}),yt=new ge(ye);class bt{decode(e,t,n){return t.length=n[0],yt.decode(e,t,[n[1]])}size(e,t){return[ye.size(e,t,!1),yt.size(e,t)[0]]}encode(e,t,n){return[ye.size(t,n,!1),yt.encode(e,t,n)[0]]}}let xt=new he([[18,`Private`,new bt,null],[[12,38],`FontName`,`sid`,null],[[12,7],`FontMatrix`,`array`,[.001,0,0,.001,0,0]],[[12,5],`PaintType`,`number`,0]]),St=new he([[[12,30],`ROS`,[`sid`,`sid`,`number`],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`,`boolean`,!1],[[12,2],`ItalicAngle`,`number`,0],[[12,3],`UnderlinePosition`,`number`,-100],[[12,4],`UnderlineThickness`,`number`,50],[[12,5],`PaintType`,`number`,0],[[12,6],`CharstringType`,`number`,2],[[12,7],`FontMatrix`,`array`,[.001,0,0,.001,0,0]],[13,`UniqueID`,`number`,null],[5,`FontBBox`,`array`,[0,0,0,0]],[[12,8],`StrokeWidth`,`number`,0],[14,`XUID`,`array`,null],[15,`charset`,ht,Ce],[16,`Encoding`,ft,xe],[17,`CharStrings`,new ge(new Y),null],[18,`Private`,new bt,null],[[12,20],`SyntheticBase`,`number`,null],[[12,21],`PostScript`,`sid`,null],[[12,22],`BaseFontName`,`sid`,null],[[12,23],`BaseFontBlend`,`delta`,null],[[12,31],`CIDFontVersion`,`number`,0],[[12,32],`CIDFontRevision`,`number`,0],[[12,33],`CIDFontType`,`number`,0],[[12,34],`CIDCount`,`number`,8720],[[12,35],`UIDBase`,`number`,null],[[12,37],`FDSelect`,new ge(vt),null],[[12,36],`FDArray`,new ge(new Y(xt)),null],[[12,38],`FontName`,`sid`,null]]),Ct=new r.Struct({length:r.uint16,itemVariationStore:et}),wt=new he([[[12,7],`FontMatrix`,`array`,[.001,0,0,.001,0,0]],[17,`CharStrings`,new ge(new Y),null],[[12,37],`FDSelect`,new ge(vt),null],[[12,36],`FDArray`,new ge(new Y(xt)),null],[24,`vstore`,new ge(Ct),null],[25,`maxstack`,`number`,193]]);var Tt=new r.VersionedStruct(r.fixed16,{1:{hdrSize:r.uint8,offSize:r.uint8,nameIndex:new Y(new r.String(`length`)),topDictIndex:new Y(St),stringIndex:new Y(new r.String(`length`)),globalSubrIndex:new Y},2:{hdrSize:r.uint8,length:r.uint16,topDict:wt,globalSubrIndex:new Y}});class Et{static decode(e){return new Et(e)}decode(){this.stream.pos;let e=Tt.decode(this.stream);for(let t in e){let n=e[t];this[t]=n}if(this.version<2){if(this.topDictIndex.length!==1)throw Error(`Only a single font is allowed in CFF`);this.topDict=this.topDictIndex[0]}return this.isCIDFont=this.topDict.ROS!=null,this}string(e){return this.version>=2?null:e<be.length?be[e]:this.stringIndex[e-be.length]}get postscriptName(){return this.version<2?this.nameIndex[0]:null}get fullName(){return this.string(this.topDict.FullName)}get familyName(){return this.string(this.topDict.FamilyName)}getCharString(e){return this.stream.pos=this.topDict.CharStrings[e].offset,this.stream.readBuffer(this.topDict.CharStrings[e].length)}getGlyphName(e){if(this.version>=2||this.isCIDFont)return null;let{charset:t}=this.topDict;if(Array.isArray(t))return t[e];if(e===0)return`.notdef`;switch(--e,t.version){case 0:return this.string(t.glyphs[e]);case 1:case 2:for(let n=0;n<t.ranges.length;n++){let r=t.ranges[n];if(r.offset<=e&&e<=r.offset+r.nLeft)return this.string(r.first+(e-r.offset))}}return null}fdForGlyph(e){if(!this.topDict.FDSelect)return null;switch(this.topDict.FDSelect.version){case 0:return this.topDict.FDSelect.fds[e];case 3:case 4:let{ranges:t}=this.topDict.FDSelect,n=0,r=t.length-1;for(;n<=r;){let i=n+r>>1;if(e<t[i].first)r=i-1;else if(i<r&&e>=t[i+1].first)n=i+1;else return t[i].fd}default:throw Error(`Unknown FDSelect version: ${this.topDict.FDSelect.version}`)}}privateDictForGlyph(e){if(this.topDict.FDSelect){let t=this.fdForGlyph(e);return this.topDict.FDArray[t]?this.topDict.FDArray[t].Private:null}return this.version<2?this.topDict.Private:this.topDict.FDArray[0].Private}constructor(e){this.stream=e,this.decode()}}var Dt=Et;let Ot=new r.Struct({glyphIndex:r.uint16,vertOriginY:r.int16});var kt=new r.Struct({majorVersion:r.uint16,minorVersion:r.uint16,defaultVertOriginY:r.int16,numVertOriginYMetrics:r.uint16,metrics:new r.Array(Ot,`numVertOriginYMetrics`)});let At=new r.Struct({height:r.uint8,width:r.uint8,horiBearingX:r.int8,horiBearingY:r.int8,horiAdvance:r.uint8,vertBearingX:r.int8,vertBearingY:r.int8,vertAdvance:r.uint8}),jt=new r.Struct({height:r.uint8,width:r.uint8,bearingX:r.int8,bearingY:r.int8,advance:r.uint8}),Mt=new r.Struct({glyph:r.uint16,xOffset:r.int8,yOffset:r.int8});class Nt{}class Pt{}new r.VersionedStruct(`version`,{1:{metrics:jt,data:Nt},2:{metrics:jt,data:Pt},5:{data:Pt},6:{metrics:At,data:Nt},7:{metrics:At,data:Pt},8:{metrics:jt,pad:new r.Reserved(r.uint8),numComponents:r.uint16,components:new r.Array(Mt,`numComponents`)},9:{metrics:At,pad:new r.Reserved(r.uint8),numComponents:r.uint16,components:new r.Array(Mt,`numComponents`)},17:{metrics:jt,dataLen:r.uint32,data:new r.Buffer(`dataLen`)},18:{metrics:At,dataLen:r.uint32,data:new r.Buffer(`dataLen`)},19:{dataLen:r.uint32,data:new r.Buffer(`dataLen`)}});let Ft=new r.Struct({ascender:r.int8,descender:r.int8,widthMax:r.uint8,caretSlopeNumerator:r.int8,caretSlopeDenominator:r.int8,caretOffset:r.int8,minOriginSB:r.int8,minAdvanceSB:r.int8,maxBeforeBL:r.int8,minAfterBL:r.int8,pad:new r.Reserved(r.int8,2)}),It=new r.Struct({glyphCode:r.uint16,offset:r.uint16}),Lt=new r.VersionedStruct(r.uint16,{header:{imageFormat:r.uint16,imageDataOffset:r.uint32},1:{offsetArray:new r.Array(r.uint32,e=>e.parent.lastGlyphIndex-e.parent.firstGlyphIndex+1)},2:{imageSize:r.uint32,bigMetrics:At},3:{offsetArray:new r.Array(r.uint16,e=>e.parent.lastGlyphIndex-e.parent.firstGlyphIndex+1)},4:{numGlyphs:r.uint32,glyphArray:new r.Array(It,e=>e.numGlyphs+1)},5:{imageSize:r.uint32,bigMetrics:At,numGlyphs:r.uint32,glyphCodeArray:new r.Array(r.uint16,`numGlyphs`)}}),Rt=new r.Struct({firstGlyphIndex:r.uint16,lastGlyphIndex:r.uint16,subtable:new r.Pointer(r.uint32,Lt)}),zt=new r.Struct({indexSubTableArray:new r.Pointer(r.uint32,new r.Array(Rt,1),{type:`parent`}),indexTablesSize:r.uint32,numberOfIndexSubTables:r.uint32,colorRef:r.uint32,hori:Ft,vert:Ft,startGlyphIndex:r.uint16,endGlyphIndex:r.uint16,ppemX:r.uint8,ppemY:r.uint8,bitDepth:r.uint8,flags:new r.Bitfield(r.uint8,[`horizontal`,`vertical`])});var Bt=new r.Struct({version:r.uint32,numSizes:r.uint32,sizes:new r.Array(zt,`numSizes`)});let Vt=new r.Struct({ppem:r.uint16,resolution:r.uint16,imageOffsets:new r.Array(new r.Pointer(r.uint32,`void`),e=>e.parent.parent.maxp.numGlyphs+1)});var Ht=new r.Struct({version:r.uint16,flags:new r.Bitfield(r.uint16,[`renderOutlines`]),numImgTables:r.uint32,imageTables:new r.Array(new r.Pointer(r.uint32,Vt),`numImgTables`)});let Ut=new r.Struct({gid:r.uint16,paletteIndex:r.uint16}),Wt=new r.Struct({gid:r.uint16,firstLayerIndex:r.uint16,numLayers:r.uint16});var Gt=new r.Struct({version:r.uint16,numBaseGlyphRecords:r.uint16,baseGlyphRecord:new r.Pointer(r.uint32,new r.Array(Wt,`numBaseGlyphRecords`)),layerRecords:new r.Pointer(r.uint32,new r.Array(Ut,`numLayerRecords`),{lazy:!0}),numLayerRecords:r.uint16});let Kt=new r.Struct({blue:r.uint8,green:r.uint8,red:r.uint8,alpha:r.uint8});var qt=new r.VersionedStruct(r.uint16,{header:{numPaletteEntries:r.uint16,numPalettes:r.uint16,numColorRecords:r.uint16,colorRecords:new r.Pointer(r.uint32,new r.Array(Kt,`numColorRecords`)),colorRecordIndices:new r.Array(r.uint16,`numPalettes`)},0:{},1:{offsetPaletteTypeArray:new r.Pointer(r.uint32,new r.Array(r.uint32,`numPalettes`)),offsetPaletteLabelArray:new r.Pointer(r.uint32,new r.Array(r.uint16,`numPalettes`)),offsetPaletteEntryLabelArray:new r.Pointer(r.uint32,new r.Array(r.uint16,`numPaletteEntries`))}});let Jt=new r.VersionedStruct(r.uint16,{1:{coordinate:r.int16},2:{coordinate:r.int16,referenceGlyph:r.uint16,baseCoordPoint:r.uint16},3:{coordinate:r.int16,deviceTable:new r.Pointer(r.uint16,Ve)}}),Yt=new r.Struct({defaultIndex:r.uint16,baseCoordCount:r.uint16,baseCoords:new r.Array(new r.Pointer(r.uint16,Jt),`baseCoordCount`)}),Xt=new r.Struct({tag:new r.String(4),minCoord:new r.Pointer(r.uint16,Jt,{type:`parent`}),maxCoord:new r.Pointer(r.uint16,Jt,{type:`parent`})}),Zt=new r.Struct({minCoord:new r.Pointer(r.uint16,Jt),maxCoord:new r.Pointer(r.uint16,Jt),featMinMaxCount:r.uint16,featMinMaxRecords:new r.Array(Xt,`featMinMaxCount`)}),Qt=new r.Struct({tag:new r.String(4),minMax:new r.Pointer(r.uint16,Zt,{type:`parent`})}),$t=new r.Struct({baseValues:new r.Pointer(r.uint16,Yt),defaultMinMax:new r.Pointer(r.uint16,Zt),baseLangSysCount:r.uint16,baseLangSysRecords:new r.Array(Qt,`baseLangSysCount`)}),en=new r.Struct({tag:new r.String(4),script:new r.Pointer(r.uint16,$t,{type:`parent`})}),tn=new r.Array(en,r.uint16),nn=new r.Array(new r.String(4),r.uint16),rn=new r.Struct({baseTagList:new r.Pointer(r.uint16,nn),baseScriptList:new r.Pointer(r.uint16,tn)});var an=new r.VersionedStruct(r.uint32,{header:{horizAxis:new r.Pointer(r.uint16,rn),vertAxis:new r.Pointer(r.uint16,rn)},65536:{},65537:{itemVariationStore:new r.Pointer(r.uint32,et)}});let on=new r.Array(r.uint16,r.uint16),sn=new r.Struct({coverage:new r.Pointer(r.uint16,Re),glyphCount:r.uint16,attachPoints:new r.Array(new r.Pointer(r.uint16,on),`glyphCount`)}),cn=new r.VersionedStruct(r.uint16,{1:{coordinate:r.int16},2:{caretValuePoint:r.uint16},3:{coordinate:r.int16,deviceTable:new r.Pointer(r.uint16,Ve)}}),ln=new r.Array(new r.Pointer(r.uint16,cn),r.uint16),un=new r.Struct({coverage:new r.Pointer(r.uint16,Re),ligGlyphCount:r.uint16,ligGlyphs:new r.Array(new r.Pointer(r.uint16,ln),`ligGlyphCount`)}),dn=new r.Struct({markSetTableFormat:r.uint16,markSetCount:r.uint16,coverage:new r.Array(new r.Pointer(r.uint32,Re),`markSetCount`)});var fn=new r.VersionedStruct(r.uint32,{header:{glyphClassDef:new r.Pointer(r.uint16,Be),attachList:new r.Pointer(r.uint16,sn),ligCaretList:new r.Pointer(r.uint16,un),markAttachClassDef:new r.Pointer(r.uint16,Be)},65536:{},65538:{markGlyphSetsDef:new r.Pointer(r.uint16,dn)},65539:{markGlyphSetsDef:new r.Pointer(r.uint16,dn),itemVariationStore:new r.Pointer(r.uint32,et)}});let pn=new r.Bitfield(r.uint16,[`xPlacement`,`yPlacement`,`xAdvance`,`yAdvance`,`xPlaDevice`,`yPlaDevice`,`xAdvDevice`,`yAdvDevice`]),mn={xPlacement:r.int16,yPlacement:r.int16,xAdvance:r.int16,yAdvance:r.int16,xPlaDevice:new r.Pointer(r.uint16,Ve,{type:`global`,relativeTo:e=>e.rel}),yPlaDevice:new r.Pointer(r.uint16,Ve,{type:`global`,relativeTo:e=>e.rel}),xAdvDevice:new r.Pointer(r.uint16,Ve,{type:`global`,relativeTo:e=>e.rel}),yAdvDevice:new r.Pointer(r.uint16,Ve,{type:`global`,relativeTo:e=>e.rel})};class hn{buildStruct(e){let t=e;for(;!t[this.key]&&t.parent;)t=t.parent;if(!t[this.key])return;let n={};n.rel=()=>t._startOffset;let i=t[this.key];for(let e in i)i[e]&&(n[e]=mn[e]);return new r.Struct(n)}size(e,t){return this.buildStruct(t).size(e,t)}decode(e,t){let n=this.buildStruct(t).decode(e,t);return delete n.rel,n}constructor(e=`valueFormat`){this.key=e}}let gn=new r.Struct({secondGlyph:r.uint16,value1:new hn(`valueFormat1`),value2:new hn(`valueFormat2`)}),_n=new r.Array(gn,r.uint16),vn=new r.Struct({value1:new hn(`valueFormat1`),value2:new hn(`valueFormat2`)}),yn=new r.VersionedStruct(r.uint16,{1:{xCoordinate:r.int16,yCoordinate:r.int16},2:{xCoordinate:r.int16,yCoordinate:r.int16,anchorPoint:r.uint16},3:{xCoordinate:r.int16,yCoordinate:r.int16,xDeviceTable:new r.Pointer(r.uint16,Ve),yDeviceTable:new r.Pointer(r.uint16,Ve)}}),bn=new r.Struct({entryAnchor:new r.Pointer(r.uint16,yn,{type:`parent`}),exitAnchor:new r.Pointer(r.uint16,yn,{type:`parent`})}),xn=new r.Struct({class:r.uint16,markAnchor:new r.Pointer(r.uint16,yn,{type:`parent`})}),Sn=new r.Array(xn,r.uint16),Cn=new r.Array(new r.Pointer(r.uint16,yn),e=>e.parent.classCount),wn=new r.Array(Cn,r.uint16),Tn=new r.Array(new r.Pointer(r.uint16,yn),e=>e.parent.parent.classCount),En=new r.Array(Tn,r.uint16),Dn=new r.Array(new r.Pointer(r.uint16,En),r.uint16),On=new r.VersionedStruct(`lookupType`,{1:new r.VersionedStruct(r.uint16,{1:{coverage:new r.Pointer(r.uint16,Re),valueFormat:pn,value:new hn},2:{coverage:new r.Pointer(r.uint16,Re),valueFormat:pn,valueCount:r.uint16,values:new r.LazyArray(new hn,`valueCount`)}}),2:new r.VersionedStruct(r.uint16,{1:{coverage:new r.Pointer(r.uint16,Re),valueFormat1:pn,valueFormat2:pn,pairSetCount:r.uint16,pairSets:new r.LazyArray(new r.Pointer(r.uint16,_n),`pairSetCount`)},2:{coverage:new r.Pointer(r.uint16,Re),valueFormat1:pn,valueFormat2:pn,classDef1:new r.Pointer(r.uint16,Be),classDef2:new r.Pointer(r.uint16,Be),class1Count:r.uint16,class2Count:r.uint16,classRecords:new r.LazyArray(new r.LazyArray(vn,`class2Count`),`class1Count`)}}),3:{format:r.uint16,coverage:new r.Pointer(r.uint16,Re),entryExitCount:r.uint16,entryExitRecords:new r.Array(bn,`entryExitCount`)},4:{format:r.uint16,markCoverage:new r.Pointer(r.uint16,Re),baseCoverage:new r.Pointer(r.uint16,Re),classCount:r.uint16,markArray:new r.Pointer(r.uint16,Sn),baseArray:new r.Pointer(r.uint16,wn)},5:{format:r.uint16,markCoverage:new r.Pointer(r.uint16,Re),ligatureCoverage:new r.Pointer(r.uint16,Re),classCount:r.uint16,markArray:new r.Pointer(r.uint16,Sn),ligatureArray:new r.Pointer(r.uint16,Dn)},6:{format:r.uint16,mark1Coverage:new r.Pointer(r.uint16,Re),mark2Coverage:new r.Pointer(r.uint16,Re),classCount:r.uint16,mark1Array:new r.Pointer(r.uint16,Sn),mark2Array:new r.Pointer(r.uint16,wn)},7:Ge,8:Je,9:{posFormat:r.uint16,lookupType:r.uint16,extension:new r.Pointer(r.uint32,null)}});On.versions[9].extension.type=On;var kn=new r.VersionedStruct(r.uint32,{header:{scriptList:new r.Pointer(r.uint16,Ae),featureList:new r.Pointer(r.uint16,Pe),lookupList:new r.Pointer(r.uint16,new Ie(On))},65536:{},65537:{featureVariations:new r.Pointer(r.uint32,ot)}});let An=new r.Array(r.uint16,r.uint16),jn=An,Mn=new r.Struct({glyph:r.uint16,compCount:r.uint16,components:new r.Array(r.uint16,e=>e.compCount-1)}),Nn=new r.Array(new r.Pointer(r.uint16,Mn),r.uint16),Pn=new r.VersionedStruct(`lookupType`,{1:new r.VersionedStruct(r.uint16,{1:{coverage:new r.Pointer(r.uint16,Re),deltaGlyphID:r.int16},2:{coverage:new r.Pointer(r.uint16,Re),glyphCount:r.uint16,substitute:new r.LazyArray(r.uint16,`glyphCount`)}}),2:{substFormat:r.uint16,coverage:new r.Pointer(r.uint16,Re),count:r.uint16,sequences:new r.LazyArray(new r.Pointer(r.uint16,An),`count`)},3:{substFormat:r.uint16,coverage:new r.Pointer(r.uint16,Re),count:r.uint16,alternateSet:new r.LazyArray(new r.Pointer(r.uint16,jn),`count`)},4:{substFormat:r.uint16,coverage:new r.Pointer(r.uint16,Re),count:r.uint16,ligatureSets:new r.LazyArray(new r.Pointer(r.uint16,Nn),`count`)},5:Ge,6:Je,7:{substFormat:r.uint16,lookupType:r.uint16,extension:new r.Pointer(r.uint32,null)},8:{substFormat:r.uint16,coverage:new r.Pointer(r.uint16,Re),backtrackCoverage:new r.Array(new r.Pointer(r.uint16,Re),`backtrackGlyphCount`),lookaheadGlyphCount:r.uint16,lookaheadCoverage:new r.Array(new r.Pointer(r.uint16,Re),`lookaheadGlyphCount`),glyphCount:r.uint16,substitutes:new r.Array(r.uint16,`glyphCount`)}});Pn.versions[7].extension.type=Pn;var Fn=new r.VersionedStruct(r.uint32,{header:{scriptList:new r.Pointer(r.uint16,Ae),featureList:new r.Pointer(r.uint16,Pe),lookupList:new r.Pointer(r.uint16,new Ie(Pn))},65536:{},65537:{featureVariations:new r.Pointer(r.uint32,ot)}});let In=new r.Array(r.uint16,r.uint16),Ln=new r.Struct({shrinkageEnableGSUB:new r.Pointer(r.uint16,In),shrinkageDisableGSUB:new r.Pointer(r.uint16,In),shrinkageEnableGPOS:new r.Pointer(r.uint16,In),shrinkageDisableGPOS:new r.Pointer(r.uint16,In),shrinkageJstfMax:new r.Pointer(r.uint16,new Ie(On)),extensionEnableGSUB:new r.Pointer(r.uint16,In),extensionDisableGSUB:new r.Pointer(r.uint16,In),extensionEnableGPOS:new r.Pointer(r.uint16,In),extensionDisableGPOS:new r.Pointer(r.uint16,In),extensionJstfMax:new r.Pointer(r.uint16,new Ie(On))}),Rn=new r.Array(new r.Pointer(r.uint16,Ln),r.uint16),zn=new r.Struct({tag:new r.String(4),jstfLangSys:new r.Pointer(r.uint16,Rn)}),Bn=new r.Struct({extenderGlyphs:new r.Pointer(r.uint16,new r.Array(r.uint16,r.uint16)),defaultLangSys:new r.Pointer(r.uint16,Rn),langSysCount:r.uint16,langSysRecords:new r.Array(zn,`langSysCount`)}),Vn=new r.Struct({tag:new r.String(4),script:new r.Pointer(r.uint16,Bn,{type:`parent`})});var Hn=new r.Struct({version:r.uint32,scriptCount:r.uint16,scriptList:new r.Array(Vn,`scriptCount`)});class Un{decode(e,t){switch(this.size(0,t)){case 1:return e.readUInt8();case 2:return e.readUInt16BE();case 3:return e.readUInt24BE();case 4:return e.readUInt32BE()}}size(e,t){return(0,r.resolveLength)(this._size,null,t)}constructor(e){this._size=e}}let Wn=new r.Struct({entry:new Un(e=>((e.parent.entryFormat&48)>>4)+1),outerIndex:e=>e.entry>>(e.parent.entryFormat&15)+1,innerIndex:e=>e.entry&(1<<(e.parent.entryFormat&15)+1)-1}),Gn=new r.Struct({entryFormat:r.uint16,mapCount:r.uint16,mapData:new r.Array(Wn,`mapCount`)});var Kn=new r.Struct({majorVersion:r.uint16,minorVersion:r.uint16,itemVariationStore:new r.Pointer(r.uint32,et),advanceWidthMapping:new r.Pointer(r.uint32,Gn),LSBMapping:new r.Pointer(r.uint32,Gn),RSBMapping:new r.Pointer(r.uint32,Gn)});let qn=new r.Struct({format:r.uint32,length:r.uint32,offset:r.uint32}),Jn=new r.Struct({reserved:new r.Reserved(r.uint16,2),cbSignature:r.uint32,signature:new r.Buffer(`cbSignature`)});var Yn=new r.Struct({ulVersion:r.uint32,usNumSigs:r.uint16,usFlag:r.uint16,signatures:new r.Array(qn,`usNumSigs`),signatureBlocks:new r.Array(Jn,`usNumSigs`)});let Xn=new r.Struct({rangeMaxPPEM:r.uint16,rangeGaspBehavior:new r.Bitfield(r.uint16,[`grayscale`,`gridfit`,`symmetricSmoothing`,`symmetricGridfit`])});var Zn=new r.Struct({version:r.uint16,numRanges:r.uint16,gaspRanges:new r.Array(Xn,`numRanges`)});let Qn=new r.Struct({pixelSize:r.uint8,maximumWidth:r.uint8,widths:new r.Array(r.uint8,e=>e.parent.parent.maxp.numGlyphs)});var $n=new r.Struct({version:r.uint16,numRecords:r.int16,sizeDeviceRecord:r.int32,records:new r.Array(Qn,`numRecords`)});let er=new r.Struct({left:r.uint16,right:r.uint16,value:r.int16}),tr=new r.Struct({firstGlyph:r.uint16,nGlyphs:r.uint16,offsets:new r.Array(r.uint16,`nGlyphs`),max:e=>e.offsets.length&&Math.max.apply(Math,e.offsets)}),nr=new r.Struct({off:e=>e._startOffset-e.parent.parent._startOffset,len:e=>((e.parent.leftTable.max-e.off)/e.parent.rowWidth+1)*(e.parent.rowWidth/2),values:new r.LazyArray(r.int16,`len`)}),rr=new r.VersionedStruct(`format`,{0:{nPairs:r.uint16,searchRange:r.uint16,entrySelector:r.uint16,rangeShift:r.uint16,pairs:new r.Array(er,`nPairs`)},2:{rowWidth:r.uint16,leftTable:new r.Pointer(r.uint16,tr,{type:`parent`}),rightTable:new r.Pointer(r.uint16,tr,{type:`parent`}),array:new r.Pointer(r.uint16,nr,{type:`parent`})},3:{glyphCount:r.uint16,kernValueCount:r.uint8,leftClassCount:r.uint8,rightClassCount:r.uint8,flags:r.uint8,kernValue:new r.Array(r.int16,`kernValueCount`),leftClass:new r.Array(r.uint8,`glyphCount`),rightClass:new r.Array(r.uint8,`glyphCount`),kernIndex:new r.Array(r.uint8,e=>e.leftClassCount*e.rightClassCount)}}),ir=new r.VersionedStruct(`version`,{0:{subVersion:r.uint16,length:r.uint16,format:r.uint8,coverage:new r.Bitfield(r.uint8,[`horizontal`,`minimum`,`crossStream`,`override`]),subtable:rr,padding:new r.Reserved(r.uint8,e=>e.length-e._currentOffset)},1:{length:r.uint32,coverage:new r.Bitfield(r.uint8,[null,null,null,null,null,`variation`,`crossStream`,`vertical`]),format:r.uint8,tupleIndex:r.uint16,subtable:rr,padding:new r.Reserved(r.uint8,e=>e.length-e._currentOffset)}});var ar=new r.VersionedStruct(r.uint16,{0:{nTables:r.uint16,tables:new r.Array(ir,`nTables`)},1:{reserved:new r.Reserved(r.uint16),nTables:r.uint32,tables:new r.Array(ir,`nTables`)}}),or=new r.Struct({version:r.uint16,numGlyphs:r.uint16,yPels:new r.Array(r.uint8,`numGlyphs`)}),sr=new r.Struct({version:r.uint16,fontNumber:r.uint32,pitch:r.uint16,xHeight:r.uint16,style:r.uint16,typeFamily:r.uint16,capHeight:r.uint16,symbolSet:r.uint16,typeface:new r.String(16),characterComplement:new r.String(8),fileName:new r.String(6),strokeWeight:new r.String(1),widthType:new r.String(1),serifStyle:r.uint8,reserved:new r.Reserved(r.uint8)});let cr=new r.Struct({bCharSet:r.uint8,xRatio:r.uint8,yStartRatio:r.uint8,yEndRatio:r.uint8}),lr=new r.Struct({yPelHeight:r.uint16,yMax:r.int16,yMin:r.int16}),ur=new r.Struct({recs:r.uint16,startsz:r.uint8,endsz:r.uint8,entries:new r.Array(lr,`recs`)});var dr=new r.Struct({version:r.uint16,numRecs:r.uint16,numRatios:r.uint16,ratioRanges:new r.Array(cr,`numRatios`),offsets:new r.Array(r.uint16,`numRatios`),groups:new r.Array(ur,`numRecs`)}),fr=new r.Struct({version:r.uint16,ascent:r.int16,descent:r.int16,lineGap:r.int16,advanceHeightMax:r.int16,minTopSideBearing:r.int16,minBottomSideBearing:r.int16,yMaxExtent:r.int16,caretSlopeRise:r.int16,caretSlopeRun:r.int16,caretOffset:r.int16,reserved:new r.Reserved(r.int16,4),metricDataFormat:r.int16,numberOfMetrics:r.uint16});let pr=new r.Struct({advance:r.uint16,bearing:r.int16});var mr=new r.Struct({metrics:new r.LazyArray(pr,e=>e.parent.vhea.numberOfMetrics),bearings:new r.LazyArray(r.int16,e=>e.parent.maxp.numGlyphs-e.parent.vhea.numberOfMetrics)});let hr=new r.Fixed(16,`BE`,14),gr=new r.Struct({fromCoord:hr,toCoord:hr}),_r=new r.Struct({pairCount:r.uint16,correspondence:new r.Array(gr,`pairCount`)});var vr=new r.Struct({version:r.fixed32,axisCount:r.uint32,segment:new r.Array(_r,`axisCount`)});class yr{getItem(e){if(this._items[e]==null){let t=this.stream.pos;this.stream.pos=this.base+this.type.size(null,this.parent)*e,this._items[e]=this.type.decode(this.stream,this.parent),this.stream.pos=t}return this._items[e]}inspect(){return`[UnboundedArray ${this.type.constructor.name}]`}constructor(e,t,n){this.type=e,this.stream=t,this.parent=n,this.base=this.stream.pos,this._items=[]}}class br extends r.Array{decode(e,t){return new yr(this.type,e,t)}constructor(e){super(e,0)}}let xr=function(e=r.uint16){class t{decode(e,t){return t=t.parent.parent,this.type.decode(e,t)}size(e,t){return t=t.parent.parent,this.type.size(e,t)}encode(e,t,n){return n=n.parent.parent,this.type.encode(e,t,n)}constructor(e){this.type=e}}e=new t(e);let n=new r.Struct({unitSize:r.uint16,nUnits:r.uint16,searchRange:r.uint16,entrySelector:r.uint16,rangeShift:r.uint16}),i=new r.Struct({lastGlyph:r.uint16,firstGlyph:r.uint16,value:e}),a=new r.Struct({lastGlyph:r.uint16,firstGlyph:r.uint16,values:new r.Pointer(r.uint16,new r.Array(e,e=>e.lastGlyph-e.firstGlyph+1),{type:`parent`})}),o=new r.Struct({glyph:r.uint16,value:e});return new r.VersionedStruct(r.uint16,{0:{values:new br(e)},2:{binarySearchHeader:n,segments:new r.Array(i,e=>e.binarySearchHeader.nUnits)},4:{binarySearchHeader:n,segments:new r.Array(a,e=>e.binarySearchHeader.nUnits)},6:{binarySearchHeader:n,segments:new r.Array(o,e=>e.binarySearchHeader.nUnits)},8:{firstGlyph:r.uint16,count:r.uint16,values:new r.Array(e,`count`)}})};function Sr(e={},t=r.uint16){let n=Object.assign({newState:r.uint16,flags:r.uint16},e),i=new r.Struct(n),a=new br(new r.Array(r.uint16,e=>e.nClasses));return new r.Struct({nClasses:r.uint32,classTable:new r.Pointer(r.uint32,new xr(t)),stateArray:new r.Pointer(r.uint32,a),entryTable:new r.Pointer(r.uint32,new br(i))})}function Cr(e={},t=r.uint16){let n=new r.Struct({version(){return 8},firstGlyph:r.uint16,values:new r.Array(r.uint8,r.uint16)}),i=Object.assign({newStateOffset:r.uint16,newState:e=>(e.newStateOffset-(e.parent.stateArray.base-e.parent._startOffset))/e.parent.nClasses,flags:r.uint16},e),a=new r.Struct(i),o=new br(new r.Array(r.uint8,e=>e.nClasses));return new r.Struct({nClasses:r.uint16,classTable:new r.Pointer(r.uint16,n),stateArray:new r.Pointer(r.uint16,o),entryTable:new r.Pointer(r.uint16,new br(a))})}let wr=new r.VersionedStruct(`format`,{0:{deltas:new r.Array(r.int16,32)},1:{deltas:new r.Array(r.int16,32),mappingData:new xr(r.uint16)},2:{standardGlyph:r.uint16,controlPoints:new r.Array(r.uint16,32)},3:{standardGlyph:r.uint16,controlPoints:new r.Array(r.uint16,32),mappingData:new xr(r.uint16)}});var Tr=new r.Struct({version:r.fixed32,format:r.uint16,defaultBaseline:r.uint16,subtable:wr});let Er=new r.Struct({setting:r.uint16,nameIndex:r.int16,name:e=>e.parent.parent.parent.name.records.fontFeatures[e.nameIndex]}),Dr=new r.Struct({feature:r.uint16,nSettings:r.uint16,settingTable:new r.Pointer(r.uint32,new r.Array(Er,`nSettings`),{type:`parent`}),featureFlags:new r.Bitfield(r.uint8,[null,null,null,null,null,null,`hasDefault`,`exclusive`]),defaultSetting:r.uint8,nameIndex:r.int16,name:e=>e.parent.parent.name.records.fontFeatures[e.nameIndex]});var Or=new r.Struct({version:r.fixed32,featureNameCount:r.uint16,reserved1:new r.Reserved(r.uint16),reserved2:new r.Reserved(r.uint32),featureNames:new r.Array(Dr,`featureNameCount`)});let kr=new r.Struct({axisTag:new r.String(4),minValue:r.fixed32,defaultValue:r.fixed32,maxValue:r.fixed32,flags:r.uint16,nameID:r.uint16,name:e=>e.parent.parent.name.records.fontFeatures[e.nameID]}),Ar=new r.Struct({nameID:r.uint16,name:e=>e.parent.parent.name.records.fontFeatures[e.nameID],flags:r.uint16,coord:new r.Array(r.fixed32,e=>e.parent.axisCount),postscriptNameID:new r.Optional(r.uint16,e=>e.parent.instanceSize-e._currentOffset>0)});var jr=new r.Struct({version:r.fixed32,offsetToData:r.uint16,countSizePairs:r.uint16,axisCount:r.uint16,axisSize:r.uint16,instanceCount:r.uint16,instanceSize:r.uint16,axis:new r.Array(kr,`axisCount`),instance:new r.Array(Ar,`instanceCount`)});let Mr=new r.Fixed(16,`BE`,14);class Nr{static decode(e,t){return t.flags?e.readUInt32BE():e.readUInt16BE()*2}}var Pr=new r.Struct({version:r.uint16,reserved:new r.Reserved(r.uint16),axisCount:r.uint16,globalCoordCount:r.uint16,globalCoords:new r.Pointer(r.uint32,new r.Array(new r.Array(Mr,`axisCount`),`globalCoordCount`)),glyphCount:r.uint16,flags:r.uint16,offsetToData:r.uint32,offsets:new r.Array(new r.Pointer(Nr,`void`,{relativeTo:e=>e.offsetToData,allowNull:!1}),e=>e.glyphCount+1)});let Fr=new r.Struct({length:r.uint16,coverage:r.uint16,subFeatureFlags:r.uint32,stateTable:new Cr}),Ir=new r.Struct({justClass:r.uint32,beforeGrowLimit:r.fixed32,beforeShrinkLimit:r.fixed32,afterGrowLimit:r.fixed32,afterShrinkLimit:r.fixed32,growFlags:r.uint16,shrinkFlags:r.uint16}),Lr=new r.Array(Ir,r.uint32),Rr=new r.VersionedStruct(`actionType`,{0:{lowerLimit:r.fixed32,upperLimit:r.fixed32,order:r.uint16,glyphs:new r.Array(r.uint16,r.uint16)},1:{addGlyph:r.uint16},2:{substThreshold:r.fixed32,addGlyph:r.uint16,substGlyph:r.uint16},3:{},4:{variationAxis:r.uint32,minimumLimit:r.fixed32,noStretchValue:r.fixed32,maximumLimit:r.fixed32},5:{flags:r.uint16,glyph:r.uint16}}),zr=new r.Struct({actionClass:r.uint16,actionType:r.uint16,actionLength:r.uint32,actionData:Rr,padding:new r.Reserved(r.uint8,e=>e.actionLength-e._currentOffset)}),Br=new r.Array(zr,r.uint32),Vr=new r.Struct({lookupTable:new xr(new r.Pointer(r.uint16,Br))}),Hr=new r.Struct({classTable:new r.Pointer(r.uint16,Fr,{type:`parent`}),wdcOffset:r.uint16,postCompensationTable:new r.Pointer(r.uint16,Vr,{type:`parent`}),widthDeltaClusters:new xr(new r.Pointer(r.uint16,Lr,{type:`parent`,relativeTo:e=>e.wdcOffset}))});var Ur=new r.Struct({version:r.uint32,format:r.uint16,horizontal:new r.Pointer(r.uint16,Hr),vertical:new r.Pointer(r.uint16,Hr)});let Wr={action:r.uint16},Gr={markIndex:r.uint16,currentIndex:r.uint16},Kr={currentInsertIndex:r.uint16,markedInsertIndex:r.uint16},qr=new r.Struct({items:new br(new r.Pointer(r.uint32,new xr))}),Jr=new r.VersionedStruct(`type`,{0:{stateTable:new Sr},1:{stateTable:new Sr(Gr),substitutionTable:new r.Pointer(r.uint32,qr)},2:{stateTable:new Sr(Wr),ligatureActions:new r.Pointer(r.uint32,new br(r.uint32)),components:new r.Pointer(r.uint32,new br(r.uint16)),ligatureList:new r.Pointer(r.uint32,new br(r.uint16))},4:{lookupTable:new xr},5:{stateTable:new Sr(Kr),insertionActions:new r.Pointer(r.uint32,new br(r.uint16))}}),Yr=new r.Struct({length:r.uint32,coverage:r.uint24,type:r.uint8,subFeatureFlags:r.uint32,table:Jr,padding:new r.Reserved(r.uint8,e=>e.length-e._currentOffset)}),Xr=new r.Struct({featureType:r.uint16,featureSetting:r.uint16,enableFlags:r.uint32,disableFlags:r.uint32}),Zr=new r.Struct({defaultFlags:r.uint32,chainLength:r.uint32,nFeatureEntries:r.uint32,nSubtables:r.uint32,features:new r.Array(Xr,`nFeatureEntries`),subtables:new r.Array(Yr,`nSubtables`)});var Qr=new r.Struct({version:r.uint16,unused:new r.Reserved(r.uint16),nChains:r.uint32,chains:new r.Array(Zr,`nChains`)});let $r=new r.Struct({left:r.int16,top:r.int16,right:r.int16,bottom:r.int16});var ei=new r.Struct({version:r.fixed32,format:r.uint16,lookupTable:new xr($r)});let ti={};var ni=ti;ti.cmap=N,ti.head=P,ti.hhea=F,ti.hmtx=L,ti.maxp=R,ti.name=ce,ti[`OS/2`]=U,ti.post=W,ti.fpgm=de,ti.loca=K,ti.prep=q,ti[`cvt `]=G,ti.glyf=J,ti[`CFF `]=Dt,ti.CFF2=Dt,ti.VORG=kt,ti.EBLC=Bt,ti.CBLC=ti.EBLC,ti.sbix=Ht,ti.COLR=Gt,ti.CPAL=qt,ti.BASE=an,ti.GDEF=fn,ti.GPOS=kn,ti.GSUB=Fn,ti.JSTF=Hn,ti.HVAR=Kn,ti.DSIG=Yn,ti.gasp=Zn,ti.hdmx=$n,ti.kern=ar,ti.LTSH=or,ti.PCLT=sr,ti.VDMX=dr,ti.vhea=fr,ti.vmtx=mr,ti.avar=vr,ti.bsln=Tr,ti.feat=Or,ti.fvar=jr,ti.gvar=Pr,ti.just=Ur,ti.morx=Qr,ti.opbd=ei;let ri=new r.Struct({tag:new r.String(4),checkSum:r.uint32,offset:new r.Pointer(r.uint32,`void`,{type:`global`}),length:r.uint32}),ii=new r.Struct({tag:new r.String(4),numTables:r.uint16,searchRange:r.uint16,entrySelector:r.uint16,rangeShift:r.uint16,tables:new r.Array(ri,`numTables`)});ii.process=function(){let e={};for(let t of this.tables)e[t.tag]=t;this.tables=e},ii.preEncode=function(){if(!Array.isArray(this.tables)){let e=[];for(let t in this.tables){let n=this.tables[t];n&&e.push({tag:t,checkSum:0,offset:new r.VoidPointer(ni[t],n),length:ni[t].size(n)})}this.tables=e}this.tag=`true`,this.numTables=this.tables.length;let e=2**Math.floor(Math.log(this.numTables)/Math.LN2);this.searchRange=e*16,this.entrySelector=Math.log(e)/Math.LN2,this.rangeShift=this.numTables*16-this.searchRange};var ai=ii;function oi(e,t){let n=0,r=e.length-1;for(;n<=r;){let i=n+r>>1,a=t(e[i]);if(a<0)r=i-1;else if(a>0)n=i+1;else return i}return-1}function si(e,t){let n=[];for(;e<t;)n.push(e++);return n}let ci=new TextDecoder(`ascii`),li=new Uint8Array(256);for(let e=0;e<64;e++)li[`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.charCodeAt(e)]=e;function ui(e){let t=e.length*.75;e[e.length-1]===`=`&&(t--,e[e.length-2]===`=`&&t--);let n=new Uint8Array(t),r=0;for(let t=0,i=e.length;t<i;t+=4){let i=li[e.charCodeAt(t)],a=li[e.charCodeAt(t+1)],o=li[e.charCodeAt(t+2)],s=li[e.charCodeAt(t+3)];n[r++]=i<<2|a>>4,n[r++]=(a&15)<<4|o>>2,n[r++]=(o&3)<<6|s&63}return n}class di{findSubtable(e,t){for(let[n,r]of t)for(let t of e.tables)if(t.platformID===n&&t.encodingID===r)return t.table;return null}lookup(e,t){if(this.encoding)e=this.encoding.get(e)||e;else if(t){let n=this.getVariationSelector(e,t);if(n)return n}let n=this.cmap;switch(n.version){case 0:return n.codeMap.get(e)||0;case 4:{let t=0,r=n.segCount-1;for(;t<=r;){let i=t+r>>1;if(e<n.startCode.get(i))r=i-1;else if(e>n.endCode.get(i))t=i+1;else{let t=n.idRangeOffset.get(i),r;if(t===0)r=e+n.idDelta.get(i);else{let a=t/2+(e-n.startCode.get(i))-(n.segCount-i);r=n.glyphIndexArray.get(a)||0,r!==0&&(r+=n.idDelta.get(i))}return r&65535}}return 0}case 8:throw Error(`TODO: cmap format 8`);case 6:case 10:return n.glyphIndices.get(e-n.firstCode)||0;case 12:case 13:{let t=0,r=n.nGroups-1;for(;t<=r;){let i=t+r>>1,a=n.groups.get(i);if(e<a.startCharCode)r=i-1;else if(e>a.endCharCode)t=i+1;else if(n.version===12)return a.glyphID+(e-a.startCharCode);else return a.glyphID}return 0}case 14:throw Error(`TODO: cmap format 14`);default:throw Error(`Unknown cmap format ${n.version}`)}}getVariationSelector(e,t){if(!this.uvs)return 0;let n=this.uvs.varSelectors.toArray(),r=oi(n,e=>t-e.varSelector),i=n[r];return r!==-1&&i.defaultUVS&&(r=oi(i.defaultUVS,t=>e<t.startUnicodeValue?-1:+(e>t.startUnicodeValue+t.additionalCount))),r!==-1&&i.nonDefaultUVS&&(r=oi(i.nonDefaultUVS,t=>e-t.unicodeValue),r!==-1)?i.nonDefaultUVS[r].glyphID:0}getCharacterSet(){let e=this.cmap;switch(e.version){case 0:return si(0,e.codeMap.length);case 4:{let t=[],n=e.endCode.toArray();for(let r=0;r<n.length;r++){let i=n[r]+1,a=e.startCode.get(r);t.push(...si(a,i))}return t}case 8:throw Error(`TODO: cmap format 8`);case 6:case 10:return si(e.firstCode,e.firstCode+e.glyphIndices.length);case 12:case 13:{let t=[];for(let n of e.groups.toArray())t.push(...si(n.startCharCode,n.endCharCode+1));return t}case 14:throw Error(`TODO: cmap format 14`);default:throw Error(`Unknown cmap format ${e.version}`)}}codePointsForGlyph(e){let t=this.cmap;switch(t.version){case 0:{let n=[];for(let r=0;r<256;r++)t.codeMap.get(r)===e&&n.push(r);return n}case 4:{let r=[];for(let i=0;i<t.segCount;i++){let a=t.endCode.get(i),o=t.startCode.get(i),s=t.idRangeOffset.get(i),c=t.idDelta.get(i);for(var n=o;n<=a;n++){let a=0;if(s===0)a=n+c;else{let e=s/2+(n-o)-(t.segCount-i);a=t.glyphIndexArray.get(e)||0,a!==0&&(a+=c)}a===e&&r.push(n)}}return r}case 12:{let n=[];for(let r of t.groups.toArray())e>=r.glyphID&&e<=r.glyphID+(r.endCharCode-r.startCharCode)&&n.push(r.startCharCode+(e-r.glyphID));return n}case 13:{let n=[];for(let r of t.groups.toArray())e===r.glyphID&&n.push(...si(r.startCharCode,r.endCharCode+1));return n}default:throw Error(`Unknown cmap format ${t.version}`)}}constructor(e){if(this.encoding=null,this.cmap=this.findSubtable(e,[[3,10],[0,6],[0,4],[3,1],[0,3],[0,2],[0,1],[0,0]]),!this.cmap)for(let t of e.tables){let e=ne(z(t.platformID,t.encodingID,t.table.language-1));e&&(this.cmap=t.table,this.encoding=e)}if(!this.cmap)throw Error(`Could not find a supported cmap table`);this.uvs=this.findSubtable(e,[[0,5]]),this.uvs&&this.uvs.version!==14&&(this.uvs=null)}}(0,a._)([C],di.prototype,`getCharacterSet`,null),(0,a._)([C],di.prototype,`codePointsForGlyph`,null);class fi{process(e,t){for(let n=0;n<e.length-1;n++){let r=e[n].id,i=e[n+1].id;t[n].xAdvance+=this.getKerning(r,i)}}getKerning(e,t){let n=0;for(let r of this.kern.tables){if(r.coverage.crossStream)continue;switch(r.version){case 0:if(!r.coverage.horizontal)continue;break;case 1:if(r.coverage.vertical||r.coverage.variation)continue;break;default:throw Error(`Unsupported kerning table version ${r.version}`)}let i=0,a=r.subtable;switch(r.format){case 0:let n=oi(a.pairs,function(n){return e-n.left||t-n.right});n>=0&&(i=a.pairs[n].value);break;case 2:let o=0,s=0;o=e>=a.leftTable.firstGlyph&&e<a.leftTable.firstGlyph+a.leftTable.nGlyphs?a.leftTable.offsets[e-a.leftTable.firstGlyph]:a.array.off,t>=a.rightTable.firstGlyph&&t<a.rightTable.firstGlyph+a.rightTable.nGlyphs&&(s=a.rightTable.offsets[t-a.rightTable.firstGlyph]);let c=(o+s-a.array.off)/2;i=a.array.values.get(c);break;case 3:if(e>=a.glyphCount||t>=a.glyphCount)return 0;i=a.kernValue[a.kernIndex[a.leftClass[e]*a.rightClassCount+a.rightClass[t]]];break;default:throw Error(`Unsupported kerning sub-table format ${r.format}`)}r.coverage.override?n=i:n+=i}return n}constructor(e){this.kern=e.kern}}class pi{positionGlyphs(e,t){let n=0,r=0;for(let i=0;i<e.length;i++)e[i].isMark?r=i:(n!==r&&this.positionCluster(e,t,n,r),n=r=i);return n!==r&&this.positionCluster(e,t,n,r),t}positionCluster(e,t,n,r){let i=e[n],a=i.cbox.copy();i.codePoints.length>1&&(a.minX+=(i.codePoints.length-1)*a.width/i.codePoints.length);let o=-t[n].xAdvance,s=0,c=this.font.unitsPerEm/16;for(let i=n+1;i<=r;i++){let n=e[i],r=n.cbox,l=t[i],u=this.getCombiningClass(n.codePoints[0]);if(u!==`Not_Reordered`){switch(l.xOffset=l.yOffset=0,u){case`Double_Above`:case`Double_Below`:l.xOffset+=a.minX-r.width/2-r.minX;break;case`Attached_Below_Left`:case`Below_Left`:case`Above_Left`:l.xOffset+=a.minX-r.minX;break;case`Attached_Above_Right`:case`Below_Right`:case`Above_Right`:l.xOffset+=a.maxX-r.width-r.minX;break;default:l.xOffset+=a.minX+(a.width-r.width)/2-r.minX}switch(u){case`Double_Below`:case`Below_Left`:case`Below`:case`Below_Right`:case`Attached_Below_Left`:case`Attached_Below`:(u===`Attached_Below_Left`||u===`Attached_Below`)&&(a.minY+=c),l.yOffset=-a.minY-r.maxY,a.minY+=r.height;break;case`Double_Above`:case`Above_Left`:case`Above`:case`Above_Right`:case`Attached_Above`:case`Attached_Above_Right`:(u===`Attached_Above`||u===`Attached_Above_Right`)&&(a.maxY+=c),l.yOffset=a.maxY-r.minY,a.maxY+=r.height}l.xAdvance=l.yAdvance=0,l.xOffset+=o,l.yOffset+=s}else o-=l.xAdvance,s-=l.yAdvance}}getCombiningClass(e){let t=(0,s.getCombiningClass)(e);if((e&-256)==3584){if(t===`Not_Reordered`)switch(e){case 3633:case 3636:case 3637:case 3638:case 3639:case 3655:case 3660:case 3645:case 3662:return`Above_Right`;case 3761:case 3764:case 3765:case 3766:case 3767:case 3771:case 3788:case 3789:return`Above`;case 3772:return`Below`}else if(e===3642)return`Below_Right`}switch(t){case`CCC10`:case`CCC11`:case`CCC12`:case`CCC13`:case`CCC14`:case`CCC15`:case`CCC16`:case`CCC17`:case`CCC18`:case`CCC20`:case`CCC22`:return`Below`;case`CCC23`:return`Attached_Above`;case`CCC24`:return`Above_Right`;case`CCC25`:case`CCC19`:return`Above_Left`;case`CCC26`:return`Above`;case`CCC21`:break;case`CCC27`:case`CCC28`:case`CCC30`:case`CCC31`:case`CCC33`:case`CCC34`:case`CCC35`:case`CCC36`:return`Above`;case`CCC29`:case`CCC32`:return`Below`;case`CCC103`:return`Below_Right`;case`CCC107`:return`Above_Right`;case`CCC118`:return`Below`;case`CCC122`:return`Above`;case`CCC129`:case`CCC132`:return`Below`;case`CCC130`:return`Above`}return t}constructor(e){this.font=e}}class mi{get width(){return this.maxX-this.minX}get height(){return this.maxY-this.minY}addPoint(e,t){Math.abs(e)!==1/0&&(e<this.minX&&(this.minX=e),e>this.maxX&&(this.maxX=e)),Math.abs(t)!==1/0&&(t<this.minY&&(this.minY=t),t>this.maxY&&(this.maxY=t))}copy(){return new mi(this.minX,this.minY,this.maxX,this.maxY)}constructor(e=1/0,t=1/0,n=-1/0,r=-1/0){this.minX=e,this.minY=t,this.maxX=n,this.maxY=r}}let hi={Caucasian_Albanian:`aghb`,Arabic:`arab`,Imperial_Aramaic:`armi`,Armenian:`armn`,Avestan:`avst`,Balinese:`bali`,Bamum:`bamu`,Bassa_Vah:`bass`,Batak:`batk`,Bengali:[`bng2`,`beng`],Bopomofo:`bopo`,Brahmi:`brah`,Braille:`brai`,Buginese:`bugi`,Buhid:`buhd`,Chakma:`cakm`,Canadian_Aboriginal:`cans`,Carian:`cari`,Cham:`cham`,Cherokee:`cher`,Coptic:`copt`,Cypriot:`cprt`,Cyrillic:`cyrl`,Devanagari:[`dev2`,`deva`],Deseret:`dsrt`,Duployan:`dupl`,Egyptian_Hieroglyphs:`egyp`,Elbasan:`elba`,Ethiopic:`ethi`,Georgian:`geor`,Glagolitic:`glag`,Gothic:`goth`,Grantha:`gran`,Greek:`grek`,Gujarati:[`gjr2`,`gujr`],Gurmukhi:[`gur2`,`guru`],Hangul:`hang`,Han:`hani`,Hanunoo:`hano`,Hebrew:`hebr`,Hiragana:`hira`,Pahawh_Hmong:`hmng`,Katakana_Or_Hiragana:`hrkt`,Old_Italic:`ital`,Javanese:`java`,Kayah_Li:`kali`,Katakana:`kana`,Kharoshthi:`khar`,Khmer:`khmr`,Khojki:`khoj`,Kannada:[`knd2`,`knda`],Kaithi:`kthi`,Tai_Tham:`lana`,Lao:`lao `,Latin:`latn`,Lepcha:`lepc`,Limbu:`limb`,Linear_A:`lina`,Linear_B:`linb`,Lisu:`lisu`,Lycian:`lyci`,Lydian:`lydi`,Mahajani:`mahj`,Mandaic:`mand`,Manichaean:`mani`,Mende_Kikakui:`mend`,Meroitic_Cursive:`merc`,Meroitic_Hieroglyphs:`mero`,Malayalam:[`mlm2`,`mlym`],Modi:`modi`,Mongolian:`mong`,Mro:`mroo`,Meetei_Mayek:`mtei`,Myanmar:[`mym2`,`mymr`],Old_North_Arabian:`narb`,Nabataean:`nbat`,Nko:`nko `,Ogham:`ogam`,Ol_Chiki:`olck`,Old_Turkic:`orkh`,Oriya:[`ory2`,`orya`],Osmanya:`osma`,Palmyrene:`palm`,Pau_Cin_Hau:`pauc`,Old_Permic:`perm`,Phags_Pa:`phag`,Inscriptional_Pahlavi:`phli`,Psalter_Pahlavi:`phlp`,Phoenician:`phnx`,Miao:`plrd`,Inscriptional_Parthian:`prti`,Rejang:`rjng`,Runic:`runr`,Samaritan:`samr`,Old_South_Arabian:`sarb`,Saurashtra:`saur`,Shavian:`shaw`,Sharada:`shrd`,Siddham:`sidd`,Khudawadi:`sind`,Sinhala:`sinh`,Sora_Sompeng:`sora`,Sundanese:`sund`,Syloti_Nagri:`sylo`,Syriac:`syrc`,Tagbanwa:`tagb`,Takri:`takr`,Tai_Le:`tale`,New_Tai_Lue:`talu`,Tamil:[`tml2`,`taml`],Tai_Viet:`tavt`,Telugu:[`tel2`,`telu`],Tifinagh:`tfng`,Tagalog:`tglg`,Thaana:`thaa`,Thai:`thai`,Tibetan:`tibt`,Tirhuta:`tirh`,Ugaritic:`ugar`,Vai:`vai `,Warang_Citi:`wara`,Old_Persian:`xpeo`,Cuneiform:`xsux`,Yi:`yi `,Inherited:`zinh`,Common:`zyyy`,Unknown:`zzzz`},gi={};for(let e in hi){let t=hi[e];if(Array.isArray(t))for(let n of t)gi[n]=e;else gi[t]=e}function _i(e){return gi[e]}function vi(e){let t=e.length,n=0;for(;n<t;){let r=e.charCodeAt(n++);if(55296<=r&&r<=56319&&n<t){let t=e.charCodeAt(n);56320<=t&&t<=57343&&(n++,r=((r&1023)<<10)+(t&1023)+65536)}let i=(0,s.getScript)(r);if(i!==`Common`&&i!==`Inherited`&&i!==`Unknown`)return hi[i]}return hi.Unknown}function yi(e){for(let t=0;t<e.length;t++){let n=e[t],r=(0,s.getScript)(n);if(r!==`Common`&&r!==`Inherited`&&r!==`Unknown`)return hi[r]}return hi.Unknown}let bi={arab:!0,hebr:!0,syrc:!0,thaa:!0,cprt:!0,khar:!0,phnx:!0,"nko ":!0,lydi:!0,avst:!0,armi:!0,phli:!0,prti:!0,sarb:!0,orkh:!0,samr:!0,mand:!0,merc:!0,mero:!0,mani:!0,mend:!0,nbat:!0,narb:!0,palm:!0,phlp:!0};function xi(e){return bi[e]?`rtl`:`ltr`}class Si{get advanceWidth(){let e=0;for(let t of this.positions)e+=t.xAdvance;return e}get advanceHeight(){let e=0;for(let t of this.positions)e+=t.yAdvance;return e}get bbox(){let e=new mi,t=0,n=0;for(let r=0;r<this.glyphs.length;r++){let i=this.glyphs[r],a=this.positions[r],o=i.bbox;e.addPoint(o.minX+t+a.xOffset,o.minY+n+a.yOffset),e.addPoint(o.maxX+t+a.xOffset,o.maxY+n+a.yOffset),t+=a.xAdvance,n+=a.yAdvance}return e}constructor(e,t,n,r,i){if(this.glyphs=e,this.positions=null,this.script=n,this.language=r||null,this.direction=i||xi(n),this.features={},Array.isArray(t))for(let e of t)this.features[e]=!0;else typeof t==`object`&&(this.features=t)}}class Ci{constructor(e=0,t=0,n=0,r=0){this.xAdvance=e,this.yAdvance=t,this.xOffset=n,this.yOffset=r}}let wi={allTypographicFeatures:{code:0,exclusive:!1,allTypeFeatures:0},ligatures:{code:1,exclusive:!1,requiredLigatures:0,commonLigatures:2,rareLigatures:4,rebusPictures:8,diphthongLigatures:10,squaredLigatures:12,abbrevSquaredLigatures:14,symbolLigatures:16,contextualLigatures:18,historicalLigatures:20},cursiveConnection:{code:2,exclusive:!0,unconnected:0,partiallyConnected:1,cursive:2},letterCase:{code:3,exclusive:!0},verticalSubstitution:{code:4,exclusive:!1,substituteVerticalForms:0},linguisticRearrangement:{code:5,exclusive:!1,linguisticRearrangement:0},numberSpacing:{code:6,exclusive:!0,monospacedNumbers:0,proportionalNumbers:1,thirdWidthNumbers:2,quarterWidthNumbers:3},smartSwash:{code:8,exclusive:!1,wordInitialSwashes:0,wordFinalSwashes:2,nonFinalSwashes:8},diacritics:{code:9,exclusive:!0,showDiacritics:0,hideDiacritics:1,decomposeDiacritics:2},verticalPosition:{code:10,exclusive:!0,normalPosition:0,superiors:1,inferiors:2,ordinals:3,scientificInferiors:4},fractions:{code:11,exclusive:!0,noFractions:0,verticalFractions:1,diagonalFractions:2},overlappingCharacters:{code:13,exclusive:!1,preventOverlap:0},typographicExtras:{code:14,exclusive:!1,slashedZero:4},mathematicalExtras:{code:15,exclusive:!1,mathematicalGreek:10},ornamentSets:{code:16,exclusive:!0,noOrnaments:0,dingbats:1,piCharacters:2,fleurons:3,decorativeBorders:4,internationalSymbols:5,mathSymbols:6},characterAlternatives:{code:17,exclusive:!0,noAlternates:0},designComplexity:{code:18,exclusive:!0,designLevel1:0,designLevel2:1,designLevel3:2,designLevel4:3,designLevel5:4},styleOptions:{code:19,exclusive:!0,noStyleOptions:0,displayText:1,engravedText:2,illuminatedCaps:3,titlingCaps:4,tallCaps:5},characterShape:{code:20,exclusive:!0,traditionalCharacters:0,simplifiedCharacters:1,JIS1978Characters:2,JIS1983Characters:3,JIS1990Characters:4,traditionalAltOne:5,traditionalAltTwo:6,traditionalAltThree:7,traditionalAltFour:8,traditionalAltFive:9,expertCharacters:10,JIS2004Characters:11,hojoCharacters:12,NLCCharacters:13,traditionalNamesCharacters:14},numberCase:{code:21,exclusive:!0,lowerCaseNumbers:0,upperCaseNumbers:1},textSpacing:{code:22,exclusive:!0,proportionalText:0,monospacedText:1,halfWidthText:2,thirdWidthText:3,quarterWidthText:4,altProportionalText:5,altHalfWidthText:6},transliteration:{code:23,exclusive:!0,noTransliteration:0},annotation:{code:24,exclusive:!0,noAnnotation:0,boxAnnotation:1,roundedBoxAnnotation:2,circleAnnotation:3,invertedCircleAnnotation:4,parenthesisAnnotation:5,periodAnnotation:6,romanNumeralAnnotation:7,diamondAnnotation:8,invertedBoxAnnotation:9,invertedRoundedBoxAnnotation:10},kanaSpacing:{code:25,exclusive:!0,fullWidthKana:0,proportionalKana:1},ideographicSpacing:{code:26,exclusive:!0,fullWidthIdeographs:0,proportionalIdeographs:1,halfWidthIdeographs:2},unicodeDecomposition:{code:27,exclusive:!1,canonicalComposition:0,compatibilityComposition:2,transcodingComposition:4},rubyKana:{code:28,exclusive:!1,rubyKana:2},CJKSymbolAlternatives:{code:29,exclusive:!0,noCJKSymbolAlternatives:0,CJKSymbolAltOne:1,CJKSymbolAltTwo:2,CJKSymbolAltThree:3,CJKSymbolAltFour:4,CJKSymbolAltFive:5},ideographicAlternatives:{code:30,exclusive:!0,noIdeographicAlternatives:0,ideographicAltOne:1,ideographicAltTwo:2,ideographicAltThree:3,ideographicAltFour:4,ideographicAltFive:5},CJKVerticalRomanPlacement:{code:31,exclusive:!0,CJKVerticalRomanCentered:0,CJKVerticalRomanHBaseline:1},italicCJKRoman:{code:32,exclusive:!1,CJKItalicRoman:2},caseSensitiveLayout:{code:33,exclusive:!1,caseSensitiveLayout:0,caseSensitiveSpacing:2},alternateKana:{code:34,exclusive:!1,alternateHorizKana:0,alternateVertKana:2},stylisticAlternatives:{code:35,exclusive:!1,noStylisticAlternates:0,stylisticAltOne:2,stylisticAltTwo:4,stylisticAltThree:6,stylisticAltFour:8,stylisticAltFive:10,stylisticAltSix:12,stylisticAltSeven:14,stylisticAltEight:16,stylisticAltNine:18,stylisticAltTen:20,stylisticAltEleven:22,stylisticAltTwelve:24,stylisticAltThirteen:26,stylisticAltFourteen:28,stylisticAltFifteen:30,stylisticAltSixteen:32,stylisticAltSeventeen:34,stylisticAltEighteen:36,stylisticAltNineteen:38,stylisticAltTwenty:40},contextualAlternates:{code:36,exclusive:!1,contextualAlternates:0,swashAlternates:2,contextualSwashAlternates:4},lowerCase:{code:37,exclusive:!0,defaultLowerCase:0,lowerCaseSmallCaps:1,lowerCasePetiteCaps:2},upperCase:{code:38,exclusive:!0,defaultUpperCase:0,upperCaseSmallCaps:1,upperCasePetiteCaps:2},languageTag:{code:39,exclusive:!0},CJKRomanSpacing:{code:103,exclusive:!0,halfWidthCJKRoman:0,proportionalCJKRoman:1,defaultCJKRoman:2,fullWidthCJKRoman:3}},$=(e,t)=>[wi[e].code,wi[e][t]],Ti={rlig:$(`ligatures`,`requiredLigatures`),clig:$(`ligatures`,`contextualLigatures`),dlig:$(`ligatures`,`rareLigatures`),hlig:$(`ligatures`,`historicalLigatures`),liga:$(`ligatures`,`commonLigatures`),hist:$(`ligatures`,`historicalLigatures`),smcp:$(`lowerCase`,`lowerCaseSmallCaps`),pcap:$(`lowerCase`,`lowerCasePetiteCaps`),frac:$(`fractions`,`diagonalFractions`),dnom:$(`fractions`,`diagonalFractions`),numr:$(`fractions`,`diagonalFractions`),afrc:$(`fractions`,`verticalFractions`),case:$(`caseSensitiveLayout`,`caseSensitiveLayout`),ccmp:$(`unicodeDecomposition`,`canonicalComposition`),cpct:$(`CJKVerticalRomanPlacement`,`CJKVerticalRomanCentered`),valt:$(`CJKVerticalRomanPlacement`,`CJKVerticalRomanCentered`),swsh:$(`contextualAlternates`,`swashAlternates`),cswh:$(`contextualAlternates`,`contextualSwashAlternates`),curs:$(`cursiveConnection`,`cursive`),c2pc:$(`upperCase`,`upperCasePetiteCaps`),c2sc:$(`upperCase`,`upperCaseSmallCaps`),init:$(`smartSwash`,`wordInitialSwashes`),fin2:$(`smartSwash`,`wordFinalSwashes`),medi:$(`smartSwash`,`nonFinalSwashes`),med2:$(`smartSwash`,`nonFinalSwashes`),fin3:$(`smartSwash`,`wordFinalSwashes`),fina:$(`smartSwash`,`wordFinalSwashes`),pkna:$(`kanaSpacing`,`proportionalKana`),half:$(`textSpacing`,`halfWidthText`),halt:$(`textSpacing`,`altHalfWidthText`),hkna:$(`alternateKana`,`alternateHorizKana`),vkna:$(`alternateKana`,`alternateVertKana`),ital:$(`italicCJKRoman`,`CJKItalicRoman`),lnum:$(`numberCase`,`upperCaseNumbers`),onum:$(`numberCase`,`lowerCaseNumbers`),mgrk:$(`mathematicalExtras`,`mathematicalGreek`),calt:$(`contextualAlternates`,`contextualAlternates`),vrt2:$(`verticalSubstitution`,`substituteVerticalForms`),vert:$(`verticalSubstitution`,`substituteVerticalForms`),tnum:$(`numberSpacing`,`monospacedNumbers`),pnum:$(`numberSpacing`,`proportionalNumbers`),sups:$(`verticalPosition`,`superiors`),subs:$(`verticalPosition`,`inferiors`),ordn:$(`verticalPosition`,`ordinals`),pwid:$(`textSpacing`,`proportionalText`),hwid:$(`textSpacing`,`halfWidthText`),qwid:$(`textSpacing`,`quarterWidthText`),twid:$(`textSpacing`,`thirdWidthText`),fwid:$(`textSpacing`,`proportionalText`),palt:$(`textSpacing`,`altProportionalText`),trad:$(`characterShape`,`traditionalCharacters`),smpl:$(`characterShape`,`simplifiedCharacters`),jp78:$(`characterShape`,`JIS1978Characters`),jp83:$(`characterShape`,`JIS1983Characters`),jp90:$(`characterShape`,`JIS1990Characters`),jp04:$(`characterShape`,`JIS2004Characters`),expt:$(`characterShape`,`expertCharacters`),hojo:$(`characterShape`,`hojoCharacters`),nlck:$(`characterShape`,`NLCCharacters`),tnam:$(`characterShape`,`traditionalNamesCharacters`),ruby:$(`rubyKana`,`rubyKana`),titl:$(`styleOptions`,`titlingCaps`),zero:$(`typographicExtras`,`slashedZero`),ss01:$(`stylisticAlternatives`,`stylisticAltOne`),ss02:$(`stylisticAlternatives`,`stylisticAltTwo`),ss03:$(`stylisticAlternatives`,`stylisticAltThree`),ss04:$(`stylisticAlternatives`,`stylisticAltFour`),ss05:$(`stylisticAlternatives`,`stylisticAltFive`),ss06:$(`stylisticAlternatives`,`stylisticAltSix`),ss07:$(`stylisticAlternatives`,`stylisticAltSeven`),ss08:$(`stylisticAlternatives`,`stylisticAltEight`),ss09:$(`stylisticAlternatives`,`stylisticAltNine`),ss10:$(`stylisticAlternatives`,`stylisticAltTen`),ss11:$(`stylisticAlternatives`,`stylisticAltEleven`),ss12:$(`stylisticAlternatives`,`stylisticAltTwelve`),ss13:$(`stylisticAlternatives`,`stylisticAltThirteen`),ss14:$(`stylisticAlternatives`,`stylisticAltFourteen`),ss15:$(`stylisticAlternatives`,`stylisticAltFifteen`),ss16:$(`stylisticAlternatives`,`stylisticAltSixteen`),ss17:$(`stylisticAlternatives`,`stylisticAltSeventeen`),ss18:$(`stylisticAlternatives`,`stylisticAltEighteen`),ss19:$(`stylisticAlternatives`,`stylisticAltNineteen`),ss20:$(`stylisticAlternatives`,`stylisticAltTwenty`)};for(let e=1;e<=99;e++)Ti[`cv${`00${e}`.slice(-2)}`]=[wi.characterAlternatives.code,e];let Ei={};for(let e in Ti){let t=Ti[e];Ei[t[0]]??(Ei[t[0]]={}),Ei[t[0]][t[1]]=e}function Di(e){let t={};for(let n in e){let r;(r=Ti[n])&&(t[r[0]]??(t[r[0]]={}),t[r[0]][r[1]]=e[n])}return t}function Oi(e){let[t,n]=e;if(isNaN(t))var r=wi[t]&&wi[t].code;else var r=t;if(isNaN(n))var i=wi[t]&&wi[t][n];else var i=n;return[r,i]}function ki(e){let t={};if(Array.isArray(e))for(let n=0;n<e.length;n++){let r,i=Oi(e[n]);(r=Ei[i[0]]&&Ei[i[0]][i[1]])&&(t[r]=!0)}else if(typeof e==`object`)for(let n in e){let r=e[n];for(let e in r){let i,a=Oi([n,e]);r[e]&&(i=Ei[a[0]]&&Ei[a[0]][a[1]])&&(t[i]=!0)}}return Object.keys(t)}class Ai{lookup(e){switch(this.table.version){case 0:return this.table.values.getItem(e);case 2:case 4:{let r=0,i=this.table.binarySearchHeader.nUnits-1;for(;r<=i;){var t=r+i>>1,n=this.table.segments[t];if(n.firstGlyph===65535)return null;if(e<n.firstGlyph)i=t-1;else if(e>n.lastGlyph)r=t+1;else if(this.table.version===2)return n.value;else return n.values[e-n.firstGlyph]}return null}case 6:{let r=0,i=this.table.binarySearchHeader.nUnits-1;for(;r<=i;){var t=r+i>>1,n=this.table.segments[t];if(n.glyph===65535)return null;if(e<n.glyph)i=t-1;else if(e>n.glyph)r=t+1;else return n.value}return null}case 8:return this.table.values[e-this.table.firstGlyph];default:throw Error(`Unknown lookup table format: ${this.table.version}`)}}glyphsForValue(e){let t=[];switch(this.table.version){case 2:case 4:for(let n of this.table.segments)if(this.table.version===2&&n.value===e)t.push(...si(n.firstGlyph,n.lastGlyph+1));else for(let r=0;r<n.values.length;r++)n.values[r]===e&&t.push(n.firstGlyph+r);break;case 6:for(let n of this.table.segments)n.value===e&&t.push(n.glyph);break;case 8:for(let n=0;n<this.table.values.length;n++)this.table.values[n]===e&&t.push(this.table.firstGlyph+n);break;default:throw Error(`Unknown lookup table format: ${this.table.version}`)}return t}constructor(e){this.table=e}}(0,a._)([C],Ai.prototype,`glyphsForValue`,null);class ji{process(e,t,n){let r=0,i=t?e.length-1:0,a=t?-1:1;for(;a===1&&i<=e.length||a===-1&&i>=-1;){let t=null,o=1,s=!0;i===e.length||i===-1?o=0:(t=e[i],t.id===65535?o=2:(o=this.lookupTable.lookup(t.id),o??=1));let c=this.stateTable.stateArray.getItem(r)[o],l=this.stateTable.entryTable.getItem(c);o!==0&&o!==2&&(n(t,l,i),s=!(l.flags&16384)),r=l.newState,s&&(i+=a)}return e}traverse(e,t=0,n=new Set){if(n.has(t))return;n.add(t);let{nClasses:r,stateArray:i,entryTable:a}=this.stateTable,o=i.getItem(t);for(let t=4;t<r;t++){let r=o[t],i=a.getItem(r);for(let r of this.lookupTable.glyphsForValue(t))e.enter&&e.enter(r,i),i.newState!==0&&this.traverse(e,i.newState,n),e.exit&&e.exit(r,i)}}constructor(e){this.stateTable=e,this.lookupTable=new Ai(e.classTable)}}let Mi=32768,Ni=4194304;class Pi{process(e,t={}){for(let n of this.morx.chains){let r=n.defaultFlags;for(let e of n.features){let n;(n=t[e.featureType])&&(n[e.featureSetting]?(r&=e.disableFlags,r|=e.enableFlags):n[e.featureSetting]===!1&&(r|=~e.disableFlags,r&=~e.enableFlags))}for(let t of n.subtables)t.subFeatureFlags&r&&this.processSubtable(t,e)}let n=e.length-1;for(;n>=0;)e[n].id===65535&&e.splice(n,1),n--;return e}processSubtable(e,t){if(this.subtable=e,this.glyphs=t,this.subtable.type===4){this.processNoncontextualSubstitutions(this.subtable,this.glyphs);return}this.ligatureStack=[],this.markedGlyph=null,this.firstGlyph=null,this.lastGlyph=null,this.markedIndex=null;let n=this.getStateMachine(e),r=this.getProcessor(),i=!!(this.subtable.coverage&Ni);return n.process(this.glyphs,i,r)}getStateMachine(e){return new ji(e.table.stateTable)}getProcessor(){switch(this.subtable.type){case 0:return this.processIndicRearragement;case 1:return this.processContextualSubstitution;case 2:return this.processLigature;case 4:return this.processNoncontextualSubstitutions;case 5:return this.processGlyphInsertion;default:throw Error(`Invalid morx subtable type: ${this.subtable.type}`)}}processIndicRearragement(e,t,n){t.flags&32768&&(this.firstGlyph=n),t.flags&8192&&(this.lastGlyph=n),Ii(this.glyphs,t.flags&15,this.firstGlyph,this.lastGlyph)}processContextualSubstitution(e,t,n){let r=this.subtable.table.substitutionTable.items;if(t.markIndex!==65535){let n=r.getItem(t.markIndex),a=new Ai(n);e=this.glyphs[this.markedGlyph];var i=a.lookup(e.id);i&&(this.glyphs[this.markedGlyph]=this.font.getGlyph(i,e.codePoints))}if(t.currentIndex!==65535){let a=r.getItem(t.currentIndex),o=new Ai(a);e=this.glyphs[n];var i=o.lookup(e.id);i&&(this.glyphs[n]=this.font.getGlyph(i,e.codePoints))}t.flags&Mi&&(this.markedGlyph=n)}processLigature(e,t,n){if(t.flags&32768&&this.ligatureStack.push(n),t.flags&8192){let e=this.subtable.table.ligatureActions,n=this.subtable.table.components,r=this.subtable.table.ligatureList,i=t.action,a=!1,o=0,s=[],c=[];for(;!a;){let t=this.ligatureStack.pop();s.unshift(...this.glyphs[t].codePoints);let l=e.getItem(i++);a=!!(l&2147483648);let u=!!(l&1073741824),d=(l&1073741823)<<2>>2;d+=this.glyphs[t].id;let f=n.getItem(d);if(o+=f,a||u){let e=r.getItem(o);this.glyphs[t]=this.font.getGlyph(e,s),c.push(t),o=0,s=[]}else this.glyphs[t]=this.font.getGlyph(65535)}this.ligatureStack.push(...c)}}processNoncontextualSubstitutions(e,t,n){let r=new Ai(e.table.lookupTable);for(n=0;n<t.length;n++){let e=t[n];if(e.id!==65535){let i=r.lookup(e.id);i&&(t[n]=this.font.getGlyph(i,e.codePoints))}}}_insertGlyphs(e,t,n,r){let i=[];for(;n--;){let e=this.subtable.table.insertionActions.getItem(t++);i.push(this.font.getGlyph(e))}r||e++,this.glyphs.splice(e,0,...i)}processGlyphInsertion(e,t,n){if(t.flags&Mi&&(this.markedIndex=n),t.markedInsertIndex!==65535){let e=(t.flags&31)>>>5,n=!!(t.flags&1024);this._insertGlyphs(this.markedIndex,t.markedInsertIndex,e,n)}if(t.currentInsertIndex!==65535){let e=(t.flags&992)>>>5,r=!!(t.flags&2048);this._insertGlyphs(n,t.currentInsertIndex,e,r)}}getSupportedFeatures(){let e=[];for(let t of this.morx.chains)for(let n of t.features)e.push([n.featureType,n.featureSetting]);return e}generateInputs(e){return this.inputCache||this.generateInputCache(),this.inputCache[e]||[]}generateInputCache(){this.inputCache={};for(let e of this.morx.chains){let t=e.defaultFlags;for(let n of e.subtables)n.subFeatureFlags&t&&this.generateInputsForSubtable(n)}}generateInputsForSubtable(e){if(e.type!==2)return;if(e.coverage&Ni)throw Error(`Reverse subtable, not supported.`);this.subtable=e,this.ligatureStack=[];let t=this.getStateMachine(e),n=this.getProcessor(),r=[],i=[];this.glyphs=[],t.traverse({enter:(e,t)=>{let a=this.glyphs;i.push({glyphs:a.slice(),ligatureStack:this.ligatureStack.slice()});let o=this.font.getGlyph(e);r.push(o),a.push(r[r.length-1]),n(a[a.length-1],t,a.length-1);let s=0,c=0;for(let e=0;e<a.length&&s<=1;e++)a[e].id!==65535&&(s++,c=a[e].id);if(s===1){let e=r.map(e=>e.id),t=this.inputCache[c];t?t.push(e):this.inputCache[c]=[e]}},exit:()=>{({glyphs:this.glyphs,ligatureStack:this.ligatureStack}=i.pop()),r.pop()}})}constructor(e){this.processIndicRearragement=this.processIndicRearragement.bind(this),this.processContextualSubstitution=this.processContextualSubstitution.bind(this),this.processLigature=this.processLigature.bind(this),this.processNoncontextualSubstitutions=this.processNoncontextualSubstitutions.bind(this),this.processGlyphInsertion=this.processGlyphInsertion.bind(this),this.font=e,this.morx=e.morx,this.inputCache=null}}(0,a._)([C],Pi.prototype,`getStateMachine`,null);function Fi(e,t,n,r=!1,i=!1){let a=e.splice(n[0]-(n[1]-1),n[1]);i&&a.reverse();let o=e.splice(t[0],t[1],...a);return r&&o.reverse(),e.splice(n[0]-(t[1]-1),0,...o),e}function Ii(e,t,n,r){switch(r-n+1,t){case 0:return e;case 1:return Fi(e,[n,1],[r,0]);case 2:return Fi(e,[n,0],[r,1]);case 3:return Fi(e,[n,1],[r,1]);case 4:return Fi(e,[n,2],[r,0]);case 5:return Fi(e,[n,2],[r,0],!0,!1);case 6:return Fi(e,[n,0],[r,2]);case 7:return Fi(e,[n,0],[r,2],!1,!0);case 8:return Fi(e,[n,1],[r,2]);case 9:return Fi(e,[n,1],[r,2],!1,!0);case 10:return Fi(e,[n,2],[r,1]);case 11:return Fi(e,[n,2],[r,1],!0,!1);case 12:return Fi(e,[n,2],[r,2]);case 13:return Fi(e,[n,2],[r,2],!0,!1);case 14:return Fi(e,[n,2],[r,2],!1,!0);case 15:return Fi(e,[n,2],[r,2],!0,!0);default:throw Error(`Unknown verb: ${t}`)}}class Li{substitute(e){e.direction===`rtl`&&e.glyphs.reverse(),this.morxProcessor.process(e.glyphs,Di(e.features))}getAvailableFeatures(e,t){return ki(this.morxProcessor.getSupportedFeatures())}stringsForGlyph(e){let t=this.morxProcessor.generateInputs(e),n=new Set;for(let e of t)this._addStrings(e,0,n,``);return n}_addStrings(e,t,n,r){let i=this.font._cmapProcessor.codePointsForGlyph(e[t]);for(let a of i){let i=r+String.fromCodePoint(a);t<e.length-1?this._addStrings(e,t+1,n,i):n.add(i)}}constructor(e){this.font=e,this.morxProcessor=new Pi(e),this.fallbackPosition=!1}}class Ri{_addFeatures(e,t){let n=this.stages.length-1,r=this.stages[n];for(let i of e)this.allFeatures[i]??(r.push(i),this.allFeatures[i]=n,t&&(this.globalFeatures[i]=!0))}add(e,t=!0){if(this.stages.length===0&&this.stages.push([]),typeof e==`string`&&(e=[e]),Array.isArray(e))this._addFeatures(e,t);else if(typeof e==`object`)this._addFeatures(e.global||[],!0),this._addFeatures(e.local||[],!1);else throw Error(`Unsupported argument to ShapingPlan#add`)}addStage(e,t){typeof e==`function`?this.stages.push(e,[]):(this.stages.push([]),this.add(e,t))}setFeatureOverrides(e){if(Array.isArray(e))this.add(e);else if(typeof e==`object`){for(let t in e)if(e[t])this.add(t);else if(this.allFeatures[t]!=null){let e=this.stages[this.allFeatures[t]];e.splice(e.indexOf(t),1),delete this.allFeatures[t],delete this.globalFeatures[t]}}}assignGlobalFeatures(e){for(let t of e)for(let e in this.globalFeatures)t.features[e]=!0}process(e,t,n){for(let r of this.stages)typeof r==`function`?n||r(this.font,t,this):r.length>0&&e.applyFeatures(r,t,n)}constructor(e,t,n){this.font=e,this.script=t,this.direction=n,this.stages=[],this.globalFeatures={},this.allFeatures={}}}let zi=[`rvrn`],Bi=[`ccmp`,`locl`,`rlig`,`mark`,`mkmk`],Vi=[`frac`,`numr`,`dnom`],Hi=[`calt`,`clig`,`liga`,`rclt`,`curs`,`kern`],Ui={ltr:[`ltra`,`ltrm`],rtl:[`rtla`,`rtlm`]};class Wi{static plan(e,t,n){this.planPreprocessing(e),this.planFeatures(e),this.planPostprocessing(e,n),e.assignGlobalFeatures(t),this.assignFeatures(e,t)}static planPreprocessing(e){e.add({global:[...zi,...Ui[e.direction]],local:Vi})}static planFeatures(e){}static planPostprocessing(e,t){e.add([...Bi,...Hi]),e.setFeatureOverrides(t)}static assignFeatures(e,t){for(let e=0;e<t.length;e++){let n=t[e];if(n.codePoints[0]===8260){let r=e,i=e+1;for(;r>0&&(0,s.isDigit)(t[r-1].codePoints[0]);)t[r-1].features.numr=!0,t[r-1].features.frac=!0,r--;for(;i<t.length&&(0,s.isDigit)(t[i].codePoints[0]);)t[i].features.dnom=!0,t[i].features.frac=!0,i++;n.features.frac=!0,e=i-1}}}}(0,i._)(Wi,`zeroMarkWidths`,`AFTER_GPOS`);let Gi=new(h(c))(ui(`APABAAAAAAAAOAAAAf0BAv7tmi1MxDAUx7vtvjhAgcDgkEgEAnmXEBIMCYaEcygEiqBQ4FAkCE4ikUgMiiBJSAgSiUQSDMn9L9eSl6bddddug9t7yS/trevre+3r27pcNxZiG+yCfdCVv/9LeQxOwRm4AJegD27ALbgD9+ABPJF+z+BN/h7yDj5k/VOWX6SdmU5+wLWknggxDxaS8u0qiiX4uiz9XamQ3wzDMAzDMAzDMAzDVI/h959V/v7BMAzDMAzDMLlyNTNiMSdewVxbiA44B4/guz1qW58VYlMI0WsJ0W+N6kXw0spvPtdwhtkwnGM6uLaV4Xyzg3v3PM9DPfQ/sOg4xPWjipy31P8LTqbU304c/cLCUmWJLNB2Uz2U1KTeRKNmKHVMfbJC+/0loTZRH/W5cvEvBJPMbREkWt3FD1NcqXZBSpuE2Ad0PBehPtNrPtIEdYP+hiRt/V1jIiE69X4NT/uVZI3PUHE9bm5M7ePGdZWy951v7Nn6j8v1WWKP3mt6ttnsigx6VN7Vc0VomSSGqW2mGNP1muZPl7LfjNUaKNFtDGVf2fvE9O7VlBS5j333c5p/eeoOqcs1R/hIqDWLJ7TTlksirVT1SI7l8k4Yp+g3jafGcrU1RM6l9th80XOpnlN97bDNY4i4s61B0Si/ipa0uHMl6zqEjlFfCZm/TM8KmzQDjmuTAQ==`)),Ki=[`isol`,`fina`,`fin2`,`fin3`,`medi`,`med2`,`init`],qi={Non_Joining:0,Left_Joining:1,Right_Joining:2,Dual_Joining:3,Join_Causing:3,ALAPH:4,"DALATH RISH":5,Transparent:6},Ji=`isol`,Yi=`fina`,Xi=`fin2`,Zi=`medi`,Qi=`med2`,$i=`init`,ea=[[[null,null,0],[null,Ji,2],[null,Ji,1],[null,Ji,2],[null,Ji,1],[null,Ji,6]],[[null,null,0],[null,Ji,2],[null,Ji,1],[null,Ji,2],[null,Xi,5],[null,Ji,6]],[[null,null,0],[null,Ji,2],[$i,Yi,1],[$i,Yi,3],[$i,Yi,4],[$i,Yi,6]],[[null,null,0],[null,Ji,2],[Zi,Yi,1],[Zi,Yi,3],[Zi,Yi,4],[Zi,Yi,6]],[[null,null,0],[null,Ji,2],[Qi,Ji,1],[Qi,Ji,2],[Qi,Xi,5],[Qi,Ji,6]],[[null,null,0],[null,Ji,2],[Ji,Ji,1],[Ji,Ji,2],[Ji,Xi,5],[Ji,Ji,6]],[[null,null,0],[null,Ji,2],[null,Ji,1],[null,Ji,2],[null,`fin3`,5],[null,Ji,6]]];class ta extends Wi{static planFeatures(e){e.add([`ccmp`,`locl`]);for(let t=0;t<Ki.length;t++){let n=Ki[t];e.addStage(n,!1)}e.addStage(`mset`)}static assignFeatures(e,t){super.assignFeatures(e,t);let n=-1,r=0,i=[];for(let e=0;e<t.length;e++){let o,s;var a=t[e];let c=na(a.codePoints[0]);if(c===qi.Transparent){i[e]=null;continue}[s,o,r]=ea[r][c],s!==null&&n!==-1&&(i[n]=s),i[e]=o,n=e}for(let e=0;e<t.length;e++){let n;var a=t[e];(n=i[e])&&(a.features[n]=!0)}}}function na(e){let t=Gi.get(e);if(t)return t-1;let n=(0,s.getCategory)(e);return n===`Mn`||n===`Me`||n===`Cf`?qi.Transparent:qi.Non_Joining}class ra{reset(e={},t=0){this.options=e,this.flags=e.flags||{},this.markAttachmentType=e.markAttachmentType||0,this.index=t}get cur(){return this.glyphs[this.index]||null}shouldIgnore(e){return this.flags.ignoreMarks&&e.isMark||this.flags.ignoreBaseGlyphs&&e.isBase||this.flags.ignoreLigatures&&e.isLigature||this.markAttachmentType&&e.isMark&&e.markAttachmentType!==this.markAttachmentType}move(e){for(this.index+=e;0<=this.index&&this.index<this.glyphs.length&&this.shouldIgnore(this.glyphs[this.index]);)this.index+=e;return 0>this.index||this.index>=this.glyphs.length?null:this.glyphs[this.index]}next(){return this.move(1)}prev(){return this.move(-1)}peek(e=1){let t=this.index,n=this.increment(e);return this.index=t,n}peekIndex(e=1){let t=this.index;this.increment(e);let n=this.index;return this.index=t,n}increment(e=1){let t=e<0?-1:1;for(e=Math.abs(e);e--;)this.move(t);return this.glyphs[this.index]}constructor(e,t){this.glyphs=e,this.reset(t)}}let ia=[`DFLT`,`dflt`,`latn`];class aa{findScript(e){if(this.table.scriptList==null)return null;Array.isArray(e)||(e=[e]);for(let t of e)for(let e of this.table.scriptList)if(e.tag===t)return e;return null}selectScript(e,t,n){let r=!1,i;if(!this.script||e!==this.scriptTag){if(i=this.findScript(e),i||=this.findScript(ia),!i)return this.scriptTag;this.scriptTag=i.tag,this.script=i.script,this.language=null,this.languageTag=null,r=!0}if((!n||n!==this.direction)&&(this.direction=n||xi(e)),t&&t.length<4&&(t+=` `.repeat(4-t.length)),!t||t!==this.languageTag){this.language=null;for(let e of this.script.langSysRecords)if(e.tag===t){this.language=e.langSys,this.languageTag=e.tag;break}this.language||(this.language=this.script.defaultLangSys,this.languageTag=null),r=!0}if(r&&(this.features={},this.language))for(let e of this.language.featureIndexes){let t=this.table.featureList[e],n=this.substituteFeatureForVariations(e);this.features[t.tag]=n||t.feature}return this.scriptTag}lookupsForFeatures(e=[],t){let n=[];for(let r of e){let e=this.features[r];if(e)for(let i of e.lookupListIndexes)t&&t.indexOf(i)!==-1||n.push({feature:r,index:i,lookup:this.table.lookupList.get(i)})}return n.sort((e,t)=>e.index-t.index),n}substituteFeatureForVariations(e){if(this.variationsIndex===-1)return null;let t=this.table.featureVariations.featureVariationRecords[this.variationsIndex].featureTableSubstitution.substitutions;for(let n of t)if(n.featureIndex===e)return n.alternateFeatureTable;return null}findVariationsIndex(e){let t=this.table.featureVariations;if(!t)return-1;let n=t.featureVariationRecords;for(let t=0;t<n.length;t++){let r=n[t].conditionSet.conditionTable;if(this.variationConditionsMatch(r,e))return t}return-1}variationConditionsMatch(e,t){return e.every(e=>{let n=e.axisIndex<t.length?t[e.axisIndex]:0;return e.filterRangeMinValue<=n&&n<=e.filterRangeMaxValue})}applyFeatures(e,t,n){let r=this.lookupsForFeatures(e);this.applyLookups(r,t,n)}applyLookups(e,t,n){this.glyphs=t,this.positions=n,this.glyphIterator=new ra(t);for(let{feature:n,lookup:r}of e)for(this.currentFeature=n,this.glyphIterator.reset(r.flags);this.glyphIterator.index<t.length;){if(!(n in this.glyphIterator.cur.features)){this.glyphIterator.next();continue}for(let e of r.subTables)if(this.applyLookup(r.lookupType,e))break;this.glyphIterator.next()}}applyLookup(e,t){throw Error(`applyLookup must be implemented by subclasses`)}applyLookupList(e){let t=this.glyphIterator.options,n=this.glyphIterator.index;for(let r of e){this.glyphIterator.reset(t,n),this.glyphIterator.increment(r.sequenceIndex);let e=this.table.lookupList.get(r.lookupListIndex);this.glyphIterator.reset(e.flags,this.glyphIterator.index);for(let t of e.subTables)if(this.applyLookup(e.lookupType,t))break}return this.glyphIterator.reset(t,n),!0}coverageIndex(e,t){switch(t??=this.glyphIterator.cur.id,e.version){case 1:return e.glyphs.indexOf(t);case 2:for(let n of e.rangeRecords)if(n.start<=t&&t<=n.end)return n.startCoverageIndex+t-n.start}return-1}match(e,t,n,r){let i=this.glyphIterator.index,a=this.glyphIterator.increment(e),o=0;for(;o<t.length&&a&&n(t[o],a);)r&&r.push(this.glyphIterator.index),o++,a=this.glyphIterator.next();return this.glyphIterator.index=i,o<t.length?!1:r||!0}sequenceMatches(e,t){return this.match(e,t,(e,t)=>e===t.id)}sequenceMatchIndices(e,t){return this.match(e,t,(e,t)=>this.currentFeature in t.features&&e===t.id,[])}coverageSequenceMatches(e,t){return this.match(e,t,(e,t)=>this.coverageIndex(e,t.id)>=0)}getClassID(e,t){switch(t.version){case 1:let n=e-t.startGlyph;if(n>=0&&n<t.classValueArray.length)return t.classValueArray[n];break;case 2:for(let n of t.classRangeRecord)if(n.start<=e&&e<=n.end)return n.class}return 0}classSequenceMatches(e,t,n){return this.match(e,t,(e,t)=>e===this.getClassID(t.id,n))}applyContext(e){let t,n;switch(e.version){case 1:if(t=this.coverageIndex(e.coverage),t===-1)return!1;n=e.ruleSets[t];for(let e of n)if(this.sequenceMatches(1,e.input))return this.applyLookupList(e.lookupRecords);break;case 2:if(this.coverageIndex(e.coverage)===-1||(t=this.getClassID(this.glyphIterator.cur.id,e.classDef),t===-1))return!1;n=e.classSet[t];for(let t of n)if(this.classSequenceMatches(1,t.classes,e.classDef))return this.applyLookupList(t.lookupRecords);break;case 3:if(this.coverageSequenceMatches(0,e.coverages))return this.applyLookupList(e.lookupRecords)}return!1}applyChainingContext(e){let t;switch(e.version){case 1:if(t=this.coverageIndex(e.coverage),t===-1)return!1;let n=e.chainRuleSets[t];for(let e of n)if(this.sequenceMatches(-e.backtrack.length,e.backtrack)&&this.sequenceMatches(1,e.input)&&this.sequenceMatches(1+e.input.length,e.lookahead))return this.applyLookupList(e.lookupRecords);break;case 2:if(this.coverageIndex(e.coverage)===-1)return!1;t=this.getClassID(this.glyphIterator.cur.id,e.inputClassDef);let r=e.chainClassSet[t];if(!r)return!1;for(let t of r)if(this.classSequenceMatches(-t.backtrack.length,t.backtrack,e.backtrackClassDef)&&this.classSequenceMatches(1,t.input,e.inputClassDef)&&this.classSequenceMatches(1+t.input.length,t.lookahead,e.lookaheadClassDef))return this.applyLookupList(t.lookupRecords);break;case 3:if(this.coverageSequenceMatches(-e.backtrackGlyphCount,e.backtrackCoverage)&&this.coverageSequenceMatches(0,e.inputCoverage)&&this.coverageSequenceMatches(e.inputGlyphCount,e.lookaheadCoverage))return this.applyLookupList(e.lookupRecords)}return!1}constructor(e,t){this.font=e,this.table=t,this.script=null,this.scriptTag=null,this.language=null,this.languageTag=null,this.features={},this.lookups={},this.variationsIndex=e._variationProcessor?this.findVariationsIndex(e._variationProcessor.normalizedCoords):-1,this.selectScript(),this.glyphs=[],this.positions=[],this.ligatureID=1,this.currentFeature=null}}class oa{get id(){return this._id}set id(e){this._id=e,this.substituted=!0;let t=this._font.GDEF;if(t&&t.glyphClassDef){let n=aa.prototype.getClassID(e,t.glyphClassDef);this.isBase=n===1,this.isLigature=n===2,this.isMark=n===3,this.markAttachmentType=t.markAttachClassDef?aa.prototype.getClassID(e,t.markAttachClassDef):0}else this.isMark=this.codePoints.length>0&&this.codePoints.every(s.isMark),this.isBase=!this.isMark,this.isLigature=this.codePoints.length>1,this.markAttachmentType=0}copy(){return new oa(this._font,this.id,this.codePoints,this.features)}constructor(e,t,n=[],r){if(this._font=e,this.codePoints=n,this.id=t,this.features={},Array.isArray(r))for(let e=0;e<r.length;e++){let t=r[e];this.features[t]=!0}else typeof r==`object`&&Object.assign(this.features,r);this.ligatureID=null,this.ligatureComponent=null,this.isLigated=!1,this.cursiveAttachment=null,this.markAttachment=null,this.shaperInfo=null,this.substituted=!1,this.isMultiplied=!1}}class sa extends Wi{static planFeatures(e){e.add([`ljmo`,`vjmo`,`tjmo`],!1)}static assignFeatures(e,t){let n=0,r=0;for(;r<t.length;){let i,a=t[r].codePoints[0],o=Sa(a);switch([i,n]=Da[n][o],i){case Ca:e.font.hasGlyphForCodePoint(a)||(r=ka(t,r,e.font));break;case wa:r=Aa(t,r,e.font);break;case Ta:Ma(t,r,e.font);break;case Ea:r=Na(t,r,e.font)}r++}}}(0,i._)(sa,`zeroMarkWidths`,`NONE`);let ca=44032,la=4352,ua=4449,da=4519,fa=9676,pa=e=>4352<=e&&e<=4447||43360<=e&&e<=43388,ma=e=>4448<=e&&e<=4519||55216<=e&&e<=55238,ha=e=>4520<=e&&e<=4607||55243<=e&&e<=55291,ga=e=>12334<=e&&e<=12335,_a=e=>ca<=e&&e<=55204,va=e=>e-ca<11173&&(e-ca)%28==0,ya=e=>la<=e&&e<=4370,ba=e=>ua<=e&&e<=4469,xa=e=>1<=e&&e<=4546;function Sa(e){return pa(e)?1:ma(e)?2:ha(e)?3:va(e)?4:_a(e)?5:ga(e)?6:0}let Ca=1,wa=2,Ta=4,Ea=5,Da=[[[0,0],[0,1],[0,0],[0,0],[1,2],[1,3],[5,0]],[[0,0],[0,1],[2,2],[0,0],[1,2],[1,3],[5,0]],[[0,0],[0,1],[0,0],[2,3],[1,2],[1,3],[4,0]],[[0,0],[0,1],[0,0],[0,0],[1,2],[1,3],[4,0]]];function Oa(e,t,n){return new oa(e,e.glyphForCodePoint(t).id,[t],n)}function ka(e,t,n){let r=e[t],i=r.codePoints[0]-ca,a=da+i%28;i=i/28|0;let o=la+i/21|0,s=ua+i%21;if(!n.hasGlyphForCodePoint(o)||!n.hasGlyphForCodePoint(s)||a!==da&&!n.hasGlyphForCodePoint(a))return t;let c=Oa(n,o,r.features);c.features.ljmo=!0;let l=Oa(n,s,r.features);l.features.vjmo=!0;let u=[c,l];if(a>da){let e=Oa(n,a,r.features);e.features.tjmo=!0,u.push(e)}return e.splice(t,1,...u),t+u.length-1}function Aa(e,t,n){let r=e[t],i=e[t].codePoints[0],a=Sa(i),o=e[t-1].codePoints[0],s=Sa(o),c,l,u,d;if(s===4&&a===3)c=o,d=r;else{a===2?(l=e[t-1],u=r):(l=e[t-2],u=e[t-1],d=r);let n=l.codePoints[0],i=u.codePoints[0];ya(n)&&ba(i)&&(c=ca+((n-la)*21+(i-ua))*28)}let f=d&&d.codePoints[0]||da;if(c!=null&&(f===da||xa(f))){let i=c+(f-da);if(n.hasGlyphForCodePoint(i)){let a=s===2?3:2;return e.splice(t-a+1,a,Oa(n,i,r.features)),t-a+1}}return l&&(l.features.ljmo=!0),u&&(u.features.vjmo=!0),d&&(d.features.tjmo=!0),s===4?(ka(e,t-1,n),t+1):t}function ja(e){switch(Sa(e)){case 4:case 5:return 1;case 2:return 2;case 3:return 3}}function Ma(e,t,n){let r=e[t],i=e[t].codePoints[0];if(n.glyphForCodePoint(i).advanceWidth===0)return;let a=e[t-1].codePoints[0],o=ja(a);return e.splice(t,1),e.splice(t-o,0,r)}function Na(e,t,n){let r=e[t],i=e[t].codePoints[0];if(n.hasGlyphForCodePoint(fa)){let a=Oa(n,fa,r.features),o=n.glyphForCodePoint(i).advanceWidth===0?t:t+1;e.splice(o,0,a),t++}return t}var Pa={};Pa=JSON.parse(`{"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,14,15,16,17],[0,0,0,18,19,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,28,29,30,31,32,33,0,34,0,0,35,36,0,0,37,0],[0,0,0,38,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,39,0,0,0,40,41,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,12,43,0,0,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,0,43,0,0,0,0],[0,0,0,45,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,50,0,0,51,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,52,0,0,0,0,0,0,0,0],[0,0,0,53,54,55,56,57,58,0,59,0,0,60,61,0,0,62,0],[0,0,0,4,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,63,64,0,0,40,41,0,9,0,10,0,0,0,42,0,63,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,0,2,16,0],[0,0,0,18,65,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,0,0],[0,0,0,69,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,73,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,75,0,0,0,76,77,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,25,79,0,0,0,0],[0,0,0,18,19,20,74,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,81,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,86,0,0,87,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,88,0,0,0,0,0,0,0,0],[0,0,0,18,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,89,90,0,0,76,77,0,23,0,24,0,0,0,78,0,89,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,0,0],[0,0,0,94,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,96,0,0,0,97,98,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,35,100,0,0,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,102,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,107,0,0,108,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,109,0,0,0,0,0,0,0,0],[0,0,0,28,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,110,111,0,0,97,98,0,33,0,34,0,0,0,99,0,110,0,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,0,0],[0,0,0,0,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,0,0,115,116,117,118,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,39,0,122,0,123,123,8,9,0,10,0,0,0,42,0,39,0,0],[0,124,64,0,0,0,0,0,0,0,0,0,0,0,0,0,124,0,0],[0,39,0,0,0,121,125,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,126,126,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,47,47,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,128,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,129,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,50,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,134,0,0,0,0,0,0,0,0],[0,0,0,135,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,136,0,0,0,137,138,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,60,140,0,0,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,0,140,0,0,0,0],[0,0,0,142,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,147,0,0,148,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,149,0,0,0,0,0,0,0,0],[0,0,0,53,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,150,151,0,0,137,138,0,58,0,59,0,0,0,139,0,150,0,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,0,0],[0,0,0,155,116,156,157,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,75,3,4,5,159,160,8,161,0,162,0,11,12,163,0,75,16,0],[0,0,0,0,0,40,164,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,0,165,0,0,0,0],[0,124,64,0,0,40,164,0,9,0,10,0,0,0,42,0,124,0,0],[0,0,0,0,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,71,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,167,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,168,0,0,0,0,0,0,0,0],[0,0,0,0,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,0,79,0,0,0,0],[0,0,0,169,170,171,172,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,75,0,176,0,177,177,22,23,0,24,0,0,0,78,0,75,0,0],[0,178,90,0,0,0,0,0,0,0,0,0,0,0,0,0,178,0,0],[0,75,0,0,0,175,179,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,180,180,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,83,83,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,182,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,183,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,86,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,188,0,0,0,0,0,0,0,0],[0,0,0,189,170,190,191,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,76,193,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,0,194,0,0,0,0],[0,178,90,0,0,76,193,0,23,0,24,0,0,0,78,0,178,0,0],[0,0,0,0,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,195,196,197,198,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,96,0,202,0,203,203,32,33,0,34,0,0,0,99,0,96,0,0],[0,204,111,0,0,0,0,0,0,0,0,0,0,0,0,0,204,0,0],[0,96,0,0,0,201,205,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,206,206,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,104,104,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,208,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,209,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,107,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0],[0,0,0,215,196,216,217,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,97,219,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,0,220,0,0,0,0],[0,204,111,0,0,97,219,0,33,0,34,0,0,0,99,0,204,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,223,0,0,0,40,224,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,119,225,0,0,0,0],[0,0,0,115,116,117,222,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,115,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,226,64,0,0,40,224,0,9,0,10,0,0,0,42,0,226,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,39,0,0,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,44,44,8,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,227,0,228,229,0,9,0,10,0,0,230,0,0,0,0,0],[0,39,0,122,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,231,231,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,232,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,131,131,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,234,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,235,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,0,0,240,241,242,243,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,136,0,247,0,248,248,57,58,0,59,0,0,0,139,0,136,0,0],[0,249,151,0,0,0,0,0,0,0,0,0,0,0,0,0,249,0,0],[0,136,0,0,0,246,250,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,251,251,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,144,144,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,253,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,254,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,147,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,259,0,0,0,0,0,0,0,0],[0,0,0,260,241,261,262,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,137,264,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,0,265,0,0,0,0],[0,249,151,0,0,137,264,0,58,0,59,0,0,0,139,0,249,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,158,225,0,0,0,0],[0,0,0,155,116,156,222,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,155,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,43,266,266,8,161,0,24,0,0,12,267,0,0,0,0],[0,75,0,176,43,268,268,269,161,0,24,0,0,0,267,0,75,0,0],[0,0,0,0,0,270,0,0,271,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,272,0,0,0,0,0,0,0,0],[0,273,274,0,0,40,41,0,9,0,10,0,0,0,42,0,273,0,0],[0,0,0,40,0,123,123,8,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,121,275,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,276,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,279,0,0,0,76,280,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,173,281,0,0,0,0],[0,0,0,169,170,171,278,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,169,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,282,90,0,0,76,280,0,23,0,24,0,0,0,78,0,282,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,75,0,0,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,80,80,22,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,283,0,284,285,0,23,0,24,0,0,286,0,0,0,0,0],[0,75,0,176,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,287,287,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,288,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,185,185,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,290,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,291,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,192,281,0,0,0,0],[0,0,0,189,170,190,278,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,189,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,76,0,177,177,22,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,175,296,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,299,0,0,0,97,300,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,199,301,0,0,0,0],[0,0,0,195,196,197,298,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,195,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,302,111,0,0,97,300,0,33,0,34,0,0,0,99,0,302,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,96,0,0,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,101,101,32,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,303,0,304,305,0,33,0,34,0,0,306,0,0,0,0,0],[0,96,0,202,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,307,307,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,211,211,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,310,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,311,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,218,301,0,0,0,0],[0,0,0,215,196,216,298,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,215,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,97,0,203,203,32,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,201,316,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,0,225,0,0,0,0],[0,0,0,317,318,319,320,8,9,0,10,0,0,321,322,0,0,16,0],[0,223,0,323,0,123,123,8,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,0,0,121,324,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,325,318,326,327,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,64,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,230,0,0,0,0,0],[0,0,0,227,0,228,121,0,9,0,10,0,0,230,0,0,0,0,0],[0,0,0,227,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0],[0,0,0,0,0,329,329,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,330,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,237,237,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,332,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,333,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,337,0,0,0,137,338,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,244,339,0,0,0,0],[0,0,0,240,241,242,336,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,240,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,340,151,0,0,137,338,0,58,0,59,0,0,0,139,0,340,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,136,0,0,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,141,141,57,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,341,0,342,343,0,58,0,59,0,0,344,0,0,0,0,0],[0,136,0,247,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,0,0,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,345,345,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,346,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,256,256,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,348,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,349,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,263,339,0,0,0,0],[0,0,0,260,241,261,336,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,260,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,137,0,248,248,57,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,246,354,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,126,126,8,23,0,0,0,0,0,0,0,0,0,0],[0,355,90,0,0,121,125,0,9,0,10,0,0,0,42,0,355,0,0],[0,0,0,0,0,356,356,269,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,357,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,270,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,363,0,0,0,0,0,0,0,0],[0,0,0,364,116,365,366,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,40,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,0,281,0,0,0,0],[0,0,0,369,370,371,372,22,23,0,24,0,0,373,374,0,0,27,0],[0,279,0,375,0,177,177,22,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,0,0,175,376,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,377,370,378,379,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,90,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,286,0,0,0,0,0],[0,0,0,283,0,284,175,0,23,0,24,0,0,286,0,0,0,0,0],[0,0,0,283,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,82,0,0],[0,0,0,0,0,381,381,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,382,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,293,293,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,384,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,385,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,76,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,0,301,0,0,0,0],[0,0,0,387,388,389,390,32,33,0,34,0,0,391,392,0,0,37,0],[0,299,0,393,0,203,203,32,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,0,0,201,394,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,395,388,396,397,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,111,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,306,0,0,0,0,0],[0,0,0,303,0,304,201,0,33,0,34,0,0,306,0,0,0,0,0],[0,0,0,303,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,103,0,0],[0,0,0,0,0,399,399,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,400,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,313,313,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,402,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,403,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,97,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,407,0,0,0,40,408,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,321,409,0,0,0,0],[0,0,0,317,318,319,406,8,9,0,10,0,0,321,322,0,0,16,0],[0,0,0,317,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,410,64,0,0,40,408,0,9,0,10,0,0,0,42,0,410,0,0],[0,223,0,0,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,323,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,328,409,0,0,0,0],[0,0,0,325,318,326,406,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,325,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,0,0,0,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,130,0,0],[0,0,0,0,0,411,411,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,412,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,413,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,0,339,0,0,0,0],[0,0,0,414,415,416,417,57,58,0,59,0,0,418,419,0,0,62,0],[0,337,0,420,0,248,248,57,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,0,0,246,421,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,422,415,423,424,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,151,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,344,0,0,0,0,0],[0,0,0,341,0,342,246,0,58,0,59,0,0,344,0,0,0,0,0],[0,0,0,341,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0],[0,0,0,0,0,426,426,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,427,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,351,351,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,429,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,430,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,137,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,432,116,433,434,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,0,0,180,180,269,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,359,359,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,437,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,438,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,443,274,0,0,0,0,0,0,0,0,0,0,0,0,0,443,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,367,225,0,0,0,0],[0,0,0,364,116,365,445,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,364,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,448,0,0,0,76,449,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,373,450,0,0,0,0],[0,0,0,369,370,371,447,22,23,0,24,0,0,373,374,0,0,27,0],[0,0,0,369,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,451,90,0,0,76,449,0,23,0,24,0,0,0,78,0,451,0,0],[0,279,0,0,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,375,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,380,450,0,0,0,0],[0,0,0,377,370,378,447,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,377,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,0,0,0,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,184,0,0],[0,0,0,0,0,452,452,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,453,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,454,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,457,0,0,0,97,458,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,391,459,0,0,0,0],[0,0,0,387,388,389,456,32,33,0,34,0,0,391,392,0,0,37,0],[0,0,0,387,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,460,111,0,0,97,458,0,33,0,34,0,0,0,99,0,460,0,0],[0,299,0,0,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,393,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,398,459,0,0,0,0],[0,0,0,395,388,396,456,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,395,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,210,0,0],[0,0,0,0,0,461,461,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,462,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,463,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,0,409,0,0,0,0],[0,0,0,464,465,466,467,8,9,0,10,0,0,468,469,0,0,16,0],[0,407,0,470,0,123,123,8,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,0,0,121,471,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,472,465,473,474,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,0,0,0,0,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,236,0,0],[0,0,0,0,0,0,476,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,479,0,0,0,137,480,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,418,481,0,0,0,0],[0,0,0,414,415,416,478,57,58,0,59,0,0,418,419,0,0,62,0],[0,0,0,414,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,482,151,0,0,137,480,0,58,0,59,0,0,0,139,0,482,0,0],[0,337,0,0,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,420,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,425,481,0,0,0,0],[0,0,0,422,415,423,478,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,422,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,0,0,0,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0],[0,0,0,0,0,483,483,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,484,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,485,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,435,225,0,0,0,0],[0,0,0,432,116,433,445,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,432,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,486,486,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,487,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,440,440,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,489,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,490,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,495,0,496,497,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,0,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,0,225,0,0,0,0],[0,0,0,0,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,0,450,0,0,0,0],[0,0,0,499,500,501,502,22,23,0,24,0,0,503,504,0,0,27,0],[0,448,0,505,0,177,177,22,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,0,0,175,506,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,507,500,508,509,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,0,0,0,0,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,292,0,0],[0,0,0,0,0,0,511,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,0,459,0,0,0,0],[0,0,0,512,513,514,515,32,33,0,34,0,0,516,517,0,0,37,0],[0,457,0,518,0,203,203,32,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,0,0,201,519,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,520,513,521,522,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,0,0,0,0,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,312,0,0],[0,0,0,0,0,0,524,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,527,0,0,0,40,528,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,468,529,0,0,0,0],[0,0,0,464,465,466,526,8,9,0,10,0,0,468,469,0,0,16,0],[0,0,0,464,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,530,64,0,0,40,528,0,9,0,10,0,0,0,42,0,530,0,0],[0,407,0,0,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,470,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,475,529,0,0,0,0],[0,0,0,472,465,473,526,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,472,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0],[0,0,0,0,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,0,481,0,0,0,0],[0,0,0,531,532,533,534,57,58,0,59,0,0,535,536,0,0,62,0],[0,479,0,537,0,248,248,57,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,0,0,246,538,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,539,532,540,541,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,0,0,0,0,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,350,0,0],[0,0,0,0,0,0,543,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,358,0,0],[0,0,0,0,0,544,544,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,545,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,492,492,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,547,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,548,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,274,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,498,0,0,0,0,0],[0,0,0,495,0,496,368,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,495,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,553,0,0,0,76,554,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,503,555,0,0,0,0],[0,0,0,499,500,501,552,22,23,0,24,0,0,503,504,0,0,27,0],[0,0,0,499,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,556,90,0,0,76,554,0,23,0,24,0,0,0,78,0,556,0,0],[0,448,0,0,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,505,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,510,555,0,0,0,0],[0,0,0,507,500,508,552,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,507,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,559,0,0,0,97,560,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,516,561,0,0,0,0],[0,0,0,512,513,514,558,32,33,0,34,0,0,516,517,0,0,37,0],[0,0,0,512,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,562,111,0,0,97,560,0,33,0,34,0,0,0,99,0,562,0,0],[0,457,0,0,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,518,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,523,561,0,0,0,0],[0,0,0,520,513,521,558,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,520,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0],[0,0,0,0,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,0,529,0,0,0,0],[0,0,0,563,66,564,565,8,9,0,10,0,0,566,68,0,0,16,0],[0,527,0,567,0,123,123,8,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,0,0,121,568,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,569,66,570,571,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,575,0,0,0,137,576,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,535,577,0,0,0,0],[0,0,0,531,532,533,574,57,58,0,59,0,0,535,536,0,0,62,0],[0,0,0,531,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,578,151,0,0,137,576,0,58,0,59,0,0,0,139,0,578,0,0],[0,479,0,0,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,537,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,542,577,0,0,0,0],[0,0,0,539,532,540,574,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,539,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137,0,0],[0,0,0,0,0,0,0,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,439,0,0],[0,0,0,0,0,579,579,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,580,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,581,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,0,555,0,0,0,0],[0,0,0,582,91,583,584,22,23,0,24,0,0,585,93,0,0,27,0],[0,553,0,586,0,177,177,22,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,0,0,175,587,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,588,91,589,590,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,0,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,0,561,0,0,0,0],[0,0,0,592,112,593,594,32,33,0,34,0,0,595,114,0,0,37,0],[0,559,0,596,0,203,203,32,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,0,0,201,597,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,598,112,599,600,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,566,165,0,0,0,0],[0,0,0,563,66,564,67,8,9,0,10,0,0,566,68,0,0,16,0],[0,0,0,563,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,527,0,0,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,567,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,572,165,0,0,0,0],[0,0,0,569,66,570,67,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,569,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,0,577,0,0,0,0],[0,0,0,603,152,604,605,57,58,0,59,0,0,606,154,0,0,62,0],[0,575,0,607,0,248,248,57,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,0,0,246,608,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,609,152,610,611,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,0,0,0,0,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,491,0,0],[0,0,0,0,0,0,613,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,585,194,0,0,0,0],[0,0,0,582,91,583,92,22,23,0,24,0,0,585,93,0,0,27,0],[0,0,0,582,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,553,0,0,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,586,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,591,194,0,0,0,0],[0,0,0,588,91,589,92,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,588,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,595,220,0,0,0,0],[0,0,0,592,112,593,113,32,33,0,34,0,0,595,114,0,0,37,0],[0,0,0,592,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,559,0,0,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,596,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,601,220,0,0,0,0],[0,0,0,598,112,599,113,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,598,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,606,265,0,0,0,0],[0,0,0,603,152,604,153,57,58,0,59,0,0,606,154,0,0,62,0],[0,0,0,603,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,575,0,0,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,607,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,612,265,0,0,0,0],[0,0,0,609,152,610,153,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,609,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,549,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0]],"accepting":[false,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,false,false,true,false,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,false,false,true,true,false,false,true,true,true,false,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,false,false,false,false,false,false,false,true,true,false,false,true,true,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,false,true,true,false,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,false,true,true,true,true,true,false,true,true,false,true,true,true],"tags":[[],["broken_cluster"],["consonant_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],[],["broken_cluster"],["symbol_cluster"],[],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["symbol_cluster"],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],[],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],[],[],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],["consonant_syllable"],["vowel_syllable"],["standalone_cluster"]]}`);var Fa={};Fa=JSON.parse(`{"categories":["O","IND","S","GB","B","FM","CGJ","VMAbv","VMPst","VAbv","VPst","CMBlw","VPre","VBlw","H","VMBlw","CMAbv","MBlw","CS","R","SUB","MPst","MPre","FAbv","FPst","FBlw","null","SMAbv","SMBlw","VMPre","ZWNJ","ZWJ","WJ","M","VS","N","HN","MAbv"],"decompositions":{"2507":[2503,2494],"2508":[2503,2519],"2888":[2887,2902],"2891":[2887,2878],"2892":[2887,2903],"3018":[3014,3006],"3019":[3015,3006],"3020":[3014,3031],"3144":[3142,3158],"3264":[3263,3285],"3271":[3270,3285],"3272":[3270,3286],"3274":[3270,3266],"3275":[3270,3266,3285],"3402":[3398,3390],"3403":[3399,3390],"3404":[3398,3415],"3546":[3545,3530],"3548":[3545,3535],"3549":[3545,3535,3530],"3550":[3545,3551],"3635":[3661,3634],"3763":[3789,3762],"3955":[3953,3954],"3957":[3953,3956],"3958":[4018,3968],"3959":[4018,3953,3968],"3960":[4019,3968],"3961":[4019,3953,3968],"3969":[3953,3968],"6971":[6970,6965],"6973":[6972,6965],"6976":[6974,6965],"6977":[6975,6965],"6979":[6978,6965],"69934":[69937,69927],"69935":[69938,69927],"70475":[70471,70462],"70476":[70471,70487],"70843":[70841,70842],"70844":[70841,70832],"70846":[70841,70845],"71098":[71096,71087],"71099":[71097,71087]},"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,2,3,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,17,18,11,19,20,21,22,0,0,0,23,0,0,2,0,0,24,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,27,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,39,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,49,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,53,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,54,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0]],"accepting":[false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],"tags":[[],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["symbol_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["virama_terminated_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["number_joiner_terminated_cluster"],["standard_cluster"],["standard_cluster"],["numeral_cluster"]]}`);let Ia={X:1,C:2,V:4,N:8,H:16,ZWNJ:32,ZWJ:64,M:128,SM:256,VD:512,A:1024,Placeholder:2048,Dotted_Circle:4096,RS:8192,Coeng:16384,Repha:32768,Ra:65536,CM:131072,Symbol:262144},La={Start:1,Ra_To_Become_Reph:2,Pre_M:4,Pre_C:8,Base_C:16,After_Main:32,Above_C:64,Before_Sub:128,Below_C:256,After_Sub:512,Before_Post:1024,Post_C:2048,After_Post:4096,Final_C:8192,SMVD:16384,End:32768},Ra=Ia.C|Ia.Ra|Ia.CM|Ia.V|Ia.Placeholder|Ia.Dotted_Circle,za=Ia.ZWJ|Ia.ZWNJ,Ba=Ia.H|Ia.Coeng,Va={Default:{hasOldSpec:!1,virama:0,basePos:`Last`,rephPos:La.Before_Post,rephMode:`Implicit`,blwfMode:`Pre_And_Post`},Devanagari:{hasOldSpec:!0,virama:2381,basePos:`Last`,rephPos:La.Before_Post,rephMode:`Implicit`,blwfMode:`Pre_And_Post`},Bengali:{hasOldSpec:!0,virama:2509,basePos:`Last`,rephPos:La.After_Sub,rephMode:`Implicit`,blwfMode:`Pre_And_Post`},Gurmukhi:{hasOldSpec:!0,virama:2637,basePos:`Last`,rephPos:La.Before_Sub,rephMode:`Implicit`,blwfMode:`Pre_And_Post`},Gujarati:{hasOldSpec:!0,virama:2765,basePos:`Last`,rephPos:La.Before_Post,rephMode:`Implicit`,blwfMode:`Pre_And_Post`},Oriya:{hasOldSpec:!0,virama:2893,basePos:`Last`,rephPos:La.After_Main,rephMode:`Implicit`,blwfMode:`Pre_And_Post`},Tamil:{hasOldSpec:!0,virama:3021,basePos:`Last`,rephPos:La.After_Post,rephMode:`Implicit`,blwfMode:`Pre_And_Post`},Telugu:{hasOldSpec:!0,virama:3149,basePos:`Last`,rephPos:La.After_Post,rephMode:`Explicit`,blwfMode:`Post_Only`},Kannada:{hasOldSpec:!0,virama:3277,basePos:`Last`,rephPos:La.After_Post,rephMode:`Implicit`,blwfMode:`Post_Only`},Malayalam:{hasOldSpec:!0,virama:3405,basePos:`Last`,rephPos:La.After_Main,rephMode:`Log_Repha`,blwfMode:`Pre_And_Post`},Khmer:{hasOldSpec:!1,virama:6098,basePos:`First`,rephPos:La.Ra_To_Become_Reph,rephMode:`Vis_Repha`,blwfMode:`Pre_And_Post`}},Ha={6078:[6081,6078],6079:[6081,6079],6080:[6081,6080],6084:[6081,6084],6085:[6081,6085]},{decompositions:Ua}=h(Fa),Wa=new(h(c))(ui(`AAARAAAAAAB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FpfZL2Yb9snLNl/fNIepXaUsj4vNXCXUZ75px8ojNP8UPvAta2g6fb+F1ckZuneshv1vGXXDeyRRrN/bBPS1Jul+l+7zW86R7Wv63WXyDpt/RxraRjvC+TC3O61/Sqj/prag8x372yQivn+XwudrI2X2E2KdtJEov52e0L+uv4FO3p/rvssgsL8F4d/z9PzlWS94m8fqS3361Fi+6qaVYHwi9Yz4iH2fobIj+45cpz/TUaarr/4+z+vaWtVtyAX2d1LG8W9C3f+F1mnf36/k4w3YPrLv+XBVXCJs3cr+n4MKJuLv/fN9GhNdXVP5pJMN9vFi3rpv3/r8Ywg3SYp66zNOsO8QGcxPpnmRS/1mvmJjju3v7absI2xspQrvs1dNbjOj/wP7h1RlZyKGy8occ408UL8En4v6xfC/K3z52XzJd62T8vuZGGsxo/6O46ntmNqqFb/jps2/hHV4rPKH0svT4pstU7t2tZ9u/ZdqbJL1MwP6O86Fyt4jYaIrGz9mjEt8lFL4PtVE6votG2P6fpdf/GZRse7s3bf4BtSl/DIbKMctx++Z+8o6K6z9FPOwKsRmXiaNl7C+6NYRpjlbqG1j72f49qsuY4brd/amb4ZVc8TQ+sSH985LrEe8iPWJnfPrJRbWbb+dwn4x6o+r/aS2S7w3qWt//LnYz2ntE0vH1uDcyKatx1rH+EiMPEN1SZG/iz6+9o01Rob6O7Q+xLZ1jHobK61U+pWVvo2EpuWqzzD6Poa+pvhli0wn8Zq/72Mzm2d90o5VN1x9ZKuzbTgvqWwUIin8FSpl1CXXvFRxU0iozVPYJDRtF3uFphn6XAyJUUdD7SjTJ8v6n9fVbVObkKWp001lc9VRlqdOf5v0ZM+bymdbfp1NfG0bq27Y5JMyfxeJkU6o/inKH8O2Zfgidb6h/g3VJ7QcVbWL0Pxt6rlrPqa4KfQ25a2zl4/E8GdM/4fK/wA=`)),Ga=new(h(l))(h(Pa));class Ka extends Wi{static planFeatures(e){e.addStage(Xa),e.addStage([`locl`,`ccmp`]),e.addStage(no),e.addStage(`nukt`),e.addStage(`akhn`),e.addStage(`rphf`,!1),e.addStage(`rkrf`),e.addStage(`pref`,!1),e.addStage(`blwf`,!1),e.addStage(`abvf`,!1),e.addStage(`half`,!1),e.addStage(`pstf`,!1),e.addStage(`vatu`),e.addStage(`cjct`),e.addStage(`cfar`,!1),e.addStage(ro),e.addStage({local:[`init`],global:[`pres`,`abvs`,`blws`,`psts`,`haln`,`dist`,`abvm`,`blwm`,`calt`,`clig`]}),e.unicodeScript=_i(e.script),e.indicConfig=Va[e.unicodeScript]||Va.Default,e.isOldSpec=e.indicConfig.hasOldSpec&&e.script[e.script.length-1]!==`2`}static assignFeatures(e,t){for(let n=t.length-1;n>=0;n--){let r=t[n].codePoints[0],i=Ha[r]||Ua[r];if(i){let r=i.map(r=>{let i=e.font.glyphForCodePoint(r);return new oa(e.font,i.id,[r],t[n].features)});t.splice(n,1,...r)}}}}(0,i._)(Ka,`zeroMarkWidths`,`NONE`);function qa(e){return Wa.get(e.codePoints[0])>>8}function Ja(e){return 1<<(Wa.get(e.codePoints[0])&255)}class Ya{constructor(e,t,n,r){this.category=e,this.position=t,this.syllableType=n,this.syllable=r}}function Xa(e,t){let n=0,r=0;for(let[e,i,a]of Ga.match(t.map(qa))){if(e>r){++n;for(let i=r;i<e;i++)t[i].shaperInfo=new Ya(Ia.X,La.End,`non_indic_cluster`,n)}++n;for(let r=e;r<=i;r++)t[r].shaperInfo=new Ya(1<<qa(t[r]),Ja(t[r]),a[0],n);r=i+1}if(r<t.length){++n;for(let e=r;e<t.length;e++)t[e].shaperInfo=new Ya(Ia.X,La.End,`non_indic_cluster`,n)}}function Za(e){return e.shaperInfo.category&Ra}function Qa(e){return e.shaperInfo.category&za}function $a(e){return e.shaperInfo.category&Ba}function eo(e,t){for(let n of e)n.features={[t]:!0};return e[0]._font._layoutEngine.engine.GSUBProcessor.applyFeatures([t],e),e.length===1}function to(e,t,n){let r=[n,t,n];return eo(r.slice(0,2),`blwf`)||eo(r.slice(1,3),`blwf`)?La.Below_C:eo(r.slice(0,2),`pstf`)||eo(r.slice(1,3),`pstf`)||eo(r.slice(0,2),`pref`)||eo(r.slice(1,3),`pref`)?La.Post_C:La.Base_C}function no(e,t,n){let r=n.indicConfig,i=e._layoutEngine.engine.GSUBProcessor.features,a=e.glyphForCodePoint(9676).id,o=e.glyphForCodePoint(r.virama).id;if(o){let n=new oa(e,o,[r.virama]);for(let r=0;r<t.length;r++)t[r].shaperInfo.position===La.Base_C&&(t[r].shaperInfo.position=to(e,t[r].copy(),n))}for(let o=0,s=io(t,0);o<t.length;o=s,s=io(t,o)){let{category:c,syllableType:l}=t[o].shaperInfo;if(l===`symbol_cluster`||l===`non_indic_cluster`)continue;if(l===`broken_cluster`&&a){let n=new oa(e,a,[9676]);n.shaperInfo=new Ya(1<<qa(n),Ja(n),t[o].shaperInfo.syllableType,t[o].shaperInfo.syllable);let r=o;for(;r<s&&t[r].shaperInfo.category===Ia.Repha;)r++;t.splice(r++,0,n),s++}let u=s,d=o,f=!1;if(r.rephPos!==La.Ra_To_Become_Reph&&i.rphf&&o+3<=s&&(r.rephMode===`Implicit`&&!Qa(t[o+2])||r.rephMode===`Explicit`&&t[o+2].shaperInfo.category===Ia.ZWJ)){let e=[t[o].copy(),t[o+1].copy(),t[o+2].copy()];if(eo(e.slice(0,2),`rphf`)||r.rephMode===`Explicit`&&eo(e,`rphf`)){for(d+=2;d<s&&Qa(t[d]);)d++;u=o,f=!0}}else if(r.rephMode===`Log_Repha`&&t[o].shaperInfo.category===Ia.Repha){for(d++;d<s&&Qa(t[d]);)d++;u=o,f=!0}switch(r.basePos){case`Last`:{let e=s,n=!1;do{let r=t[--e].shaperInfo;if(Za(t[e])){if(r.position!==La.Below_C&&(r.position!==La.Post_C||n)){u=e;break}r.position===La.Below_C&&(n=!0),u=e}else if(o<e&&r.category===Ia.ZWJ&&t[e-1].shaperInfo.category===Ia.H)break}while(e>d);break}case`First`:u=o;for(let e=u+1;e<s;e++)Za(t[e])&&(t[e].shaperInfo.position=La.Below_C)}f&&u===o&&d-u<=2&&(f=!1);for(let e=o;e<u;e++){let n=t[e].shaperInfo;n.position=Math.min(La.Pre_C,n.position)}u<s&&(t[u].shaperInfo.position=La.Base_C);for(let e=u+1;e<s;e++)if(t[e].shaperInfo.category===Ia.M){for(let n=e+1;n<s;n++)if(Za(t[n])){t[n].shaperInfo.position=La.Final_C;break}break}if(f&&(t[o].shaperInfo.position=La.Ra_To_Become_Reph),n.isOldSpec){let e=n.unicodeScript!==`Malayalam`;for(let n=u+1;n<s;n++)if(t[n].shaperInfo.category===Ia.H){let r;for(r=s-1;r>n&&!(Za(t[r])||e&&t[r].shaperInfo.category===Ia.H);r--);if(t[r].shaperInfo.category!==Ia.H&&r>n){let e=t[n];t.splice(n,0,...t.splice(n+1,r-n)),t[r]=e}break}}let p=La.Start;for(let e=o;e<s;e++){let n=t[e].shaperInfo;if(n.category&(za|Ia.N|Ia.RS|Ia.CM|Ba&n.category)){if(n.position=p,n.category===Ia.H&&n.position===La.Pre_M){for(let r=e;r>o;r--)if(t[r-1].shaperInfo.position!==La.Pre_M){n.position=t[r-1].shaperInfo.position;break}}}else n.position!==La.SMVD&&(p=n.position)}let m=u;for(let e=u+1;e<s;e++)if(Za(t[e])){for(let n=m+1;n<e;n++)t[n].shaperInfo.position<La.SMVD&&(t[n].shaperInfo.position=t[e].shaperInfo.position);m=e}else t[e].shaperInfo.category===Ia.M&&(m=e);let h=t.slice(o,s);h.sort((e,t)=>e.shaperInfo.position-t.shaperInfo.position),t.splice(o,h.length,...h);for(let e=o;e<s;e++)if(t[e].shaperInfo.position===La.Base_C){u=e;break}for(let e=o;e<s&&t[e].shaperInfo.position===La.Ra_To_Become_Reph;e++)t[e].features.rphf=!0;let g=!n.isOldSpec&&r.blwfMode===`Pre_And_Post`;for(let e=o;e<u;e++)t[e].features.half=!0,g&&(t[e].features.blwf=!0);for(let e=u+1;e<s;e++)t[e].features.abvf=!0,t[e].features.pstf=!0,t[e].features.blwf=!0;if(n.isOldSpec&&n.unicodeScript===`Devanagari`)for(let e=o;e+1<u;e++)t[e].shaperInfo.category===Ia.Ra&&t[e+1].shaperInfo.category===Ia.H&&(e+1===u||t[e+2].shaperInfo.category===Ia.ZWJ)&&(t[e].features.blwf=!0,t[e+1].features.blwf=!0);if(i.pref&&u+2<s){for(let e=u+1;e+2-1<s;e++)if(eo([t[e].copy(),t[e+1].copy()],`pref`)){for(let n=0;n<2;n++)t[e++].features.pref=!0;if(i.cfar)for(;e<s;e++)t[e].features.cfar=!0;break}}for(let e=o+1;e<s;e++)if(Qa(t[e])){let n=t[e].shaperInfo.category===Ia.ZWNJ,r=e;do r--,n&&delete t[r].features.half;while(r>o&&!Za(t[r]))}}}function ro(e,t,n){let r=n.indicConfig,i=e._layoutEngine.engine.GSUBProcessor.features;for(let e=0,a=io(t,0);e<t.length;e=a,a=io(t,e)){let o=!!i.pref,c=e;for(;c<a;c++)if(t[c].shaperInfo.position>=La.Base_C){if(o&&c+1<a){for(let e=c+1;e<a;e++)if(t[e].features.pref){if(!(t[e].substituted&&t[e].isLigated&&!t[e].isMultiplied)){for(c=e;c<a&&$a(t[c]);)c++;t[c].shaperInfo.position=La.BASE_C,o=!1}break}}if(n.unicodeScript===`Malayalam`)for(let e=c+1;e<a;e++){for(;e<a&&Qa(t[e]);)e++;if(e===a||!$a(t[e]))break;for(e++;e<a&&Qa(t[e]);)e++;e<a&&Za(t[e])&&t[e].shaperInfo.position===La.Below_C&&(c=e,t[c].shaperInfo.position=La.Base_C)}e<c&&t[c].shaperInfo.position>La.Base_C&&c--;break}if(c===a&&e<c&&t[c-1].shaperInfo.category===Ia.ZWJ&&c--,c<a)for(;e<c&&t[c].shaperInfo.category&(Ia.N|Ba);)c--;if(e+1<a&&e<c){let r=c===a?c-2:c-1;if(n.unicodeScript!==`Malayalam`&&n.unicodeScript!==`Tamil`){for(;r>e&&!(t[r].shaperInfo.category&(Ia.M|Ba));)r--;$a(t[r])&&t[r].shaperInfo.position!==La.Pre_M?r+1<a&&Qa(t[r+1])&&r++:r=e}if(e<r&&t[r].shaperInfo.position!==La.Pre_M){for(let n=r;n>e;n--)if(t[n-1].shaperInfo.position===La.Pre_M){let e=n-1;e<c&&c<=r&&c--;let i=t[e];t.splice(e,0,...t.splice(e+1,r-e)),t[r]=i,r--}}}if(e+1<a&&t[e].shaperInfo.position===La.Ra_To_Become_Reph&&t[e].shaperInfo.category===Ia.Repha!==(t[e].isLigated&&!t[e].isMultiplied)){let n,i=r.rephPos,o=!1;if(i!==La.After_Post){for(n=e+1;n<c&&!$a(t[n]);)n++;if(n<c&&$a(t[n])&&(n+1<c&&Qa(t[n+1])&&n++,o=!0),!o&&i===La.After_Main){for(n=c;n+1<a&&t[n+1].shaperInfo.position<=La.After_Main;)n++;o=n<a}if(!o&&i===La.After_Sub){for(n=c;n+1<a&&!(t[n+1].shaperInfo.position&(La.Post_C|La.After_Post|La.SMVD));)n++;o=n<a}}if(!o){for(n=e+1;n<c&&!$a(t[n]);)n++;n<c&&$a(t[n])&&(n+1<c&&Qa(t[n+1])&&n++,o=!0)}if(!o){for(n=a-1;n>e&&t[n].shaperInfo.position===La.SMVD;)n--;if($a(t[n]))for(let e=c+1;e<n;e++)t[e].shaperInfo.category===Ia.M&&n--}let s=t[e];t.splice(e,0,...t.splice(e+1,n-e)),t[n]=s,e<c&&c<=n&&c--}if(o&&c+1<a){for(let r=c+1;r<a;r++)if(t[r].features.pref){if(t[r].isLigated&&!t[r].isMultiplied){let i=c;if(n.unicodeScript!==`Malayalam`&&n.unicodeScript!==`Tamil`){for(;i>e&&!(t[i-1].shaperInfo.category&(Ia.M|Ba));)i--;if(i>e&&t[i-1].shaperInfo.category===Ia.M){let e=r;for(let n=c+1;n<e;n++)if(t[n].shaperInfo.category===Ia.M){i--;break}}}i>e&&$a(t[i-1])&&i<a&&Qa(t[i])&&i++;let o=r,s=t[o];t.splice(i+1,0,...t.splice(i,o-i)),t[i]=s,i<=c&&c<o&&c++}break}}t[e].shaperInfo.position===La.Pre_M&&(!e||!/Cf|Mn/.test((0,s.getCategory)(t[e-1].codePoints[0])))&&(t[e].features.init=!0)}}function io(e,t){if(t>=e.length)return t;let n=e[t].shaperInfo.syllable;for(;++t<e.length&&e[t].shaperInfo.syllable===n;);return t}let{categories:ao,decompositions:oo}=h(Fa),so=new(h(c))(ui(`AAACAAAAAAAQugAAAQUO+vHtnHuMX0UVx2d3u/t7bXe7FlqgvB+mpQhFmhikMRAg0ZQmakMU+cPWBzZisEGNjUpoiIYCEgmGUGOEGqOVNPUZUGNA+QNIBU2KREEFFSMBUYRISMXE+B3vnPzOzp553tcWfif5ZO5jnufMzJ2ZO/eumlDqFLAWnAMuBBvBZnC5uXZeBe4WsA1sBzs8/naCXcL1G8GtYDfYA74NvgfuAfcZHmT+fwEeBb8DTwvxPQWeAavACyZvq8z9VYxXwCGglijVBcvACnA8eCM4E6wHG8BF4BLwbvA+8AHwUbAd7AA7wS5wC9gN7gR7wX5wN7gXPAAeBr8Gvwd/Ac+CF8EhoCaV6oBZsBKcAE4FZ0wWeV8P9zxwoTnfCHczuBxsAdvAx8Gnzf1r4X4B3AxuA1+bHJb9m5PzdVGW/Yjv+xXHyfmxFfd9OH8Q/Ar8Bjw1WZT3GfACeAX8N5CfqSmlZsAKsGqqCH8K3DXgbHCuuXYB3HeAd4HLpgrdarbi+EPgY+CT4HPg8ybMTcb9MtyvghtYut/A+b4pf95+ELgfw08Qx/3gADgInjDl0veehPtX8A/wsrn2KtzxDuogWNoJx38k/BzXKeI8Ee5qcBZYD9aZtDbg+AwT19uMX83F7JizCdcvBZdZ97c6/BMfMWmfzfTm88/95aLj+DDSvApcDXZ04uPfaen3TMHPLvi5BezuFPVtD4t/qUcfe3FvP7gb3Ouwo9T+H+gMy/UIjh8DfwBPm7T08d/M8WMBe1Sh3xEjXo+M2s+IESNGjBgxYsSI1wLrOsM1gRsi/P+TzV3/Zc1jvxgR/j8IM9Et1mEGcJeDFeA4cJq5/ia467uF/w1wzwdvB+80998LdwvYZs63w90Bdnbd6Wp/uzz3R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V1IQevQ1/8SA+UeH5eto7n/X1Oe86ptaafl8kPjcF7P7W93eD9d5n+oSvn7fFe7I/G9q1IBfylSR71N6fft94ZU18hOXKR+JqUO8f4+5dvLsmWlMQb/Vov+CUDlpTGUndeQlG3fdZWdRPoPgl3mmDlsLnaey/4X3tVuU+o6L3/Pym+qlLV/jk6rlBRd8394hZ6JdnuqIv2ykOh3pfq96Wkq/E8qu2xl88/tOJ4R3tfmpbGi3c5T859bzqr7MbsN03iI5itUNj5eaEKWqIX/KJCQ/iFWNZMmHXs8ovWk53JzFq5vPul6zDjLV36pX7bzvNzB0YlQOZephWtRS5T7eeSq8030R77/HvC1d7tN83Zt9yltrDdwSR0XxsZd5l+MvvvU1/M9jSnj+Nh6FPJbBld/w6XHXH5MZeXrOfS/65g9RTl1JCa8chzX2RZ9/3lXSh4/VqWfEBNq4b82Ytp6m+9Qqxir1jX+rfPdT1vvsWhM6bPbmON6E1LnPCZW7L0qqXswmtqf0MQelZj4myrzYtzvIYmURlvtqapyx+gzRfd0XPfahVSOquMoG+dibBdl46iyfdbV1qvUW9m8+KTudMvkzZe/pqTJ+pWTflX5zw1fVfox6ZTVc8hvHflOSb+OuG1JsZ0kufXAJf8D`)),co=new(h(l))(h(Fa));class lo extends Wi{static planFeatures(e){e.addStage(po),e.addStage([`locl`,`ccmp`,`nukt`,`akhn`]),e.addStage(mo),e.addStage([`rphf`],!1),e.addStage(ho),e.addStage(mo),e.addStage([`pref`]),e.addStage(go),e.addStage([`rkrf`,`abvf`,`blwf`,`half`,`pstf`,`vatu`,`cjct`]),e.addStage(_o),e.addStage([`abvs`,`blws`,`pres`,`psts`,`dist`,`abvm`,`blwm`])}static assignFeatures(e,t){for(let n=t.length-1;n>=0;n--){let r=t[n].codePoints[0];if(oo[r]){let i=oo[r].map(r=>{let i=e.font.glyphForCodePoint(r);return new oa(e.font,i.id,[r],t[n].features)});t.splice(n,1,...i)}}}}(0,i._)(lo,`zeroMarkWidths`,`BEFORE_GPOS`);function uo(e){return so.get(e.codePoints[0])}class fo{constructor(e,t,n){this.category=e,this.syllableType=t,this.syllable=n}}function po(e,t){let n=0;for(let[e,r,i]of co.match(t.map(uo))){++n;for(let a=e;a<=r;a++)t[a].shaperInfo=new fo(ao[uo(t[a])],i[0],n);let a=t[e].shaperInfo.category===`R`?1:Math.min(3,r-e);for(let n=e;n<e+a;n++)t[n].features.rphf=!0}}function mo(e,t){for(let e of t)e.substituted=!1}function ho(e,t){for(let e of t)e.substituted&&e.features.rphf&&(e.shaperInfo.category=`R`)}function go(e,t){for(let e of t)e.substituted&&(e.shaperInfo.category=`VPre`)}function _o(e,t){let n=e.glyphForCodePoint(9676).id;for(let r=0,i=vo(t,0);r<t.length;r=i,i=vo(t,r)){let a,o,s=t[r].shaperInfo,c=s.syllableType;if(c===`virama_terminated_cluster`||c===`standard_cluster`||c===`broken_cluster`){if(c===`broken_cluster`&&n){let o=new oa(e,n,[9676]);for(o.shaperInfo=s,a=r;a<i&&t[a].shaperInfo.category===`R`;a++);t.splice(++a,0,o),i++}if(s.category===`R`&&i-r>1){for(a=r+1;a<i;a++)if(s=t[a].shaperInfo,bo(s)||yo(t[a])){yo(t[a])&&a--,t.splice(r,0,...t.splice(r+1,a-r),t[a]);break}}for(a=r,o=i;a<i;a++)s=t[a].shaperInfo,bo(s)||yo(t[a])?o=yo(t[a])?a+1:a:(s.category===`VPre`||s.category===`VMPre`)&&o<a&&t.splice(o,1,t[a],...t.splice(o,a-o))}}}function vo(e,t){if(t>=e.length)return t;let n=e[t].shaperInfo.syllable;for(;++t<e.length&&e[t].shaperInfo.syllable===n;);return t}function yo(e){return e.shaperInfo.category===`H`&&!e.isLigated}function bo(e){return e.category===`B`||e.category===`GB`}let xo={arab:ta,mong:ta,syrc:ta,"nko ":ta,phag:ta,mand:ta,mani:ta,phlp:ta,hang:sa,bng2:Ka,beng:Ka,dev2:Ka,deva:Ka,gjr2:Ka,gujr:Ka,guru:Ka,gur2:Ka,knda:Ka,knd2:Ka,mlm2:Ka,mlym:Ka,ory2:Ka,orya:Ka,taml:Ka,tml2:Ka,telu:Ka,tel2:Ka,khmr:Ka,bali:lo,batk:lo,brah:lo,bugi:lo,buhd:lo,cakm:lo,cham:lo,dupl:lo,egyp:lo,gran:lo,hano:lo,java:lo,kthi:lo,kali:lo,khar:lo,khoj:lo,sind:lo,lepc:lo,limb:lo,mahj:lo,mtei:lo,modi:lo,hmng:lo,rjng:lo,saur:lo,shrd:lo,sidd:lo,sinh:Ka,sund:lo,sylo:lo,tglg:lo,tagb:lo,tale:lo,lana:lo,tavt:lo,takr:lo,tibt:lo,tfng:lo,tirh:lo,latn:Wi,DFLT:Wi};function So(e){Array.isArray(e)||(e=[e]);for(let t of e){let e=xo[t];if(e)return e}return Wi}class Co extends aa{applyLookup(e,t){switch(e){case 1:{let e=this.coverageIndex(t.coverage);if(e===-1)return!1;let n=this.glyphIterator.cur;switch(t.version){case 1:n.id=n.id+t.deltaGlyphID&65535;break;case 2:n.id=t.substitute.get(e)}return!0}case 2:{let e=this.coverageIndex(t.coverage);if(e!==-1){let n=t.sequences.get(e);if(n.length===0)return this.glyphs.splice(this.glyphIterator.index,1),!0;this.glyphIterator.cur.id=n[0],this.glyphIterator.cur.ligatureComponent=0;let r=this.glyphIterator.cur.features,i=this.glyphIterator.cur,a=n.slice(1).map((e,t)=>{let n=new oa(this.font,e,void 0,r);return n.shaperInfo=i.shaperInfo,n.isLigated=i.isLigated,n.ligatureComponent=t+1,n.substituted=!0,n.isMultiplied=!0,n});return this.glyphs.splice(this.glyphIterator.index+1,0,...a),!0}return!1}case 3:{let e=this.coverageIndex(t.coverage);return e!==-1&&(this.glyphIterator.cur.id=t.alternateSet.get(e)[0],!0)}case 4:{let e=this.coverageIndex(t.coverage);if(e===-1)return!1;for(let r of t.ligatureSets.get(e)){let e=this.sequenceMatchIndices(1,r.components);if(!e)continue;let t=this.glyphIterator.cur,i=t.codePoints.slice();for(let t of e)i.push(...this.glyphs[t].codePoints);let a=new oa(this.font,r.glyph,i,t.features);a.shaperInfo=t.shaperInfo,a.isLigated=!0,a.substituted=!0;let o=t.isMark;for(let t=0;t<e.length&&o;t++)o=this.glyphs[e[t]].isMark;a.ligatureID=o?null:this.ligatureID++;let s=t.ligatureID,c=t.codePoints.length,l=c,u=this.glyphIterator.index+1;for(let t of e){if(o)u=t;else for(;u<t;){var n=l-c+Math.min(this.glyphs[u].ligatureComponent||1,c);this.glyphs[u].ligatureID=a.ligatureID,this.glyphs[u].ligatureComponent=n,u++}s=this.glyphs[u].ligatureID,c=this.glyphs[u].codePoints.length,l+=c,u++}if(s&&!o)for(let e=u;e<this.glyphs.length&&this.glyphs[e].ligatureID===s;e++){var n=l-c+Math.min(this.glyphs[e].ligatureComponent||1,c);this.glyphs[e].ligatureComponent=n}for(let t=e.length-1;t>=0;t--)this.glyphs.splice(e[t],1);return this.glyphs[this.glyphIterator.index]=a,!0}return!1}case 5:return this.applyContext(t);case 6:return this.applyChainingContext(t);case 7:return this.applyLookup(t.lookupType,t.extension);default:throw Error(`GSUB lookupType ${e} is not supported`)}}}class wo extends aa{applyPositionValue(e,t){let n=this.positions[this.glyphIterator.peekIndex(e)];t.xAdvance!=null&&(n.xAdvance+=t.xAdvance),t.yAdvance!=null&&(n.yAdvance+=t.yAdvance),t.xPlacement!=null&&(n.xOffset+=t.xPlacement),t.yPlacement!=null&&(n.yOffset+=t.yPlacement);let r=this.font._variationProcessor,i=this.font.GDEF&&this.font.GDEF.itemVariationStore;r&&i&&(t.xPlaDevice&&(n.xOffset+=r.getDelta(i,t.xPlaDevice.a,t.xPlaDevice.b)),t.yPlaDevice&&(n.yOffset+=r.getDelta(i,t.yPlaDevice.a,t.yPlaDevice.b)),t.xAdvDevice&&(n.xAdvance+=r.getDelta(i,t.xAdvDevice.a,t.xAdvDevice.b)),t.yAdvDevice&&(n.yAdvance+=r.getDelta(i,t.yAdvDevice.a,t.yAdvDevice.b)))}applyLookup(e,t){switch(e){case 1:{let e=this.coverageIndex(t.coverage);if(e===-1)return!1;switch(t.version){case 1:this.applyPositionValue(0,t.value);break;case 2:this.applyPositionValue(0,t.values.get(e))}return!0}case 2:{let e=this.glyphIterator.peek();if(!e)return!1;let r=this.coverageIndex(t.coverage);if(r===-1)return!1;switch(t.version){case 1:let i=t.pairSets.get(r);for(let t of i)if(t.secondGlyph===e.id)return this.applyPositionValue(0,t.value1),this.applyPositionValue(1,t.value2),!0;return!1;case 2:let a=this.getClassID(this.glyphIterator.cur.id,t.classDef1),o=this.getClassID(e.id,t.classDef2);if(a===-1||o===-1)return!1;var n=t.classRecords.get(a).get(o);return this.applyPositionValue(0,n.value1),this.applyPositionValue(1,n.value2),!0}}case 3:{let e=this.glyphIterator.peekIndex(),n=this.glyphs[e];if(!n)return!1;let r=t.entryExitRecords[this.coverageIndex(t.coverage)];if(!r||!r.exitAnchor)return!1;let i=t.entryExitRecords[this.coverageIndex(t.coverage,n.id)];if(!i||!i.entryAnchor)return!1;let a=this.getAnchor(i.entryAnchor),o=this.getAnchor(r.exitAnchor),s=this.positions[this.glyphIterator.index],c=this.positions[e],l;switch(this.direction){case`ltr`:s.xAdvance=o.x+s.xOffset,l=a.x+c.xOffset,c.xAdvance-=l,c.xOffset-=l;break;case`rtl`:l=o.x+s.xOffset,s.xAdvance-=l,s.xOffset-=l,c.xAdvance=a.x+c.xOffset}return this.glyphIterator.flags.rightToLeft?(this.glyphIterator.cur.cursiveAttachment=e,s.yOffset=a.y-o.y):(n.cursiveAttachment=this.glyphIterator.index,s.yOffset=o.y-a.y),!0}case 4:{let e=this.coverageIndex(t.markCoverage);if(e===-1)return!1;let n=this.glyphIterator.index;for(;--n>=0&&(this.glyphs[n].isMark||this.glyphs[n].ligatureComponent>0););if(n<0)return!1;let r=this.coverageIndex(t.baseCoverage,this.glyphs[n].id);if(r===-1)return!1;let i=t.markArray[e],a=t.baseArray[r][i.class];return this.applyAnchor(i,a,n),!0}case 5:{let e=this.coverageIndex(t.markCoverage);if(e===-1)return!1;let n=this.glyphIterator.index;for(;--n>=0&&this.glyphs[n].isMark;);if(n<0)return!1;let r=this.coverageIndex(t.ligatureCoverage,this.glyphs[n].id);if(r===-1)return!1;let i=t.ligatureArray[r],a=this.glyphIterator.cur,o=this.glyphs[n],s=o.ligatureID&&o.ligatureID===a.ligatureID&&a.ligatureComponent>0?Math.min(a.ligatureComponent,o.codePoints.length)-1:o.codePoints.length-1,c=t.markArray[e],l=i[s][c.class];return this.applyAnchor(c,l,n),!0}case 6:{let e=this.coverageIndex(t.mark1Coverage);if(e===-1)return!1;let n=this.glyphIterator.peekIndex(-1),r=this.glyphs[n];if(!r||!r.isMark)return!1;let i=this.glyphIterator.cur,a=!1;if(i.ligatureID===r.ligatureID?i.ligatureID?i.ligatureComponent===r.ligatureComponent&&(a=!0):a=!0:(i.ligatureID&&!i.ligatureComponent||r.ligatureID&&!r.ligatureComponent)&&(a=!0),!a)return!1;let o=this.coverageIndex(t.mark2Coverage,r.id);if(o===-1)return!1;let s=t.mark1Array[e],c=t.mark2Array[o][s.class];return this.applyAnchor(s,c,n),!0}case 7:return this.applyContext(t);case 8:return this.applyChainingContext(t);case 9:return this.applyLookup(t.lookupType,t.extension);default:throw Error(`Unsupported GPOS table: ${e}`)}}applyAnchor(e,t,n){let r=this.getAnchor(t),i=this.getAnchor(e.markAnchor);this.positions[n];let a=this.positions[this.glyphIterator.index];a.xOffset=r.x-i.x,a.yOffset=r.y-i.y,this.glyphIterator.cur.markAttachment=n}getAnchor(e){let t=e.xCoordinate,n=e.yCoordinate,r=this.font._variationProcessor,i=this.font.GDEF&&this.font.GDEF.itemVariationStore;return r&&i&&(e.xDeviceTable&&(t+=r.getDelta(i,e.xDeviceTable.a,e.xDeviceTable.b)),e.yDeviceTable&&(n+=r.getDelta(i,e.yDeviceTable.a,e.yDeviceTable.b))),{x:t,y:n}}applyFeatures(e,t,n){super.applyFeatures(e,t,n);for(var r=0;r<this.glyphs.length;r++)this.fixCursiveAttachment(r);this.fixMarkAttachment()}fixCursiveAttachment(e){let t=this.glyphs[e];if(t.cursiveAttachment!=null){let n=t.cursiveAttachment;t.cursiveAttachment=null,this.fixCursiveAttachment(n),this.positions[e].yOffset+=this.positions[n].yOffset}}fixMarkAttachment(){for(let e=0;e<this.glyphs.length;e++){let t=this.glyphs[e];if(t.markAttachment!=null){let n=t.markAttachment;if(this.positions[e].xOffset+=this.positions[n].xOffset,this.positions[e].yOffset+=this.positions[n].yOffset,this.direction===`ltr`)for(let t=n;t<e;t++)this.positions[e].xOffset-=this.positions[t].xAdvance,this.positions[e].yOffset-=this.positions[t].yAdvance;else for(let t=n+1;t<e+1;t++)this.positions[e].xOffset+=this.positions[t].xAdvance,this.positions[e].yOffset+=this.positions[t].yAdvance}}}}class To{setup(e){this.glyphInfos=e.glyphs.map(e=>new oa(this.font,e.id,[...e.codePoints]));let t=null;this.GPOSProcessor&&(t=this.GPOSProcessor.selectScript(e.script,e.language,e.direction)),this.GSUBProcessor&&(t=this.GSUBProcessor.selectScript(e.script,e.language,e.direction)),this.shaper=So(t),this.plan=new Ri(this.font,t,e.direction),this.shaper.plan(this.plan,this.glyphInfos,e.features);for(let t in this.plan.allFeatures)e.features[t]=!0}substitute(e){this.GSUBProcessor&&(this.plan.process(this.GSUBProcessor,this.glyphInfos),e.glyphs=this.glyphInfos.map(e=>this.font.getGlyph(e.id,e.codePoints)))}position(e){return this.shaper.zeroMarkWidths===`BEFORE_GPOS`&&this.zeroMarkAdvances(e.positions),this.GPOSProcessor&&this.plan.process(this.GPOSProcessor,this.glyphInfos,e.positions),this.shaper.zeroMarkWidths===`AFTER_GPOS`&&this.zeroMarkAdvances(e.positions),e.direction===`rtl`&&(e.glyphs.reverse(),e.positions.reverse()),this.GPOSProcessor&&this.GPOSProcessor.features}zeroMarkAdvances(e){for(let t=0;t<this.glyphInfos.length;t++)this.glyphInfos[t].isMark&&(e[t].xAdvance=0,e[t].yAdvance=0)}cleanup(){this.glyphInfos=null,this.plan=null,this.shaper=null}getAvailableFeatures(e,t){let n=[];return this.GSUBProcessor&&(this.GSUBProcessor.selectScript(e,t),n.push(...Object.keys(this.GSUBProcessor.features))),this.GPOSProcessor&&(this.GPOSProcessor.selectScript(e,t),n.push(...Object.keys(this.GPOSProcessor.features))),n}constructor(e){this.font=e,this.glyphInfos=null,this.plan=null,this.GSUBProcessor=null,this.GPOSProcessor=null,this.fallbackPosition=!0,e.GSUB&&(this.GSUBProcessor=new Co(e,e.GSUB)),e.GPOS&&(this.GPOSProcessor=new wo(e,e.GPOS))}}class Eo{layout(e,t,n,r,i){if(typeof t==`string`&&(i=r,r=n,n=t,t=[]),typeof e==`string`){n??=vi(e);var a=this.font.glyphsForString(e)}else{if(n==null){let t=[];for(let n of e)t.push(...n.codePoints);n=yi(t)}var a=e}let o=new Si(a,t,n,r,i);return a.length===0?(o.positions=[],o):(this.engine&&this.engine.setup&&this.engine.setup(o),this.substitute(o),this.position(o),this.hideDefaultIgnorables(o.glyphs,o.positions),this.engine&&this.engine.cleanup&&this.engine.cleanup(),o)}substitute(e){this.engine&&this.engine.substitute&&this.engine.substitute(e)}position(e){e.positions=e.glyphs.map(e=>new Ci(e.advanceWidth));let t=null;this.engine&&this.engine.position&&(t=this.engine.position(e)),!t&&(!this.engine||this.engine.fallbackPosition)&&(this.unicodeLayoutEngine||=new pi(this.font),this.unicodeLayoutEngine.positionGlyphs(e.glyphs,e.positions)),(!t||!t.kern)&&e.features.kern!==!1&&this.font.kern&&(this.kernProcessor||=new fi(this.font),this.kernProcessor.process(e.glyphs,e.positions),e.features.kern=!0)}hideDefaultIgnorables(e,t){let n=this.font.glyphForCodePoint(32);for(let r=0;r<e.length;r++)this.isDefaultIgnorable(e[r].codePoints[0])&&(e[r]=n,t[r].xAdvance=0,t[r].yAdvance=0)}isDefaultIgnorable(e){let t=e>>16;if(t===0)switch(e>>8){case 0:return e===173;case 3:return e===847;case 6:return e===1564;case 23:return 6068<=e&&e<=6069;case 24:return 6155<=e&&e<=6158;case 32:return 8203<=e&&e<=8207||8234<=e&&e<=8238||8288<=e&&e<=8303;case 254:return 65024<=e&&e<=65039||e===65279;case 255:return 65520<=e&&e<=65528;default:return!1}else switch(t){case 1:return 113824<=e&&e<=113827||119155<=e&&e<=119162;case 14:return 917504<=e&&e<=921599;default:return!1}}getAvailableFeatures(e,t){let n=[];return this.engine&&n.push(...this.engine.getAvailableFeatures(e,t)),this.font.kern&&n.indexOf(`kern`)===-1&&n.push(`kern`),n}stringsForGlyph(e){let t=new Set,n=this.font._cmapProcessor.codePointsForGlyph(e);for(let e of n)t.add(String.fromCodePoint(e));if(this.engine&&this.engine.stringsForGlyph)for(let n of this.engine.stringsForGlyph(e))t.add(n);return Array.from(t)}constructor(e){this.font=e,this.unicodeLayoutEngine=null,this.kernProcessor=null,this.font.morx?this.engine=new Li(this.font):(this.font.GSUB||this.font.GPOS)&&(this.engine=new To(this.font))}}let Do={moveTo:`M`,lineTo:`L`,quadraticCurveTo:`Q`,bezierCurveTo:`C`,closePath:`Z`};class Oo{toFunction(){return e=>{this.commands.forEach(t=>e[t.command].apply(e,t.args))}}toSVG(){return this.commands.map(e=>{let t=e.args.map(e=>Math.round(e*100)/100);return`${Do[e.command]}${t.join(` `)}`}).join(``)}get cbox(){if(!this._cbox){let e=new mi;for(let t of this.commands)for(let n=0;n<t.args.length;n+=2)e.addPoint(t.args[n],t.args[n+1]);this._cbox=Object.freeze(e)}return this._cbox}get bbox(){if(this._bbox)return this._bbox;let e=new mi,t=0,n=0,r=e=>(1-e)**3*f[g]+3*(1-e)**2*e*p[g]+3*(1-e)*e**2*m[g]+e**3*h[g];for(let _ of this.commands)switch(_.command){case`moveTo`:case`lineTo`:let[v,y]=_.args;e.addPoint(v,y),t=v,n=y;break;case`quadraticCurveTo`:case`bezierCurveTo`:if(_.command===`quadraticCurveTo`)var[i,a,o,s]=_.args,c=t+2/3*(i-t),l=n+2/3*(a-n),u=o+2/3*(i-o),d=s+2/3*(a-s);else var[c,l,u,d,o,s]=_.args;e.addPoint(o,s);for(var f=[t,n],p=[c,l],m=[u,d],h=[o,s],g=0;g<=1;g++){let t=6*f[g]-12*p[g]+6*m[g],n=-3*f[g]+9*p[g]-9*m[g]+3*h[g];if(_=3*p[g]-3*f[g],n===0){if(t===0)continue;let n=-_/t;0<n&&n<1&&(g===0?e.addPoint(r(n),e.maxY):g===1&&e.addPoint(e.maxX,r(n)));continue}let i=t**2-4*_*n;if(i<0)continue;let a=(-t+Math.sqrt(i))/(2*n);0<a&&a<1&&(g===0?e.addPoint(r(a),e.maxY):g===1&&e.addPoint(e.maxX,r(a)));let o=(-t-Math.sqrt(i))/(2*n);0<o&&o<1&&(g===0?e.addPoint(r(o),e.maxY):g===1&&e.addPoint(e.maxX,r(o)))}t=o,n=s}return this._bbox=Object.freeze(e)}mapPoints(e){let t=new Oo;for(let n of this.commands){let r=[];for(let t=0;t<n.args.length;t+=2){let[i,a]=e(n.args[t],n.args[t+1]);r.push(i,a)}t[n.command](...r)}return t}transform(e,t,n,r,i,a){return this.mapPoints((o,s)=>[e*o+n*s+i,t*o+r*s+a])}translate(e,t){return this.transform(1,0,0,1,e,t)}rotate(e){let t=Math.cos(e),n=Math.sin(e);return this.transform(t,n,-n,t,0,0)}scale(e,t=e){return this.transform(e,0,0,t,0,0)}constructor(){this.commands=[],this._bbox=null,this._cbox=null}}for(let e of[`moveTo`,`lineTo`,`quadraticCurveTo`,`bezierCurveTo`,`closePath`])Oo.prototype[e]=function(...t){return this._bbox=this._cbox=null,this.commands.push({command:e,args:t}),this};var ko=`.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`.split(`,`);class Ao{_getPath(){return new Oo}_getCBox(){return this.path.cbox}_getBBox(){return this.path.bbox}_getTableMetrics(e){if(this.id<e.metrics.length)return e.metrics.get(this.id);let t=e.metrics.get(e.metrics.length-1);return{advance:t?t.advance:0,bearing:e.bearings.get(this.id-e.metrics.length)||0}}_getMetrics(e){if(this._metrics)return this._metrics;let{advance:t,bearing:n}=this._getTableMetrics(this._font.hmtx);if(this._font.vmtx)var{advance:r,bearing:i}=this._getTableMetrics(this._font.vmtx);else{let t;if(e??({cbox:e}=this),(t=this._font[`OS/2`])&&t.version>0)var r=Math.abs(t.typoAscender-t.typoDescender),i=t.typoAscender-e.maxY;else{let{hhea:t}=this._font;var r=Math.abs(t.ascent-t.descent),i=t.ascent-e.maxY}}return this._font._variationProcessor&&this._font.HVAR&&(t+=this._font._variationProcessor.getAdvanceAdjustment(this.id,this._font.HVAR)),this._metrics={advanceWidth:t,advanceHeight:r,leftBearing:n,topBearing:i}}get cbox(){return this._getCBox()}get bbox(){return this._getBBox()}get path(){return this._getPath()}getScaledPath(e){let t=1/this._font.unitsPerEm*e;return this.path.scale(t)}get advanceWidth(){return this._getMetrics().advanceWidth}get advanceHeight(){return this._getMetrics().advanceHeight}get ligatureCaretPositions(){}_getName(){let{post:e}=this._font;if(!e)return null;switch(e.version){case 1:return ko[this.id];case 2:let t=e.glyphNameIndex[this.id];return t<ko.length?ko[t]:e.names[t-ko.length];case 2.5:return ko[this.id+e.offsets[this.id]];case 4:return String.fromCharCode(e.map[this.id])}}get name(){return this._getName()}render(e,t){e.save();let n=1/this._font.head.unitsPerEm*t;e.scale(n,n),this.path.toFunction()(e),e.fill(),e.restore()}constructor(e,t,n){this.id=e,this.codePoints=t,this._font=n,this.isMark=this.codePoints.length>0&&this.codePoints.every(s.isMark),this.isLigature=this.codePoints.length>1}}(0,a._)([C],Ao.prototype,`cbox`,null),(0,a._)([C],Ao.prototype,`bbox`,null),(0,a._)([C],Ao.prototype,`path`,null),(0,a._)([C],Ao.prototype,`advanceWidth`,null),(0,a._)([C],Ao.prototype,`advanceHeight`,null),(0,a._)([C],Ao.prototype,`name`,null);let jo=new r.Struct({numberOfContours:r.int16,xMin:r.int16,yMin:r.int16,xMax:r.int16,yMax:r.int16});class Mo{copy(){return new Mo(this.onCurve,this.endContour,this.x,this.y)}constructor(e,t,n=0,r=0){this.onCurve=e,this.endContour=t,this.x=n,this.y=r}}class No{constructor(e,t,n){this.glyphID=e,this.dx=t,this.dy=n,this.pos=0,this.scaleX=this.scaleY=1,this.scale01=this.scale10=0}}class Po extends Ao{_getCBox(e){if(this._font._variationProcessor&&!e)return this.path.cbox;let t=this._font._getTableStream(`glyf`);t.pos+=this._font.loca.offsets[this.id];let n=jo.decode(t),r=new mi(n.xMin,n.yMin,n.xMax,n.yMax);return Object.freeze(r)}_parseGlyphCoord(e,t,n,r){if(n){var i=e.readUInt8();r||(i=-i),i+=t}else if(r)var i=t;else var i=t+e.readInt16BE();return i}_decode(){let e=this._font.loca.offsets[this.id];if(e===this._font.loca.offsets[this.id+1])return null;let t=this._font._getTableStream(`glyf`);t.pos+=e;let n=t.pos,r=jo.decode(t);return r.numberOfContours>0?this._decodeSimple(r,t):r.numberOfContours<0&&this._decodeComposite(r,t,n),r}_decodeSimple(e,t){e.points=[];let n=new r.Array(r.uint16,e.numberOfContours).decode(t);e.instructions=new r.Array(r.uint8,r.uint16).decode(t);let i=[],a=n[n.length-1]+1;for(;i.length<a;){var o=t.readUInt8();if(i.push(o),o&8){let e=t.readUInt8();for(let t=0;t<e;t++)i.push(o)}}for(var s=0;s<i.length;s++){var o=i[s];let t=new Mo(!!(o&1),n.indexOf(s)>=0,0,0);e.points.push(t)}let c=0;for(var s=0;s<i.length;s++){var o=i[s];e.points[s].x=c=this._parseGlyphCoord(t,c,o&2,o&16)}let l=0;for(var s=0;s<i.length;s++){var o=i[s];e.points[s].y=l=this._parseGlyphCoord(t,l,o&4,o&32)}if(this._font._variationProcessor){let t=e.points.slice();t.push(...this._getPhantomPoints(e)),this._font._variationProcessor.transformPoints(this.id,t),e.phantomPoints=t.slice(-4)}}_decodeComposite(e,t,n=0){e.components=[];let r=!1,i=32;for(;i&32;){i=t.readUInt16BE();let c=t.pos-n,l=t.readUInt16BE();if(r||=!!(i&256),i&1)var a=t.readInt16BE(),o=t.readInt16BE();else var a=t.readInt8(),o=t.readInt8();var s=new No(l,a,o);s.pos=c,i&8?s.scaleX=s.scaleY=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824:i&64?(s.scaleX=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824,s.scaleY=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824):i&128&&(s.scaleX=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824,s.scale01=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824,s.scale10=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824,s.scaleY=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824),e.components.push(s)}if(this._font._variationProcessor){let t=[];for(let n=0;n<e.components.length;n++){var s=e.components[n];t.push(new Mo(!0,!0,s.dx,s.dy))}t.push(...this._getPhantomPoints(e)),this._font._variationProcessor.transformPoints(this.id,t),e.phantomPoints=t.splice(-4,4);for(let n=0;n<t.length;n++){let r=t[n];e.components[n].dx=r.x,e.components[n].dy=r.y}}return r}_getPhantomPoints(e){let t=this._getCBox(!0);this._metrics??=Ao.prototype._getMetrics.call(this,t);let{advanceWidth:n,advanceHeight:r,leftBearing:i,topBearing:a}=this._metrics;return[new Mo(!1,!0,e.xMin-i,0),new Mo(!1,!0,e.xMin-i+n,0),new Mo(!1,!0,0,e.yMax+a),new Mo(!1,!0,0,e.yMax+a+r)]}_getContours(){let e=this._decode();if(!e)return[];let t=[];if(e.numberOfContours<0)for(let n of e.components){let e=this._font.getGlyph(n.glyphID)._getContours();for(let r=0;r<e.length;r++){let i=e[r];for(let e=0;e<i.length;e++){let r=i[e],a=r.x*n.scaleX+r.y*n.scale01+n.dx,o=r.y*n.scaleY+r.x*n.scale10+n.dy;t.push(new Mo(r.onCurve,r.endContour,a,o))}}}else t=e.points||[];e.phantomPoints&&!this._font.directory.tables.HVAR&&(this._metrics.advanceWidth=e.phantomPoints[1].x-e.phantomPoints[0].x,this._metrics.advanceHeight=e.phantomPoints[3].y-e.phantomPoints[2].y,this._metrics.leftBearing=e.xMin-e.phantomPoints[0].x,this._metrics.topBearing=e.phantomPoints[2].y-e.yMax);let n=[],r=[];for(let e=0;e<t.length;e++){var i=t[e];r.push(i),i.endContour&&(n.push(r),r=[])}return n}_getMetrics(){if(this._metrics)return this._metrics;let e=this._getCBox(!0);return super._getMetrics(e),this._font._variationProcessor&&!this._font.HVAR&&this.path,this._metrics}_getPath(){let e=this._getContours(),t=new Oo;for(let r=0;r<e.length;r++){let i=e[r],a=i[0],o=i[i.length-1],s=0;if(a.onCurve){var n=null;s=1}else{a=o.onCurve?o:new Mo(!1,!1,(a.x+o.x)/2,(a.y+o.y)/2);var n=a}t.moveTo(a.x,a.y);for(let e=s;e<i.length;e++){let r=i[e],o=e===0?a:i[e-1];if(o.onCurve&&r.onCurve)t.lineTo(r.x,r.y);else if(o.onCurve&&!r.onCurve)var n=r;else if(!o.onCurve&&!r.onCurve){let e=(o.x+r.x)/2,i=(o.y+r.y)/2;t.quadraticCurveTo(o.x,o.y,e,i);var n=r}else if(!o.onCurve&&r.onCurve){t.quadraticCurveTo(n.x,n.y,r.x,r.y);var n=null}else throw Error(`Unknown TTF path state`)}n&&t.quadraticCurveTo(n.x,n.y,a.x,a.y),t.closePath()}return t}constructor(...e){super(...e),(0,i._)(this,`type`,`TTF`)}}class Fo extends Ao{_getName(){return this._font.CFF2?super._getName():this._font[`CFF `].getGlyphName(this.id)}bias(e){return e.length<1240?107:e.length<33900?1131:32768}_getPath(){let e=this._font.CFF2||this._font[`CFF `],{stream:t}=e,n=e.topDict.CharStrings[this.id],r=n.offset+n.length;t.pos=n.offset;let i=new Oo,a=[],o=[],s=null,c=0,l=0,u=0,d,f,p=!1;this._usedGsubrs=d={},this._usedSubrs=f={};let m=e.globalSubrIndex||[],h=this.bias(m),g=e.privateDictForGlyph(this.id)||{},_=g.Subrs||[],v=this.bias(_),y=e.topDict.vstore&&e.topDict.vstore.itemVariationStore,b=g.vsindex,x=this._font._variationProcessor;function S(){s??=a.shift()+g.nominalWidthX}function C(){return a.length%2!=0&&S(),c+=a.length>>1,a.length=0}function w(e,t){p&&i.closePath(),i.moveTo(e,t),p=!0}let T=function(){for(;t.pos<r;){let g=t.readUInt8();if(g<32){let s,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B;switch(g){case 1:case 3:case 18:case 23:C();break;case 4:a.length>1&&S(),u+=a.shift(),w(l,u);break;case 5:for(;a.length>=2;)l+=a.shift(),u+=a.shift(),i.lineTo(l,u);break;case 6:case 7:for(D=g===6;a.length>=1;)D?l+=a.shift():u+=a.shift(),i.lineTo(l,u),D=!D;break;case 8:for(;a.length>0;)O=l+a.shift(),k=u+a.shift(),A=O+a.shift(),j=k+a.shift(),l=A+a.shift(),u=j+a.shift(),i.bezierCurveTo(O,k,A,j,l,u);break;case 10:if(s=a.pop()+v,E=_[s],E){f[s]=!0;let e=t.pos,n=r;t.pos=E.offset,r=E.offset+E.length,T(),t.pos=e,r=n}break;case 11:if(e.version>=2)break;return;case 14:if(e.version>=2)break;a.length>0&&S(),p&&=(i.closePath(),!1);break;case 15:if(e.version<2)throw Error(`vsindex operator not supported in CFF v1`);b=a.pop();break;case 16:{if(e.version<2)throw Error(`blend operator not supported in CFF v1`);if(!x)throw Error(`blend operator in non-variation font`);let t=x.getBlendVector(y,b),n=a.pop(),r=n*t.length,i=a.length-r,o=i-n;for(let e=0;e<n;e++){let n=a[o+e];for(let e=0;e<t.length;e++)n+=t[e]*a[i++];a[o+e]=n}for(;r--;)a.pop();break}case 19:case 20:C(),t.pos+=c+7>>3;break;case 21:a.length>2&&S(),l+=a.shift(),u+=a.shift(),w(l,u);break;case 22:a.length>1&&S(),l+=a.shift(),w(l,u);break;case 24:for(;a.length>=8;)O=l+a.shift(),k=u+a.shift(),A=O+a.shift(),j=k+a.shift(),l=A+a.shift(),u=j+a.shift(),i.bezierCurveTo(O,k,A,j,l,u);l+=a.shift(),u+=a.shift(),i.lineTo(l,u);break;case 25:for(;a.length>=8;)l+=a.shift(),u+=a.shift(),i.lineTo(l,u);O=l+a.shift(),k=u+a.shift(),A=O+a.shift(),j=k+a.shift(),l=A+a.shift(),u=j+a.shift(),i.bezierCurveTo(O,k,A,j,l,u);break;case 26:for(a.length%2&&(l+=a.shift());a.length>=4;)O=l,k=u+a.shift(),A=O+a.shift(),j=k+a.shift(),l=A,u=j+a.shift(),i.bezierCurveTo(O,k,A,j,l,u);break;case 27:for(a.length%2&&(u+=a.shift());a.length>=4;)O=l+a.shift(),k=u,A=O+a.shift(),j=k+a.shift(),l=A+a.shift(),u=j,i.bezierCurveTo(O,k,A,j,l,u);break;case 28:a.push(t.readInt16BE());break;case 29:if(s=a.pop()+h,E=m[s],E){d[s]=!0;let e=t.pos,n=r;t.pos=E.offset,r=E.offset+E.length,T(),t.pos=e,r=n}break;case 30:case 31:for(D=g===31;a.length>=4;)D?(O=l+a.shift(),k=u,A=O+a.shift(),j=k+a.shift(),u=j+a.shift(),l=A+(a.length===1?a.shift():0)):(O=l,k=u+a.shift(),A=O+a.shift(),j=k+a.shift(),l=A+a.shift(),u=j+(a.length===1?a.shift():0)),i.bezierCurveTo(O,k,A,j,l,u),D=!D;break;case 12:switch(g=t.readUInt8(),g){case 3:let e=a.pop(),t=a.pop();a.push(e&&t?1:0);break;case 4:e=a.pop(),t=a.pop(),a.push(e||t?1:0);break;case 5:e=a.pop(),a.push(+!e);break;case 9:e=a.pop(),a.push(Math.abs(e));break;case 10:e=a.pop(),t=a.pop(),a.push(e+t);break;case 11:e=a.pop(),t=a.pop(),a.push(e-t);break;case 12:e=a.pop(),t=a.pop(),a.push(e/t);break;case 14:e=a.pop(),a.push(-e);break;case 15:e=a.pop(),t=a.pop(),a.push(+(e===t));break;case 18:a.pop();break;case 20:let r=a.pop(),s=a.pop();o[s]=r;break;case 21:s=a.pop(),a.push(o[s]||0);break;case 22:let c=a.pop(),d=a.pop(),f=a.pop(),p=a.pop();a.push(f<=p?c:d);break;case 23:a.push(Math.random());break;case 24:e=a.pop(),t=a.pop(),a.push(e*t);break;case 26:e=a.pop(),a.push(Math.sqrt(e));break;case 27:e=a.pop(),a.push(e,e);break;case 28:e=a.pop(),t=a.pop(),a.push(t,e);break;case 29:s=a.pop(),s<0?s=0:s>a.length-1&&(s=a.length-1),a.push(a[s]);break;case 30:let m=a.pop(),h=a.pop();if(h>=0)for(;h>0;){var n=a[m-1];for(let e=m-2;e>=0;e--)a[e+1]=a[e];a[0]=n,h--}else for(;h<0;){var n=a[0];for(let e=0;e<=m;e++)a[e]=a[e+1];a[m-1]=n,h++}break;case 34:O=l+a.shift(),k=u,A=O+a.shift(),j=k+a.shift(),M=A+a.shift(),N=j,P=M+a.shift(),F=N,I=P+a.shift(),L=F,R=I+a.shift(),z=L,l=R,u=z,i.bezierCurveTo(O,k,A,j,M,N),i.bezierCurveTo(P,F,I,L,R,z);break;case 35:B=[];for(let e=0;e<=5;e++)l+=a.shift(),u+=a.shift(),B.push(l,u);i.bezierCurveTo(...B.slice(0,6)),i.bezierCurveTo(...B.slice(6)),a.shift();break;case 36:O=l+a.shift(),k=u+a.shift(),A=O+a.shift(),j=k+a.shift(),M=A+a.shift(),N=j,P=M+a.shift(),F=N,I=P+a.shift(),L=F+a.shift(),R=I+a.shift(),z=L,l=R,u=z,i.bezierCurveTo(O,k,A,j,M,N),i.bezierCurveTo(P,F,I,L,R,z);break;case 37:let _=l,v=u;B=[];for(let e=0;e<=4;e++)l+=a.shift(),u+=a.shift(),B.push(l,u);Math.abs(l-_)>Math.abs(u-v)?(l+=a.shift(),u=v):(l=_,u+=a.shift()),B.push(l,u),i.bezierCurveTo(...B.slice(0,6)),i.bezierCurveTo(...B.slice(6));break;default:throw Error(`Unknown op: 12 ${g}`)}break;default:throw Error(`Unknown op: ${g}`)}}else if(g<247)a.push(g-139);else if(g<251){var s=t.readUInt8();a.push((g-247)*256+s+108)}else if(g<255){var s=t.readUInt8();a.push(-(g-251)*256-s-108)}else a.push(t.readInt32BE()/65536)}};return T(),p&&i.closePath(),i}constructor(...e){super(...e),(0,i._)(this,`type`,`CFF`)}}let Io=new r.Struct({originX:r.uint16,originY:r.uint16,type:new r.String(4),data:new r.Buffer(e=>e.parent.buflen-e._currentOffset)});class Lo extends Po{getImageForSize(e){for(let n=0;n<this._font.sbix.imageTables.length;n++){var t=this._font.sbix.imageTables[n];if(t.ppem>=e)break}let n=t.imageOffsets,r=n[this.id],i=n[this.id+1];return r===i?null:(this._font.stream.pos=r,Io.decode(this._font.stream,{buflen:i-r}))}render(e,t){let n=this.getImageForSize(t);if(n!=null){let r=t/this._font.unitsPerEm;e.image(n.data,{height:t,x:n.originX,y:(this.bbox.minY-n.originY)*r})}this._font.sbix.flags.renderOutlines&&super.render(e,t)}constructor(...e){super(...e),(0,i._)(this,`type`,`SBIX`)}}class Ro{constructor(e,t){this.glyph=e,this.color=t}}class zo extends Ao{_getBBox(){let e=new mi;for(let t=0;t<this.layers.length;t++){let n=this.layers[t].glyph.bbox;e.addPoint(n.minX,n.minY),e.addPoint(n.maxX,n.maxY)}return e}get layers(){let e=this._font.CPAL,t=this._font.COLR,n=0,r=t.baseGlyphRecord.length-1;for(;n<=r;){let e=n+r>>1;var i=t.baseGlyphRecord[e];if(this.id<i.gid)r=e-1;else if(this.id>i.gid)n=e+1;else{var a=i;break}}if(a==null){var o=this._font._getBaseGlyph(this.id),s={red:0,green:0,blue:0,alpha:255};return[new Ro(o,s)]}let c=[];for(let n=a.firstLayerIndex;n<a.firstLayerIndex+a.numLayers;n++){var i=t.layerRecords[n],s=e.colorRecords[i.paletteIndex],o=this._font._getBaseGlyph(i.gid);c.push(new Ro(o,s))}return c}render(e,t){for(let{glyph:n,color:r}of this.layers)e.fillColor([r.red,r.green,r.blue],r.alpha/255*100),n.render(e,t)}constructor(...e){super(...e),(0,i._)(this,`type`,`COLR`)}}let Bo=16384,Vo=4095;class Ho{normalizeCoords(e){let t=[];for(var n=0;n<this.font.fvar.axis.length;n++){let r=this.font.fvar.axis[n];e[n]<r.defaultValue?t.push((e[n]-r.defaultValue+2**-52)/(r.defaultValue-r.minValue+2**-52)):t.push((e[n]-r.defaultValue+2**-52)/(r.maxValue-r.defaultValue+2**-52))}if(this.font.avar)for(var n=0;n<this.font.avar.segment.length;n++){let e=this.font.avar.segment[n];for(let r=0;r<e.correspondence.length;r++){let i=e.correspondence[r];if(r>=1&&t[n]<i.fromCoord){let a=e.correspondence[r-1];t[n]=((t[n]-a.fromCoord)*(i.toCoord-a.toCoord)+2**-52)/(i.fromCoord-a.fromCoord+2**-52)+a.toCoord;break}}}return t}transformPoints(e,t){if(!this.font.fvar||!this.font.gvar)return;let{gvar:n}=this.font;if(e>=n.glyphCount)return;let r=n.offsets[e];if(r===n.offsets[e+1])return;let{stream:i}=this.font;if(i.pos=r,i.pos>=i.length)return;let a=i.readUInt16BE(),o=r+i.readUInt16BE();if(a&32768){var s=i.pos;i.pos=o;var c=this.decodePoints();o=i.pos,i.pos=s}let l=t.map(e=>e.copy());a&=4095;for(let e=0;e<a;e++){let e=i.readUInt16BE(),r=i.readUInt16BE();if(r&32768){var u=[];for(let e=0;e<n.axisCount;e++)u.push(i.readInt16BE()/16384)}else{if((r&Vo)>=n.globalCoordCount)throw Error(`Invalid gvar table`);var u=n.globalCoords[r&Vo]}if(r&Bo){var d=[];for(let e=0;e<n.axisCount;e++)d.push(i.readInt16BE()/16384);var f=[];for(let e=0;e<n.axisCount;e++)f.push(i.readInt16BE()/16384)}let a=this.tupleFactor(r,u,d,f);if(a===0){o+=e;continue}var s=i.pos;if(i.pos=o,r&8192)var p=this.decodePoints();else var p=c;let h=p.length===0?t.length:p.length,g=this.decodeDeltas(h),_=this.decodeDeltas(h);if(p.length===0)for(let e=0;e<t.length;e++){var m=t[e];m.x+=Math.round(g[e]*a),m.y+=Math.round(_[e]*a)}else{let e=l.map(e=>e.copy()),n=t.map(()=>!1);for(let r=0;r<p.length;r++){let i=p[r];if(i<t.length){let t=e[i];n[i]=!0,t.x+=g[r]*a,t.y+=_[r]*a}}this.interpolateMissingDeltas(e,l,n);for(let n=0;n<t.length;n++){let r=e[n].x-l[n].x,i=e[n].y-l[n].y;t[n].x=Math.round(t[n].x+r),t[n].y=Math.round(t[n].y+i)}}o+=e,i.pos=s}}decodePoints(){let e=this.font.stream,t=e.readUInt8();t&128&&(t=(t&127)<<8|e.readUInt8());let n=new Uint16Array(t),r=0,i=0;for(;r<t;){let a=e.readUInt8(),o=(a&127)+1,s=a&128?e.readUInt16:e.readUInt8;for(let a=0;a<o&&r<t;a++)i+=s.call(e),n[r++]=i}return n}decodeDeltas(e){let t=this.font.stream,n=0,r=new Int16Array(e);for(;n<e;){let i=t.readUInt8(),a=(i&63)+1;if(i&128)n+=a;else{let o=i&64?t.readInt16BE:t.readInt8;for(let i=0;i<a&&n<e;i++)r[n++]=o.call(t)}}return r}tupleFactor(e,t,n,r){let i=this.normalizedCoords,{gvar:a}=this.font,o=1;for(let s=0;s<a.axisCount;s++)if(t[s]!==0){if(i[s]===0)return 0;if(!(e&Bo)){if(i[s]<Math.min(0,t[s])||i[s]>Math.max(0,t[s]))return 0;o=(o*i[s]+2**-52)/(t[s]+2**-52)}else if(i[s]<n[s]||i[s]>r[s])return 0;else o=i[s]<t[s]?o*(i[s]-n[s]+2**-52)/(t[s]-n[s]+2**-52):o*(r[s]-i[s]+2**-52)/(r[s]-t[s]+2**-52)}return o}interpolateMissingDeltas(e,t,n){if(e.length===0)return;let r=0;for(;r<e.length;){let i=r,a=r,o=e[a];for(;!o.endContour;)o=e[++a];for(;r<=a&&!n[r];)r++;if(r>a)continue;let s=r,c=r;for(r++;r<=a;)n[r]&&(this.deltaInterpolate(c+1,r-1,c,r,t,e),c=r),r++;c===s?this.deltaShift(i,a,c,t,e):(this.deltaInterpolate(c+1,a,c,s,t,e),s>0&&this.deltaInterpolate(i,s-1,c,s,t,e)),r=a+1}}deltaInterpolate(e,t,n,r,i,a){if(e>t)return;let o=[`x`,`y`];for(let c=0;c<o.length;c++){let l=o[c];if(i[n][l]>i[r][l]){var s=n;n=r,r=s}let u=i[n][l],d=i[r][l],f=a[n][l],p=a[r][l];if(u!==d||f===p){let n=u===d?0:(p-f)/(d-u);for(let r=e;r<=t;r++){let e=i[r][l];e<=u?e+=f-u:e>=d?e+=p-d:e=f+(e-u)*n,a[r][l]=e}}}}deltaShift(e,t,n,r,i){let a=i[n].x-r[n].x,o=i[n].y-r[n].y;if(a!==0||o!==0)for(let r=e;r<=t;r++)r!==n&&(i[r].x+=a,i[r].y+=o)}getAdvanceAdjustment(e,t){let n,r;if(t.advanceWidthMapping){let i=e;i>=t.advanceWidthMapping.mapCount&&(i=t.advanceWidthMapping.mapCount-1),t.advanceWidthMapping.entryFormat,{outerIndex:n,innerIndex:r}=t.advanceWidthMapping.mapData[i]}else n=0,r=e;return this.getDelta(t.itemVariationStore,n,r)}getDelta(e,t,n){if(t>=e.itemVariationData.length)return 0;let r=e.itemVariationData[t];if(n>=r.deltaSets.length)return 0;let i=r.deltaSets[n],a=this.getBlendVector(e,t),o=0;for(let e=0;e<r.regionIndexCount;e++)o+=i.deltas[e]*a[e];return o}getBlendVector(e,t){let n=e.itemVariationData[t];if(this.blendVectors.has(n))return this.blendVectors.get(n);let r=this.normalizedCoords,i=[];for(let t=0;t<n.regionIndexCount;t++){let a=1,o=n.regionIndexes[t],s=e.variationRegionList.variationRegions[o];for(let e=0;e<s.length;e++){let t=s[e],n;n=t.startCoord>t.peakCoord||t.peakCoord>t.endCoord||t.startCoord<0&&t.endCoord>0&&t.peakCoord!==0||t.peakCoord===0?1:r[e]<t.startCoord||r[e]>t.endCoord?0:r[e]===t.peakCoord?1:r[e]<t.peakCoord?(r[e]-t.startCoord+2**-52)/(t.peakCoord-t.startCoord+2**-52):(t.endCoord-r[e]+2**-52)/(t.endCoord-t.peakCoord+2**-52),a*=n}i[t]=a}return this.blendVectors.set(n,i),i}constructor(e,t){this.font=e,this.normalizedCoords=this.normalizeCoords(t),this.blendVectors=new Map}}Promise.resolve();class Uo{includeGlyph(e){return typeof e==`object`&&(e=e.id),this.mapping[e]??(this.glyphs.push(e),this.mapping[e]=this.glyphs.length-1),this.mapping[e]}constructor(e){this.font=e,this.glyphs=[],this.mapping={},this.includeGlyph(0)}}class Wo{static size(e){return e>=0&&e<=255?1:2}static encode(e,t){t>=0&&t<=255?e.writeUInt8(t):e.writeInt16BE(t)}}let Go=new r.Struct({numberOfContours:r.int16,xMin:r.int16,yMin:r.int16,xMax:r.int16,yMax:r.int16,endPtsOfContours:new r.Array(r.uint16,`numberOfContours`),instructions:new r.Array(r.uint8,r.uint16),flags:new r.Array(r.uint8,0),xPoints:new r.Array(Wo,0),yPoints:new r.Array(Wo,0)});class Ko{encodeSimple(e,t=[]){let n=[],i=[],a=[],o=[],s=0,c=0,l=0,u=0,d=0;for(let t=0;t<e.commands.length;t++){let r=e.commands[t];for(let n=0;n<r.args.length;n+=2){let f=r.args[n],p=r.args[n+1],m=0;if(r.command===`quadraticCurveTo`&&n===2){let n=e.commands[t+1];if(n&&n.command===`quadraticCurveTo`){let e=(c+n.args[0])/2,t=(l+n.args[1])/2;if(f===e&&p===t)continue}}(r.command!==`quadraticCurveTo`||n!==0)&&(m|=1),m=this._encodePoint(f,c,i,m,2,16),m=this._encodePoint(p,l,a,m,4,32),m===u&&s<255?(o[o.length-1]|=8,s++):(s>0&&(o.push(s),s=0),o.push(m),u=m),c=f,l=p,d++}r.command===`closePath`&&n.push(d-1)}e.commands.length>1&&e.commands[e.commands.length-1].command!==`closePath`&&n.push(d-1);let f=e.bbox,p={numberOfContours:n.length,xMin:f.minX,yMin:f.minY,xMax:f.maxX,yMax:f.maxY,endPtsOfContours:n,instructions:t,flags:o,xPoints:i,yPoints:a},m=Go.size(p),h=4-m%4,g=new r.EncodeStream(m+h);return Go.encode(g,p),h!==0&&g.fill(0,h),g.buffer}_encodePoint(e,t,n,r,i,a){let o=e-t;return e===t?r|=a:(-255<=o&&o<=255&&(r|=i,o<0?o=-o:r|=a),n.push(o)),r}}class qo extends Uo{_addGlyph(e){let t=this.font.getGlyph(e),n=t._decode(),r=this.font.loca.offsets[e],i=this.font.loca.offsets[e+1],a=this.font._getTableStream(`glyf`);a.pos+=r;let o=a.readBuffer(i-r);if(n&&n.numberOfContours<0){o=new Uint8Array(o);let t=new DataView(o.buffer);for(let r of n.components)e=this.includeGlyph(r.glyphID),t.setUint16(r.pos,e)}else n&&this.font._variationProcessor&&(o=this.glyphEncoder.encodeSimple(t.path,n.instructions));return this.glyf.push(o),this.loca.offsets.push(this.offset),this.hmtx.metrics.push({advance:t.advanceWidth,bearing:t._getMetrics().leftBearing}),this.offset+=o.length,this.glyf.length-1}encode(){this.glyf=[],this.offset=0,this.loca={offsets:[],version:this.font.loca.version},this.hmtx={metrics:[],bearings:[]};let e=0;for(;e<this.glyphs.length;)this._addGlyph(this.glyphs[e++]);let t=h(u)(this.font.maxp);t.numGlyphs=this.glyf.length,this.loca.offsets.push(this.offset);let n=h(u)(this.font.head);n.indexToLocFormat=this.loca.version;let r=h(u)(this.font.hhea);return r.numberOfMetrics=this.hmtx.metrics.length,ai.toBuffer({tables:{head:n,hhea:r,loca:this.loca,maxp:t,"cvt ":this.font[`cvt `],prep:this.font.prep,glyf:this.glyf,hmtx:this.hmtx,fpgm:this.font.fpgm}})}constructor(e){super(e),this.glyphEncoder=new Ko}}class Jo extends Uo{subsetCharstrings(){this.charstrings=[];let e={};for(let t of this.glyphs){this.charstrings.push(this.cff.getCharString(t));let n=this.font.getGlyph(t);n.path;for(let t in n._usedGsubrs)e[t]=!0}this.gsubrs=this.subsetSubrs(this.cff.globalSubrIndex,e)}subsetSubrs(e,t){let n=[];for(let r=0;r<e.length;r++){let i=e[r];t[r]?(this.cff.stream.pos=i.offset,n.push(this.cff.stream.readBuffer(i.length))):n.push(new Uint8Array([11]))}return n}subsetFontdict(e){e.FDArray=[],e.FDSelect={version:0,fds:[]};let t={},n=[],r={};for(let i of this.glyphs){let a=this.cff.fdForGlyph(i);if(a==null)continue;t[a]||(e.FDArray.push(Object.assign({},this.cff.topDict.FDArray[a])),n.push({}),r[a]=e.FDArray.length-1),t[a]=!0,e.FDSelect.fds.push(r[a]);let o=this.font.getGlyph(i);o.path;for(let e in o._usedSubrs)n[r[a]][e]=!0}for(let t=0;t<e.FDArray.length;t++){let r=e.FDArray[t];delete r.FontName,r.Private&&r.Private.Subrs&&(r.Private=Object.assign({},r.Private),r.Private.Subrs=this.subsetSubrs(r.Private.Subrs,n[t]))}}createCIDFontdict(e){let t={};for(let e of this.glyphs){let n=this.font.getGlyph(e);n.path;for(let e in n._usedSubrs)t[e]=!0}let n=Object.assign({},this.cff.topDict.Private);return this.cff.topDict.Private&&this.cff.topDict.Private.Subrs&&(n.Subrs=this.subsetSubrs(this.cff.topDict.Private.Subrs,t)),e.FDArray=[{Private:n}],e.FDSelect={version:3,nRanges:1,ranges:[{first:0,fd:0}],sentinel:this.charstrings.length}}addString(e){return e?(this.strings||=[],this.strings.push(e),be.length+this.strings.length-1):null}encode(){this.subsetCharstrings();let e={version:this.charstrings.length>255?2:1,ranges:[{first:1,nLeft:this.charstrings.length-2}]},t=Object.assign({},this.cff.topDict);t.Private=null,t.charset=e,t.Encoding=null,t.CharStrings=this.charstrings;for(let e of[`version`,`Notice`,`Copyright`,`FullName`,`FamilyName`,`Weight`,`PostScript`,`BaseFontName`,`FontName`])t[e]=this.addString(this.cff.string(t[e]));t.ROS=[this.addString(`Adobe`),this.addString(`Identity`),0],t.CIDCount=this.charstrings.length,this.cff.isCIDFont?this.subsetFontdict(t):this.createCIDFontdict(t);let n={version:1,hdrSize:this.cff.hdrSize,offSize:4,header:this.cff.header,nameIndex:[this.cff.postscriptName],topDictIndex:[t],stringIndex:this.strings,globalSubrIndex:this.gsubrs};return Tt.toBuffer(n)}constructor(e){if(super(e),this.cff=this.font[`CFF `],!this.cff)throw Error(`Not a CFF Font`)}}class Yo{static probe(e){let t=ci.decode(e.slice(0,4));return t===`true`||t===`OTTO`||t===`\0\0\0`}setDefaultLanguage(e=null){this.defaultLanguage=e}_getTable(e){if(!(e.tag in this._tables))try{this._tables[e.tag]=this._decodeTable(e)}catch{}return this._tables[e.tag]}_getTableStream(e){let t=this.directory.tables[e];return t?(this.stream.pos=t.offset,this.stream):null}_decodeDirectory(){return this.directory=ai.decode(this.stream,{_startOffset:0})}_decodeTable(e){let t=this.stream.pos,n=this._getTableStream(e.tag),r=ni[e.tag].decode(n,this,e.length);return this.stream.pos=t,r}getName(e,t=this.defaultLanguage||x){let n=this.name&&this.name.records[e];return n&&(n[t]||n[this.defaultLanguage]||n[x]||n.en||n[Object.keys(n)[0]])||null}get postscriptName(){return this.getName(`postscriptName`)}get fullName(){return this.getName(`fullName`)}get familyName(){return this.getName(`fontFamily`)}get subfamilyName(){return this.getName(`fontSubfamily`)}get copyright(){return this.getName(`copyright`)}get version(){return this.getName(`version`)}get ascent(){return this.hhea.ascent}get descent(){return this.hhea.descent}get lineGap(){return this.hhea.lineGap}get underlinePosition(){return this.post.underlinePosition}get underlineThickness(){return this.post.underlineThickness}get italicAngle(){return this.post.italicAngle}get capHeight(){let e=this[`OS/2`];return e?e.capHeight:this.ascent}get xHeight(){let e=this[`OS/2`];return e?e.xHeight:0}get numGlyphs(){return this.maxp.numGlyphs}get unitsPerEm(){return this.head.unitsPerEm}get bbox(){return Object.freeze(new mi(this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax))}get _cmapProcessor(){return new di(this.cmap)}get characterSet(){return this._cmapProcessor.getCharacterSet()}hasGlyphForCodePoint(e){return!!this._cmapProcessor.lookup(e)}glyphForCodePoint(e){return this.getGlyph(this._cmapProcessor.lookup(e),[e])}glyphsForString(e){let t=[],n=e.length,r=0,i=-1,a=-1;for(;r<=n;){let o=0,s=0;if(r<n){if(o=e.charCodeAt(r++),55296<=o&&o<=56319&&r<n){let t=e.charCodeAt(r);56320<=t&&t<=57343&&(r++,o=((o&1023)<<10)+(t&1023)+65536)}s=+(65024<=o&&o<=65039||917760<=o&&o<=917999)}else r++;a===0&&s===1?t.push(this.getGlyph(this._cmapProcessor.lookup(i,o),[i,o])):a===0&&s===0&&t.push(this.glyphForCodePoint(i)),i=o,a=s}return t}get _layoutEngine(){return new Eo(this)}layout(e,t,n,r,i){return this._layoutEngine.layout(e,t,n,r,i)}stringsForGlyph(e){return this._layoutEngine.stringsForGlyph(e)}get availableFeatures(){return this._layoutEngine.getAvailableFeatures()}getAvailableFeatures(e,t){return this._layoutEngine.getAvailableFeatures(e,t)}_getBaseGlyph(e,t=[]){return this._glyphs[e]||(this.directory.tables.glyf?this._glyphs[e]=new Po(e,t,this):(this.directory.tables[`CFF `]||this.directory.tables.CFF2)&&(this._glyphs[e]=new Fo(e,t,this))),this._glyphs[e]||null}getGlyph(e,t=[]){return this._glyphs[e]||(this.directory.tables.sbix?this._glyphs[e]=new Lo(e,t,this):this.directory.tables.COLR&&this.directory.tables.CPAL?this._glyphs[e]=new zo(e,t,this):this._getBaseGlyph(e,t)),this._glyphs[e]||null}createSubset(){return this.directory.tables[`CFF `]?new Jo(this):new qo(this)}get variationAxes(){let e={};if(!this.fvar)return e;for(let t of this.fvar.axis)e[t.axisTag.trim()]={name:t.name.en,min:t.minValue,default:t.defaultValue,max:t.maxValue};return e}get namedVariations(){let e={};if(!this.fvar)return e;for(let t of this.fvar.instance){let n={};for(let e=0;e<this.fvar.axis.length;e++){let r=this.fvar.axis[e];n[r.axisTag.trim()]=t.coord[e]}e[t.name.en]=n}return e}getVariation(e){if(!(this.directory.tables.fvar&&(this.directory.tables.gvar&&this.directory.tables.glyf||this.directory.tables.CFF2)))throw Error(`Variations require a font with the fvar, gvar and glyf, or CFF2 tables.`);if(typeof e==`string`&&(e=this.namedVariations[e]),typeof e!=`object`)throw Error(`Variation settings must be either a variation name or settings object.`);let t=this.fvar.axis.map((t,n)=>{let r=t.axisTag.trim();return r in e?Math.max(t.minValue,Math.min(t.maxValue,e[r])):t.defaultValue}),n=new r.DecodeStream(this.stream.buffer);n.pos=this._directoryPos;let i=new Yo(n,t);return i._tables=this._tables,i}get _variationProcessor(){if(!this.fvar)return null;let e=this.variationCoords;return!e&&!this.CFF2?null:(e||=this.fvar.axis.map(e=>e.defaultValue),new Ho(this,e))}getFont(e){return this.getVariation(e)}constructor(e,t=null){(0,i._)(this,`type`,`TTF`),this.defaultLanguage=null,this.stream=e,this.variationCoords=t,this._directoryPos=this.stream.pos,this._tables={},this._glyphs={},this._decodeDirectory();for(let e in this.directory.tables){let t=this.directory.tables[e];ni[e]&&t.length>0&&Object.defineProperty(this,e,{get:this._getTable.bind(this,t)})}}}(0,a._)([C],Yo.prototype,`bbox`,null),(0,a._)([C],Yo.prototype,`_cmapProcessor`,null),(0,a._)([C],Yo.prototype,`characterSet`,null),(0,a._)([C],Yo.prototype,`_layoutEngine`,null),(0,a._)([C],Yo.prototype,`variationAxes`,null),(0,a._)([C],Yo.prototype,`namedVariations`,null),(0,a._)([C],Yo.prototype,`_variationProcessor`,null);let Xo=new r.Struct({tag:new r.String(4),offset:new r.Pointer(r.uint32,`void`,{type:`global`}),compLength:r.uint32,length:r.uint32,origChecksum:r.uint32}),Zo=new r.Struct({tag:new r.String(4),flavor:r.uint32,length:r.uint32,numTables:r.uint16,reserved:new r.Reserved(r.uint16),totalSfntSize:r.uint32,majorVersion:r.uint16,minorVersion:r.uint16,metaOffset:r.uint32,metaLength:r.uint32,metaOrigLength:r.uint32,privOffset:r.uint32,privLength:r.uint32,tables:new r.Array(Xo,`numTables`)});Zo.process=function(){let e={};for(let t of this.tables)e[t.tag]=t;this.tables=e};var Qo=Zo;class $o extends Yo{static probe(e){return ci.decode(e.slice(0,4))===`wOFF`}_decodeDirectory(){this.directory=Qo.decode(this.stream,{_startOffset:0})}_getTableStream(e){let t=this.directory.tables[e];if(t){if(this.stream.pos=t.offset,t.compLength<t.length){this.stream.pos+=2;let e=new Uint8Array(t.length),n=h(d)(this.stream.readBuffer(t.compLength-2),e);return new r.DecodeStream(n)}return this.stream}return null}constructor(...e){super(...e),(0,i._)(this,`type`,`WOFF`)}}class es extends Po{_decode(){return this._font._transformedGlyphs[this.id]}_getCBox(){return this.path.bbox}constructor(...e){super(...e),(0,i._)(this,`type`,`WOFF2`)}}let ts={decode(e){let t=0,n=[0,1,2,3,4];for(let r=0;r<n.length;r++){n[r];let i=e.readUInt8();if(t&3758096384)throw Error(`Overflow`);if(t=t<<7|i&127,!(i&128))return t}throw Error(`Bad base 128 number`)}},ns=`cmap.head.hhea.hmtx.maxp.name.OS/2.post.cvt .fpgm.glyf.loca.prep.CFF .VORG.EBDT.EBLC.gasp.hdmx.kern.LTSH.PCLT.VDMX.vhea.vmtx.BASE.GDEF.GPOS.GSUB.EBSC.JSTF.MATH.CBDT.CBLC.COLR.CPAL.SVG .sbix.acnt.avar.bdat.bloc.bsln.cvar.fdsc.feat.fmtx.fvar.gvar.hsty.just.lcar.mort.morx.opbd.prop.trak.Zapf.Silf.Glat.Gloc.Feat.Sill`.split(`.`),rs=new r.Struct({flags:r.uint8,customTag:new r.Optional(new r.String(4),e=>(e.flags&63)==63),tag:e=>e.customTag||ns[e.flags&63],length:ts,transformVersion:e=>e.flags>>>6&3,transformed:e=>e.tag===`glyf`||e.tag===`loca`?e.transformVersion===0:e.transformVersion!==0,transformLength:new r.Optional(ts,e=>e.transformed)}),is=new r.Struct({tag:new r.String(4),flavor:r.uint32,length:r.uint32,numTables:r.uint16,reserved:new r.Reserved(r.uint16),totalSfntSize:r.uint32,totalCompressedSize:r.uint32,majorVersion:r.uint16,minorVersion:r.uint16,metaOffset:r.uint32,metaLength:r.uint32,metaOrigLength:r.uint32,privOffset:r.uint32,privLength:r.uint32,tables:new r.Array(rs,`numTables`)});is.process=function(){let e={};for(let t=0;t<this.tables.length;t++){let n=this.tables[t];e[n.tag]=n}return this.tables=e};var as=is;class os extends Yo{static probe(e){return ci.decode(e.slice(0,4))===`wOF2`}_decodeDirectory(){this.directory=as.decode(this.stream),this._dataPos=this.stream.pos}_decompress(){if(!this._decompressed){this.stream.pos=this._dataPos;let e=this.stream.readBuffer(this.directory.totalCompressedSize),t=0;for(let e in this.directory.tables){let n=this.directory.tables[e];n.offset=t,t+=n.transformLength==null?n.length:n.transformLength}let n=h(f)(e,t);if(!n)throw Error(`Error decoding compressed data in WOFF2`);this.stream=new r.DecodeStream(n),this._decompressed=!0}}_decodeTable(e){return this._decompress(),super._decodeTable(e)}_getBaseGlyph(e,t=[]){if(!this._glyphs[e])return this.directory.tables.glyf&&this.directory.tables.glyf.transformed?(this._transformedGlyphs||this._transformGlyfTable(),this._glyphs[e]=new es(e,t,this)):super._getBaseGlyph(e,t)}_transformGlyfTable(){this._decompress(),this.stream.pos=this.directory.tables.glyf.offset;let e=cs.decode(this.stream),t=[];for(let r=0;r<e.numGlyphs;r++){let r={},i=e.nContours.readInt16BE();if(r.numberOfContours=i,i>0){let t=[],n=0;for(let r=0;r<i;r++){let r=ls(e.nPoints);n+=r,t.push(n)}r.points=ds(e.flags,e.glyphs,n);for(let e=0;e<i;e++)r.points[t[e]-1].endContour=!0;ls(e.glyphs)}else if(i<0&&Po.prototype._decodeComposite.call({_font:this},r,e.composites))var n=ls(e.glyphs);t.push(r)}this._transformedGlyphs=t}constructor(...e){super(...e),(0,i._)(this,`type`,`WOFF2`)}}class ss{decode(e,t){return new r.DecodeStream(this._buf.decode(e,t))}constructor(e){this.length=e,this._buf=new r.Buffer(e)}}let cs=new r.Struct({version:r.uint32,numGlyphs:r.uint16,indexFormat:r.uint16,nContourStreamSize:r.uint32,nPointsStreamSize:r.uint32,flagStreamSize:r.uint32,glyphStreamSize:r.uint32,compositeStreamSize:r.uint32,bboxStreamSize:r.uint32,instructionStreamSize:r.uint32,nContours:new ss(`nContourStreamSize`),nPoints:new ss(`nPointsStreamSize`),flags:new ss(`flagStreamSize`),glyphs:new ss(`glyphStreamSize`),composites:new ss(`compositeStreamSize`),bboxes:new ss(`bboxStreamSize`),instructions:new ss(`instructionStreamSize`)});function ls(e){let t=e.readUInt8();return t===253?e.readUInt16BE():t===255?e.readUInt8()+253:t===254?e.readUInt8()+506:t}function us(e,t){return e&1?t:-t}function ds(e,t,n){let r,i=r=0,a=[];for(let c=0;c<n;c++){let n=0,c=0,l=e.readUInt8(),u=!(l>>7);if(l&=127,l<10)n=0,c=us(l,((l&14)<<7)+t.readUInt8());else if(l<20)n=us(l,((l-10&14)<<7)+t.readUInt8()),c=0;else if(l<84){var o=l-20,s=t.readUInt8();n=us(l,1+(o&48)+(s>>4)),c=us(l>>1,1+((o&12)<<2)+(s&15))}else if(l<120){var o=l-84;n=us(l,1+(o/12<<8)+t.readUInt8()),c=us(l>>1,1+(o%12>>2<<8)+t.readUInt8())}else if(l<124){var s=t.readUInt8();let e=t.readUInt8();n=us(l,(s<<4)+(e>>4)),c=us(l>>1,((e&15)<<8)+t.readUInt8())}else n=us(l,t.readUInt16BE()),c=us(l>>1,t.readUInt16BE());i+=n,r+=c,a.push(new Mo(u,!1,i,r))}return a}let fs=new r.VersionedStruct(r.uint32,{65536:{numFonts:r.uint32,offsets:new r.Array(r.uint32,`numFonts`)},131072:{numFonts:r.uint32,offsets:new r.Array(r.uint32,`numFonts`),dsigTag:r.uint32,dsigLength:r.uint32,dsigOffset:r.uint32}});class ps{static probe(e){return ci.decode(e.slice(0,4))===`ttcf`}getFont(e){for(let t of this.header.offsets){let n=new r.DecodeStream(this.stream.buffer);n.pos=t;let i=new Yo(n);if(i.postscriptName===e||i.postscriptName instanceof Uint8Array&&e instanceof Uint8Array&&i.postscriptName.every((t,n)=>e[n]===t))return i}return null}get fonts(){let e=[];for(let t of this.header.offsets){let n=new r.DecodeStream(this.stream.buffer);n.pos=t,e.push(new Yo(n))}return e}constructor(e){if((0,i._)(this,`type`,`TTC`),this.stream=e,e.readString(4)!==`ttcf`)throw Error(`Not a TrueType collection`);this.header=fs.decode(e)}}let ms=new r.String(r.uint8);new r.Struct({len:r.uint32,buf:new r.Buffer(`len`)});let hs=new r.Struct({id:r.uint16,nameOffset:r.int16,attr:r.uint8,dataOffset:r.uint24,handle:r.uint32}),gs=new r.Struct({name:new r.String(4),maxTypeIndex:r.uint16,refList:new r.Pointer(r.uint16,new r.Array(hs,e=>e.maxTypeIndex+1),{type:`parent`})}),_s=new r.Struct({length:r.uint16,types:new r.Array(gs,e=>e.length+1)}),vs=new r.Struct({reserved:new r.Reserved(r.uint8,24),typeList:new r.Pointer(r.uint16,_s),nameListOffset:new r.Pointer(r.uint16,`void`)}),ys=new r.Struct({dataOffset:r.uint32,map:new r.Pointer(r.uint32,vs),dataLength:r.uint32,mapLength:r.uint32});class bs{static probe(e){let t=new r.DecodeStream(e);try{var n=ys.decode(t)}catch{return!1}for(let e of n.map.typeList.types)if(e.name===`sfnt`)return!0;return!1}getFont(e){if(!this.sfnt)return null;for(let t of this.sfnt.refList){let n=this.header.dataOffset+t.dataOffset+4,i=new r.DecodeStream(this.stream.buffer.slice(n)),a=new Yo(i);if(a.postscriptName===e||a.postscriptName instanceof Uint8Array&&e instanceof Uint8Array&&a.postscriptName.every((t,n)=>e[n]===t))return a}return null}get fonts(){let e=[];for(let t of this.sfnt.refList){let n=this.header.dataOffset+t.dataOffset+4,i=new r.DecodeStream(this.stream.buffer.slice(n));e.push(new Yo(i))}return e}constructor(e){(0,i._)(this,`type`,`DFont`),this.stream=e,this.header=ys.decode(this.stream);for(let e of this.header.map.typeList.types){for(let t of e.refList)t.nameOffset>=0?(this.stream.pos=t.nameOffset+this.header.map.nameListOffset,t.name=ms.decode(this.stream)):t.name=null;e.name===`sfnt`&&(this.sfnt=e)}}}y(Yo),y($o),y(os),y(ps),y(bs),p(e.exports,g)},2532(e,t,n){var r=n(7571),i=n(3915);function a(e){return e&&e.__esModule?e.default:e}let o=[[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,4],[0,4,4,1,1,4,4,4,4,1,1,0,0,0,0,1,1,1,0,0,4,2,4,0,0,0,0,0,0,0,0,1,0],[0,4,4,1,1,4,4,4,4,1,1,1,1,1,0,1,1,1,0,0,4,2,4,0,0,0,0,0,0,0,0,1,0],[4,4,4,1,1,1,4,4,4,1,1,1,1,1,1,1,1,1,1,1,4,2,4,1,1,1,1,1,1,1,1,1,1],[1,4,4,1,1,1,4,4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vk3PW178JD9qChfzuvTf7Htl38L1QUf/VKu9SFjwWbTWPvFEvu7Uq76y7+31g6QlYPc669pbsm9Xur2LWI9Pu8ypfDXqm3A2z8s1FWGn4ntL9NfQu2oSlftX9uetvTtv7J8Ql4zxfXGZ3zk8PeQ9w59x2uMfqI8/q5eKh/l9cb2rwsu9rSNl06ZP2Pmxtz+rNMx93yno0n2/82rVH7rQ+y9P15H6FyRun9ViH81ATmffI7nJ5r8uXXW6enbP6b/B8/l5OifVHYLnb9S39s2zcc+Ph+rh8+eQgVPS72elzGWY/tUtbbabBpDiI7yN1q6/4th2y+ErAc5+9BVvu/7KamJbWNZeuqI/R4tRf+YyD1HmOZM1bMV3/14Sn10c0Xu+Sj1nOXb5jL73ncdy02uvlXZNde65dOHYl7Vs4KYuS6FzWLn2zJlpZqPXPVPOa5yzKOyn1VhT9lmMfdbfH7D11Wf2PXN5h9y+dD287+qxgSnaYmnIrRtIb8pJe6/Uv9OVer6Whn0zfGO/BEloZI9ojmfAlUflClDd178bTmVHVTpZXOkAlk/lb42UujmI89HH5V+cl7XtowY6vTxLVWok6UrGzoGTHN+bB+6ri05687VNpvfuvRfaP2uMlNQth1D5JjGelm/8yn+9p3p/7qk9gnfeddXZmq/Sm333PJT659Kv1zjNbZ9uv2Oi//67CV8/N1nj1DmviyXDNVeJkaeaX8UsyesYg8cu2+NvdaPfb+lLDu5tvt/`),c=new(a(r))(s),l=function(e){switch(e){case 33:return 12;case 39:case 40:case 42:return 12;case 35:return 5;default:return e}},u=function(e){switch(e){case 37:case 38:return 34;case 41:return 22;default:return e}};class d{constructor(e,t=!1){this.position=e,this.required=t}}class f{nextCodePoint(){let e=this.string.charCodeAt(this.pos++),t=this.string.charCodeAt(this.pos);return 55296<=e&&e<=56319&&56320<=t&&t<=57343?(this.pos++,(e-55296)*1024+(t-56320)+65536):e}nextCharClass(){return l(c.get(this.nextCodePoint()))}getSimpleBreak(){switch(this.nextClass){case 41:return!1;case 34:case 37:case 38:return this.curClass=34,!1;case 36:return this.curClass=36,!1}return null}getPairTableBreak(e){let t=!1;switch(o[this.curClass][this.nextClass]){case 0:t=!0;break;case 1:t=e===41;break;case 2:if(t=e===41,!t)return t=!1,t;break;case 3:if(e!==41)return t}return this.LB8a&&(t=!1),this.LB21a&&(this.curClass===16||this.curClass===17)?(t=!1,this.LB21a=!1):this.LB21a=this.curClass===13,this.curClass===28?(this.LB30a++,this.LB30a==2&&this.nextClass===28&&(t=!0,this.LB30a=0)):this.LB30a=0,this.curClass=this.nextClass,t}nextBreak(){if(this.curClass==null){let e=this.nextCharClass();this.curClass=u(e),this.nextClass=e,this.LB8a=e===31,this.LB30a=0}for(;this.pos<this.string.length;){this.lastPos=this.pos;let e=this.nextClass;if(this.nextClass=this.nextCharClass(),this.curClass===34||this.curClass===36&&this.nextClass!==37)return this.curClass=u(l(this.nextClass)),new d(this.lastPos,!0);let t=this.getSimpleBreak();if(t===null&&(t=this.getPairTableBreak(e)),this.LB8a=this.nextClass===31,t)return new d(this.lastPos)}return this.lastPos<this.string.length?(this.lastPos=this.string.length,new d(this.string.length)):null}constructor(e){this.string=e,this.pos=0,this.lastPos=0,this.curClass=null,this.nextClass=null,this.LB8a=!1,this.LB21a=!1,this.LB30a=0}}e.exports=f},381(e,t,n){var r=n(783).Buffer,i=n(6729);function a(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var o=a(i);class s{static decode(e,t){throw Error(`PNG.decode not available in browser build`)}static load(e){throw Error(`PNG.load not available in browser build`)}constructor(e){let t;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.text={};;){let e=this.readUInt32(),c=``;for(t=0;t<4;t++)c+=String.fromCharCode(this.data[this.pos++]);switch(c){case`IHDR`:this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case`PLTE`:this.palette=this.read(e);break;case`IDAT`:for(t=0;t<e;t++)this.imgData.push(this.data[this.pos++]);break;case`tRNS`:switch(this.transparency={},this.colorType){case 3:this.transparency.indexed=this.read(e);var n=255-this.transparency.indexed.length;if(n>0)for(t=0;t<n;t++)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case`tEXt`:var i=this.read(e),a=i.indexOf(0),o=String.fromCharCode.apply(String,i.slice(0,a));this.text[o]=String.fromCharCode.apply(String,i.slice(a+1));break;case`IEND`:switch(this.colorType){case 0:case 3:case 4:this.colors=1;break;case 2:case 6:this.colors=3}this.hasAlphaChannel=[4,6].includes(this.colorType);var s=this.colors+ +!!this.hasAlphaChannel;switch(this.pixelBitlength=this.bits*s,this.colors){case 1:this.colorSpace=`DeviceGray`;break;case 3:this.colorSpace=`DeviceRGB`}this.imgData=r.from(this.imgData);return;default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw Error(`Incomplete or corrupt PNG file`)}}read(e){let t=Array(e);for(let n=0;n<e;n++)t[n]=this.data[this.pos++];return t}readUInt32(){let e=this.data[this.pos++]<<24,t=this.data[this.pos++]<<16,n=this.data[this.pos++]<<8,r=this.data[this.pos++];return e|t|n|r}readUInt16(){return this.data[this.pos++]<<8|this.data[this.pos++]}decodePixels(e){return o.default.inflate(this.imgData,(t,n)=>{if(t)throw t;let{width:i,height:a}=this,o=this.pixelBitlength/8,s=r.alloc(i*a*o),{length:c}=n,l=0;function u(e,t,u,d,f=!1){let p=Math.ceil((i-e)/u),m=Math.ceil((a-t)/d),h=o*p,g=f?s:r.alloc(h*m),_=0,v=0;for(;_<m&&l<c;){var y,b,x,S,C;switch(n[l++]){case 0:for(x=0;x<h;x++)g[v++]=n[l++];break;case 1:for(x=0;x<h;x++)y=n[l++],S=x<o?0:g[v-o],g[v++]=(y+S)%256;break;case 2:for(x=0;x<h;x++)y=n[l++],b=(x-x%o)/o,C=_&&g[(_-1)*h+b*o+x%o],g[v++]=(C+y)%256;break;case 3:for(x=0;x<h;x++)y=n[l++],b=(x-x%o)/o,S=x<o?0:g[v-o],C=_&&g[(_-1)*h+b*o+x%o],g[v++]=(y+Math.floor((S+C)/2))%256;break;case 4:for(x=0;x<h;x++){var w,T;y=n[l++],b=(x-x%o)/o,S=x<o?0:g[v-o],_===0?C=T=0:(C=g[(_-1)*h+b*o+x%o],T=b&&g[(_-1)*h+(b-1)*o+x%o]);let e=S+C-T,t=Math.abs(e-S),r=Math.abs(e-C),i=Math.abs(e-T);w=t<=r&&t<=i?S:r<=i?C:T,g[v++]=(y+w)%256}break;default:throw Error(`Invalid filter algorithm: ${n[l-1]}`)}if(!f){let n=((t+_*d)*i+e)*o,r=_*h;for(x=0;x<p;x++){for(let e=0;e<o;e++)s[n++]=g[r++];n+=(u-1)*o}}_++}}return this.interlaceMethod===1?(u(0,0,8,8),u(4,0,8,8),u(0,4,4,8),u(2,0,4,4),u(0,2,2,4),u(1,0,2,2),u(0,1,1,2)):u(0,0,1,1,!0),e(s)})}decodePalette(){let{palette:e}=this,{length:t}=e,n=this.transparency.indexed||[],i=r.alloc(n.length+t),a=0,o=0;for(let r=0;r<t;r+=3)i[a++]=e[r],i[a++]=e[r+1],i[a++]=e[r+2],i[a++]=n[o++]??255;return i}copyToImageData(e,t){let n,r,{colors:i}=this,a=null,o=this.hasAlphaChannel;this.palette.length&&(a=this._decodedPalette||=this.decodePalette(),i=4,o=!0);let s=e.data||e,{length:c}=s,l=a||t,u=n=0;if(i===1)for(;u<c;){r=a?t[u/4]*4:n;let e=l[r++];s[u++]=e,s[u++]=e,s[u++]=e,s[u++]=o?l[r++]:255,n=r}else for(;u<c;)r=a?t[u/4]*4:n,s[u++]=l[r++],s[u++]=l[r++],s[u++]=l[r++],s[u++]=o?l[r++]:255,n=r}decode(e){let t=r.alloc(this.width*this.height*4);return this.decodePixels(n=>(this.copyToImageData(t,n),e(t)))}}e.exports=s},5233(e){function t(e,t){return Object.keys(t).forEach(function(n){n==="default"||n==="__esModule"||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})}),e}function n(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}n(e.exports,`EncodeStream`,()=>s),n(e.exports,`DecodeStream`,()=>i),n(e.exports,`Array`,()=>se),n(e.exports,`LazyArray`,()=>ce),n(e.exports,`Bitfield`,()=>le),n(e.exports,`Boolean`,()=>ue),n(e.exports,`Buffer`,()=>U),n(e.exports,`Enum`,()=>W),n(e.exports,`Optional`,()=>G),n(e.exports,`Reserved`,()=>de),n(e.exports,`String`,()=>fe),n(e.exports,`Struct`,()=>J),n(e.exports,`VersionedStruct`,()=>pe);let r={utf16le:`utf-16le`,ucs2:`utf-16le`,utf16be:`utf-16be`};class i{constructor(e){this.buffer=e,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.pos=0,this.length=this.buffer.length}readString(e,t=`ascii`){t=r[t]||t;let n=this.readBuffer(e);try{return new TextDecoder(t).decode(n)}catch{return n}}readBuffer(e){return this.buffer.slice(this.pos,this.pos+=e)}readUInt24BE(){return(this.readUInt16BE()<<8)+this.readUInt8()}readUInt24LE(){return this.readUInt16LE()+(this.readUInt8()<<16)}readInt24BE(){return(this.readInt16BE()<<8)+this.readUInt8()}readInt24LE(){return this.readUInt16LE()+(this.readInt8()<<16)}}i.TYPES={UInt8:1,UInt16:2,UInt24:3,UInt32:4,Int8:1,Int16:2,Int24:3,Int32:4,Float:4,Double:8};for(let e of Object.getOwnPropertyNames(DataView.prototype))if(e.slice(0,3)===`get`){let t=e.slice(3).replace(`Ui`,`UI`);t===`Float32`?t=`Float`:t===`Float64`&&(t=`Double`);let n=i.TYPES[t];i.prototype[`read`+t+(n===1?``:`BE`)]=function(){let t=this.view[e](this.pos,!1);return this.pos+=n,t},n!==1&&(i.prototype[`read`+t+`LE`]=function(){let t=this.view[e](this.pos,!0);return this.pos+=n,t})}let a=new TextEncoder,o=new Uint8Array(new Uint16Array([4660]).buffer)[0]==18;class s{constructor(e){this.buffer=e,this.view=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),this.pos=0}writeBuffer(e){this.buffer.set(e,this.pos),this.pos+=e.length}writeString(e,t=`ascii`){let n;switch(t){case`utf16le`:case`utf16-le`:case`ucs2`:n=c(e,o);break;case`utf16be`:case`utf16-be`:n=c(e,!o);break;case`utf8`:n=a.encode(e);break;case`ascii`:n=l(e);break;default:throw Error(`Unsupported encoding: ${t}`)}this.writeBuffer(n)}writeUInt24BE(e){this.buffer[this.pos++]=e>>>16&255,this.buffer[this.pos++]=e>>>8&255,this.buffer[this.pos++]=e&255}writeUInt24LE(e){this.buffer[this.pos++]=e&255,this.buffer[this.pos++]=e>>>8&255,this.buffer[this.pos++]=e>>>16&255}writeInt24BE(e){e>=0?this.writeUInt24BE(e):this.writeUInt24BE(e+16777215+1)}writeInt24LE(e){e>=0?this.writeUInt24LE(e):this.writeUInt24LE(e+16777215+1)}fill(e,t){if(t<this.buffer.length)this.buffer.fill(e,this.pos,this.pos+t),this.pos+=t;else{let n=new Uint8Array(t);n.fill(e),this.writeBuffer(n)}}}function c(e,t){let n=new Uint16Array(e.length);for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);t&&(i=i>>8|(i&255)<<8),n[r]=i}return new Uint8Array(n.buffer)}function l(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}for(let e of Object.getOwnPropertyNames(DataView.prototype))if(e.slice(0,3)===`set`){let t=e.slice(3).replace(`Ui`,`UI`);t===`Float32`?t=`Float`:t===`Float64`&&(t=`Double`);let n=i.TYPES[t];s.prototype[`write`+t+(n===1?``:`BE`)]=function(t){this.view[e](this.pos,t,!1),this.pos+=n},n!==1&&(s.prototype[`write`+t+`LE`]=function(t){this.view[e](this.pos,t,!0),this.pos+=n})}class u{fromBuffer(e){let t=new i(e);return this.decode(t)}toBuffer(e){let t=this.size(e),n=new Uint8Array(t),r=new s(n);return this.encode(r,e),n}}var d={};n(d,`Number`,()=>f),n(d,`uint8`,()=>p),n(d,`uint16be`,()=>m),n(d,`uint16`,()=>h),n(d,`uint16le`,()=>g),n(d,`uint24be`,()=>_),n(d,`uint24`,()=>v),n(d,`uint24le`,()=>y),n(d,`uint32be`,()=>b),n(d,`uint32`,()=>x),n(d,`uint32le`,()=>S),n(d,`int8`,()=>C),n(d,`int16be`,()=>w),n(d,`int16`,()=>T),n(d,`int16le`,()=>E),n(d,`int24be`,()=>D),n(d,`int24`,()=>O),n(d,`int24le`,()=>k),n(d,`int32be`,()=>A),n(d,`int32`,()=>j),n(d,`int32le`,()=>M),n(d,`floatbe`,()=>N),n(d,`float`,()=>P),n(d,`floatle`,()=>F),n(d,`doublebe`,()=>I),n(d,`double`,()=>L),n(d,`doublele`,()=>R),n(d,`Fixed`,()=>z),n(d,`fixed16be`,()=>B),n(d,`fixed16`,()=>ee),n(d,`fixed16le`,()=>te),n(d,`fixed32be`,()=>ne),n(d,`fixed32`,()=>V),n(d,`fixed32le`,()=>re);class f extends u{constructor(e,t=`BE`){super(),this.type=e,this.endian=t,this.fn=this.type,this.type[this.type.length-1]!==`8`&&(this.fn+=this.endian)}size(){return i.TYPES[this.type]}decode(e){return e[`read${this.fn}`]()}encode(e,t){return e[`write${this.fn}`](t)}}let p=new f(`UInt8`),m=new f(`UInt16`,`BE`),h=m,g=new f(`UInt16`,`LE`),_=new f(`UInt24`,`BE`),v=_,y=new f(`UInt24`,`LE`),b=new f(`UInt32`,`BE`),x=b,S=new f(`UInt32`,`LE`),C=new f(`Int8`),w=new f(`Int16`,`BE`),T=w,E=new f(`Int16`,`LE`),D=new f(`Int24`,`BE`),O=D,k=new f(`Int24`,`LE`),A=new f(`Int32`,`BE`),j=A,M=new f(`Int32`,`LE`),N=new f(`Float`,`BE`),P=N,F=new f(`Float`,`LE`),I=new f(`Double`,`BE`),L=I,R=new f(`Double`,`LE`);class z extends f{constructor(e,t,n=e>>1){super(`Int${e}`,t),this._point=1<<n}decode(e){return super.decode(e)/this._point}encode(e,t){return super.encode(e,t*this._point|0)}}let B=new z(16,`BE`),ee=B,te=new z(16,`LE`),ne=new z(32,`BE`),V=ne,re=new z(32,`LE`);var ie={};n(ie,`resolveLength`,()=>ae),n(ie,`PropertyDescriptor`,()=>oe);function ae(e,t,n){let r;if(typeof e==`number`?r=e:typeof e==`function`?r=e.call(n,n):n&&typeof e==`string`?r=n[e]:t&&e instanceof f&&(r=e.decode(t)),isNaN(r))throw Error(`Not a fixed size`);return r}class oe{constructor(e={}){this.enumerable=!0,this.configurable=!0;for(let t in e){let n=e[t];this[t]=n}}}class se extends u{constructor(e,t,n=`count`){super(),this.type=e,this.length=t,this.lengthType=n}decode(e,t){let n,{pos:r}=e,i=[],a=t;if(this.length!=null&&(n=ae(this.length,e,t)),this.length instanceof f&&(Object.defineProperties(i,{parent:{value:t},_startOffset:{value:r},_currentOffset:{value:0,writable:!0},_length:{value:n}}),a=i),n==null||this.lengthType===`bytes`){let r=n==null?t?._length?t._startOffset+t._length:e.length:e.pos+n;for(;e.pos<r;)i.push(this.type.decode(e,a))}else for(let t=0,r=n;t<r;t++)i.push(this.type.decode(e,a));return i}size(e,t,n=!0){if(!e)return this.type.size(null,t)*ae(this.length,null,t);let r=0;this.length instanceof f&&(r+=this.length.size(),t={parent:t,pointerSize:0});for(let n of e)r+=this.type.size(n,t);return t&&n&&this.length instanceof f&&(r+=t.pointerSize),r}encode(e,t,n){let r=n;this.length instanceof f&&(r={pointers:[],startOffset:e.pos,parent:n},r.pointerOffset=e.pos+this.size(t,r,!1),this.length.encode(e,t.length));for(let n of t)this.type.encode(e,n,r);if(this.length instanceof f){let t=0;for(;t<r.pointers.length;){let n=r.pointers[t++];n.type.encode(e,n.val,n.parent)}}}}class ce extends se{decode(e,t){let{pos:n}=e,r=ae(this.length,e,t);this.length instanceof f&&(t={parent:t,_startOffset:n,_currentOffset:0,_length:r});let i=new H(this.type,r,e,t);return e.pos+=r*this.type.size(null,t),i}size(e,t){return e instanceof H&&(e=e.toArray()),super.size(e,t)}encode(e,t,n){return t instanceof H&&(t=t.toArray()),super.encode(e,t,n)}}class H{constructor(e,t,n,r){this.type=e,this.length=t,this.stream=n,this.ctx=r,this.base=this.stream.pos,this.items=[]}get(e){if(!(e<0||e>=this.length)){if(this.items[e]==null){let{pos:t}=this.stream;this.stream.pos=this.base+this.type.size(null,this.ctx)*e,this.items[e]=this.type.decode(this.stream,this.ctx),this.stream.pos=t}return this.items[e]}}toArray(){let e=[];for(let t=0,n=this.length;t<n;t++)e.push(this.get(t));return e}}class le extends u{constructor(e,t=[]){super(),this.type=e,this.flags=t}decode(e){let t=this.type.decode(e),n={};for(let e=0;e<this.flags.length;e++){let r=this.flags[e];r!=null&&(n[r]=!!(t&1<<e))}return n}size(){return this.type.size()}encode(e,t){let n=0;for(let e=0;e<this.flags.length;e++){let r=this.flags[e];r!=null&&t[r]&&(n|=1<<e)}return this.type.encode(e,n)}}class ue extends u{constructor(e){super(),this.type=e}decode(e,t){return!!this.type.decode(e,t)}size(e,t){return this.type.size(e,t)}encode(e,t,n){return this.type.encode(e,+t,n)}}class U extends u{constructor(e){super(),this.length=e}decode(e,t){let n=ae(this.length,e,t);return e.readBuffer(n)}size(e,t){if(!e)return ae(this.length,null,t);let n=e.length;return this.length instanceof f&&(n+=this.length.size()),n}encode(e,t,n){return this.length instanceof f&&this.length.encode(e,t.length),e.writeBuffer(t)}}class W extends u{constructor(e,t=[]){super(),this.type=e,this.options=t}decode(e){let t=this.type.decode(e);return this.options[t]||t}size(){return this.type.size()}encode(e,t){let n=this.options.indexOf(t);if(n===-1)throw Error(`Unknown option in enum: ${t}`);return this.type.encode(e,n)}}class G extends u{constructor(e,t=!0){super(),this.type=e,this.condition=t}decode(e,t){let{condition:n}=this;if(typeof n==`function`&&(n=n.call(t,t)),n)return this.type.decode(e,t)}size(e,t){let{condition:n}=this;return typeof n==`function`&&(n=n.call(t,t)),n?this.type.size(e,t):0}encode(e,t,n){let{condition:r}=this;if(typeof r==`function`&&(r=r.call(n,n)),r)return this.type.encode(e,t,n)}}class de extends u{constructor(e,t=1){super(),this.type=e,this.count=t}decode(e,t){e.pos+=this.size(null,t)}size(e,t){let n=ae(this.count,null,t);return this.type.size()*n}encode(e,t,n){return e.fill(0,this.size(t,n))}}class fe extends u{constructor(e,t=`ascii`){super(),this.length=e,this.encoding=t}decode(e,t){let n,r,{encoding:i}=this;typeof i==`function`&&(i=i.call(t,t)||`ascii`);let a=K(i);if(this.length!=null)n=ae(this.length,e,t);else{let t;for({buffer:t,length:n,pos:r}=e;r<n-a+1&&(t[r]!==0||a===2&&t[r+1]!==0);)r+=a;n=r-e.pos}let o=e.readString(n,i);return this.length==null&&e.pos<e.length&&(e.pos+=a),o}size(e,t){if(e==null)return ae(this.length,null,t);let{encoding:n}=this;typeof n==`function`&&(n=n.call(t?.val,t?.val)||`ascii`),n===`utf16be`&&(n=`utf16le`);let r=q(e,n);return this.length instanceof f&&(r+=this.length.size()),this.length??(r+=K(n)),r}encode(e,t,n){let{encoding:r}=this;if(typeof r==`function`&&(r=r.call(n?.val,n?.val)||`ascii`),this.length instanceof f&&this.length.encode(e,q(t,r)),e.writeString(t,r),this.length==null)return K(r)==2?e.writeUInt16LE(0):e.writeUInt8(0)}}function K(e){switch(e){case`ascii`:case`utf8`:return 1;case`utf16le`:case`utf16-le`:case`utf-16be`:case`utf-16le`:case`utf16be`:case`utf16-be`:case`ucs2`:return 2;default:return 1}}function q(e,t){switch(t){case`ascii`:return e.length;case`utf8`:let n=0;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r>=55296&&r<=56319&&t<e.length-1){let n=e.charCodeAt(++t);(n&64512)==56320?r=((r&1023)<<10)+(n&1023)+65536:t--}r&4294967168?r&4294965248?r&4294901760?r&4292870144||(n+=4):n+=3:n+=2:n++}return n;case`utf16le`:case`utf16-le`:case`utf16be`:case`utf16-be`:case`ucs2`:return e.length*2;default:throw Error(`Unknown encoding `+t)}}class J extends u{constructor(e={}){super(),this.fields=e}decode(e,t,n=0){let r=this._setup(e,t,n);return this._parseFields(e,r,this.fields),this.process!=null&&this.process.call(r,e),r}_setup(e,t,n){let r={};return Object.defineProperties(r,{parent:{value:t},_startOffset:{value:e.pos},_currentOffset:{value:0,writable:!0},_length:{value:n}}),r}_parseFields(e,t,n){for(let i in n){var r;let a=n[i];r=typeof a==`function`?a.call(t,t):a.decode(e,t),r!==void 0&&(r instanceof oe?Object.defineProperty(t,i,r):t[i]=r),t._currentOffset=e.pos-t._startOffset}}size(e,t,n=!0){e??={};let r={parent:t,val:e,pointerSize:0};this.preEncode!=null&&this.preEncode.call(e);let i=0;for(let t in this.fields){let n=this.fields[t];n.size!=null&&(i+=n.size(e[t],r))}return n&&(i+=r.pointerSize),i}encode(e,t,n){let r;this.preEncode!=null&&this.preEncode.call(t,e);let i={pointers:[],startOffset:e.pos,parent:n,val:t,pointerSize:0};i.pointerOffset=e.pos+this.size(t,i,!1);for(let n in this.fields)r=this.fields[n],r.encode!=null&&r.encode(e,t[n],i);let a=0;for(;a<i.pointers.length;){let t=i.pointers[a++];t.type.encode(e,t.val,t.parent)}}}let Y=(e,t)=>t.reduce((e,t)=>e&&e[t],e);class pe extends J{constructor(e,t={}){super(),this.type=e,this.versions=t,typeof e==`string`&&(this.versionPath=e.split(`.`))}decode(e,t,n=0){let r=this._setup(e,t,n);r.version=typeof this.type==`string`?Y(t,this.versionPath):this.type.decode(e),this.versions.header&&this._parseFields(e,r,this.versions.header);let i=this.versions[r.version];if(i==null)throw Error(`Unknown version ${r.version}`);return i instanceof pe?i.decode(e,t):(this._parseFields(e,r,i),this.process!=null&&this.process.call(r,e),r)}size(e,t,n=!0){let r,i;if(!e)throw Error(`Not a fixed size`);this.preEncode!=null&&this.preEncode.call(e);let a={parent:t,val:e,pointerSize:0},o=0;if(typeof this.type!=`string`&&(o+=this.type.size(e.version,a)),this.versions.header)for(r in this.versions.header)i=this.versions.header[r],i.size!=null&&(o+=i.size(e[r],a));let s=this.versions[e.version];if(s==null)throw Error(`Unknown version ${e.version}`);for(r in s)i=s[r],i.size!=null&&(o+=i.size(e[r],a));return n&&(o+=a.pointerSize),o}encode(e,t,n){let r,i;this.preEncode!=null&&this.preEncode.call(t,e);let a={pointers:[],startOffset:e.pos,parent:n,val:t,pointerSize:0};if(a.pointerOffset=e.pos+this.size(t,a,!1),typeof this.type!=`string`&&this.type.encode(e,t.version),this.versions.header)for(r in this.versions.header)i=this.versions.header[r],i.encode!=null&&i.encode(e,t[r],a);let o=this.versions[t.version];for(r in o)i=o[r],i.encode!=null&&i.encode(e,t[r],a);let s=0;for(;s<a.pointers.length;){let t=a.pointers[s++];t.type.encode(e,t.val,t.parent)}}}var me={};n(me,`Pointer`,()=>X),n(me,`VoidPointer`,()=>he);class X extends u{constructor(e,t,n={}){if(super(),this.offsetType=e,this.type=t,this.options=n,this.type===`void`&&(this.type=null),this.options.type??(this.options.type=`local`),this.options.allowNull??(this.options.allowNull=!0),this.options.nullValue??(this.options.nullValue=0),this.options.lazy??(this.options.lazy=!1),this.options.relativeTo){if(typeof this.options.relativeTo!=`function`)throw Error(`relativeTo option must be a function`);this.relativeToGetter=n.relativeTo}}decode(e,t){let n=this.offsetType.decode(e,t);if(n===this.options.nullValue&&this.options.allowNull)return null;let r;switch(this.options.type){case`local`:r=t._startOffset;break;case`immediate`:r=e.pos-this.offsetType.size();break;case`parent`:r=t.parent._startOffset;break;default:for(var i=t;i.parent;)i=i.parent;r=i._startOffset||0}this.options.relativeTo&&(r+=this.relativeToGetter(t));let a=n+r;if(this.type!=null){let n=null,r=()=>{if(n!=null)return n;let{pos:r}=e;return e.pos=a,n=this.type.decode(e,t),e.pos=r,n};return this.options.lazy?new oe({get:r}):r()}return a}size(e,t){let n=t;switch(this.options.type){case`local`:case`immediate`:break;case`parent`:t=t.parent;break;default:for(;t.parent;)t=t.parent}let{type:r}=this;if(r==null){if(!(e instanceof he))throw Error(`Must be a VoidPointer`);({type:r}=e),e=e.value}if(e&&t){let i=r.size(e,n);t.pointerSize+=i}return this.offsetType.size()}encode(e,t,n){let r,i=n;if(t==null){this.offsetType.encode(e,this.options.nullValue);return}switch(this.options.type){case`local`:r=n.startOffset;break;case`immediate`:r=e.pos+this.offsetType.size(t,i);break;case`parent`:n=n.parent,r=n.startOffset;break;default:for(r=0;n.parent;)n=n.parent}this.options.relativeTo&&(r+=this.relativeToGetter(i.val)),this.offsetType.encode(e,n.pointerOffset-r);let{type:a}=this;if(a==null){if(!(t instanceof he))throw Error(`Must be a VoidPointer`);({type:a}=t),t=t.value}return n.pointers.push({type:a,val:t,parent:i}),n.pointerOffset+=a.size(t,i)}}class he{constructor(e,t){this.type=e,this.value=t}}t(e.exports,ie),t(e.exports,d),t(e.exports,me)},4766(e,t,n){var r=n(2504),i=n(7571);function a(e){return e&&e.__esModule?e.default:e}function o(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function s(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}o(e.exports),s(e.exports,`getCategory`,()=>C),s(e.exports,`getCombiningClass`,()=>w),s(e.exports,`getScript`,()=>T),s(e.exports,`getEastAsianWidth`,()=>E),s(e.exports,`getNumericValue`,()=>D),s(e.exports,`isAlphabetic`,()=>O),s(e.exports,`isDigit`,()=>k),s(e.exports,`isPunctuation`,()=>A),s(e.exports,`isLowerCase`,()=>j),s(e.exports,`isUpperCase`,()=>M),s(e.exports,`isTitleCase`,()=>N),s(e.exports,`isWhiteSpace`,()=>P),s(e.exports,`isBaseForm`,()=>F),s(e.exports,`isMark`,()=>I),s(e.exports,`default`,()=>L);var c={};c=JSON.parse(`{"categories":["Cc","Zs","Po","Sc","Ps","Pe","Sm","Pd","Nd","Lu","Sk","Pc","Ll","So","Lo","Pi","Cf","No","Pf","Lt","Lm","Mn","Me","Mc","Nl","Zl","Zp","Cs","Co"],"combiningClasses":["Not_Reordered","Above","Above_Right","Below","Attached_Above_Right","Attached_Below","Overlay","Iota_Subscript","Double_Below","Double_Above","Below_Right","Above_Left","CCC10","CCC11","CCC12","CCC13","CCC14","CCC15","CCC16","CCC17","CCC18","CCC19","CCC20","CCC21","CCC22","CCC23","CCC24","CCC25","CCC30","CCC31","CCC32","CCC27","CCC28","CCC29","CCC33","CCC34","CCC35","CCC36","Nukta","Virama","CCC84","CCC91","CCC103","CCC107","CCC118","CCC122","CCC129","CCC130","CCC132","Attached_Above","Below_Left","Left","Kana_Voicing","CCC26","Right"],"scripts":["Common","Latin","Bopomofo","Inherited","Greek","Coptic","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Nko","Samaritan","Mandaic","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul","Ethiopic","Cherokee","Canadian_Aboriginal","Ogham","Runic","Tagalog","Hanunoo","Buhid","Tagbanwa","Khmer","Mongolian","Limbu","Tai_Le","New_Tai_Lue","Buginese","Tai_Tham","Balinese","Sundanese","Batak","Lepcha","Ol_Chiki","Braille","Glagolitic","Tifinagh","Han","Hiragana","Katakana","Yi","Lisu","Vai","Bamum","Syloti_Nagri","Phags_Pa","Saurashtra","Kayah_Li","Rejang","Javanese","Cham","Tai_Viet","Meetei_Mayek","null","Linear_B","Lycian","Carian","Old_Italic","Gothic","Old_Permic","Ugaritic","Old_Persian","Deseret","Shavian","Osmanya","Osage","Elbasan","Caucasian_Albanian","Linear_A","Cypriot","Imperial_Aramaic","Palmyrene","Nabataean","Hatran","Phoenician","Lydian","Meroitic_Hieroglyphs","Meroitic_Cursive","Kharoshthi","Old_South_Arabian","Old_North_Arabian","Manichaean","Avestan","Inscriptional_Parthian","Inscriptional_Pahlavi","Psalter_Pahlavi","Old_Turkic","Old_Hungarian","Hanifi_Rohingya","Old_Sogdian","Sogdian","Elymaic","Brahmi","Kaithi","Sora_Sompeng","Chakma","Mahajani","Sharada","Khojki","Multani","Khudawadi","Grantha","Newa","Tirhuta","Siddham","Modi","Takri","Ahom","Dogra","Warang_Citi","Nandinagari","Zanabazar_Square","Soyombo","Pau_Cin_Hau","Bhaiksuki","Marchen","Masaram_Gondi","Gunjala_Gondi","Makasar","Cuneiform","Egyptian_Hieroglyphs","Anatolian_Hieroglyphs","Mro","Bassa_Vah","Pahawh_Hmong","Medefaidrin","Miao","Tangut","Nushu","Duployan","SignWriting","Nyiakeng_Puachue_Hmong","Wancho","Mende_Kikakui","Adlam"],"eaw":["N","Na","A","W","H","F"]}`);let l=new(a(i))(a(r).toByteArray(`AAARAAAAAADwfAEAZXl5ONRt+/5bPVFZimRfKoTQJNm37CGE7Iw0j3UsTWKsoyI7kwyyTiEUzSD7NiEzhWYijH0wMVkHE4Mx49fzfo+3nuP4/fdZjvv+XNd5n/d9nef1WZvmKhTxiZndzDQBSEYQqxqKwnsKvGQucFh+6t6cJ792ePQBZv5S9yXSwkyjf/P4T7mTNnIAv1dOVhMlR9lflbUL9JeJguqsjvG9NTj/wLb566VAURnLo2vvRi89S3gW/33ihh2eXpDn40BIW7REl/7coRKIhAFlAiOtbLDTt6mMb4GzMF1gNnvX/sBxtbsAIjfztCNcQjcNDtLThRvuXu5M5g/CBjaLBE4lJm4qy/oZD97+IJryApcXfgWYlkvWbhfXgujOJKVu8B+ozqTLbxyJ5kNiR75CxDqfBM9eOlDMmGeoZ0iQbbS5VUplIwI+ZNXEKQVJxlwqjhOY7w3XwPesbLK5JZE+Tt4X8q8km0dzInsPPzbscrjBMVjF5mOHSeRdJVgKUjLTHiHqXSPkep8N/zFk8167KLp75f6RndkvzdfB6Uz3MmqvRArzdCbs1/iRZjYPLLF3U8Qs+H+Rb8iK51a6NIV2V9+07uJsTGFWpPz8J++7iRu2B6eAKlK/kujrLthwaD/7a6J5w90TusnH1JMAc+gNrql4aspOUG/RrsxUKmPzhHgP4Bleru+6Vfc/MBjgXVx7who94nPn7MPFrnwQP7g0k0Dq0h2GSKO6fTZ8nLodN1SiOUj/5EL/Xo1DBvRm0wmrh3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UtkqyN3CfP20xQ1faXQl4MEmjQehWR6GmGnkdpYNQYeIG408yAX7uCZmYUic9juOfb+Re28+OVOB+scYK4DaPcBe+5wmji9gymtkMpKo4UKqCz7yxzuN8VIlx9yNozpRJpNaWHtaZVEqP45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B`)),u=Math.log2||(e=>Math.log(e)/Math.LN2),d=e=>u(e)+1|0,f=d(a(c).categories.length-1),p=d(a(c).combiningClasses.length-1),m=d(a(c).scripts.length-1),h=d(a(c).eaw.length-1),g=p+m+h+10,_=m+h+10,v=h+10,y=(1<<f)-1,b=(1<<p)-1,x=(1<<m)-1,S=(1<<h)-1;function C(e){let t=l.get(e);return a(c).categories[t>>g&y]}function w(e){let t=l.get(e);return a(c).combiningClasses[t>>_&b]}function T(e){let t=l.get(e);return a(c).scripts[t>>v&x]}function E(e){let t=l.get(e);return a(c).eaw[t>>10&S]}function D(e){let t=l.get(e),n=t&1023;if(n===0)return null;if(n<=50)return n-1;if(n<480)return((n>>4)-12)/((n&15)+1);if(n<768){t=(n>>5)-14;let e=(n&31)+2;for(;e>0;)t*=10,e--;return t}{t=(n>>2)-191;let e=(n&3)+1;for(;e>0;)t*=60,e--;return t}}function O(e){let t=C(e);return t===`Lu`||t===`Ll`||t===`Lt`||t===`Lm`||t===`Lo`||t===`Nl`}function k(e){return C(e)===`Nd`}function A(e){let t=C(e);return t===`Pc`||t===`Pd`||t===`Pe`||t===`Pf`||t===`Pi`||t===`Po`||t===`Ps`}function j(e){return C(e)===`Ll`}function M(e){return C(e)===`Lu`}function N(e){return C(e)===`Lt`}function P(e){let t=C(e);return t===`Zs`||t===`Zl`||t===`Zp`}function F(e){let t=C(e);return t===`Nd`||t===`No`||t===`Nl`||t===`Lu`||t===`Ll`||t===`Lt`||t===`Lm`||t===`Lo`||t===`Me`||t===`Mc`}function I(e){let t=C(e);return t===`Mn`||t===`Me`||t===`Mc`}var L={getCategory:C,getCombiningClass:w,getScript:T,getEastAsianWidth:E,getNumericValue:D,isAlphabetic:O,isDigit:k,isPunctuation:A,isLowerCase:j,isUpperCase:M,isTitleCase:N,isWhiteSpace:P,isBaseForm:F,isMark:I}},7507(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.XmlDocument=t.XmlElement=t.XmlCommentNode=t.XmlCDataNode=t.XmlTextNode=void 0;let i=r(n(1733));class a{constructor(e){this.text=e,this.type=`text`}toString(e){return p(f(this.text),e)}toStringWithIndent(e,t){return e+this.toString(t)}}t.XmlTextNode=a;class o{constructor(e){this.cdata=e,this.type=`cdata`}toString(e){return`<![CDATA[${p(this.cdata,e)}]]>`}toStringWithIndent(e,t){return e+this.toString(t)}}t.XmlCDataNode=o;class s{constructor(e){this.comment=e,this.type=`comment`}toString(e){return`<!--${p(f(this.comment),e)}-->`}toStringWithIndent(e,t){return e+this.toString(t)}}t.XmlCommentNode=s;class c{constructor(e,t){if(this.type=`element`,!t&&u.length){var n=u[u.length-1];`parser`in n&&(t=n.parser)}this.name=e.name,this.attr=e.attributes,this.val=``,this.children=[],this.firstChild=null,this.lastChild=null,this.line=t?t.line:null,this.column=t?t.column:null,this.position=t?t.position:null,this.startTagPosition=t?t.startTagPosition:null}_addChild(e){this.children.push(e),this.firstChild||=e,this.lastChild=e}_opentag(e){let t=new c(e);this._addChild(t),u.unshift(t)}_closetag(){u.shift()}_text(e){this.val+=e,this._addChild(new a(e))}_cdata(e){this.val+=e,this._addChild(new o(e))}_comment(e){this._addChild(new s(e))}_error(e){throw e}eachChild(e,t){for(let n=0,r=this.children.length;n<r;n++){let r=this.children[n];if(r.type===`element`&&e.call(t,r,n,this.children)===!1)return}}childNamed(e){for(let t=0,n=this.children.length;t<n;t++){let n=this.children[t];if(n.type===`element`&&n.name===e)return n}}childrenNamed(e){let t=[];for(let n=0,r=this.children.length;n<r;n++){let r=this.children[n];r.type===`element`&&r.name===e&&t.push(r)}return t}childWithAttribute(e,t){for(let n=0,r=this.children.length;n<r;n++){let r=this.children[n];if(r.type===`element`&&(t!==void 0&&r.attr[e]===t||t===void 0&&r.attr[e]))return r}}descendantsNamed(e){let t=[];for(let n=0,r=this.children.length;n<r;n++){let r=this.children[n];if(r.type===`element`){let n=r;n.name===e&&t.push(n),t.push(...n.descendantsNamed(e))}}return t}descendantWithPath(e){let t=this,n=e.split(`.`);for(let e=0,r=n.length;e<r;e++)if(t&&t.type===`element`)t=t.childNamed(n[e]);else return;return t}valueWithPath(e){let t=e.split(`@`),n=this.descendantWithPath(t[0]);if(n)return t.length>1?n.attr[t[1]]:n.val}toString(e){return this.toStringWithIndent(``,e)}toStringWithIndent(e,t){let n=`${e}<${this.name}`,r=t?.compressed?``:`
|
|
228
|
+
`;for(let e in this.attr)Object.prototype.hasOwnProperty.call(this.attr,e)&&(n+=` ${e}="${f(this.attr[e])}"`);if(this.children.length===1&&this.children[0].type!==`element`)n+=`>${this.children[0].toString(t)}</${this.name}>`;else if(this.children.length){n+=`>${r}`;let i=e+(t?.compressed?``:` `);for(let e=0,a=this.children.length;e<a;e++)n+=`${this.children[e].toStringWithIndent(i,t)}${r}`;n+=`${e}</${this.name}>`}else t?.html?[`area`,`base`,`br`,`col`,`embed`,`frame`,`hr`,`img`,`input`,`keygen`,`link`,`menuitem`,`meta`,`param`,`source`,`track`,`wbr`].includes(this.name)?n+=`/>`:n+=`></${this.name}>`:n+=`/>`;return n}}t.XmlElement=c;class l extends c{constructor(e){if(super({name:``,attributes:{}}),e=e.toString().trim(),!e)throw Error(`No XML to parse!`);this.doctype=``,this.parser=i.default.parser(!0),d(this.parser),u=[this];try{this.parser.write(e)}finally{delete this.parser}}_opentag(e){this.name===``?(this.name=e.name,this.attr=e.attributes):super._opentag(e)}_doctype(e){this.doctype+=e}}t.XmlDocument=l;let u=[];function d(e){e.onopentag=e=>u[0]?._opentag(e),e.onclosetag=()=>u[0]?._closetag(),e.ontext=e=>u[0]?._text(e),e.oncdata=e=>u[0]?._cdata(e),e.oncomment=e=>u[0]?._comment(e),e.ondoctype=e=>{let t=u[0];t._doctype&&t._doctype(e)},e.onerror=e=>u[0]?._error(e)}function f(e){return e.toString().replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/'/g,`'`).replace(/"/g,`"`)}function p(e,t){let n=e;return t?.trimmed&&e.length>25&&(n=n.substring(0,25).trim()+`…`),t?.preserveWhitespace||(n=n.trim()),n}t.default=l},9294(e,t,n){n.d(t,{c:()=>r});var r=n(3011)},1635(e,t,n){n.d(t,{__decorate:()=>r});function r(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}return n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=(function(){if(typeof globalThis==`object`)return globalThis;try{return this||Function(`return this`)()}catch{if(typeof window==`object`)return window}})(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nmd=e=>(e.paths=[],e.children||=[],e),n(6092)})())}));export default t();
|