allyhub 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +138 -0
- package/NOTICE +2 -2
- package/client.d.ts +12 -0
- package/dist/args.js +1 -1
- package/dist/audio-text.js +1 -1
- package/dist/cloud-hearing.js +1 -1
- package/dist/command.js +1 -1
- package/dist/commands/add.js +4 -4
- package/dist/commands/align.js +1 -1
- package/dist/commands/audio.js +1 -1
- package/dist/commands/auth.js +4 -4
- package/dist/commands/check.js +1 -1
- package/dist/commands/cloud-tools.js +1 -1
- package/dist/commands/cloud.js +1 -1
- package/dist/commands/dev.js +1 -1
- package/dist/commands/doctor.js +3 -3
- package/dist/commands/frames/common.js +1 -1
- package/dist/commands/frames/compare.js +1 -1
- package/dist/commands/frames/cuts.js +1 -1
- package/dist/commands/frames/doc.js +2 -0
- package/dist/commands/frames/file.js +1 -1
- package/dist/commands/frames/page.js +1 -1
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/sheet.js +1 -1
- package/dist/commands/frames.js +9 -8
- package/dist/commands/inspect/combos.js +1 -1
- package/dist/commands/inspect/common.js +1 -1
- package/dist/commands/inspect/contrast.js +1 -1
- package/dist/commands/inspect/facts.js +1 -1
- package/dist/commands/inspect/fidelity.js +1 -1
- package/dist/commands/inspect/joins.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/inspect/motion.js +1 -1
- package/dist/commands/inspect/sheet.js +1 -1
- package/dist/commands/inspect/timeline.js +1 -1
- package/dist/commands/model.js +1 -1
- package/dist/commands/orgs.js +1 -1
- package/dist/commands/reference-text.js +1 -1
- package/dist/commands/reference.js +1 -1
- package/dist/commands/render.js +1 -1
- package/dist/commands/scenery-input.js +1 -1
- package/dist/commands/scenery-text.js +1 -1
- package/dist/commands/scenery.js +1 -1
- package/dist/commands/sheet.js +7 -7
- package/dist/commands/site.js +3 -3
- package/dist/commands/skills.js +1 -1
- package/dist/commands/slides.js +1 -1
- package/dist/commands/voice.js +1 -1
- package/dist/commands/words-text.js +1 -1
- package/dist/commands/words.js +1 -1
- package/dist/help.js +4 -3
- package/dist/lent/model-three.d.ts +2 -2
- package/dist/lent/model.d.ts +2 -2
- package/dist/lent/scenery-host-layer.d.ts +2 -2
- package/dist/main.js +4 -4
- package/dist/media.js +1 -1
- package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +2 -0
- package/dist/node_modules/@allyhub/audio/package.json +17 -0
- package/dist/node_modules/@allyhub/browser/dist/browser.js +2 -0
- package/dist/node_modules/@allyhub/browser/package.json +13 -0
- package/dist/node_modules/@allyhub/build/dist/code.d.ts +26 -0
- package/dist/node_modules/@allyhub/build/dist/code.js +4 -0
- package/dist/node_modules/@allyhub/build/dist/content.d.ts +69 -0
- package/dist/node_modules/@allyhub/build/dist/content.js +3 -0
- package/dist/node_modules/@allyhub/build/dist/data.d.ts +13 -0
- package/dist/node_modules/@allyhub/build/dist/data.js +3 -0
- package/dist/node_modules/@allyhub/build/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/fonts.d.ts +26 -0
- package/dist/node_modules/@allyhub/build/dist/fonts.js +4 -0
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +21 -0
- package/dist/node_modules/@allyhub/build/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +18 -0
- package/dist/node_modules/@allyhub/build/dist/matrix.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/media.d.ts +10 -0
- package/dist/node_modules/@allyhub/build/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/messages.d.ts +48 -0
- package/dist/node_modules/@allyhub/build/dist/messages.js +3 -0
- package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +62 -0
- package/dist/node_modules/@allyhub/build/dist/meta-worker.js +5 -0
- package/dist/node_modules/@allyhub/build/dist/meta.d.ts +24 -0
- package/dist/node_modules/@allyhub/build/dist/meta.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +6 -0
- package/dist/node_modules/@allyhub/build/dist/model-info.js +4 -0
- package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +42 -0
- package/dist/node_modules/@allyhub/build/dist/plugin.js +13 -0
- package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +115 -0
- package/dist/node_modules/@allyhub/build/dist/prepare.js +4 -0
- package/dist/node_modules/@allyhub/build/dist/references.d.ts +6 -0
- package/dist/node_modules/@allyhub/build/dist/references.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/scan.d.ts +50 -0
- package/dist/node_modules/@allyhub/build/dist/scan.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/sheet-code.d.ts +34 -0
- package/dist/node_modules/@allyhub/build/dist/sheet-code.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/takes.d.ts +33 -0
- package/dist/node_modules/@allyhub/build/dist/takes.js +3 -0
- package/dist/node_modules/@allyhub/build/dist/types.d.ts +11 -0
- package/dist/node_modules/@allyhub/build/dist/types.js +6 -0
- package/dist/node_modules/@allyhub/build/dist/vite.js +3 -0
- package/dist/node_modules/@allyhub/build/package.json +13 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +11 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +33 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +3 -0
- package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +206 -0
- package/dist/node_modules/@allyhub/chart/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +15 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.js +3 -0
- package/dist/node_modules/@allyhub/chart/dist/index.d.ts +6 -0
- package/dist/node_modules/@allyhub/chart/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +22 -0
- package/dist/node_modules/@allyhub/chart/dist/svg.js +2 -0
- package/dist/node_modules/@allyhub/chart/package.json +14 -0
- package/dist/node_modules/@allyhub/check/dist/cache.js +2 -0
- package/dist/node_modules/@allyhub/check/dist/check.js +4 -0
- package/dist/node_modules/@allyhub/check/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/check/dist/plans.js +3 -0
- package/dist/node_modules/@allyhub/check/dist/scenery.js +2 -0
- package/dist/node_modules/@allyhub/check/package.json +13 -0
- package/dist/node_modules/@allyhub/cloud/dist/blobs.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/call.js +5 -0
- package/dist/node_modules/@allyhub/cloud/dist/catalog.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/config.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +3 -0
- package/dist/node_modules/@allyhub/cloud/dist/errors.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/keychain.js +5 -0
- package/dist/node_modules/@allyhub/cloud/dist/records.js +4 -0
- package/dist/node_modules/@allyhub/cloud/dist/signin.js +4 -0
- package/dist/node_modules/@allyhub/cloud/dist/sites.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/uploads.js +3 -0
- package/dist/node_modules/@allyhub/cloud/dist/voice.js +2 -0
- package/dist/node_modules/@allyhub/cloud/package.json +13 -0
- package/dist/node_modules/@allyhub/components/package.json +12 -0
- package/dist/node_modules/@allyhub/dev-server/dist/background.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/card.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/exports.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/paths.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/reach.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +6 -0
- package/dist/node_modules/@allyhub/dev-server/dist/sound.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/validate.js +3 -0
- package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -0
- package/dist/node_modules/@allyhub/dev-server/package.json +13 -0
- package/dist/node_modules/@allyhub/doc/dist/chart.d.ts +65 -0
- package/dist/node_modules/@allyhub/doc/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/color.d.ts +6 -0
- package/dist/node_modules/@allyhub/doc/dist/color.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/columns.d.ts +6 -0
- package/dist/node_modules/@allyhub/doc/dist/columns.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/component.d.ts +27 -0
- package/dist/node_modules/@allyhub/doc/dist/component.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/docx.d.ts +39 -0
- package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -0
- package/dist/node_modules/@allyhub/doc/dist/html.d.ts +49 -0
- package/dist/node_modules/@allyhub/doc/dist/html.js +91 -0
- package/dist/node_modules/@allyhub/doc/dist/index.d.ts +13 -0
- package/dist/node_modules/@allyhub/doc/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/markdown.d.ts +13 -0
- package/dist/node_modules/@allyhub/doc/dist/markdown.js +3 -0
- package/dist/node_modules/@allyhub/doc/dist/math.d.ts +11 -0
- package/dist/node_modules/@allyhub/doc/dist/math.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/model.d.ts +280 -0
- package/dist/node_modules/@allyhub/doc/dist/model.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/paper.d.ts +39 -0
- package/dist/node_modules/@allyhub/doc/dist/paper.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/parse.d.ts +24 -0
- package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -0
- package/dist/node_modules/@allyhub/doc/dist/patch.js +11 -0
- package/dist/node_modules/@allyhub/doc/dist/write.d.ts +18 -0
- package/dist/node_modules/@allyhub/doc/dist/write.js +65 -0
- package/dist/node_modules/@allyhub/doc/package.json +17 -0
- package/dist/node_modules/@allyhub/export/dist/batch.js +4 -0
- package/dist/node_modules/@allyhub/export/dist/deck-fonts.js +2 -0
- package/dist/node_modules/@allyhub/export/dist/deck-pptx.js +2 -0
- package/dist/node_modules/@allyhub/export/dist/export.js +7 -0
- package/dist/node_modules/@allyhub/export/dist/names.js +2 -0
- package/dist/node_modules/@allyhub/export/package.json +13 -0
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +2520 -0
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +2741 -0
- package/dist/node_modules/@allyhub/formats/package.json +15 -0
- package/dist/node_modules/@allyhub/jobs/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/jobs/dist/jobs.js +3 -0
- package/dist/node_modules/@allyhub/jobs/dist/show.js +2 -0
- package/dist/node_modules/@allyhub/jobs/package.json +14 -0
- package/dist/node_modules/@allyhub/measure/dist/compare.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/contrast.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/cut-sheet.js +46 -0
- package/dist/node_modules/@allyhub/measure/dist/cuts.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/fidelity.js +3 -0
- package/dist/node_modules/@allyhub/measure/dist/flat.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/loop.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/overlay.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/recording-report.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/reference/folder.js +4 -0
- package/dist/node_modules/@allyhub/measure/dist/reference/piece.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/reference/sections.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/reference/sets.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/reference/text.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/reference/video.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/seams.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/sound-measures.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/sound-report.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/still.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/version-voice.js +2 -0
- package/dist/node_modules/@allyhub/measure/package.json +13 -0
- package/dist/node_modules/@allyhub/media/dist/asr/parakeet.js +7 -0
- package/dist/node_modules/@allyhub/media/dist/asr/transcribe.d.ts +50 -0
- package/dist/node_modules/@allyhub/media/dist/asr/words.d.ts +7 -0
- package/dist/node_modules/@allyhub/media/dist/cache.js +2 -0
- package/dist/node_modules/@allyhub/media/dist/ocr/text.js +4 -0
- package/dist/node_modules/@allyhub/media/dist/sheet.d.ts +67 -0
- package/dist/node_modules/@allyhub/media/dist/tools.d.ts +35 -0
- package/dist/node_modules/@allyhub/media/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/media/dist/vision/index-media.js +3 -0
- package/dist/node_modules/@allyhub/media/dist/vision/run.js +4 -0
- package/dist/node_modules/@allyhub/media/dist/vision/runtime.js +8 -0
- package/dist/node_modules/@allyhub/media/dist/vision/types.d.ts +2 -0
- package/dist/node_modules/@allyhub/media/dist/worker-process.d.ts +3 -0
- package/dist/node_modules/@allyhub/media/dist/worker-process.js +2 -0
- package/dist/node_modules/@allyhub/media/package.json +13 -0
- package/dist/node_modules/@allyhub/model/NOTICE +26 -0
- package/dist/node_modules/@allyhub/model/dist/build-job.d.ts +34 -0
- package/dist/node_modules/@allyhub/model/dist/build-job.js +2 -0
- package/dist/node_modules/@allyhub/model/dist/build-worker.js +2 -0
- package/dist/node_modules/@allyhub/model/dist/build.js +3 -0
- package/dist/node_modules/@allyhub/model/dist/capabilities.d.ts +22 -0
- package/dist/node_modules/@allyhub/model/dist/capabilities.js +2 -0
- package/dist/node_modules/@allyhub/model/dist/data.js +2 -0
- package/dist/node_modules/@allyhub/model/dist/material-eval.js +2 -0
- package/dist/node_modules/@allyhub/model/dist/material-nodes.js +2 -0
- package/dist/node_modules/@allyhub/model/package.json +25 -0
- package/dist/node_modules/@allyhub/ooxml/package.json +26 -0
- package/dist/node_modules/@allyhub/project/dist/component-stills.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/console.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/deck-keys.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/deck-pool.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/digest.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/ledger.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/media-index.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/page.js +4 -0
- package/dist/node_modules/@allyhub/project/dist/says.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/scenery.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/session.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/stills.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/project/package.json +13 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +339 -0
- package/dist/node_modules/@allyhub/protocol/dist/app.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +119 -0
- package/dist/node_modules/@allyhub/protocol/dist/auth.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +325 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +551 -0
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +290 -0
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +23 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +91 -0
- package/dist/node_modules/@allyhub/protocol/dist/jobs.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +187 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +191 -0
- package/dist/node_modules/@allyhub/protocol/dist/registry.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/routes.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +297 -0
- package/dist/node_modules/@allyhub/protocol/dist/sites.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +417 -0
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +14 -0
- package/dist/node_modules/@allyhub/protocol/dist/sources.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +195 -0
- package/dist/node_modules/@allyhub/protocol/dist/teams.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +477 -0
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/protocol/package.json +14 -0
- package/dist/node_modules/@allyhub/registry/dist/polyhaven-client.js +3 -0
- package/dist/node_modules/@allyhub/registry/dist/registry.js +2 -0
- package/dist/node_modules/@allyhub/registry/package.json +13 -0
- package/dist/node_modules/@allyhub/render/dist/composite.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/doc/drawn.js +27 -0
- package/dist/node_modules/@allyhub/render/dist/doc/index.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/doc/pages.js +32 -0
- package/dist/node_modules/@allyhub/render/dist/doc/print.js +41 -0
- package/dist/node_modules/@allyhub/render/dist/encode.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/errors.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/exports.js +3 -0
- package/dist/node_modules/@allyhub/render/dist/ffmpeg.js +4 -0
- package/dist/node_modules/@allyhub/render/dist/footage.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/junction.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/look.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/parts.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/post-probe.js +5 -0
- package/dist/node_modules/@allyhub/render/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/render.js +3 -0
- package/dist/node_modules/@allyhub/render/dist/segments.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/sound.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/stills.js +2 -0
- package/dist/node_modules/@allyhub/render/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/render/package.json +17 -0
- package/dist/node_modules/@allyhub/runtime/dist/captions.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/clock.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/compose.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/console.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/embed.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/env.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/errors.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/facade.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/footage.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/frame.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/runtime/dist/locate.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/measure.js +3 -0
- package/dist/node_modules/@allyhub/runtime/dist/mix-plan.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/music.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/output.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/piece.js +3 -0
- package/dist/node_modules/@allyhub/runtime/dist/player/clips.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/player/cutout.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/player/player.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/reads.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/sound.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/speech.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/stage-kit.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/takes.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/transitions.js +2 -0
- package/dist/node_modules/@allyhub/runtime/package.json +21 -0
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +10 -0
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +38 -0
- package/dist/node_modules/@allyhub/runtimes/dist/download.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +10 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/lock.d.ts +14 -0
- package/dist/node_modules/@allyhub/runtimes/dist/lock.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +3 -0
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +12 -0
- package/dist/node_modules/@allyhub/runtimes/dist/node-program.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +84 -0
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +4 -0
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +72 -0
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +4 -0
- package/dist/node_modules/@allyhub/runtimes/package.json +18 -0
- package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package-lock.json +275 -0
- package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package.json +11 -0
- package/dist/node_modules/@allyhub/scaffold/dist/index.js +16 -0
- package/dist/node_modules/@allyhub/scaffold/package.json +13 -0
- package/dist/node_modules/@allyhub/scenery/package.json +13 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +21 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/apply.d.ts +59 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/digest.d.ts +14 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/format.d.ts +63 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/run.d.ts +63 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/run.js +138 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +85 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +6 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/commands.d.ts +54 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/commands.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/draw2d.d.ts +47 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/draw2d.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/focus-pass.js +246 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/glass.d.ts +39 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/glass.js +71 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/idbuffer.d.ts +35 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/inventory.d.ts +18 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/inventory.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +51 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/moire.d.ts +6 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/moire.js +3 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.d.ts +106 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +58 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/state.d.ts +110 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/types.d.ts +239 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/contacts.d.ts +45 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.d.ts +86 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/health.d.ts +10 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/index.d.ts +110 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/index.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/relations.d.ts +17 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/relations.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/support.d.ts +11 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/support.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +3 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/bake.d.ts +53 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/bake.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/draw.d.ts +42 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/draw.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/files.d.ts +45 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/page.d.ts +127 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/page.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/props.d.ts +23 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.d.ts +147 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/inventory.d.ts +5 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/map.d.ts +5 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/map.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/view.d.ts +10 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/screen-light.d.ts +58 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/screen-light.js +156 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +128 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/package.json +29 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +204 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +83 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/page.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +170 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/rules.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +117 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +362 -0
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +68 -0
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +82 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +52 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/diff.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +154 -0
- package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +19 -0
- package/dist/node_modules/@allyhub/sheet/dist/file.js +3 -0
- package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +24 -0
- package/dist/node_modules/@allyhub/sheet/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +46 -0
- package/dist/node_modules/@allyhub/sheet/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +25 -0
- package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +98 -0
- package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +38 -0
- package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +32 -0
- package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +26 -0
- package/dist/node_modules/@allyhub/sheet/dist/validate.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +324 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +53 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +49 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +159 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +3 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +40 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.js +2 -0
- package/dist/node_modules/@allyhub/sheet/package.json +21 -0
- package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +129 -0
- package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +730 -0
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +4 -0
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +202 -0
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/code.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +131 -0
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +4 -0
- package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +25 -0
- package/dist/node_modules/@allyhub/slides-core/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +34 -0
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +58 -0
- package/dist/node_modules/@allyhub/slides-core/dist/merge.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +293 -0
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +202 -0
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +45 -0
- package/dist/node_modules/@allyhub/slides-core/dist/script.js +3 -0
- package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +7 -0
- package/dist/node_modules/@allyhub/slides-core/dist/strict.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +72 -0
- package/dist/node_modules/@allyhub/slides-core/package.json +14 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +4 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +3 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +4 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/timing.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +3 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -0
- package/dist/node_modules/@allyhub/slides-pptx/package.json +14 -0
- package/dist/node_modules/@allyhub/slides-runtime/dist/component.js +2 -0
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +3 -0
- package/dist/node_modules/@allyhub/slides-runtime/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +6 -0
- package/dist/node_modules/@allyhub/slides-runtime/package.json +18 -0
- package/dist/node_modules/@allyhub/stage/dist/bakes.js +4 -0
- package/dist/node_modules/@allyhub/stage/dist/build-process.js +3 -0
- package/dist/node_modules/@allyhub/stage/dist/build-worker.js +2 -0
- package/dist/node_modules/@allyhub/stage/dist/identity.js +2 -0
- package/dist/node_modules/@allyhub/stage/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/stage/dist/page.js +62 -0
- package/dist/node_modules/@allyhub/stage/dist/scenery-page.js +12 -0
- package/dist/node_modules/@allyhub/stage/dist/scenery-solve.js +2 -0
- package/dist/node_modules/@allyhub/stage/dist/scenery.js +2 -0
- package/dist/node_modules/@allyhub/stage/dist/server.js +2 -0
- package/dist/node_modules/@allyhub/stage/package.json +13 -0
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/runtime.js +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +3 -0
- package/dist/node_modules/@allyhub/stage-page/package.json +13 -0
- package/dist/node_modules/@allyhub/video-core/dist/component.d.ts +70 -0
- package/dist/node_modules/@allyhub/video-core/dist/component.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/edits.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/export.d.ts +97 -0
- package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +1179 -0
- package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +37 -0
- package/dist/node_modules/@allyhub/video-core/dist/gen.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +41 -0
- package/dist/node_modules/@allyhub/video-core/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +563 -0
- package/dist/node_modules/@allyhub/video-core/dist/media.d.ts +226 -0
- package/dist/node_modules/@allyhub/video-core/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +1154 -0
- package/dist/node_modules/@allyhub/video-core/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +278 -0
- package/dist/node_modules/@allyhub/video-core/dist/problem.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +350 -0
- package/dist/node_modules/@allyhub/video-core/dist/speech.js +5 -0
- package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +631 -0
- package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +300 -0
- package/dist/node_modules/@allyhub/video-core/dist/transition.js +2 -0
- package/dist/node_modules/@allyhub/video-core/package.json +14 -0
- package/dist/node_modules/@allyhub/website/LICENSE +241 -0
- package/dist/node_modules/@allyhub/website/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/website/dist/publish.js +3 -0
- package/dist/node_modules/@allyhub/website/dist/rules.js +2 -0
- package/dist/node_modules/@allyhub/website/dist/website.js +4 -0
- package/dist/node_modules/@allyhub/website/package.json +13 -0
- package/dist/project.js +1 -1
- package/dist/resources.js +1 -1
- package/dist/sdk-docs.js +1 -1
- package/dist/text/batch-text.js +1 -1
- package/dist/text/console-text.js +1 -1
- package/dist/text/facts-text.js +1 -1
- package/dist/text/format.js +1 -1
- package/dist/text/timeline-text.js +1 -1
- package/dist/version.js +1 -1
- package/dist/works.js +1 -1
- package/editor-web/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/editor-web/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/editor-web/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/editor-web/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/editor-web/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/editor-web/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/editor-web/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/editor-web/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/editor-web/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/editor-web/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/editor-web/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/editor-web/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/editor-web/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/editor-web/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/editor-web/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/editor-web/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/editor-web/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/editor-web/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/editor-web/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/editor-web/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/editor-web/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/editor-web/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/editor-web/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/editor-web/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/editor-web/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/editor-web/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/editor-web/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/editor-web/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/editor-web/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/editor-web/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/editor-web/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/editor-web/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/editor-web/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/editor-web/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/editor-web/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/editor-web/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/editor-web/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/editor-web/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/editor-web/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/editor-web/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/editor-web/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/editor-web/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/editor-web/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/editor-web/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/editor-web/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/editor-web/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/editor-web/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/editor-web/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/editor-web/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/editor-web/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/editor-web/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/editor-web/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/editor-web/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/editor-web/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/editor-web/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/editor-web/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/editor-web/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/editor-web/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/editor-web/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/editor-web/assets/abnfDiagram-WEYOIA3C-B9SmmTJt.js +1 -0
- package/editor-web/assets/architecture-WOLXFQ4H-m-T100yu.js +1 -0
- package/editor-web/assets/architectureDiagram-ZHVYKT53-B5nwfRgH.js +36 -0
- package/editor-web/assets/blockDiagram-RJAE7QA3-ClawtW7w.js +140 -0
- package/editor-web/assets/c4Diagram-XDPPPE54-CFHQpxmY.js +38 -0
- package/editor-web/assets/calc-worker-BTNuOUVJ.js +158 -0
- package/editor-web/assets/channel-hhT2g1yB.js +1 -0
- package/editor-web/assets/choice-BJc3Tv5F.js +10 -0
- package/editor-web/assets/chunk-2E7WHVMD-CoQrt8De.js +88 -0
- package/editor-web/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/editor-web/assets/chunk-4EMNKR2T-Iy5ZP2hH.js +1 -0
- package/editor-web/assets/chunk-55XCU76K-DsS8sEfz.js +1 -0
- package/editor-web/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- package/editor-web/assets/chunk-7S6XSTFO-Co220fFP.js +2 -0
- package/editor-web/assets/chunk-AQDTSKZB-JIGZAIpF.js +72 -0
- package/editor-web/assets/chunk-DSNLSHJZ-Ror_NzZx.js +129 -0
- package/editor-web/assets/chunk-DUW6YSOI-Dgx8z5s3.js +1 -0
- package/editor-web/assets/chunk-HAGFOTED-C07qbJaC.js +62 -0
- package/editor-web/assets/chunk-HNE4Q36P-CM3bprQy.js +1 -0
- package/editor-web/assets/chunk-J5ZVWO5B-oDCd-gWO.js +1 -0
- package/editor-web/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/editor-web/assets/chunk-NGNAAXSQ-Bw6tHVuc.js +136 -0
- package/editor-web/assets/chunk-NQOKRVIF-ipM1cuU7.js +213 -0
- package/editor-web/assets/chunk-UHW7PFBP-CA8McMqW.js +1 -0
- package/editor-web/assets/chunk-VQ5W62QI-DEDvdgPj.js +1 -0
- package/editor-web/assets/chunk-WQQL4CDK-h5ZO7LF7.js +10 -0
- package/editor-web/assets/chunk-XXDRQBXY-i7MKP1NY.js +1 -0
- package/editor-web/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/editor-web/assets/chunk-YZO67HFG-yC3xdjnt.js +1 -0
- package/editor-web/assets/chunk-ZAUX2LTX-3rRCWRvD.js +1 -0
- package/editor-web/assets/chunk-ZCHMQSOR-DK_PLi39.js +2 -0
- package/editor-web/assets/classDiagram-v2-4MYWR3UA-B9pB-HTm.js +217 -0
- package/editor-web/assets/cose-bilkent-JH36ORCC-BWS9TicX.js +1 -0
- package/editor-web/assets/cynefin-EF2NZ3EQ-CSd3PDdQ.js +1 -0
- package/editor-web/assets/cynefinDiagram-WF24UDRP-BBCequ3T.js +62 -0
- package/editor-web/assets/cytoscape.esm-Bn1wUjr1.js +321 -0
- package/editor-web/assets/d3-scale-CElPUUud.js +1 -0
- package/editor-web/assets/d3-selection-COWvaQNI.js +1 -0
- package/editor-web/assets/dagre-NK4GIZVX-C7ZOWX5t.js +4 -0
- package/editor-web/assets/diagram-CBK3MWTC-CQVvlSNo.js +24 -0
- package/editor-web/assets/diagram-I5XIIV2D-BCkke5x3.js +24 -0
- package/editor-web/assets/diagram-ODIL2UCW-DDWQXIlX.js +30 -0
- package/editor-web/assets/diagram-PFBEJUXE-C31QlFzr.js +3 -0
- package/editor-web/assets/diagram-RJA3I4VV-DUXAFmI_.js +41 -0
- package/editor-web/assets/diagram-TYUNFSNR-BCxuoEs9.js +200 -0
- package/editor-web/assets/dist-BRuoygB7.js +2 -0
- package/editor-web/assets/dist-CK42vCmN.js +550 -0
- package/editor-web/assets/dist-C_buDsM-.js +36 -0
- package/editor-web/assets/dist-DNcXHhzn.js +37 -0
- package/editor-web/assets/dist-DdXDFcej.js +1 -0
- package/editor-web/assets/dist-HxiPpGXi.js +10 -0
- package/editor-web/assets/dist-PF3VMsK7.js +1 -0
- package/editor-web/assets/ebnfDiagram-V4P3TTPT-Drbe1R2R.js +1 -0
- package/editor-web/assets/elk-QONTBCTQ-Bqwuc5U-.js +27 -0
- package/editor-web/assets/erDiagram-KYQIGQAA-lUcyPgf3.js +99 -0
- package/editor-web/assets/eventmodeling-K75KTNOO-BfxFVok7.js +1 -0
- package/editor-web/assets/flowDiagram-IUGLLWBU-FJVml4lT.js +1 -0
- package/editor-web/assets/ganttDiagram-R7GPNTJY-AYc1JnE_.js +292 -0
- package/editor-web/assets/gitGraph-VSP46ZUC-Z_2ysYZF.js +1 -0
- package/editor-web/assets/gitGraphDiagram-PDYL7XHY-CB2O1LZ6.js +106 -0
- package/editor-web/assets/graphlib-DS17s2tU.js +1 -0
- package/editor-web/assets/hint-BwGc32IE.js +1 -0
- package/editor-web/assets/index-BQKSbBSy.js +69 -0
- package/editor-web/assets/index-CfD80QPx.css +2 -0
- package/editor-web/assets/info-OHQRW6UA-BPePkERU.js +1 -0
- package/editor-web/assets/infoDiagram-MVDRKAX5-CNluCREj.js +2 -0
- package/editor-web/assets/ishikawaDiagram-HPEHV2GE-DIBDBol9.js +70 -0
- package/editor-web/assets/journeyDiagram-BOSHW7O7-C4Hc63C8.js +139 -0
- package/editor-web/assets/kanban-definition-FNSA4HC5-BShCYR9Q.js +89 -0
- package/editor-web/assets/katex-B_JcIwqj.js +257 -0
- package/editor-web/assets/mermaid-parser.core-KGVt2icR.js +7 -0
- package/editor-web/assets/mermaid.core-CVH2hRmI.js +44 -0
- package/editor-web/assets/mindmap-definition-6OY57UG3-C1mo9OeK.js +98 -0
- package/editor-web/assets/packet-JDAUHWVQ-B7YpYnvD.js +1 -0
- package/editor-web/assets/pegDiagram-ECIUJNBX-Es99bVEq.js +1 -0
- package/editor-web/assets/pie-XZMESJXO-xTUp8UcP.js +1 -0
- package/editor-web/assets/pieDiagram-GNMPY74T-CD91pLk4.js +39 -0
- package/editor-web/assets/quadrantDiagram-D57K4MC3-CSnvxc94.js +7 -0
- package/editor-web/assets/radar-ABXABTNO-Dj-t0L18.js +1 -0
- package/editor-web/assets/railroad-I3PHUGI6-BK32uCwU.js +1 -0
- package/editor-web/assets/railroad-abnf-LNEFI6M7-D5R8k6d0.js +1 -0
- package/editor-web/assets/railroad-ebnf-DWYD2UWJ-Crm1KEAC.js +1 -0
- package/editor-web/assets/railroad-peg-JR7BVNR7-BILXac49.js +1 -0
- package/editor-web/assets/railroadDiagram-Y72NRBL7-CevyjvbY.js +1 -0
- package/editor-web/assets/react-BSSSHUyV.js +101 -0
- package/editor-web/assets/requirementDiagram-EQYSW5RA-B5N8Q9VV.js +84 -0
- package/editor-web/assets/rolldown-runtime-COiEfhsA.js +1 -0
- package/editor-web/assets/rough.esm-Dy-Kn_BL.js +1 -0
- package/editor-web/assets/sankeyDiagram-SY24JHO5-bCTsxF1A.js +40 -0
- package/editor-web/assets/sequenceDiagram-BLEHNHQU-M37m0sEI.js +169 -0
- package/editor-web/assets/sizeCapture-INFHLROL-3uHXrFqA.js +1 -0
- package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BDIn7XwV.js +291 -0
- package/editor-web/assets/svg-BiObwMnL.js +1 -0
- package/editor-web/assets/swatch-CwskGSEY.js +105 -0
- package/editor-web/assets/swimlanes-B3ENRKFQ-DIU1TlDI.js +1 -0
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DPM008dB.js +8 -0
- package/editor-web/assets/tabs-uHwPMprC.js +1 -0
- package/editor-web/assets/timeline-definition-JXYKGLGB-C0x4clqy.js +120 -0
- package/editor-web/assets/treeView-D4JQ5SDB-C9lm0KTt.js +1 -0
- package/editor-web/assets/treemap-SAJKECNS-BMH4lQc7.js +1 -0
- package/editor-web/assets/usecaseDiagram-WPOLBNNX-BhltpBsJ.js +328 -0
- package/editor-web/assets/vennDiagram-Q3Y3IDCW-D3qN9Kpt.js +34 -0
- package/editor-web/assets/wardley-7MLQ67FV-C4k02DvU.js +1 -0
- package/editor-web/assets/wardleyDiagram-IVAIDKWA-dhpBDNqg.js +78 -0
- package/editor-web/assets/xychartDiagram-4URNHDU4-0yEarQ-o.js +7 -0
- package/editor-web/index.html +4 -4
- package/package.json +9 -2
- package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.js +0 -2
- package/dist/node_modules/@allyhub-next/audio/package.json +0 -17
- package/dist/node_modules/@allyhub-next/browser/dist/browser.js +0 -2
- package/dist/node_modules/@allyhub-next/browser/package.json +0 -13
- package/dist/node_modules/@allyhub-next/build/dist/code.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/build/dist/code.js +0 -4
- package/dist/node_modules/@allyhub-next/build/dist/content.d.ts +0 -49
- package/dist/node_modules/@allyhub-next/build/dist/content.js +0 -2
- package/dist/node_modules/@allyhub-next/build/dist/data.d.ts +0 -13
- package/dist/node_modules/@allyhub-next/build/dist/data.js +0 -3
- package/dist/node_modules/@allyhub-next/build/dist/files.js +0 -2
- package/dist/node_modules/@allyhub-next/build/dist/fonts.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/build/dist/fonts.js +0 -4
- package/dist/node_modules/@allyhub-next/build/dist/index.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/build/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/build/dist/matrix.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/build/dist/matrix.js +0 -2
- package/dist/node_modules/@allyhub-next/build/dist/media.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/build/dist/media.js +0 -2
- package/dist/node_modules/@allyhub-next/build/dist/messages.d.ts +0 -48
- package/dist/node_modules/@allyhub-next/build/dist/messages.js +0 -3
- package/dist/node_modules/@allyhub-next/build/dist/meta-worker.d.ts +0 -49
- package/dist/node_modules/@allyhub-next/build/dist/meta-worker.js +0 -4
- package/dist/node_modules/@allyhub-next/build/dist/meta.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/build/dist/meta.js +0 -2
- package/dist/node_modules/@allyhub-next/build/dist/model-info.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/build/dist/model-info.js +0 -4
- package/dist/node_modules/@allyhub-next/build/dist/plugin.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/build/dist/plugin.js +0 -13
- package/dist/node_modules/@allyhub-next/build/dist/prepare.d.ts +0 -97
- package/dist/node_modules/@allyhub-next/build/dist/prepare.js +0 -3
- package/dist/node_modules/@allyhub-next/build/dist/scan.d.ts +0 -48
- package/dist/node_modules/@allyhub-next/build/dist/scan.js +0 -2
- package/dist/node_modules/@allyhub-next/build/dist/sheet-code.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/build/dist/sheet-code.js +0 -2
- package/dist/node_modules/@allyhub-next/build/dist/takes.d.ts +0 -33
- package/dist/node_modules/@allyhub-next/build/dist/takes.js +0 -3
- package/dist/node_modules/@allyhub-next/build/dist/types.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/build/dist/types.js +0 -6
- package/dist/node_modules/@allyhub-next/build/dist/vite.js +0 -3
- package/dist/node_modules/@allyhub-next/build/package.json +0 -13
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +0 -31
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +0 -3
- package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +0 -204
- package/dist/node_modules/@allyhub-next/chart/dist/chart.js +0 -2
- package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/chart/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/chart/package.json +0 -14
- package/dist/node_modules/@allyhub-next/check/dist/cache.js +0 -2
- package/dist/node_modules/@allyhub-next/check/dist/check.js +0 -4
- package/dist/node_modules/@allyhub-next/check/dist/generated.js +0 -2
- package/dist/node_modules/@allyhub-next/check/dist/plans.js +0 -3
- package/dist/node_modules/@allyhub-next/check/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub-next/check/package.json +0 -13
- package/dist/node_modules/@allyhub-next/cloud/dist/blobs.js +0 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/call.js +0 -5
- package/dist/node_modules/@allyhub-next/cloud/dist/catalog.js +0 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/client.js +0 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/config.js +0 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/credentials.js +0 -3
- package/dist/node_modules/@allyhub-next/cloud/dist/errors.js +0 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/records.js +0 -4
- package/dist/node_modules/@allyhub-next/cloud/dist/signin.js +0 -4
- package/dist/node_modules/@allyhub-next/cloud/dist/sites.js +0 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/token.js +0 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/uploads.js +0 -3
- package/dist/node_modules/@allyhub-next/cloud/dist/voice.js +0 -2
- package/dist/node_modules/@allyhub-next/cloud/package.json +0 -13
- package/dist/node_modules/@allyhub-next/components/package.json +0 -12
- package/dist/node_modules/@allyhub-next/dev-server/dist/background.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/card.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/exports.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/live.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/paths.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/project.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/reach.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/record.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/server.js +0 -6
- package/dist/node_modules/@allyhub-next/dev-server/dist/sound.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/tools.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/tree.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/validate.js +0 -3
- package/dist/node_modules/@allyhub-next/dev-server/dist/watcher.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/writer.js +0 -3
- package/dist/node_modules/@allyhub-next/dev-server/package.json +0 -13
- package/dist/node_modules/@allyhub-next/doc/dist/docx.d.ts +0 -28
- package/dist/node_modules/@allyhub-next/doc/dist/docx.js +0 -4
- package/dist/node_modules/@allyhub-next/doc/dist/html.d.ts +0 -23
- package/dist/node_modules/@allyhub-next/doc/dist/html.js +0 -54
- package/dist/node_modules/@allyhub-next/doc/dist/index.d.ts +0 -8
- package/dist/node_modules/@allyhub-next/doc/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/doc/dist/markdown.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/doc/dist/markdown.js +0 -3
- package/dist/node_modules/@allyhub-next/doc/dist/model.d.ts +0 -145
- package/dist/node_modules/@allyhub-next/doc/dist/model.js +0 -2
- package/dist/node_modules/@allyhub-next/doc/dist/parse.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/doc/dist/parse.js +0 -5
- package/dist/node_modules/@allyhub-next/doc/dist/patch.js +0 -8
- package/dist/node_modules/@allyhub-next/doc/dist/write.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/doc/dist/write.js +0 -42
- package/dist/node_modules/@allyhub-next/doc/package.json +0 -17
- package/dist/node_modules/@allyhub-next/export/dist/batch.js +0 -4
- package/dist/node_modules/@allyhub-next/export/dist/deck-fonts.js +0 -2
- package/dist/node_modules/@allyhub-next/export/dist/deck-pptx.js +0 -2
- package/dist/node_modules/@allyhub-next/export/dist/export.js +0 -7
- package/dist/node_modules/@allyhub-next/export/dist/names.js +0 -2
- package/dist/node_modules/@allyhub-next/export/package.json +0 -13
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +0 -2520
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -2741
- package/dist/node_modules/@allyhub-next/formats/package.json +0 -15
- package/dist/node_modules/@allyhub-next/measure/dist/compare.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/contrast.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/cut-sheet.js +0 -46
- package/dist/node_modules/@allyhub-next/measure/dist/cuts.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/facts.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/fidelity.js +0 -3
- package/dist/node_modules/@allyhub-next/measure/dist/flat.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/loop.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/overlay.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/recording-report.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/reference/folder.js +0 -4
- package/dist/node_modules/@allyhub-next/measure/dist/reference/piece.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/reference/sections.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/reference/sets.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/reference/text.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/reference/video.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/seams.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/sound-measures.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/sound-report.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/still.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/dist/version-voice.js +0 -2
- package/dist/node_modules/@allyhub-next/measure/package.json +0 -13
- package/dist/node_modules/@allyhub-next/media/dist/asr/parakeet.js +0 -7
- package/dist/node_modules/@allyhub-next/media/dist/asr/transcribe.d.ts +0 -50
- package/dist/node_modules/@allyhub-next/media/dist/asr/words.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/media/dist/cache.js +0 -2
- package/dist/node_modules/@allyhub-next/media/dist/ocr/text.js +0 -4
- package/dist/node_modules/@allyhub-next/media/dist/sheet.d.ts +0 -67
- package/dist/node_modules/@allyhub-next/media/dist/tools.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/media/dist/tools.js +0 -2
- package/dist/node_modules/@allyhub-next/media/dist/vision/index-media.js +0 -3
- package/dist/node_modules/@allyhub-next/media/dist/vision/run.js +0 -4
- package/dist/node_modules/@allyhub-next/media/dist/vision/runtime.js +0 -8
- package/dist/node_modules/@allyhub-next/media/dist/vision/types.d.ts +0 -2
- package/dist/node_modules/@allyhub-next/media/dist/worker-process.d.ts +0 -8
- package/dist/node_modules/@allyhub-next/media/dist/worker-process.js +0 -2
- package/dist/node_modules/@allyhub-next/media/package.json +0 -13
- package/dist/node_modules/@allyhub-next/model/NOTICE +0 -26
- package/dist/node_modules/@allyhub-next/model/dist/build-job.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/model/dist/build-job.js +0 -2
- package/dist/node_modules/@allyhub-next/model/dist/build-worker.js +0 -2
- package/dist/node_modules/@allyhub-next/model/dist/build.js +0 -3
- package/dist/node_modules/@allyhub-next/model/dist/capabilities.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/model/dist/capabilities.js +0 -2
- package/dist/node_modules/@allyhub-next/model/dist/data.js +0 -2
- package/dist/node_modules/@allyhub-next/model/dist/material-eval.js +0 -2
- package/dist/node_modules/@allyhub-next/model/dist/material-nodes.js +0 -2
- package/dist/node_modules/@allyhub-next/model/package.json +0 -25
- package/dist/node_modules/@allyhub-next/ooxml/package.json +0 -26
- package/dist/node_modules/@allyhub-next/project/dist/console.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/deck-keys.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/deck-pool.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/digest.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/ledger.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/media-index.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/page.js +0 -4
- package/dist/node_modules/@allyhub-next/project/dist/says.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/session.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/stills.js +0 -2
- package/dist/node_modules/@allyhub-next/project/dist/version.js +0 -2
- package/dist/node_modules/@allyhub-next/project/package.json +0 -13
- package/dist/node_modules/@allyhub-next/protocol/dist/account.d.ts +0 -338
- package/dist/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.d.ts +0 -115
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +0 -324
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.d.ts +0 -486
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/index.d.ts +0 -20
- package/dist/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +0 -188
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.d.ts +0 -185
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.d.ts +0 -293
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.d.ts +0 -377
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +0 -79
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.d.ts +0 -428
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
- package/dist/node_modules/@allyhub-next/protocol/package.json +0 -14
- package/dist/node_modules/@allyhub-next/registry/dist/polyhaven-client.js +0 -3
- package/dist/node_modules/@allyhub-next/registry/dist/registry.js +0 -2
- package/dist/node_modules/@allyhub-next/registry/package.json +0 -13
- package/dist/node_modules/@allyhub-next/render/dist/composite.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/doc/index.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/doc/print.js +0 -18
- package/dist/node_modules/@allyhub-next/render/dist/encode.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/errors.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/exports.js +0 -3
- package/dist/node_modules/@allyhub-next/render/dist/ffmpeg.js +0 -4
- package/dist/node_modules/@allyhub-next/render/dist/footage.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/junction.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/look.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/parts.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/post-probe.js +0 -5
- package/dist/node_modules/@allyhub-next/render/dist/post.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/render.js +0 -3
- package/dist/node_modules/@allyhub-next/render/dist/segments.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/sound.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/stills.js +0 -2
- package/dist/node_modules/@allyhub-next/render/dist/tools.js +0 -2
- package/dist/node_modules/@allyhub-next/render/package.json +0 -17
- package/dist/node_modules/@allyhub-next/runtime/dist/captions.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/clock.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/compose.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/console.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/embed.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/env.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/errors.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/facade.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/footage.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/frame.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/inspect.js +0 -3
- package/dist/node_modules/@allyhub-next/runtime/dist/locate.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/measure.js +0 -3
- package/dist/node_modules/@allyhub-next/runtime/dist/mix-plan.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/music.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/output.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/piece.js +0 -3
- package/dist/node_modules/@allyhub-next/runtime/dist/player/clips.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/player/cutout.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/player/player.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/reads.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/sound.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/speech.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/stage-kit.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/stage.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/takes.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/dist/transitions.js +0 -2
- package/dist/node_modules/@allyhub-next/runtime/package.json +0 -21
- package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/download.d.ts +0 -15
- package/dist/node_modules/@allyhub-next/runtimes/dist/download.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/lock.d.ts +0 -8
- package/dist/node_modules/@allyhub-next/runtimes/dist/lock.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +0 -2
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +0 -65
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +0 -4
- package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.d.ts +0 -69
- package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -4
- package/dist/node_modules/@allyhub-next/runtimes/package.json +0 -18
- package/dist/node_modules/@allyhub-next/scaffold/dist/index.js +0 -16
- package/dist/node_modules/@allyhub-next/scaffold/package.json +0 -13
- package/dist/node_modules/@allyhub-next/scenery/package.json +0 -13
- package/dist/node_modules/@allyhub-next/scenery-host/dist/allyhub.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/scenery-host/dist/allyhub.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bake/apply.d.ts +0 -59
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bake/digest.d.ts +0 -14
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bake/format.d.ts +0 -63
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bake/run.d.ts +0 -63
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bake/run.js +0 -138
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bundle.d.ts +0 -85
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bundle.js +0 -6
- package/dist/node_modules/@allyhub-next/scenery-host/dist/commands.d.ts +0 -54
- package/dist/node_modules/@allyhub-next/scenery-host/dist/commands.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/draw2d.d.ts +0 -47
- package/dist/node_modules/@allyhub-next/scenery-host/dist/draw2d.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/focus-pass.js +0 -246
- package/dist/node_modules/@allyhub-next/scenery-host/dist/glass.d.ts +0 -39
- package/dist/node_modules/@allyhub-next/scenery-host/dist/glass.js +0 -71
- package/dist/node_modules/@allyhub-next/scenery-host/dist/idbuffer.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/scenery-host/dist/inventory.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/scenery-host/dist/inventory.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/index.d.ts +0 -51
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/index.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/moire.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/moire.js +0 -3
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/queries.d.ts +0 -106
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/queries.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/screens.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/screens.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/state.d.ts +0 -110
- package/dist/node_modules/@allyhub-next/scenery-host/dist/layer/types.d.ts +0 -239
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/contacts.d.ts +0 -45
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/facts.d.ts +0 -86
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/facts.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/health.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/index.d.ts +0 -110
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/index.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/relations.d.ts +0 -17
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/relations.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/support.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/scenery-host/dist/measure/support.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/model-stage.js +0 -3
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/bake.d.ts +0 -53
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/bake.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/draw.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/draw.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/files.d.ts +0 -45
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/page.d.ts +0 -127
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/page.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/props.d.ts +0 -23
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/screens.d.ts +0 -147
- package/dist/node_modules/@allyhub-next/scenery-host/dist/page/screens.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/queries/inventory.d.ts +0 -5
- package/dist/node_modules/@allyhub-next/scenery-host/dist/queries/map.d.ts +0 -5
- package/dist/node_modules/@allyhub-next/scenery-host/dist/queries/map.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/dist/queries/view.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/scenery-host/dist/screen-light.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/scenery-host/dist/screen-light.js +0 -156
- package/dist/node_modules/@allyhub-next/scenery-host/dist/viewer.d.ts +0 -114
- package/dist/node_modules/@allyhub-next/scenery-host/dist/viewer.js +0 -2
- package/dist/node_modules/@allyhub-next/scenery-host/package.json +0 -29
- package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +0 -204
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +0 -83
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +0 -170
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +0 -117
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +0 -362
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +0 -68
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.d.ts +0 -82
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +0 -154
- package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +0 -19
- package/dist/node_modules/@allyhub-next/sheet/dist/file.js +0 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/sheet/dist/files.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +0 -46
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +0 -25
- package/dist/node_modules/@allyhub-next/sheet/dist/paginate.d.ts +0 -98
- package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +0 -38
- package/dist/node_modules/@allyhub-next/sheet/dist/table-style.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +0 -324
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +0 -53
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +0 -49
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +0 -159
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +0 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +0 -2
- package/dist/node_modules/@allyhub-next/sheet/package.json +0 -21
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +0 -129
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +0 -726
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +0 -202
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +0 -131
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +0 -309
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +0 -202
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +0 -45
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +0 -3
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +0 -72
- package/dist/node_modules/@allyhub-next/slides-core/package.json +0 -14
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/charts.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/code.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/index.js +0 -3
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/names.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/script.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/chart.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/common.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/index.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/shapes.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/text.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/timing.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/shapes.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/text.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/theme.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/timing.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/write.js +0 -3
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/xml.js +0 -3
- package/dist/node_modules/@allyhub-next/slides-pptx/package.json +0 -14
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/component.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/draw.js +0 -3
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/load.js +0 -6
- package/dist/node_modules/@allyhub-next/slides-runtime/package.json +0 -18
- package/dist/node_modules/@allyhub-next/stage/dist/bakes.js +0 -4
- package/dist/node_modules/@allyhub-next/stage/dist/identity.js +0 -2
- package/dist/node_modules/@allyhub-next/stage/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/stage/dist/page.js +0 -62
- package/dist/node_modules/@allyhub-next/stage/dist/scenery-page.js +0 -12
- package/dist/node_modules/@allyhub-next/stage/dist/scenery-solve.js +0 -2
- package/dist/node_modules/@allyhub-next/stage/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub-next/stage/dist/server.js +0 -2
- package/dist/node_modules/@allyhub-next/stage/package.json +0 -13
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/runtime.js +0 -79
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/stage.js +0 -3
- package/dist/node_modules/@allyhub-next/stage-page/package.json +0 -13
- package/dist/node_modules/@allyhub-next/video-core/dist/edits.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/export.d.ts +0 -97
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.d.ts +0 -1179
- package/dist/node_modules/@allyhub-next/video-core/dist/gen.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/video-core/dist/gen.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/index.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/measure.d.ts +0 -558
- package/dist/node_modules/@allyhub-next/video-core/dist/media.d.ts +0 -226
- package/dist/node_modules/@allyhub-next/video-core/dist/media.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.d.ts +0 -1154
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.d.ts +0 -278
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/schema.d.ts +0 -350
- package/dist/node_modules/@allyhub-next/video-core/dist/speech.js +0 -5
- package/dist/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +0 -626
- package/dist/node_modules/@allyhub-next/video-core/dist/transition.d.ts +0 -289
- package/dist/node_modules/@allyhub-next/video-core/dist/transition.js +0 -2
- package/dist/node_modules/@allyhub-next/video-core/package.json +0 -14
- package/dist/node_modules/@allyhub-next/website/dist/index.js +0 -2
- package/dist/node_modules/@allyhub-next/website/dist/publish.js +0 -3
- package/dist/node_modules/@allyhub-next/website/dist/rules.js +0 -2
- package/dist/node_modules/@allyhub-next/website/dist/website.js +0 -4
- package/dist/node_modules/@allyhub-next/website/package.json +0 -13
- package/editor-web/assets/calc-worker-Bz9r26p1.js +0 -158
- package/editor-web/assets/dist-0emakyZE.js +0 -36
- package/editor-web/assets/dist-B3UoDUa5.js +0 -37
- package/editor-web/assets/dist-B6KzR3pN.js +0 -10
- package/editor-web/assets/dist-Bc5iA5k1.js +0 -1
- package/editor-web/assets/dist-CTQIm8Im.js +0 -10
- package/editor-web/assets/dist-CiHNHwyq.js +0 -2
- package/editor-web/assets/dist-DNZ8PQ-E.js +0 -224
- package/editor-web/assets/index-CFt3ovRY.js +0 -69
- package/editor-web/assets/index-ujKjdu_s.css +0 -2
- package/editor-web/assets/minus-BhoPZC5P.js +0 -1
- package/editor-web/assets/react-C_-rEEBU.js +0 -101
- package/editor-web/assets/rolldown-runtime-XKyaHtl9.js +0 -1
- package/editor-web/assets/tabs-Den4gHrU.js +0 -105
- package/editor-web/assets/text-align-start-CsW4nqqL.js +0 -1
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/levels.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/dist/capture.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/dist/cdp.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/dist/flags.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/dist/frames.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/dist/html.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/dist/launch.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/dist/page.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/browser/dist/server.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/build/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/build/dist/files.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/build/dist/move-refs.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/build/dist/move-refs.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/build/dist/places.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/build/dist/places.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/build/dist/vite.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/chart/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/check/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/check/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/check/dist/result.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/cloud/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/cloud/NOTICE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/cloud/dist/hashes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/cloud/dist/loopback.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/cloud/dist/pkce.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/cloud/dist/signin-worker.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/r/callout.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/r/caption-line.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/r/caption-subtitle.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/r/caption-word.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/r/chart.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/r/code-panel.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/r/screen-demo.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/registry.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/src/callout.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/src/caption-line.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/src/caption-subtitle.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/src/caption-word.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/src/chart.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/src/code-panel.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/src/index.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/components/src/screen-demo.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/dev-server/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/dev-server/dist/fonts.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/dev-server/dist/reveal.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/doc/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/doc/dist/patch.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/doc/dist/title.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/doc/dist/title.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/export/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/export/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/comments.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/comments.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/reference.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/reference.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/script.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/script.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/sheet.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/sheet.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/website.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/website.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/items.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/items.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/layout.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/layout.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/schemas.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.js +0 -0
- /package/dist/node_modules/{@allyhub-next/measure → @allyhub/jobs}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/media → @allyhub/measure}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/measure/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/measure/dist/reference/compare.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/measure/dist/reference/interpret.js +0 -0
- /package/dist/node_modules/{@allyhub-next/model → @allyhub/media}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/NOTICE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/hear.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/hear.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/languages.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/languages.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/parakeet.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/protocol.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/protocol.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/transcribe.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/windows.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/windows.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/words.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/worker.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/asr/worker.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/audio.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/audio.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/beats.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/beats.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/cache.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/errors.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/errors.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/fetch.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/fetch.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/grid.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/grid.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/local.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/local.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/ocr/lines.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/ocr/lines.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/ocr/tesseract.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/ocr/tesseract.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/ocr/text.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/ocr/worker.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/ocr/worker.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/picture.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/picture.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/probe.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/probe.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/progress.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/progress.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/run.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/run.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/sheet.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/shots.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/shots.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/sync.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/sync.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/video.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/video.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/cache.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/cache.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/common.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/common.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/faces.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/faces.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/index-media.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/matte.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/matte.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/mattes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/mattes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/models.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/models.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/probe.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/probe.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/protocol.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/protocol.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/run.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/runtime.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/status.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/status.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/track.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/track.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/types.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/worker.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/worker.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/yunet.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/vision/yunet.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/voice-shape.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/media/dist/voice-shape.js +0 -0
- /package/dist/node_modules/{@allyhub-next/ooxml → @allyhub/model}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/apply.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/apply.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/authoring.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/authoring.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-attributes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-attributes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-collapse.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-collapse.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-corner-plan.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-corner-plan.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-deform.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-deform.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-fans.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-fans.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-junction.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-junction.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-marks.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-marks.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-metric.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-metric.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-mixed.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-mixed.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-offsets.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-offsets.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-patch.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-patch.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-profile.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-profile.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-projection.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-projection.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-reflex.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-reflex.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-square-out.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-square-out.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-strips.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-strips.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-topology.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel-topology.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bevel.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-bevel.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-bevel.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-bridge.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-bridge.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-cycles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-cycles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-data.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-data.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-dissolve.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-dissolve.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-edit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-edit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-inset.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-inset.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-primitives.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-primitives.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-smooth.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-smooth.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-spin.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-spin.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-subdivide.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh-subdivide.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/bmesh.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/boolean.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/boolean.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/build-cache.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/build-cache.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/build-worker.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/build.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/cancel.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/cancel.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/curve-eval.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/curve-eval.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/curve-math.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/curve-math.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/curve-mesh.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/curve-mesh.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/curve.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/curve.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/data.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/evaluate.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/evaluate.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/evaluation-cache.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/evaluation-cache.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/evaluation-guard.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/evaluation-guard.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/evaluation-plan.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/evaluation-plan.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/export.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/export.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/field.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/field.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/COPYRIGHT.musl +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/LICENSE.compiler-rt +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/LICENSE.emscripten +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/LICENSE.libcxx +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/LICENSE.libcxxabi +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/LICENSE.opensubdiv +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/NOTICE.opensubdiv +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/opensubdiv-build.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/opensubdiv.d.mts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/generated/opensubdiv.mjs +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/geometry.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/geometry.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/image.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/image.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/instances.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/instances.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/material-eval.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/material-nodes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/mesh-attributes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/mesh-attributes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/mesh-queries.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/mesh-queries.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/names.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/names.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/patterns.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/patterns.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/png.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/png.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/polygon-triangulation.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/polygon-triangulation.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/program-location.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/program-location.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/report.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/report.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/screw.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/screw.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/solidify.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/solidify.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/subdivision.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/subdivision.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/three.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/three.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/uv-project.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/uv-project.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/uv-unwrap.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/uv-unwrap.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/uv.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/uv.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/vertex-groups.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/vertex-groups.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/weighted-normal.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/model/dist/weighted-normal.js +0 -0
- /package/dist/node_modules/{@allyhub-next/project → @allyhub/ooxml}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/presets.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/presets.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/geometry/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/geometry/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.js +0 -0
- /package/dist/node_modules/{@allyhub-next/protocol → @allyhub/project}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/project/dist/deck-measure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/project/dist/stretch.js +0 -0
- /package/dist/node_modules/{@allyhub-next/registry → @allyhub/protocol}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/account.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/app.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/cli.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/cli.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/files.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/files.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/routes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/shares.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/shares.js +0 -0
- /package/dist/node_modules/{@allyhub-next/render → @allyhub/registry}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/registry/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/registry/dist/polyhaven.js +0 -0
- /package/dist/node_modules/{@allyhub-next/runtime → @allyhub/render}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/NOTICE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/cap.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/capture.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/clip.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/delivery.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/doc/fonts.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/doc/pdf.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/image.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/page.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/pdf.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/png.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/pool.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/render/dist/webp.js +0 -0
- /package/dist/node_modules/{@allyhub-next/runtimes → @allyhub/runtime}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtime/dist/bridge.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtime/dist/contrast.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtime/dist/fonts.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtime/dist/guards.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtime/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtime/dist/pictures.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtime/dist/styles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtime/dist/titles.js +0 -0
- /package/dist/node_modules/{@allyhub-next/scaffold → @allyhub/runtimes}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/manifest.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/onnxruntime-node/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/onnxruntime-node/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/sherpa-onnx-node/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/tesseract.js/package-lock.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/tesseract.js/package.json +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/schemas/runtimes.schema.json +0 -0
- /package/dist/node_modules/{@allyhub-next/scenery-host → @allyhub/scaffold}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/scenery}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/NOTICE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/define.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/define.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.js +0 -0
- /package/dist/node_modules/{@allyhub-next/scenery → @allyhub/scenery-host}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/NOTICE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/adapter.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/adapter.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/bake/apply.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/bake/digest.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/bake/envmap.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/bake/envmap.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/bake/format.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/budget.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/budget.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/clock.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/clock.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/errors.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/errors.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/fidelity.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/fidelity.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/focus-pass.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/idbuffer.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/layer/fidelity.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/layer/fidelity.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/layer/state.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/layer/types.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/measure/contacts.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/measure/health.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/measure/screen-readback.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/measure/screen-readback.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/measure/solid.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/measure/solid.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/model-stage.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/module.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/module.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/page/files.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/page/props.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/page/shaders.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/page/shaders.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/queries/inventory.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/queries/view.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/scene.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/scene.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/screen-dom.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/screen-dom.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/screen-picture.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/screen-picture.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/signature.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/signature.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/steady.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/steady.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/basis/README.md +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/basis/basis_transcoder.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/basis/basis_transcoder.wasm +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/draco/README.md +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/draco/draco_decoder.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/draco/draco_decoder.wasm +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/draco/draco_wasm_wrapper.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/draco/gltf/draco_decoder.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/draco/gltf/draco_decoder.wasm +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/three-libs/draco/gltf/draco_wasm_wrapper.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/vec.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery-host/dist/vec.js +0 -0
- /package/dist/node_modules/{@allyhub-next/slides-core → @allyhub/sheet}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/capabilities.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/code.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/code.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/arrange.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/server.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/csv.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/csv.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/diff.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/edit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/import.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/import.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/inspect.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/paginate.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/patch.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/patch.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/structure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-style.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/write.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.js +0 -0
- /package/dist/node_modules/{@allyhub-next/slides-pptx → @allyhub/slides-core}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/animation.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/code.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/model.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/stage.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/stage.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/theme.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/units.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/units.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.js +0 -0
- /package/dist/node_modules/{@allyhub-next/slides-runtime → @allyhub/slides-pptx}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-pptx/dist/fonts.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-pptx/dist/index.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-pptx/dist/read/model.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-pptx/dist/read/table.js +0 -0
- /package/dist/node_modules/{@allyhub-next/stage → @allyhub/slides-runtime}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-runtime/dist/ink.js +0 -0
- /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/stage}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage/dist/graphics.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/400-italic.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/400.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/700-italic.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/700.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/arial.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-cyrillic-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-cyrillic-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-cyrillic-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-cyrillic-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-cyrillic-ext-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-cyrillic-ext-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-cyrillic-ext-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-cyrillic-ext-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-greek-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-greek-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-greek-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-greek-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-greek-ext-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-greek-ext-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-greek-ext-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-greek-ext-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-hebrew-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-hebrew-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-hebrew-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-hebrew-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-latin-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-latin-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-latin-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-latin-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-latin-ext-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-latin-ext-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-latin-ext-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-latin-ext-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-vietnamese-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-vietnamese-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-vietnamese-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/arimo/files/arimo-vietnamese-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/400-italic.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/400.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/700-italic.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/700.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/calibri.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-cyrillic-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-cyrillic-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-cyrillic-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-cyrillic-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-cyrillic-ext-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-cyrillic-ext-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-cyrillic-ext-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-cyrillic-ext-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-greek-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-greek-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-greek-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-greek-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-greek-ext-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-greek-ext-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-greek-ext-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-greek-ext-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-latin-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-latin-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-latin-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-latin-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-latin-ext-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-latin-ext-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-latin-ext-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-latin-ext-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-vietnamese-400-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-vietnamese-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-vietnamese-700-italic.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/carlito/files/carlito-vietnamese-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-color-emoji/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-color-emoji/emoji.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-color-emoji/files/noto-color-emoji-emoji-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/400.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/700.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-100-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-100-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-101-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-101-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-102-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-102-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-103-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-103-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-104-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-104-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-105-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-105-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-106-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-106-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-107-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-107-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-108-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-108-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-109-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-109-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-110-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-110-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-111-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-111-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-112-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-112-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-113-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-113-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-114-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-114-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-115-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-115-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-116-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-116-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-117-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-117-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-118-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-118-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-119-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-119-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-21-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-21-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-22-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-22-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-23-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-23-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-24-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-24-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-25-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-25-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-26-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-26-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-27-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-27-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-28-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-28-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-29-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-29-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-30-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-30-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-31-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-31-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-32-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-32-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-33-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-33-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-34-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-34-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-35-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-35-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-36-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-36-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-37-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-37-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-38-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-38-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-39-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-39-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-4-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-4-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-40-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-40-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-41-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-41-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-42-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-42-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-43-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-43-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-44-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-44-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-45-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-45-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-46-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-46-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-47-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-47-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-48-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-48-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-49-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-49-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-5-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-5-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-50-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-50-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-51-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-51-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-52-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-52-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-53-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-53-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-54-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-54-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-55-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-55-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-56-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-56-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-57-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-57-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-58-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-58-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-59-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-59-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-6-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-6-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-60-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-60-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-61-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-61-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-62-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-62-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-63-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-63-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-64-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-64-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-65-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-65-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-66-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-66-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-67-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-67-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-68-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-68-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-69-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-69-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-70-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-70-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-71-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-71-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-72-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-72-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-73-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-73-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-74-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-74-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-75-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-75-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-76-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-76-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-77-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-77-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-78-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-78-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-79-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-79-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-80-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-80-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-81-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-81-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-82-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-82-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-83-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-83-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-84-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-84-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-85-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-85-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-86-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-86-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-87-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-87-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-88-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-88-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-89-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-89-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-90-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-90-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-91-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-91-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-97-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-97-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-98-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-98-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-99-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-99-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-cyrillic-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-cyrillic-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-latin-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-latin-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-latin-ext-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-latin-ext-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-vietnamese-400-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/files/noto-sans-sc-vietnamese-700-normal.woff2 +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/fonts/noto-sans-sc/microsoft-yahei.css +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/host.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/runtime/probe.html +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/runtime/probe.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/runtime/stage.html +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/runtime/viewer.html +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/stage-page/dist/runtime/viewer.js +0 -0
- /package/dist/node_modules/{@allyhub-next/website → @allyhub/video-core}/LICENSE +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/anchors.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/anchors.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/captions.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/captions.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/console.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/console.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/contrast.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/contrast.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/cut-report.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/cut-report.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edits.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/export.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/fact.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/footage-motion.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/footage-motion.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/formats.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/formats.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/look.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/look.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/marks.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/marks.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/matrix.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/matrix.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/measure.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/messages.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/messages.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/schema.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script-edit.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script-edit.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/sound-under.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/sound-under.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/source.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/source.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/speech.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timeline.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timing.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timing.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transcript.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transcript.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/voice.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/voice.js +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/words.d.ts +0 -0
- /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/words.js +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
var __defProp=Object.defineProperty,__export=(e,t)=>{for(var r in t)__defProp(e,r,{get:t[r],enumerable:!0})},MEDIA_DIR="assets/media",TEXT_DIR="assets/text",LOCAL_DIR=".allyhub",CACHE_DIR=".allyhub/cache",GITIGNORE=`node_modules/
|
|
3
|
+
${LOCAL_DIR}/
|
|
4
|
+
.playwright-cli/
|
|
5
|
+
`;function baseOf(e){return e.slice(e.lastIndexOf("/")+1)}var TIP=6,HELD=.85,CLOSED=.25,clamp=(e,t,r)=>Math.min(r,Math.max(t,e));function boxAround(e){const t=e.map(o=>o.x),r=e.map(o=>o.y),i=Math.min(...t),u=Math.min(...r);return{x:i,y:u,width:Math.max(...t)-i,height:Math.max(...r)-u}}function isClosed(e){const[t]=e,r=e.at(-1);if(!t||!r)return!1;const{width:i,height:u}=boxAround(e),o=Math.hypot(i,u);return o>0&&Math.hypot(r.x-t.x,r.y-t.y)<=o*CLOSED}var overlaps=(e,t)=>e.x<t.x+Math.max(t.width,1)&&e.x+Math.max(e.width,1)>t.x&&e.y<t.y+Math.max(t.height,1)&&e.y+Math.max(e.height,1)>t.y;function roundTouches(e,t){const r=e.width/2||1,i=e.height/2||1,u=e.x+r,o=e.y+i,a=(clamp(u,t.x,t.x+t.width)-u)/r,s=(clamp(o,t.y,t.y+t.height)-o)/i;return Math.hypot(a,s)<=HELD}function segmentTouches(e,t,r){const i=t.x-e.x,u=t.y-e.y;let o=0,a=1;for(const[s,d]of[[-i,e.x-r.x],[i,r.x+r.width-e.x],[-u,e.y-r.y],[u,r.y+r.height-e.y]]){if(s===0){if(d<0)return!1}else s<0?o=Math.max(o,d/s):a=Math.min(a,d/s);if(o>a)return!1}return!0}function touches(e,t){switch(e.kind){case"box":return overlaps(e.rect,t);case"round":return roundTouches(e.rect,t);case"arrow":return overlaps({x:e.to.x-TIP,y:e.to.y-TIP,width:2*TIP,height:2*TIP},t);case"line":return isClosed(e.points)?roundTouches(boxAround(e.points),t):e.points.some((r,i)=>segmentTouches(e.points[i-1]??r,r,t))}}function mapShape(e,t){switch(e.kind){case"box":case"round":{const r=t(e.rect),i=t({x:e.rect.x+e.rect.width,y:e.rect.y+e.rect.height});return{kind:e.kind,rect:{...r,width:i.x-r.x,height:i.y-r.y}}}case"arrow":return{kind:"arrow",from:t(e.from),to:t(e.to)};case"line":return{kind:"line",points:e.points.map(t)}}}var external_exports={};__export(external_exports,{$brand:()=>$brand,$input:()=>$input,$output:()=>$output,INVALID:()=>INVALID,NEVER:()=>NEVER,TimePrecision:()=>TimePrecision,ZodAny:()=>ZodAny,ZodArray:()=>ZodArray,ZodBase64:()=>ZodBase64,ZodBase64URL:()=>ZodBase64URL,ZodBigInt:()=>ZodBigInt,ZodBigIntFormat:()=>ZodBigIntFormat,ZodBoolean:()=>ZodBoolean,ZodCIDRv4:()=>ZodCIDRv4,ZodCIDRv6:()=>ZodCIDRv6,ZodCUID:()=>ZodCUID,ZodCUID2:()=>ZodCUID2,ZodCatch:()=>ZodCatch,ZodCodec:()=>ZodCodec,ZodCompileAsyncError:()=>ZodCompileAsyncError,ZodCompileUnsupportedError:()=>ZodCompileUnsupportedError,ZodCreditCard:()=>ZodCreditCard,ZodCustom:()=>ZodCustom,ZodCustomStringFormat:()=>ZodCustomStringFormat,ZodDate:()=>ZodDate,ZodDefault:()=>ZodDefault,ZodDiscriminatedUnion:()=>ZodDiscriminatedUnion,ZodE164:()=>ZodE164,ZodEmail:()=>ZodEmail,ZodEmoji:()=>ZodEmoji,ZodEnum:()=>ZodEnum,ZodError:()=>ZodError,ZodExactOptional:()=>ZodExactOptional,ZodFile:()=>ZodFile,ZodFirstPartyTypeKind:()=>ZodFirstPartyTypeKind,ZodFunction:()=>ZodFunction,ZodGUID:()=>ZodGUID,ZodIBAN:()=>ZodIBAN,ZodIPv4:()=>ZodIPv4,ZodIPv6:()=>ZodIPv6,ZodISODate:()=>ZodISODate,ZodISODateTime:()=>ZodISODateTime,ZodISODuration:()=>ZodISODuration,ZodISOTime:()=>ZodISOTime,ZodInstanceOf:()=>ZodInstanceOf,ZodIntersection:()=>ZodIntersection,ZodIssueCode:()=>ZodIssueCode,ZodJWT:()=>ZodJWT,ZodKSUID:()=>ZodKSUID,ZodLazy:()=>ZodLazy,ZodLiteral:()=>ZodLiteral,ZodMAC:()=>ZodMAC,ZodMap:()=>ZodMap,ZodNaN:()=>ZodNaN,ZodNanoID:()=>ZodNanoID,ZodNever:()=>ZodNever,ZodNonOptional:()=>ZodNonOptional,ZodNull:()=>ZodNull,ZodNullable:()=>ZodNullable,ZodNumber:()=>ZodNumber,ZodNumberFormat:()=>ZodNumberFormat,ZodObject:()=>ZodObject,ZodOptional:()=>ZodOptional,ZodPipe:()=>ZodPipe,ZodPrefault:()=>ZodPrefault,ZodPreprocess:()=>ZodPreprocess,ZodPromise:()=>ZodPromise,ZodReadonly:()=>ZodReadonly,ZodRealError:()=>ZodRealError,ZodRecord:()=>ZodRecord,ZodSet:()=>ZodSet,ZodString:()=>ZodString,ZodStringFormat:()=>ZodStringFormat,ZodSuccess:()=>ZodSuccess,ZodSymbol:()=>ZodSymbol,ZodTemplateLiteral:()=>ZodTemplateLiteral,ZodTransform:()=>ZodTransform,ZodTuple:()=>ZodTuple,ZodType:()=>ZodType,ZodULID:()=>ZodULID,ZodURL:()=>ZodURL,ZodUUID:()=>ZodUUID,ZodUndefined:()=>ZodUndefined,ZodUnion:()=>ZodUnion,ZodUnknown:()=>ZodUnknown,ZodVoid:()=>ZodVoid,ZodXID:()=>ZodXID,ZodXor:()=>ZodXor,_ZodString:()=>_ZodString,_default:()=>_default2,_function:()=>_function,any:()=>any,array:()=>array,base64:()=>base642,base64url:()=>base64url2,bigint:()=>bigint2,boolean:()=>boolean2,catch:()=>_catch2,check:()=>check,cidrv4:()=>cidrv42,cidrv6:()=>cidrv62,clone:()=>clone,codec:()=>codec,coerce:()=>coerce_exports,compile:()=>compile,config:()=>config,core:()=>core_exports2,creditCard:()=>creditCard2,cuid:()=>cuid3,cuid2:()=>cuid22,currencyCode:()=>currencyCode2,custom:()=>custom,date:()=>date2,decode:()=>decode2,decodeAsync:()=>decodeAsync2,deepPartial:()=>deepPartial,describe:()=>describe2,discriminatedUnion:()=>discriminatedUnion,e164:()=>e1642,email:()=>email2,emoji:()=>emoji2,encode:()=>encode2,encodeAsync:()=>encodeAsync2,endsWith:()=>_endsWith,enum:()=>_enum2,exactOptional:()=>exactOptional,file:()=>file,flattenError:()=>flattenError,float32:()=>float32,float64:()=>float64,formatError:()=>formatError,fromJSONSchema:()=>fromJSONSchema,function:()=>_function,getDiscriminatedOption:()=>getDiscriminatedOption,getErrorMap:()=>getErrorMap,globalRegistry:()=>globalRegistry,gt:()=>_gt,gte:()=>_gte,guid:()=>guid2,hash:()=>hash,hex:()=>hex2,hostname:()=>hostname2,httpUrl:()=>httpUrl,iban:()=>iban2,includes:()=>_includes,input:()=>input,instanceof:()=>_instanceof,int:()=>int,int32:()=>int32,int64:()=>int64,intersection:()=>intersection,invertCodec:()=>invertCodec,ipv4:()=>ipv42,ipv6:()=>ipv62,iso:()=>iso_exports,json:()=>json,jwt:()=>jwt,keyof:()=>keyof,ksuid:()=>ksuid2,lazy:()=>lazy,length:()=>_length,literal:()=>literal,locales:()=>locales_exports,looseObject:()=>looseObject,looseRecord:()=>looseRecord,lowercase:()=>_lowercase,lt:()=>_lt,lte:()=>_lte,mac:()=>mac2,map:()=>map,maxLength:()=>_maxLength,maxSize:()=>_maxSize,memoizer:()=>memoizer,meta:()=>meta2,mime:()=>_mime,minLength:()=>_minLength,minSize:()=>_minSize,multipleOf:()=>_multipleOf,nan:()=>nan,nanoid:()=>nanoid2,nativeEnum:()=>nativeEnum,negative:()=>_negative,never:()=>never,nonnegative:()=>_nonnegative,nonoptional:()=>nonoptional,nonpositive:()=>_nonpositive,normalize:()=>_normalize,null:()=>_null3,nullable:()=>nullable,nullish:()=>nullish2,number:()=>number2,object:()=>object,optional:()=>optional,output:()=>output,overwrite:()=>_overwrite,parse:()=>parse2,parseAsync:()=>parseAsync2,partialRecord:()=>partialRecord,pipe:()=>pipe,positive:()=>_positive,prefault:()=>prefault,preprocess:()=>preprocess,prettifyError:()=>prettifyError,promise:()=>promise,properties:()=>_properties,property:()=>_property,readonly:()=>readonly,record:()=>record,refine:()=>refine,regex:()=>_regex,regexes:()=>regexes_exports,registry:()=>registry,safeDecode:()=>safeDecode2,safeDecodeAsync:()=>safeDecodeAsync2,safeEncode:()=>safeEncode2,safeEncodeAsync:()=>safeEncodeAsync2,safeParse:()=>safeParse2,safeParseAsync:()=>safeParseAsync2,set:()=>set,setErrorMap:()=>setErrorMap,size:()=>_size,slugify:()=>_slugify,startsWith:()=>_startsWith,strictObject:()=>strictObject,string:()=>string2,stringFormat:()=>stringFormat,stringbool:()=>stringbool,success:()=>success,superRefine:()=>superRefine,symbol:()=>symbol,templateLiteral:()=>templateLiteral,toJSONSchema:()=>toJSONSchema,toLowerCase:()=>_toLowerCase,toUpperCase:()=>_toUpperCase,toZod:()=>toZod,transform:()=>transform,treeifyError:()=>treeifyError,trim:()=>_trim,tuple:()=>tuple,uint32:()=>uint32,uint64:()=>uint64,ulid:()=>ulid2,undefined:()=>_undefined3,union:()=>union,unknown:()=>unknown,uppercase:()=>_uppercase,url:()=>url,util:()=>util_exports,uuid:()=>uuid2,uuidv4:()=>uuidv4,uuidv6:()=>uuidv6,uuidv7:()=>uuidv7,validate:()=>validate,validateAsync:()=>validateAsync,void:()=>_void2,withParser:()=>withParser,xid:()=>xid2,xor:()=>xor});var core_exports2={};__export(core_exports2,{$ZodAny:()=>$ZodAny,$ZodArray:()=>$ZodArray,$ZodAsyncError:()=>$ZodAsyncError,$ZodBase64:()=>$ZodBase64,$ZodBase64URL:()=>$ZodBase64URL,$ZodBigInt:()=>$ZodBigInt,$ZodBigIntFormat:()=>$ZodBigIntFormat,$ZodBoolean:()=>$ZodBoolean,$ZodCIDRv4:()=>$ZodCIDRv4,$ZodCIDRv6:()=>$ZodCIDRv6,$ZodCUID:()=>$ZodCUID,$ZodCUID2:()=>$ZodCUID2,$ZodCatch:()=>$ZodCatch,$ZodCheck:()=>$ZodCheck,$ZodCheckBigIntFormat:()=>$ZodCheckBigIntFormat,$ZodCheckEndsWith:()=>$ZodCheckEndsWith,$ZodCheckGreaterThan:()=>$ZodCheckGreaterThan,$ZodCheckIncludes:()=>$ZodCheckIncludes,$ZodCheckLengthEquals:()=>$ZodCheckLengthEquals,$ZodCheckLessThan:()=>$ZodCheckLessThan,$ZodCheckLowerCase:()=>$ZodCheckLowerCase,$ZodCheckMaxLength:()=>$ZodCheckMaxLength,$ZodCheckMaxSize:()=>$ZodCheckMaxSize,$ZodCheckMimeType:()=>$ZodCheckMimeType,$ZodCheckMinLength:()=>$ZodCheckMinLength,$ZodCheckMinSize:()=>$ZodCheckMinSize,$ZodCheckMultipleOf:()=>$ZodCheckMultipleOf,$ZodCheckNumberFormat:()=>$ZodCheckNumberFormat,$ZodCheckOverwrite:()=>$ZodCheckOverwrite,$ZodCheckProperties:()=>$ZodCheckProperties,$ZodCheckProperty:()=>$ZodCheckProperty,$ZodCheckRegex:()=>$ZodCheckRegex,$ZodCheckSizeEquals:()=>$ZodCheckSizeEquals,$ZodCheckStartsWith:()=>$ZodCheckStartsWith,$ZodCheckStringFormat:()=>$ZodCheckStringFormat,$ZodCheckUpperCase:()=>$ZodCheckUpperCase,$ZodCodec:()=>$ZodCodec,$ZodCreditCard:()=>$ZodCreditCard,$ZodCustom:()=>$ZodCustom,$ZodCustomStringFormat:()=>$ZodCustomStringFormat,$ZodCyclicError:()=>$ZodCyclicError,$ZodDate:()=>$ZodDate,$ZodDefault:()=>$ZodDefault,$ZodDiscriminatedUnion:()=>$ZodDiscriminatedUnion,$ZodE164:()=>$ZodE164,$ZodEmail:()=>$ZodEmail,$ZodEmoji:()=>$ZodEmoji,$ZodEncodeError:()=>$ZodEncodeError,$ZodEnum:()=>$ZodEnum,$ZodError:()=>$ZodError,$ZodExactOptional:()=>$ZodExactOptional,$ZodFile:()=>$ZodFile,$ZodFunction:()=>$ZodFunction,$ZodGUID:()=>$ZodGUID,$ZodIBAN:()=>$ZodIBAN,$ZodIPv4:()=>$ZodIPv4,$ZodIPv6:()=>$ZodIPv6,$ZodISODate:()=>$ZodISODate,$ZodISODateTime:()=>$ZodISODateTime,$ZodISODuration:()=>$ZodISODuration,$ZodISOTime:()=>$ZodISOTime,$ZodIntersection:()=>$ZodIntersection,$ZodJWT:()=>$ZodJWT,$ZodKSUID:()=>$ZodKSUID,$ZodLazy:()=>$ZodLazy,$ZodLiteral:()=>$ZodLiteral,$ZodMAC:()=>$ZodMAC,$ZodMap:()=>$ZodMap,$ZodNaN:()=>$ZodNaN,$ZodNanoID:()=>$ZodNanoID,$ZodNever:()=>$ZodNever,$ZodNonOptional:()=>$ZodNonOptional,$ZodNull:()=>$ZodNull,$ZodNullable:()=>$ZodNullable,$ZodNumber:()=>$ZodNumber,$ZodNumberFormat:()=>$ZodNumberFormat,$ZodObject:()=>$ZodObject,$ZodObjectJIT:()=>$ZodObjectJIT,$ZodOptional:()=>$ZodOptional,$ZodPipe:()=>$ZodPipe,$ZodPrefault:()=>$ZodPrefault,$ZodPreprocess:()=>$ZodPreprocess,$ZodPromise:()=>$ZodPromise,$ZodReadonly:()=>$ZodReadonly,$ZodRealError:()=>$ZodRealError,$ZodRecord:()=>$ZodRecord,$ZodRegistry:()=>$ZodRegistry,$ZodSet:()=>$ZodSet,$ZodString:()=>$ZodString,$ZodStringFormat:()=>$ZodStringFormat,$ZodSuccess:()=>$ZodSuccess,$ZodSymbol:()=>$ZodSymbol,$ZodTemplateLiteral:()=>$ZodTemplateLiteral,$ZodTransform:()=>$ZodTransform,$ZodTuple:()=>$ZodTuple,$ZodType:()=>$ZodType,$ZodULID:()=>$ZodULID,$ZodURL:()=>$ZodURL,$ZodUUID:()=>$ZodUUID,$ZodUndefined:()=>$ZodUndefined,$ZodUnion:()=>$ZodUnion,$ZodUnknown:()=>$ZodUnknown,$ZodVoid:()=>$ZodVoid,$ZodXID:()=>$ZodXID,$ZodXor:()=>$ZodXor,$brand:()=>$brand,$constructor:()=>$constructor,$input:()=>$input,$output:()=>$output,Doc:()=>Doc,INVALID:()=>INVALID,JSONSchema:()=>json_schema_exports,JSONSchemaGenerator:()=>JSONSchemaGenerator,NEVER:()=>NEVER,TimePrecision:()=>TimePrecision,URL_BAD_FORMAT:()=>URL_BAD_FORMAT,URL_UNPARSEABLE:()=>URL_UNPARSEABLE,ZodCompileAsyncError:()=>ZodCompileAsyncError,ZodCompileUnsupportedError:()=>ZodCompileUnsupportedError,_any:()=>_any,_array:()=>_array,_base64:()=>_base64,_base64url:()=>_base64url,_bigint:()=>_bigint,_boolean:()=>_boolean,_catch:()=>_catch,_check:()=>_check,_cidrv4:()=>_cidrv4,_cidrv6:()=>_cidrv6,_coercedBigint:()=>_coercedBigint,_coercedBoolean:()=>_coercedBoolean,_coercedDate:()=>_coercedDate,_coercedNumber:()=>_coercedNumber,_coercedString:()=>_coercedString,_creditCard:()=>_creditCard,_cuid:()=>_cuid,_cuid2:()=>_cuid2,_custom:()=>_custom,_date:()=>_date,_decode:()=>_decode,_decodeAsync:()=>_decodeAsync,_default:()=>_default,_discriminatedUnion:()=>_discriminatedUnion,_e164:()=>_e164,_email:()=>_email,_emoji:()=>_emoji2,_encode:()=>_encode,_encodeAsync:()=>_encodeAsync,_endsWith:()=>_endsWith,_enum:()=>_enum,_file:()=>_file,_float32:()=>_float32,_float64:()=>_float64,_gt:()=>_gt,_gte:()=>_gte,_guid:()=>_guid,_iban:()=>_iban,_includes:()=>_includes,_int:()=>_int,_int32:()=>_int32,_int64:()=>_int64,_intersection:()=>_intersection,_ipv4:()=>_ipv4,_ipv6:()=>_ipv6,_isoDate:()=>_isoDate,_isoDateTime:()=>_isoDateTime,_isoDuration:()=>_isoDuration,_isoTime:()=>_isoTime,_jwt:()=>_jwt,_ksuid:()=>_ksuid,_lazy:()=>_lazy,_length:()=>_length,_literal:()=>_literal,_lowercase:()=>_lowercase,_lt:()=>_lt,_lte:()=>_lte,_mac:()=>_mac,_map:()=>_map,_max:()=>_lte,_maxLength:()=>_maxLength,_maxSize:()=>_maxSize,_mime:()=>_mime,_min:()=>_gte,_minLength:()=>_minLength,_minSize:()=>_minSize,_multipleOf:()=>_multipleOf,_nan:()=>_nan,_nanoid:()=>_nanoid,_nativeEnum:()=>_nativeEnum,_negative:()=>_negative,_never:()=>_never,_nonnegative:()=>_nonnegative,_nonoptional:()=>_nonoptional,_nonpositive:()=>_nonpositive,_normalize:()=>_normalize,_null:()=>_null2,_nullable:()=>_nullable,_number:()=>_number,_optional:()=>_optional,_overwrite:()=>_overwrite,_parse:()=>_parse,_parseAsync:()=>_parseAsync,_pipe:()=>_pipe,_positive:()=>_positive,_promise:()=>_promise,_properties:()=>_properties,_property:()=>_property,_readonly:()=>_readonly,_record:()=>_record,_refine:()=>_refine,_regex:()=>_regex,_safeDecode:()=>_safeDecode,_safeDecodeAsync:()=>_safeDecodeAsync,_safeEncode:()=>_safeEncode,_safeEncodeAsync:()=>_safeEncodeAsync,_safeParse:()=>_safeParse,_safeParseAsync:()=>_safeParseAsync,_set:()=>_set,_size:()=>_size,_slugify:()=>_slugify,_startsWith:()=>_startsWith,_string:()=>_string,_stringFormat:()=>_stringFormat,_stringbool:()=>_stringbool,_success:()=>_success,_superRefine:()=>_superRefine,_symbol:()=>_symbol,_templateLiteral:()=>_templateLiteral,_toLowerCase:()=>_toLowerCase,_toUpperCase:()=>_toUpperCase,_transform:()=>_transform,_trim:()=>_trim,_tuple:()=>_tuple,_uint32:()=>_uint32,_uint64:()=>_uint64,_ulid:()=>_ulid,_undefined:()=>_undefined2,_union:()=>_union,_unknown:()=>_unknown,_uppercase:()=>_uppercase,_url:()=>_url,_uuid:()=>_uuid,_uuidv4:()=>_uuidv4,_uuidv6:()=>_uuidv6,_uuidv7:()=>_uuidv7,_void:()=>_void,_xid:()=>_xid,_xor:()=>_xor,base64Charset:()=>base64Charset,base64urlCharset:()=>base64urlCharset,canParseURL:()=>canParseURL,clone:()=>clone,compile:()=>compile,compileFn:()=>compileFn,config:()=>config,createStandardJSONSchemaMethod:()=>createStandardJSONSchemaMethod,createToJSONSchemaMethod:()=>createToJSONSchemaMethod,decode:()=>decode,decodeAsync:()=>decodeAsync,describe:()=>describe,encode:()=>encode,encodeAsync:()=>encodeAsync,extractDefs:()=>extractDefs,finalize:()=>finalize,flattenError:()=>flattenError,formatError:()=>formatError,getDiscriminatedOption:()=>getDiscriminatedOption,globalConfig:()=>globalConfig,globalRegistry:()=>globalRegistry,handleUnrepresentable:()=>handleUnrepresentable,initializeContext:()=>initializeContext,isBackEdge:()=>isBackEdge,isRecursiveSchema:()=>isRecursiveSchema,isValidBase64:()=>isValidBase64,isValidBase64URL:()=>isValidBase64URL,isValidCIDRv6:()=>isValidCIDRv6,isValidCreditCard:()=>isValidCreditCard,isValidIBAN:()=>isValidIBAN,isValidIPv6:()=>isValidIPv6,isValidJWT:()=>isValidJWT,locales:()=>locales_exports,memoizer:()=>memoizer,mergeValues:()=>mergeValues,meta:()=>meta,parse:()=>parse,parseAsync:()=>parseAsync,parseURLObject:()=>parseURLObject,prettifyError:()=>prettifyError,process:()=>processSchema,processSchema:()=>processSchema,regexes:()=>regexes_exports,registry:()=>registry,safeDecode:()=>safeDecode,safeDecodeAsync:()=>safeDecodeAsync,safeEncode:()=>safeEncode,safeEncodeAsync:()=>safeEncodeAsync,safeParse:()=>safeParse,safeParseAsync:()=>safeParseAsync,standardProps:()=>standardProps,stripTabAndNewline:()=>stripTabAndNewline,toDotPath:()=>toDotPath,toJSONSchema:()=>toJSONSchema,toZod:()=>toZod,treeifyError:()=>treeifyError,urlHostnameOk:()=>urlHostnameOk,urlProtocolOk:()=>urlProtocolOk,util:()=>util_exports,validate:()=>validate,validateAsync:()=>validateAsync,validateURL:()=>validateURL,version:()=>version,withParser:()=>withParser});var util_exports={};__export(util_exports,{BIGINT_FORMAT_RANGES:()=>BIGINT_FORMAT_RANGES,CONSTANT_CATCH:()=>CONSTANT_CATCH,Class:()=>Class,NUMBER_FORMAT_RANGES:()=>NUMBER_FORMAT_RANGES,aborted:()=>aborted,allowsEval:()=>allowsEval,assert:()=>assert,assertEqual:()=>assertEqual,assertIs:()=>assertIs,assertNever:()=>assertNever,assertNotEqual:()=>assertNotEqual,assignProp:()=>assignProp,attachSchema:()=>attachSchema,base64ToUint8Array:()=>base64ToUint8Array,base64urlToUint8Array:()=>base64urlToUint8Array,cached:()=>cached,captureStackTrace:()=>captureStackTrace,cleanEnum:()=>cleanEnum,cleanRegex:()=>cleanRegex,clone:()=>clone,cloneDef:()=>cloneDef,codePointLength:()=>codePointLength,constantCatch:()=>constantCatch,createTransparentProxy:()=>createTransparentProxy,defineLazy:()=>defineLazy,defineLazyInternal:()=>defineLazyInternal,derived:()=>derived,esc:()=>esc,escapeRegex:()=>escapeRegex,explicitlyAborted:()=>explicitlyAborted,extend:()=>extend,finalizeIssue:()=>finalizeIssue,floatSafeRemainder:()=>floatSafeRemainder,getElementAtPath:()=>getElementAtPath,getEnumValues:()=>getEnumValues,getLengthableOrigin:()=>getLengthableOrigin,getParsedType:()=>getParsedType,getSizableOrigin:()=>getSizableOrigin,hexToUint8Array:()=>hexToUint8Array,hide:()=>hide,installLazyProp:()=>installLazyProp,isObject:()=>isObject,isPlainObject:()=>isPlainObject,issue:()=>issue,joinValues:()=>joinValues,jsonStringifyReplacer:()=>jsonStringifyReplacer,members:()=>members,merge:()=>merge,mergeDefs:()=>mergeDefs,normalizeParams:()=>normalizeParams,nullish:()=>nullish,numKeys:()=>numKeys,objectClone:()=>objectClone,omit:()=>omit,optionalKeys:()=>optionalKeys,own:()=>own,parsedType:()=>parsedType,partial:()=>partial,pick:()=>pick,prefixIssues:()=>prefixIssues,primitiveTypes:()=>primitiveTypes,promiseAllObject:()=>promiseAllObject,propertyKeyTypes:()=>propertyKeyTypes,randomString:()=>randomString,rawShape:()=>rawShape,required:()=>required,safeExtend:()=>safeExtend,shallowClone:()=>shallowClone,sizeCaps:()=>sizeCaps,slugify:()=>slugify,stringifyPrimitive:()=>stringifyPrimitive,toZod:()=>toZod,uint8ArrayToBase64:()=>uint8ArrayToBase64,uint8ArrayToBase64url:()=>uint8ArrayToBase64url,uint8ArrayToHex:()=>uint8ArrayToHex,unwrapMessage:()=>unwrapMessage});function assertEqual(e){return e}function assertNotEqual(e){return e}function toZod(){return e=>e}function assertIs(e){}function assertNever(e){throw new Error("Unexpected value in exhaustive check")}function assert(e){}function getEnumValues(e){const t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,u])=>t.indexOf(+i)===-1).map(([i,u])=>u)}function joinValues(e,t="|"){return e.map(r=>stringifyPrimitive(r)).join(t)}function jsonStringifyReplacer(e,t){return typeof t=="bigint"?t.toString():t}var Cached=class{constructor(e){this._getter=e,this._value=void 0}get value(){const e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}};function cached(e){return new Cached(e)}function nullish(e){return e==null}function cleanRegex(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function floatSafeRemainder(e,t){const r=e/t,i=Math.round(r),u=4*Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-i)<u?0:r-i}var EVALUATING=Symbol("evaluating");function defineLazy(e,t,r){let i;Object.defineProperty(e,t,{get(){if(i!==EVALUATING)return i===void 0&&(i=EVALUATING,i=r()),i},set(u){Object.defineProperty(e,t,{value:u})},configurable:!0})}function objectClone(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function assignProp(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function rawShape(e){const t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function sourceShape(e){return rawShape(e._zod.def)??e._zod.def.shape}function deferProp(e,t,r){Object.defineProperty(e,t,{get(){const i=r();return assignProp(this,t,i),i},enumerable:!0,configurable:!0})}function putProp(e,t,r){t in e?assignProp(e,t,r):e[t]=r}function mirrorShape(e,t,r,i){const u=sourceShape(t);for(const o of r){const a=Object.getOwnPropertyDescriptor(u,o);a.enumerable&&(a.get?deferProp(e,o,()=>{const s=t._zod.def.shape[o];return i?i(s,o):s}):putProp(e,o,i?i(a.value,o):a.value))}}function mirrorProps(e,t){for(const r of Reflect.ownKeys(t)){const i=Object.getOwnPropertyDescriptor(t,r);i.enumerable&&(i.get?deferProp(e,r,()=>t[r]):putProp(e,r,i.value))}}function mergeDefs(...e){const t={};for(const r of e){const i=Object.getOwnPropertyDescriptors(r);Object.assign(t,i)}return Object.defineProperties({},t)}function cloneDef(e){return mergeDefs(e._zod.def)}function getElementAtPath(e,t){return t?t.reduce((r,i)=>r?.[i],e):e}function promiseAllObject(e){const t=Object.keys(e),r=t.map(i=>e[i]);return Promise.all(r).then(i=>{const u={};for(let o=0;o<t.length;o++)u[t[o]]=i[o];return u})}function randomString(e=10){const t="abcdefghijklmnopqrstuvwxyz";let r="";for(let i=0;i<e;i++)r+=t[Math.floor(Math.random()*t.length)];return r}function esc(e){return JSON.stringify(e)}function slugify(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var captureStackTrace="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function isObject(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var allowsEval=cached(()=>{if(globalConfig.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function isPlainObject(e){if(isObject(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(isObject(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function shallowClone(e){return isPlainObject(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function numKeys(e){let t=0;for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var getParsedType=e=>{const t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},propertyKeyTypes=new Set(["string","number","symbol"]),primitiveTypes=new Set(["string","number","bigint","boolean","symbol","undefined"]);function escapeRegex(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function clone(e,t,r){const i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function normalizeParams(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function createTransparentProxy(e){let t;return new Proxy({},{get(r,i,u){return t??(t=e()),Reflect.get(t,i,u)},set(r,i,u,o){return t??(t=e()),Reflect.set(t,i,u,o)},has(r,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(r,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(r,i,u){return t??(t=e()),Reflect.defineProperty(t,i,u)}})}function stringifyPrimitive(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function optionalKeys(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}var NUMBER_FORMAT_RANGES={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},BIGINT_FORMAT_RANGES={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function pick(e,t){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const o={};return mirrorShape(o,e,maskedKeys(e,t)),clone(e,mergeDefs(r,{shape:o,checks:[]}))}function maskedKeys(e,t){const r=sourceShape(e),i=[];for(const u of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(r,u)?.enumerable)throw new Error(`Unrecognized key: "${String(u)}"`);t[u]&&i.push(u)}return i}function omit(e,t){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const o=new Set(maskedKeys(e,t)),a={};return mirrorShape(a,e,Reflect.ownKeys(sourceShape(e)).filter(s=>!o.has(s))),clone(e,mergeDefs(r,{shape:a,checks:[]}))}function extend(e,t){if(!isPlainObject(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const u=sourceShape(e);for(const o of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(u,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return clone(e,mergeDefs(e._zod.def,{shape:extended(e,t)}))}function extended(e,t){const r={};return mirrorShape(r,e,Reflect.ownKeys(sourceShape(e))),mirrorProps(r,t),r}function safeExtend(e,t){if(!isPlainObject(t))throw new Error("Invalid input to safeExtend: expected a plain object");return clone(e,mergeDefs(e._zod.def,{shape:extended(e,t)}))}function merge(e,t){if(!t?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const r={};mirrorShape(r,e,Reflect.ownKeys(sourceShape(e))),mirrorShape(r,t,Reflect.ownKeys(sourceShape(t)));const i=mergeDefs(e._zod.def,{shape:r,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return clone(e,i)}function partial(e,t,r,i="partial"){const o=t._zod.def.checks;if(o&&o.length>0)throw new Error(`.${i}() cannot be used on object schemas containing refinements`);const s=r?new Set(maskedKeys(t,r)):void 0,d={};return mirrorShape(d,t,Reflect.ownKeys(sourceShape(t)),e&&((c,l)=>s&&!s.has(l)?c:new e({type:"optional",innerType:c}))),clone(t,mergeDefs(t._zod.def,{shape:d,checks:[]}))}function required(e,t,r){const i=r?new Set(maskedKeys(t,r)):void 0,u={};return mirrorShape(u,t,Reflect.ownKeys(sourceShape(t)),(o,a)=>i&&!i.has(a)?o:new e({type:"nonoptional",innerType:o})),clone(t,mergeDefs(t._zod.def,{shape:u}))}function aborted(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function explicitlyAborted(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function prefixIssues(e,t){return t.map(r=>{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function unwrapMessage(e){return typeof e=="string"?e:e?.message}function sizeCaps(e){const t=[];for(const r of e??[]){const i=r._zod.def;if(!/_(length|size)$|_equals$/.test(i.check))break;const u=i.maximum??i.length??i.size;u>=0&&t.push([u,r])}return t}function attachSchema(e,t,r){var i;for(let u=t;u<e.length;u++)(i=e[u]).schema??(i.schema=r)}function finalizeIssue(e,t,r){var i;const u=e.inst?._zod?.traits;u?.has("$ZodType")&&(u.has("$ZodCheck")?(i=e).schema??(i.schema=e.inst):e.schema=e.inst);const o=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,a=e.message?e.message:unwrapMessage(e.inst?._zod.def?.error?.(e))??unwrapMessage(o?.(e))??unwrapMessage(t?.error?.(e))??unwrapMessage(r.customError?.(e))??unwrapMessage(r.localeError?.(e))??"Invalid input",s={};for(const d of Object.keys(e))d==="inst"||d==="schema"||d==="continue"||d==="input"||d==="__proto__"||(s[d]=e[d]);return s.path??(s.path=[]),s.message=a,t?.reportInput&&(s.input=e.input),s}function getSizableOrigin(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}var highSurrogate=/[\uD800-\uDBFF]/;function codePointLength(e){const t=e.length;if(!highSurrogate.test(e))return t;let r=t;for(let i=0;i<t-1;i++)(e.charCodeAt(i)&64512)===55296&&(e.charCodeAt(i+1)&64512)===56320&&(r--,i++);return r}function getLengthableOrigin(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function parsedType(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";const r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return t}function issue(...e){const[t,r,i]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:i}:{...t}}function cleanEnum(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function base64ToUint8Array(e){const t=atob(e),r=new Uint8Array(t.length);for(let i=0;i<t.length;i++)r[i]=t.charCodeAt(i);return r}function uint8ArrayToBase64(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function base64urlToUint8Array(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return base64ToUint8Array(t+r)}function uint8ArrayToBase64url(e){return uint8ArrayToBase64(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function hexToUint8Array(e){const t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");const r=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)r[i/2]=Number.parseInt(t.slice(i,i+2),16);return r}function uint8ArrayToHex(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var Class=class{constructor(...e){}};function members(e,t){for(const r in t){const i=Object.getOwnPropertyDescriptor(t,r);i.get?Object.defineProperty(e,r,{...i,enumerable:!1}):defineBound(e,r,i.value)}}function own(e,t,r,i=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:i,value:r}),r}function hide(e,t,r){return own(e,t,r,!1)}function derived(e,t){for(const r in e){const i=e[r];Object.defineProperty(t,r,{configurable:!0,enumerable:!0,get(){return own(this,r,i(this))},set(u){own(this,r,u)}})}return t}function defineBound(e,t,r){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?r:own(this,t,r.bind(this))},set(i){own(this,t,i)}})}function claim(e,t){const r=Object.getPrototypeOf(e);return t in r?void 0:r}var installing,broke=!1,breaker={configurable:!0,get(){broke=!0}};function defineLazyInternal(e,t,r){const i=Object.getPrototypeOf(e._zod);if(t in i&&installing!==e._zod){installing=void 0;return}installing=e._zod,Object.defineProperty(i,t,{configurable:!0,get(){Object.defineProperty(this,t,breaker);const u=broke;broke=!1;try{const o=r(this);return broke?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o}),broke=broke||u,o}catch(o){throw delete this[t],broke=broke||u,o}},set(u){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:u})}})}function installLazyProp(e,t,r,i){const u=claim(e,t);u&&Object.defineProperty(u,t,{configurable:!0,get(){const o={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,t,o),o.value=r(this),Object.defineProperty(this,t,o),o.value},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:i,value:o})}})}var CONSTANT_CATCH="~constantCatch";function constantCatch(e){const t=()=>e;return t[CONSTANT_CATCH]=!0,t}var _a,NEVER=Object.freeze({status:"aborted"}),_zodDesc={value:void 0,enumerable:!1},_E="captureStackTrace"in Error?Error:null;function newError(e){const t=_E;if(t){const r=t.stackTraceLimit;if(typeof r=="number"){try{t.stackTraceLimit=0}catch{return _E=null,new e}try{return new e}finally{t.stackTraceLimit=r}}}return new e}function $constructor(e,t,r,i){const u={};function o(h){this.def=h,this.constr=f,this.traits=new Set}o.prototype=u;const a=r,s=a&&new WeakSet;function d(h,p){if(h._zod){if(h._zod.traits.has(e))return}else{_zodDesc.value=new o(p);try{Object.defineProperty(h,"_zod",_zodDesc)}finally{_zodDesc.value=void 0}}if(h._zod.traits.add(e),t(h,p),s){const v=Object.getPrototypeOf(h),x=h._zod.constr.prototype;let A=v;for(;A&&A!==x;)A=Object.getPrototypeOf(A);const m=A??v;s.has(m)||(s.add(m),members(m,a))}const g=f.prototype;for(const v in g)Object.prototype.hasOwnProperty.call(g,v)&&(v in h||(h[v]=g[v].bind(h)))}const c=i?.Parent??Object;class l extends c{}Object.defineProperty(l,"name",{value:e});function f(h){const p=i?.Parent?newError(l):this;d(p,h);const g=p._zod.deferred;if(g){for(const x of g)x();p._zod.deferred=void 0}const v=globalThis.__zod_globalConfig?.postProcessor;return v&&v(p),p}return Object.defineProperty(f,"init",{value:d}),Object.defineProperty(f,Symbol.hasInstance,{value:h=>i?.Parent&&h instanceof i.Parent?!0:h?._zod?.traits?.has(e)}),Object.defineProperty(f,"name",{value:e}),f}var $brand=Symbol("zod_brand"),$ZodAsyncError=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},$ZodEncodeError=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}};(_a=globalThis).__zod_globalConfig??(_a.__zod_globalConfig={});var globalConfig=globalThis.__zod_globalConfig;function config(e){return e&&Object.assign(globalConfig,e),globalConfig}function _getMessage(){const e=this._zod;return e.message??(e.message=JSON.stringify(e.def,jsonStringifyReplacer,2)),e.message}function _setMessage(e){this._zod.message=e}var _messageDesc={get:_getMessage,set:_setMessage,enumerable:!0,configurable:!0},_issuesDesc={value:void 0,enumerable:!1},_installedToString=new WeakSet([Object.prototype,Error.prototype]),initializer=(e,t)=>{e.name="$ZodError",_issuesDesc.value=t,Object.defineProperty(e,"issues",_issuesDesc),_issuesDesc.value=void 0,Object.defineProperty(e,"message",_messageDesc);const r=Object.getPrototypeOf(e);_installedToString.has(r)||(_installedToString.add(r),Object.defineProperty(r,"toString",{configurable:!0,enumerable:!1,get(){const i=()=>this.message;return Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0})}}))},$ZodError=$constructor("$ZodError",initializer),$ZodRealError=$constructor("$ZodError",initializer,void 0,{Parent:Error});function node(e,t,r){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:r(),writable:!0,enumerable:!0,configurable:!0}):e[t]=r()),e[t]}function flattenError(e,t=r=>r.message){const r={},i=[];for(const u of e.issues)u.path.length>0?node(r,u.path[0],()=>[]).push(t(u)):i.push(t(u));return{formErrors:i,fieldErrors:r}}function formatError(e,t=r=>r.message){const r={_errors:[]},i=(u,o=[])=>{for(const a of u.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(s=>i({issues:s},[...o,...a.path]));else if(a.code==="invalid_key")i({issues:a.issues},[...o,...a.path]);else if(a.code==="invalid_element")i({issues:a.issues},[...o,...a.path]);else{const s=[...o,...a.path];if(s.length===0)r._errors.push(t(a));else{let d=r,c=0;for(;c<s.length;){const l=s[c],f=c===s.length-1;if(l==="_errors"){f&&d._errors.push(t(a)),c++;continue}Object.prototype.hasOwnProperty.call(d,l)||Object.defineProperty(d,l,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});const h=d[l];f&&h._errors.push(t(a)),d=h,c++}}}};return i(e),r}function treeifyError(e,t=r=>r.message){const r={errors:[]},i=(u,o=[])=>{var a;for(const s of u.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(d=>i({issues:d},[...o,...s.path]));else if(s.code==="invalid_key")i({issues:s.issues},[...o,...s.path]);else if(s.code==="invalid_element")i({issues:s.issues},[...o,...s.path]);else{const d=[...o,...s.path];if(d.length===0){r.errors.push(t(s));continue}let c=r,l=0;for(;l<d.length;){const f=d[l],h=l===d.length-1;typeof f=="string"?(c.properties??(c.properties={}),Object.prototype.hasOwnProperty.call(c.properties,f)||Object.defineProperty(c.properties,f,{value:{errors:[]},enumerable:!0,writable:!0,configurable:!0}),c=c.properties[f]):(c.items??(c.items=[]),(a=c.items)[f]??(a[f]={errors:[]}),c=c.items[f]),h&&c.errors.push(t(s)),l++}}};return i(e),r}function toDotPath(e){const t=[],r=e.map(i=>typeof i=="object"?i.key:i);for(const i of r)typeof i=="number"?t.push(`[${i}]`):typeof i=="symbol"?t.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?t.push(`[${JSON.stringify(i)}]`):(t.length&&t.push("."),t.push(i));return t.join("")}function prettifyError(e){const t=[],r=[...e.issues].sort((i,u)=>(i.path??[]).length-(u.path??[]).length);for(const i of r)t.push(`✖ ${i.message}`),i.path?.length&&t.push(` → at ${toDotPath(i.path)}`);return t.join(`
|
|
6
|
+
`)}function finalizeParams(e,t){return{callee:t?.callee??e,Err:t?.Err}}var _parse=e=>{const t=(r,i,u,o)=>{const a=u?{...u,async:!1}:{async:!1},s=r._zod.run({value:i,issues:[]},a);if(s instanceof Promise)throw new $ZodAsyncError;if(s.issues.length){const d=new(o?.Err??e)(s.issues.map(c=>finalizeIssue(c,a,config())));throw captureStackTrace(d,o?.callee??t),d}return s.value};return t},parse=_parse($ZodRealError),_parseAsync=e=>{const t=async(r,i,u,o)=>{const a=u?{...u,async:!0}:{async:!0};let s=r._zod.run({value:i,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){const d=new(o?.Err??e)(s.issues.map(c=>finalizeIssue(c,a,config())));throw captureStackTrace(d,o?.callee??t),d}return s.value};return t},parseAsync=_parseAsync($ZodRealError),_safeParse=e=>(t,r,i)=>{const u=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:r,issues:[]},u);if(o instanceof Promise)throw new $ZodAsyncError;return o.issues.length?failure(e,o.issues,u):{success:!0,data:o.value}},safeParse=_safeParse($ZodRealError);function failure(e,t,r){let i;return{success:!1,get error(){return i||(i=new e(t.map(u=>finalizeIssue(u,r,config()))),t=void 0,r=void 0),i},set error(u){i=u,t=void 0,r=void 0}}}var _safeParseAsync=e=>async(t,r,i)=>{const u=i?{...i,async:!0}:{async:!0};let o=t._zod.run({value:r,issues:[]},u);return o instanceof Promise&&(o=await o),o.issues.length?failure(e,o.issues,u):{success:!0,data:o.value}},safeParseAsync=_safeParseAsync($ZodRealError),COMPILE_INVALID=Symbol.for("zod.compile.invalid"),COMPILE_FALLBACK=Symbol.for("zod.compile.fallback"),validate=((e,t,r)=>{const i=e._zod.bag.validator;if(i!==void 0){if(i(t)!==COMPILE_INVALID)return!0;if(i.definite===!0&&r===void 0)return!1}return validateFallback(e,t,r)});function validateFallback(e,t,r){const i=r?{...r,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},u=e._zod.bag.fallbackRun;let o;if(u?(i[COMPILE_FALLBACK]=!0,o=u({value:t,issues:[]},i)):o=e._zod.run({value:t,issues:[]},i),o instanceof Promise)throw new $ZodAsyncError;return o.issues.length===0}var validateAsync=async(e,t,r)=>{const i=r?{...r,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0};let u=e._zod.run({value:t,issues:[]},i);return u instanceof Promise&&(u=await u),u.issues.length===0},_encode=e=>{const t=_parse(e),r=(i,u,o,a)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return t(i,u,s,finalizeParams(r,a))};return r},encode=_encode($ZodRealError),_decode=e=>{const t=_parse(e),r=(i,u,o,a)=>t(i,u,o,finalizeParams(r,a));return r},decode=_decode($ZodRealError),_encodeAsync=e=>{const t=_parseAsync(e),r=async(i,u,o,a)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return await t(i,u,s,finalizeParams(r,a))};return r},encodeAsync=_encodeAsync($ZodRealError),_decodeAsync=e=>{const t=_parseAsync(e),r=async(i,u,o,a)=>await t(i,u,o,finalizeParams(r,a));return r},decodeAsync=_decodeAsync($ZodRealError),_safeEncode=e=>(t,r,i)=>{const u=i?{...i,direction:"backward"}:{direction:"backward"};return _safeParse(e)(t,r,u)},safeEncode=_safeEncode($ZodRealError),_safeDecode=e=>(t,r,i)=>_safeParse(e)(t,r,i),safeDecode=_safeDecode($ZodRealError),_safeEncodeAsync=e=>async(t,r,i)=>{const u=i?{...i,direction:"backward"}:{direction:"backward"};return _safeParseAsync(e)(t,r,u)},safeEncodeAsync=_safeEncodeAsync($ZodRealError),_safeDecodeAsync=e=>async(t,r,i)=>_safeParseAsync(e)(t,r,i),safeDecodeAsync=_safeDecodeAsync($ZodRealError),regexes_exports={};__export(regexes_exports,{anyString:()=>anyString,base64:()=>base64,base64url:()=>base64url,bigint:()=>bigint,boolean:()=>boolean,browserEmail:()=>browserEmail,cidrv4:()=>cidrv4,cidrv6:()=>cidrv6,creditCard:()=>creditCard,cuid:()=>cuid,cuid2:()=>cuid2,currencyCode:()=>currencyCode,date:()=>date,datetime:()=>datetime,domain:()=>domain,duration:()=>duration,e164:()=>e164,email:()=>email,emoji:()=>emoji,extendedDuration:()=>extendedDuration,guid:()=>guid,hex:()=>hex,hostname:()=>hostname,html5Email:()=>html5Email,httpProtocol:()=>httpProtocol,iban:()=>iban,idnEmail:()=>idnEmail,integer:()=>integer,ipv4:()=>ipv4,ipv6:()=>ipv6,ksuid:()=>ksuid,lowercase:()=>lowercase,mac:()=>mac,md5_base64:()=>md5_base64,md5_base64url:()=>md5_base64url,md5_hex:()=>md5_hex,nanoid:()=>nanoid,nanoidOfLength:()=>nanoidOfLength,null:()=>_null,number:()=>number,rfc5322Email:()=>rfc5322Email,sha1_base64:()=>sha1_base64,sha1_base64url:()=>sha1_base64url,sha1_hex:()=>sha1_hex,sha256_base64:()=>sha256_base64,sha256_base64url:()=>sha256_base64url,sha256_hex:()=>sha256_hex,sha384_base64:()=>sha384_base64,sha384_base64url:()=>sha384_base64url,sha384_hex:()=>sha384_hex,sha512_base64:()=>sha512_base64,sha512_base64url:()=>sha512_base64url,sha512_hex:()=>sha512_hex,string:()=>string,time:()=>time,ulid:()=>ulid,undefined:()=>_undefined,unicodeEmail:()=>unicodeEmail,uppercase:()=>uppercase,uuid:()=>uuid,uuid4:()=>uuid4,uuid6:()=>uuid6,uuid7:()=>uuid7,xid:()=>xid});var cuid=/^[cC][0-9a-z]{6,}$/,cuid2=/^[0-9a-z]+$/,ulid=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,xid=/^[0-9a-vA-V]{20}$/,ksuid=/^[A-Za-z0-9]{27}$/,nanoid=/^[a-zA-Z0-9_-]{21}$/;function nanoidOfLength(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var duration=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,extendedDuration=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,guid=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,uuid=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,uuid4=uuid(4),uuid6=uuid(6),uuid7=uuid(7),email=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,html5Email=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,rfc5322Email=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,unicodeEmail=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,idnEmail=unicodeEmail,browserEmail=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,_emoji="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function emoji(){return new RegExp(_emoji,"u")}var ipv4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv6=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,mac=e=>{const t=escapeRegex(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},cidrv4=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,cidrv6=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,base64url=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,hostname=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,domain=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/,httpProtocol=/^https?$/,e164=/^\+[1-9]\d{6,14}$/,creditCard=/^\d(?:[ -]?\d){11,18}$/,currencyCode=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,iban=/^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/,dateSource="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function anchor(e){return new RegExp(`^${e}$`)}var date=anchor(dateSource);function timeSource(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function time(e){return new RegExp(`^${timeSource(e)}$`)}function datetime(e){const t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${timeSource({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,i=e.local?`${r}|${timeSource({precision:e.precision})}`:r;return new RegExp(`^${dateSource}T(?:${i})$`)}var anyString=/^[\s\S]{0,}$/,string=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},bigint=/^-?\d+n?$/,integer=/^-?\d+$/,number=/^-?\d+(?:\.\d+)?$/,boolean=/^(?:true|false)$/i,_null=/^null$/i,_undefined=/^undefined$/i,lowercase=/^[^A-Z]*$/,uppercase=/^[^a-z]*$/,hex=/^[0-9a-fA-F]*$/;function fixedBase64(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function fixedBase64url(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var md5_hex=/^[0-9a-fA-F]{32}$/,md5_base64=fixedBase64(22,"=="),md5_base64url=fixedBase64url(22),sha1_hex=/^[0-9a-fA-F]{40}$/,sha1_base64=fixedBase64(27,"="),sha1_base64url=fixedBase64url(27),sha256_hex=/^[0-9a-fA-F]{64}$/,sha256_base64=fixedBase64(43,"="),sha256_base64url=fixedBase64url(43),sha384_hex=/^[0-9a-fA-F]{96}$/,sha384_base64=fixedBase64(64,""),sha384_base64url=fixedBase64url(64),sha512_hex=/^[0-9a-fA-F]{128}$/,sha512_base64=fixedBase64(86,"=="),sha512_base64url=fixedBase64url(86),$ZodCheck=$constructor("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),_whenHasSize=e=>{const t=e.value;return!nullish(t)&&t.size!==void 0},_whenHasLength=e=>{const t=e.value;return!nullish(t)&&t.length!==void 0},numericOriginMap={number:"number",bigint:"bigint",object:"date"},$ZodCheckLessThan=$constructor("$ZodCheckLessThan",(e,t)=>{$ZodCheck.init(e,t);const r=numericOriginMap[typeof t.value];e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:numericOriginMap[typeof i.value]??r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),$ZodCheckGreaterThan=$constructor("$ZodCheckGreaterThan",(e,t)=>{$ZodCheck.init(e,t);const r=numericOriginMap[typeof t.value];e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:numericOriginMap[typeof i.value]??r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),$ZodCheckMultipleOf=$constructor("$ZodCheckMultipleOf",(e,t)=>{$ZodCheck.init(e,t),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?t.value!==BigInt(0)&&r.value%t.value===BigInt(0):floatSafeRemainder(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),$ZodCheckNumberFormat=$constructor("$ZodCheckNumberFormat",(e,t)=>{$ZodCheck.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),i=r?"int":"number",[u,o]=NUMBER_FORMAT_RANGES[t.format];e._zod.check=a=>{const s=a.value;if(r){if(!Number.isInteger(s)){a.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}s<u&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:u,inclusive:!0,inst:e,continue:!t.abort}),s>o&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),$ZodCheckBigIntFormat=$constructor("$ZodCheckBigIntFormat",(e,t)=>{$ZodCheck.init(e,t);const[r,i]=BIGINT_FORMAT_RANGES[t.format];e._zod.check=u=>{const o=u.value;o<r&&u.issues.push({origin:"bigint",input:o,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),o>i&&u.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),$ZodCheckMaxSize=$constructor("$ZodCheckMaxSize",(e,t)=>{var r;$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=_whenHasSize),e._zod.check=i=>{const u=i.value;u.size<=t.maximum||i.issues.push({origin:getSizableOrigin(u),code:"too_big",maximum:t.maximum,inclusive:!0,input:u,inst:e,continue:!t.abort})}}),$ZodCheckMinSize=$constructor("$ZodCheckMinSize",(e,t)=>{var r;$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=_whenHasSize),e._zod.check=i=>{const u=i.value;u.size>=t.minimum||i.issues.push({origin:getSizableOrigin(u),code:"too_small",minimum:t.minimum,inclusive:!0,input:u,inst:e,continue:!t.abort})}}),$ZodCheckSizeEquals=$constructor("$ZodCheckSizeEquals",(e,t)=>{var r;$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=_whenHasSize),e._zod.check=i=>{const u=i.value,o=u.size;if(o===t.size)return;const a=o>t.size;i.issues.push({origin:getSizableOrigin(u),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),$ZodCheckMaxLength=$constructor("$ZodCheckMaxLength",(e,t)=>{var r;$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=_whenHasLength),e._zod.check=i=>{const u=i.value,o=u.length;if((typeof u=="string"&&o>t.maximum?codePointLength(u):o)<=t.maximum)return;const s=getLengthableOrigin(u);i.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:!0,input:u,inst:e,continue:!t.abort})}}),$ZodCheckMinLength=$constructor("$ZodCheckMinLength",(e,t)=>{var r;$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=_whenHasLength),e._zod.check=i=>{const u=i.value,o=u.length;if((typeof u=="string"&&o>=t.minimum&&o<t.minimum*2?codePointLength(u):o)>=t.minimum)return;const s=getLengthableOrigin(u);i.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:!0,input:u,inst:e,continue:!t.abort})}}),$ZodCheckLengthEquals=$constructor("$ZodCheckLengthEquals",(e,t)=>{var r;$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=_whenHasLength),e._zod.check=i=>{const u=i.value,o=u.length,a=typeof u=="string"&&o>=t.length&&o<=t.length*2?codePointLength(u):o;if(a===t.length)return;const s=getLengthableOrigin(u),d=a>t.length;i.issues.push({origin:s,...d?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),$ZodCheckStringFormat=$constructor("$ZodCheckStringFormat",(e,t)=>{var r,i;$ZodCheck.init(e,t),t.pattern?(r=e._zod).check??(r.check=u=>{t.pattern.lastIndex=0,!t.pattern.test(u.value)&&u.issues.push({origin:"string",code:"invalid_format",format:t.format,input:u.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),$ZodCheckRegex=$constructor("$ZodCheckRegex",(e,t)=>{$ZodCheckStringFormat.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),$ZodCheckLowerCase=$constructor("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=lowercase),$ZodCheckStringFormat.init(e,t)}),$ZodCheckUpperCase=$constructor("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=uppercase),$ZodCheckStringFormat.init(e,t)}),$ZodCheckIncludes=$constructor("$ZodCheckIncludes",(e,t)=>{$ZodCheck.init(e,t);const r=escapeRegex(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position},}${r}`:r);t.pattern=i,e._zod.check=u=>{u.value.includes(t.includes,t.position)||u.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:u.value,inst:e,continue:!t.abort})}}),$ZodCheckStartsWith=$constructor("$ZodCheckStartsWith",(e,t)=>{$ZodCheck.init(e,t);const r=new RegExp(`^${escapeRegex(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),$ZodCheckEndsWith=$constructor("$ZodCheckEndsWith",(e,t)=>{$ZodCheck.init(e,t);const r=new RegExp(`.*${escapeRegex(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function handleCheckPropertyResult(e,t,r){e.issues.length&&t.issues.push(...prefixIssues(r,e.issues))}var $ZodCheckProperty=$constructor("$ZodCheckProperty",(e,t)=>{$ZodCheck.init(e,t),e._zod.check=r=>{const i=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(u=>handleCheckPropertyResult(u,r,t.property));handleCheckPropertyResult(i,r,t.property)}}),$ZodCheckProperties=$constructor("$ZodCheckProperties",(e,t)=>{$ZodCheck.init(e,t),hide(e,Symbol.iterator,function*(){yield e});let r;e._zod.check=i=>{if(i.value==null){i.issues.push({expected:"object",code:"invalid_type",input:i.value,inst:e});return}r??(r=Reflect.ownKeys(t.shape).map(a=>[a,t.shape[a]]));const u=i.value;let o;for(const[a,s]of r){const d=s._zod.run({value:u[a],issues:[]},{});d instanceof Promise?(o??(o=[]),o.push(d.then(c=>handleCheckPropertyResult(c,i,a)))):handleCheckPropertyResult(d,i,a)}if(o)return Promise.all(o).then(()=>{})}}),$ZodCheckMimeType=$constructor("$ZodCheckMimeType",(e,t)=>{$ZodCheck.init(e,t);const r=new Set(t.mime);e._zod.check=i=>{r.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),$ZodCheckOverwrite=$constructor("$ZodCheckOverwrite",(e,t)=>{$ZodCheck.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}}),Doc=class{constructor(e=[],t={}){this.content=[],this.indent=0,this.args=e,this.closed=t}indented(e){this.indent+=1;try{e(this)}finally{this.indent-=1}}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}const r=e.split(`
|
|
7
|
+
`).filter(o=>o),i=Math.min(...r.map(o=>o.length-o.trimStart().length)),u=r.map(o=>o.slice(i)).map(o=>" ".repeat(this.indent*2)+o);for(const o of u)this.content.push(o)}compile(){const e=Function,t=this?.content??[""];return new e(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
|
|
8
|
+
${t.join(`
|
|
9
|
+
`)}
|
|
10
|
+
};`)(...Object.values(this.closed))}},version={major:4,minor:6,patch:7},$ZodType=$constructor("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=version;const i=e._zod.def.checks,u=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(const o of u)for(const a of o._zod.onattach)a(e);if(u.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(s,d,c)=>{if(s.memo)return s;let l=aborted(s),f;for(const h of d){if(h._zod.def.when){if(explicitlyAborted(s)||!h._zod.def.when(s))continue}else if(l)continue;const p=s.issues.length,g=h._zod.check(s);if(g instanceof Promise&&c?.async===!1)throw new $ZodAsyncError;if(f||g instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await g,s.issues.length!==p&&(attachSchema(s.issues,p,e),l||(l=aborted(s,p)))});else{if(s.issues.length===p)continue;attachSchema(s.issues,p,e),l||(l=aborted(s,p))}}return f?f.then(()=>s):s},a=(s,d,c)=>{if(aborted(s))return s.aborted=!0,s;const l=o(d,u,c);if(l instanceof Promise){if(c.async===!1)throw new $ZodAsyncError;return l.then(f=>e._zod.parse(f,c))}return e._zod.parse(l,c)};e._zod.run=(s,d)=>{if(d.skipChecks)return e._zod.parse(s,d);if(d.direction==="backward"){const l=e._zod.parse({value:s.value,issues:[]},{...d,skipChecks:!0});return l instanceof Promise?l.then(f=>a(f,s,d)):a(l,s,d)}const c=e._zod.parse(s,d);if(c instanceof Promise){if(d.async===!1)throw new $ZodAsyncError;return c.then(l=>o(l,u,d))}return o(c,u,d)}}},{get"~standard"(){return hide(this,"~standard",standardProps(this))},set"~standard"(e){own(this,"~standard",e)}}),toStandardResult=(e,t)=>e.issues.length?{issues:e.issues.map(r=>finalizeIssue(r,t,config()))}:{value:e.value};async function validateAsync2(e,t){const r={async:!0};return toStandardResult(await e._zod.run({value:t,issues:[]},r),r)}function standardProps(e){return{validate:t=>{const r={async:!1};try{const i=e._zod.run({value:t,issues:[]},r);if(!(i instanceof Promise))return toStandardResult(i,r)}catch{}return validateAsync2(e,t)},vendor:"zod",version:1}}var $ZodString=$constructor("$ZodString",(e,t)=>{$ZodType.init(e,t),e._zod.pattern=t.pattern??anyString,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),$ZodStringFormat=$constructor("$ZodStringFormat",(e,t)=>{$ZodCheckStringFormat.init(e,t),$ZodString.init(e,t)}),$ZodGUID=$constructor("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=guid),$ZodStringFormat.init(e,t)}),$ZodUUID=$constructor("$ZodUUID",(e,t)=>{if(t.version){const i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=uuid(i))}else t.pattern??(t.pattern=uuid());$ZodStringFormat.init(e,t)}),$ZodEmail=$constructor("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=email),$ZodStringFormat.init(e,t)}),URL_BAD_FORMAT=1,URL_UNPARSEABLE=2;function canParseURL(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function validateURL(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?canParseURL(e)||URL_UNPARSEABLE:parseURLObject(e,t)}function parseURLObject(e,t){if(!t.normalize&&t.protocol?.source===httpProtocol.source&&!/^https?:\/\//i.test(e))return URL_BAD_FORMAT;try{if(typeof URL<"u"){const r=URL;if(typeof r.parse=="function")return r.parse(e)??URL_UNPARSEABLE}return new URL(e)}catch{return URL_UNPARSEABLE}}var asciiTabOrNewline=/[\t\n\r]/g;function stripTabAndNewline(e){return e.replace(asciiTabOrNewline,"")}function urlHostnameOk(e,t){return t.lastIndex=0,t.test(e.hostname)}function urlProtocolOk(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var $ZodURL=$constructor("$ZodURL",(e,t)=>{$ZodStringFormat.init(e,t),e._zod.check=r=>{try{const i=r.value.trim(),u=validateURL(i,t);if(u===URL_BAD_FORMAT){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}if(u===URL_UNPARSEABLE){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort});return}if(u===!0){r.value=stripTabAndNewline(i);return}t.hostname&&!urlHostnameOk(u,t.hostname)&&r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort}),t.protocol&&!urlProtocolOk(u,t.protocol)&&r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort}),r.value=t.normalize?u.href:stripTabAndNewline(i);return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),$ZodEmoji=$constructor("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=emoji()),$ZodStringFormat.init(e,t)}),$ZodNanoID=$constructor("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?nanoid:nanoidOfLength(t.length)),$ZodStringFormat.init(e,t)}),$ZodCUID=$constructor("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=cuid),$ZodStringFormat.init(e,t)}),$ZodCUID2=$constructor("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=cuid2),$ZodStringFormat.init(e,t)}),$ZodULID=$constructor("$ZodULID",(e,t)=>{t.pattern??(t.pattern=ulid),$ZodStringFormat.init(e,t)}),$ZodXID=$constructor("$ZodXID",(e,t)=>{t.pattern??(t.pattern=xid),$ZodStringFormat.init(e,t)}),$ZodKSUID=$constructor("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=ksuid),$ZodStringFormat.init(e,t)}),$ZodISODateTime=$constructor("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=datetime(t)),$ZodStringFormat.init(e,t)}),$ZodISODate=$constructor("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=date),$ZodStringFormat.init(e,t)}),$ZodISOTime=$constructor("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=time(t)),$ZodStringFormat.init(e,t)}),$ZodISODuration=$constructor("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=duration),$ZodStringFormat.init(e,t)}),$ZodIPv4=$constructor("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=ipv4),$ZodStringFormat.init(e,t)}),ipv6Alphabet=/^[0-9a-fA-F:.]+$/;function isValidIPv6(e){return ipv6Alphabet.test(e)?canParseURL(`http://[${e}]`):!1}var $ZodIPv6=$constructor("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=ipv6),$ZodStringFormat.init(e,t),e._zod.check=r=>{isValidIPv6(r.value)||r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}),$ZodMAC=$constructor("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=mac(t.delimiter)),$ZodStringFormat.init(e,t)}),$ZodCIDRv4=$constructor("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=cidrv4),$ZodStringFormat.init(e,t)});function isValidCIDRv6(e){const t=e.split("/");if(t.length!==2)return!1;const[r,i]=t;if(!i)return!1;const u=Number(i);return`${u}`!==i||u<0||u>128?!1:isValidIPv6(r)}var $ZodCIDRv6=$constructor("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=cidrv6),$ZodStringFormat.init(e,t),e._zod.check=r=>{isValidCIDRv6(r.value)||r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}});function isValidBase64(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var base64Charset=/^[0-9a-zA-Z+/]*={0,2}$/,$ZodBase64=$constructor("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=base64Charset),$ZodStringFormat.init(e,t),e._zod.check=r=>{isValidBase64(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}),base64urlCharset=/^[A-Za-z0-9_-]*$/;function isValidBase64URL(e){if(!base64urlCharset.test(e))return!1;const t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return isValidBase64(r)}var $ZodBase64URL=$constructor("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=base64urlCharset),$ZodStringFormat.init(e,t),e._zod.check=r=>{isValidBase64URL(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),$ZodE164=$constructor("$ZodE164",(e,t)=>{t.pattern??(t.pattern=e164),$ZodStringFormat.init(e,t)}),CC_SANITIZE=/[- ]/g;function isLuhnAlgo(e){let t=e.length,r=1,i=0;for(;t;){const u=e.charCodeAt(--t)-48;r^=1,i+=r?[0,2,4,6,8,1,3,5,7,9][u]:u}return i%10===0}function isValidCreditCard(e){return creditCard.test(e)?isLuhnAlgo(e.replace(CC_SANITIZE,"")):!1}var $ZodCreditCard=$constructor("$ZodCreditCard",(e,t)=>{t.pattern??(t.pattern=creditCard),$ZodStringFormat.init(e,t),e._zod.check=r=>{isValidCreditCard(r.value)||r.issues.push({code:"invalid_format",format:"credit_card",input:r.value,inst:e,continue:!t.abort})}});function isIso7064Mod97(e){let t=0;const r=e.length;for(let i=4;i<r;i++){const u=e.charCodeAt(i);t=(u>=65?t*100+(u-55):t*10+(u-48))%97}for(let i=0;i<4;i++){const u=e.charCodeAt(i);t=(u>=65?t*100+(u-55):t*10+(u-48))%97}return t===1}function isValidIBAN(e){return iban.test(e)?isIso7064Mod97(e):!1}var $ZodIBAN=$constructor("$ZodIBAN",(e,t)=>{t.pattern??(t.pattern=iban),$ZodStringFormat.init(e,t),e._zod.check=r=>{isValidIBAN(r.value)||r.issues.push({code:"invalid_format",format:"iban",input:r.value,inst:e,continue:!t.abort})}});function isValidJWT(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[i]=r;if(!i)return!1;const u=JSON.parse(atob(i));return!("typ"in u&&u?.typ!=="JWT"||!u.alg||t&&(!("alg"in u)||u.alg!==t))}catch{return!1}}var $ZodJWT=$constructor("$ZodJWT",(e,t)=>{$ZodStringFormat.init(e,t),e._zod.check=r=>{isValidJWT(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),$ZodCustomStringFormat=$constructor("$ZodCustomStringFormat",(e,t)=>{$ZodStringFormat.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),$ZodNumber=$constructor("$ZodNumber",(e,t)=>{$ZodType.init(e,t),e._zod.pattern=number,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}const u=r.value;if(typeof u=="number"&&!Number.isNaN(u)&&Number.isFinite(u))return r;const o=typeof u=="number"?Number.isNaN(u)?"NaN":Number.isFinite(u)?void 0:String(u):void 0;return r.issues.push({expected:"number",code:"invalid_type",input:u,inst:e,...o?{received:o}:{}}),r}}),$ZodNumberFormat=$constructor("$ZodNumberFormat",(e,t)=>{$ZodCheckNumberFormat.init(e,t),$ZodNumber.init(e,t)}),$ZodBoolean=$constructor("$ZodBoolean",(e,t)=>{$ZodType.init(e,t),e._zod.pattern=boolean,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=!!r.value}catch{}const u=r.value;return typeof u=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:u,inst:e}),r}}),$ZodBigInt=$constructor("$ZodBigInt",(e,t)=>{$ZodType.init(e,t),e._zod.pattern=bigint,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),$ZodBigIntFormat=$constructor("$ZodBigIntFormat",(e,t)=>{$ZodCheckBigIntFormat.init(e,t),$ZodBigInt.init(e,t)}),$ZodSymbol=$constructor("$ZodSymbol",(e,t)=>{$ZodType.init(e,t),e._zod.parse=(r,i)=>{const u=r.value;return typeof u=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:u,inst:e}),r}}),$ZodUndefined=$constructor("$ZodUndefined",(e,t)=>{$ZodType.init(e,t),e._zod.pattern=_undefined,e._zod.values=new Set([void 0]),e._zod.parse=(r,i)=>{const u=r.value;return typeof u>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:u,inst:e}),r}}),$ZodNull=$constructor("$ZodNull",(e,t)=>{$ZodType.init(e,t),e._zod.pattern=_null,e._zod.values=new Set([null]),e._zod.parse=(r,i)=>{const u=r.value;return u===null||r.issues.push({expected:"null",code:"invalid_type",input:u,inst:e}),r}}),$ZodAny=$constructor("$ZodAny",(e,t)=>{$ZodType.init(e,t),e._zod.parse=r=>r}),$ZodUnknown=$constructor("$ZodUnknown",(e,t)=>{$ZodType.init(e,t),e._zod.parse=r=>r}),$ZodNever=$constructor("$ZodNever",(e,t)=>{$ZodType.init(e,t),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),$ZodVoid=$constructor("$ZodVoid",(e,t)=>{$ZodType.init(e,t),e._zod.parse=(r,i)=>{const u=r.value;return typeof u>"u"||r.issues.push({expected:"void",code:"invalid_type",input:u,inst:e}),r}}),$ZodDate=$constructor("$ZodDate",(e,t)=>{$ZodType.init(e,t),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}const u=r.value,o=u instanceof Date;return o&&!Number.isNaN(u.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:u,...o?{received:"Invalid Date"}:{},inst:e}),r}});function capSize(e,t){const r=sizeCaps(e._zod.def.checks);if(!r.length)return;const i=Math.min(...r.map(o=>o[0])),u=e._zod.parse;e._zod.parse=(o,a)=>{const s=t(o.value);if(s>i&&!a?.skipChecks&&a?.direction!=="backward"){for(const[d,c]of sizeCaps(e._zod.def.checks))if(s>d&&c._zod.def.when(o)){const l=o.issues.length;return c._zod.check(o),o.issues[l].continue=!1,attachSchema(o.issues,l,e),o}}return u(o,a)}}var arraySize=e=>Array.isArray(e)?e.length:-1,mapSize=e=>e instanceof Map?e.size:-1,setSize=e=>e instanceof Set?e.size:-1;function handleArrayResult(e,t,r){e.issues.length&&t.issues.push(...prefixIssues(r,e.issues)),t.value[r]=e.value}var $ZodArray=$constructor("$ZodArray",(e,t)=>{$ZodType.init(e,t);const r=globalConfig.memoizer;r?.attach(e),e._zod.parse=(i,u)=>{const o=i.value;if(!Array.isArray(o))return i.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),i;i.value=r?r.alloc(e,i,Array(o.length),u):Array(o.length);const a=[],s=u?.abortEarly;for(let d=0;d<o.length;d++){const c=o[d],l=t.element._zod.run({value:c,issues:[]},u);if(l instanceof Promise)a.push(l.then(f=>handleArrayResult(f,i,d)));else if(handleArrayResult(l,i,d),s&&l.issues.length!==0&&aborted(l))break}return a.length?Promise.all(a).then(()=>i):i},capSize(e,arraySize)});function handlePropertyResult(e,t,r,i,u,o){const a=r in i,s=o==="optional";if(!(!a&&s&&u==="optional")){if(e.issues.length){if(u!==void 0&&s&&!a)return;t.issues.push(...prefixIssues(r,e.issues))}if(!a&&u===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?(a||u==="defaulted"&&!s)&&(t.value[r]=void 0):t.value[r]=e.value}}var NO_SYMBOL_KEYS=[];function normalizeDef(e){const t=Object.keys(e.shape),r=Object.getOwnPropertySymbols(e.shape),i=r.length?r:NO_SYMBOL_KEYS,u=i.length?[...t,...i]:t;for(const a of u)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(a)}": expected a Zod schema`);const o=optionalKeys(e.shape);return{...e,allKeys:u,symbolKeys:i,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(o)}}function handleCatchall(e,t,r,i,u,o,a){const s=[],d=u.keySet,c=u.catchall._zod,l=c.def.type,f=c.optin,h=c.optout;let p=0;for(const g in t){if(a&&r.issues.length!==p){if(aborted(r,p))break;p=r.issues.length}if(d.has(g))continue;if(g==="__proto__"){l==="never"&&s.push(g);continue}if(l==="never"){s.push(g);continue}const v=c.run({value:t[g],issues:[]},i);v instanceof Promise?e.push(v.then(x=>handlePropertyResult(x,r,g,t,f,h))):handlePropertyResult(v,r,g,t,f,h)}return s.length&&r.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:o,continue:!0}),e.length?Promise.all(e).then(()=>r):r}var $ZodObject=$constructor("$ZodObject",(e,t)=>{$ZodType.init(e,t);const r=Object.getOwnPropertyDescriptor(t,"shape"),i=r?.get?r.get.raw:t.shape??{};if(i){const c=()=>{const l={...i};return Object.defineProperty(t,"shape",{value:l}),c.raw=l,l};c.raw=i,Object.defineProperty(t,"shape",{get:c})}const u=cached(()=>normalizeDef(t));defineLazyInternal(e,"propValues",c=>{const l=c.def.shape,f={};for(const h in l){const p=l[h]._zod;if(p.values){Object.prototype.hasOwnProperty.call(f,h)||assignProp(f,h,new Set);for(const g of p.values)f[h].add(g);p.optin!==void 0&&f[h].add(void 0)}}return f});const o=isObject,a=t.catchall;let s;const d=globalConfig.memoizer;d?.attach(e),e._zod.parse=(c,l)=>{s??(s=u.value);const f=c.value;if(!o(f))return c.issues.push({expected:"object",code:"invalid_type",input:f,inst:e}),c;c.value=d?d.alloc(e,c,{},l):{};const h=[],p=s.shape,g=l?.abortEarly;let v=c.issues.length;for(const x of s.allKeys){if(g&&c.issues.length!==v){if(aborted(c,v))break;v=c.issues.length}if(x==="__proto__")continue;const A=p[x],m=A._zod.optin,y=A._zod.optout,E=A._zod.run({value:f[x],issues:[]},l);E instanceof Promise?h.push(E.then(D=>handlePropertyResult(D,c,x,f,m,y))):handlePropertyResult(E,c,x,f,m,y)}return a?handleCatchall(h,f,c,l,u.value,e,g===!0):h.length?Promise.all(h).then(()=>c):c}}),$ZodObjectJIT=$constructor("$ZodObjectJIT",(e,t)=>{$ZodObject.init(e,t);const r=e._zod.parse,i=cached(()=>normalizeDef(t)),u=globalConfig.memoizer,o=p=>{const g=i.value,v=g.symbolKeys,x=new Doc(["payload","ctx"],{shape:p,inst:e,memo:u,syms:v}),A=D=>`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`,m=(D,b)=>`
|
|
11
|
+
let ${D}_ab = false;
|
|
12
|
+
for (let i = 0; i < ${D}.issues.length; i++) {
|
|
13
|
+
const iss = ${D}.issues[i];
|
|
14
|
+
iss.path = iss.path ? [${b}, ...iss.path] : [${b}];
|
|
15
|
+
payload.issues.push(iss);
|
|
16
|
+
if (iss.continue !== true) ${D}_ab = true;
|
|
17
|
+
}
|
|
18
|
+
if (${D}_ab && ctx && ctx.abortEarly) {
|
|
19
|
+
payload.value = newResult;
|
|
20
|
+
return payload;
|
|
21
|
+
}`;x.write("const input = payload.value;");const y=Object.create(null);let E=0;for(const D of g.allKeys)y[D]=`key_${E++}`;x.write(u?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(const D of g.allKeys){if(D==="__proto__")continue;const b=y[D],_=typeof D=="symbol"?`syms[${v.indexOf(D)}]`:esc(D),w=`${_} in input`,B=p[D],F=B?._zod?.optin,$=F!==void 0,L=B?._zod?.optout==="optional";if(x.write(`const ${b} = ${A(_)};`),$&&L){const O=F==="optional"?`${b}_present`:`${b}.value !== undefined || ${b}_present`;x.write(`
|
|
22
|
+
const ${b}_present = ${w};
|
|
23
|
+
if (!${b}.issues.length || ${b}_present) {
|
|
24
|
+
if (${b}.issues.length) {${m(b,_)}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
if (${O}) {
|
|
28
|
+
newResult[${_}] = ${b}.value;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
`)}else $?(x.write(`
|
|
33
|
+
if (${b}.issues.length) {${m(b,_)}
|
|
34
|
+
}
|
|
35
|
+
`),F==="defaulted"?x.write(`newResult[${_}] = ${b}.value;`):x.write(`
|
|
36
|
+
if (${b}.value !== undefined || ${w}) {
|
|
37
|
+
newResult[${_}] = ${b}.value;
|
|
38
|
+
}
|
|
39
|
+
`)):x.write(`
|
|
40
|
+
const ${b}_present = ${w};
|
|
41
|
+
if (${b}.issues.length) {${m(b,_)}
|
|
42
|
+
}
|
|
43
|
+
if (!${b}_present && !${b}.issues.length) {
|
|
44
|
+
payload.issues.push({
|
|
45
|
+
code: "invalid_type",
|
|
46
|
+
expected: "nonoptional",
|
|
47
|
+
input: undefined,
|
|
48
|
+
path: [${_}]
|
|
49
|
+
});
|
|
50
|
+
if (ctx && ctx.abortEarly) {
|
|
51
|
+
payload.value = newResult;
|
|
52
|
+
return payload;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (${b}_present) {
|
|
57
|
+
newResult[${_}] = ${b}.value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
`)}return x.write("payload.value = newResult;"),x.write("return payload;"),x.compile()};let a;const s=isObject,d=!globalConfig.jitless,l=d&&allowsEval.value,f=t.catchall;let h;e._zod.parse=(p,g)=>{h??(h=i.value);const v=p.value;return s(v)?d&&l&&g?.async===!1&&g.jitless!==!0?(a||(a=o(t.shape)),p=a(p,g),f?handleCatchall([],v,p,g,h,e,g?.abortEarly===!0):p):r(p,g):(p.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),p)}});function handleUnionResults(e,t,r,i){for(const o of e)if(o.issues.length===0)return t.value=o.value,t;const u=e.filter(o=>!aborted(o));return u.length===1?(t.value=u[0].value,u[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(o=>o.issues.map(a=>finalizeIssue(a,i,config())))}),t)}var $ZodUnion=$constructor("$ZodUnion",(e,t)=>{$ZodType.init(e,t),defineLazyInternal(e,"optin",i=>i.def.options.some(u=>u._zod.optin==="defaulted")?"defaulted":i.def.options.some(u=>u._zod.optin!==void 0)?"optional":void 0),defineLazyInternal(e,"optout",i=>i.def.options.some(u=>u._zod.optout==="optional")?"optional":void 0),defineLazyInternal(e,"values",i=>{if(i.def.options.every(u=>u._zod.values))return new Set(i.def.options.flatMap(u=>Array.from(u._zod.values)))}),defineLazyInternal(e,"pattern",i=>{if(i.def.options.every(u=>u._zod.pattern)){const u=i.def.options.map(o=>o._zod.pattern);return new RegExp(`^(${u.map(o=>cleanRegex(o.source)).join("|")})$`)}});const r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,u)=>{if(r)return r(i,u);let o=!1;const a=[];for(const s of t.options){const d=s._zod.run({value:i.value,issues:[]},u);if(d instanceof Promise)a.push(d),o=!0;else{if(d.issues.length===0)return d;a.push(d)}}return o?Promise.all(a).then(s=>handleUnionResults(s,i,e,u)):handleUnionResults(a,i,e,u)}});function handleExclusiveUnionResults(e,t,r,i){const u=[];for(let o=0;o<e.length;o++)e[o].issues.length===0&&u.push(o);return u.length===1?(t.value=e[u[0]].value,t):(u.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(o=>o.issues.map(a=>finalizeIssue(a,i,config())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1,matches:u}),t)}var $ZodXor=$constructor("$ZodXor",(e,t)=>{$ZodUnion.init(e,t),t.inclusive=!1;const r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,u)=>{if(r)return r(i,u);let o=!1;const a=[];for(const s of t.options){const d=s._zod.run({value:i.value,issues:[]},u);d instanceof Promise?(a.push(d),o=!0):a.push(d)}return o?Promise.all(a).then(s=>handleExclusiveUnionResults(s,i,e,u)):handleExclusiveUnionResults(a,i,e,u)}});function getDiscriminatedOption(e,t){const r=e._zod;let i=r.bag.optionsMap;i||(i=discriminatorMap(r.def),r.bag.optionsMap=i);const u=i.get(t);if(u===null)throw new Error(`Ambiguous discriminator value "${String(t)}"`);return u}function discriminatorMap(e){const t=new Map;for(const r of e.options){const i=r._zod.propValues?.[e.discriminator];if(!i||i.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(r)}"`);for(const u of i)if(t.has(u)){if(u!==void 0)throw new Error(`Duplicate discriminator value "${String(u)}"`);t.set(u,null)}else t.set(u,r)}return t}var $ZodDiscriminatedUnion=$constructor("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,$ZodUnion.init(e,t);const r=e._zod.parse;defineLazyInternal(e,"propValues",u=>{const o={};let a=0;for(const s of u.def.options){const d=s._zod.propValues;if(!d||Object.keys(d).length===0)throw new Error(`Invalid discriminated union option at index "${u.def.options.indexOf(s)}"`);d[u.def.discriminator]?.has(void 0)&&a++;for(const[c,l]of Object.entries(d)){Object.prototype.hasOwnProperty.call(o,c)||assignProp(o,c,new Set);for(const f of l)o[c].add(f)}}return!u.def.unionFallback&&a>1&&o[u.def.discriminator]?.delete(void 0),o}),t.options.forEach((u,o)=>{const a=rawShape(u._zod.def);if(a&&!Object.prototype.hasOwnProperty.call(a,t.discriminator))throw new Error(`Invalid discriminated union option at index "${o}"`)});const i=cached(()=>discriminatorMap(t));e._zod.parse=(u,o)=>{const a=u.value;if(!isObject(a))return u.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),u;const s=a?.[t.discriminator],d=i.value.get(s);return d&&(s!==void 0||o.direction!=="backward")?d._zod.run(u,o):t.unionFallback||o.direction==="backward"?r(u,o):(u.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(i.value.keys()).filter(c=>i.value.get(c)!==null),input:a,path:[t.discriminator],inst:e}),u)}}),$ZodIntersection=$constructor("$ZodIntersection",(e,t)=>{$ZodType.init(e,t),e._zod.parse=(r,i)=>{const u=r.value,o=t.left._zod.run({value:u,issues:[]},i),a=t.right._zod.run({value:u,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([d,c])=>handleIntersectionResults(r,d,c)):handleIntersectionResults(r,o,a)}});function mergeValues(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(isPlainObject(e)&&isPlainObject(t)){const r=Object.keys(t),i=Object.keys(e).filter(o=>r.indexOf(o)!==-1),u={...e,...t};Object.prototype.hasOwnProperty.call(u,"__proto__")&&delete u.__proto__;for(const o of i){if(o==="__proto__")continue;const a=mergeValues(e[o],t[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};u[o]=a.data}return{valid:!0,data:u}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let i=0;i<e.length;i++){const u=e[i],o=t[i],a=mergeValues(u,o);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function handleIntersectionResults(e,t,r){const i=new Map;let u;const o=new Map,a=(c,l)=>{let f;if(c.code==="unrecognized_keys"&&!c.path?.length)u??(u=c),f=c.keys;else if(c.code==="invalid_key"&&c.origin==="record"&&c.path?.length===1){const h=String(c.path[0]);o.has(h)||o.set(h,c),f=[h]}else return!1;for(const h of f)i.has(h)||i.set(h,{}),i.get(h)[l]=!0;return!0};for(const c of t.issues)a(c,"l")||e.issues.push(c);for(const c of r.issues)a(c,"r")||e.issues.push(c);const s=[...i].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(s.length){const c=u?s.filter(l=>u.keys.includes(l)):[];c.length&&e.issues.push({...u,keys:c});for(const l of s)!c.includes(l)&&o.has(l)&&e.issues.push(o.get(l))}const d=mergeValues(t.value,r.value);if(!d.valid){if(aborted(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(d.mergeErrorPath)}`)}return e.value=d.data,e}var $ZodTuple=$constructor("$ZodTuple",(e,t)=>{$ZodType.init(e,t);const r=t.items,i=globalConfig.memoizer;i?.attach(e),e._zod.parse=(u,o)=>{const a=u.value;if(!Array.isArray(a))return u.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),u;u.value=i?i.alloc(e,u,[],o):[];const s=[],d=getTupleOptStart(r,"optin"),c=getTupleOptStart(r,"optout");if(!t.rest){if(a.length<d)return u.issues.push({code:"too_small",minimum:d,inclusive:!0,input:a,inst:e,origin:"array"}),u;a.length>r.length&&u.issues.push({code:"too_big",maximum:r.length,inclusive:!0,input:a,inst:e,origin:"array"})}const l=new Array(r.length),f=t.rest?o?.abortEarly:void 0;let h=!1;for(let p=0;p<r.length;p++){const g=r[p]._zod.run({value:a[p],issues:[]},o);g instanceof Promise?s.push(g.then(v=>{l[p]=v})):(l[p]=g,f&&!h&&g.issues.length&&(h=aborted(g)))}if(t.rest&&!h){let p=r.length-1;const g=a.slice(r.length);let v=u.issues.length;for(const x of g){if(f&&u.issues.length!==v){if(aborted(u,v))break;v=u.issues.length}p++;const A=t.rest._zod.run({value:x,issues:[]},o);A instanceof Promise?s.push(A.then(m=>handleTupleResult(m,u,p))):handleTupleResult(A,u,p)}}return s.length?Promise.all(s).then(()=>handleTupleResults(l,u,r,a,c)):handleTupleResults(l,u,r,a,c)}});function getTupleOptStart(e,t){for(let r=e.length-1;r>=0;r--)if(!(t==="optin"?e[r]._zod.optin!==void 0:e[r]._zod.optout==="optional"))return r+1;return 0}function handleTupleResult(e,t,r){e.issues.length&&t.issues.push(...prefixIssues(r,e.issues)),t.value[r]=e.value}function handleTupleResults(e,t,r,i,u){for(let o=0;o<r.length;o++){const a=e[o],s=o<i.length;if(!s&&o>=u&&r[o]._zod.optin==="optional"){t.value.length=o;break}if(a.issues.length){if(!s&&o>=u){t.value.length=o;break}t.issues.push(...prefixIssues(o,a.issues))}t.value[o]=a.value}for(let o=t.value.length-1;o>=i.length&&(r[o]._zod.optout==="optional"&&t.value[o]===void 0);o--)t.value.length=o;return t}var $ZodRecord=$constructor("$ZodRecord",(e,t)=>{$ZodType.init(e,t);const r=globalConfig.memoizer;r?.attach(e),e._zod.parse=(i,u)=>{const o=i.value;if(!isPlainObject(o))return i.issues.push({expected:"record",code:"invalid_type",input:o,inst:e}),i;const a=[],s=t.keyType._zod.values;if(s&&!t.partial){i.value=r?r.alloc(e,i,{},u):{};const d=new Set;for(const l of s)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){if(d.add(typeof l=="number"?l.toString():l),l==="__proto__")continue;const f=t.keyType._zod.run({value:l,issues:[]},u);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(f.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:f.issues.map(g=>finalizeIssue(g,u,config())),input:l,path:[l],inst:e});continue}const h=f.value;if(h==="__proto__")continue;const p=t.valueType._zod.run({value:o[l],issues:[]},u);p instanceof Promise?a.push(p.then(g=>{g.issues.length&&i.issues.push(...prefixIssues(l,g.issues)),i.value[h]=g.value})):(p.issues.length&&i.issues.push(...prefixIssues(l,p.issues)),i.value[h]=p.value)}let c;for(const l in o)if(!d.has(l))if(t.mode==="loose"){if(l==="__proto__")continue;i.value[l]=o[l]}else c=c??[],c.push(l);c&&c.length>0&&i.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:c,continue:!0})}else{i.value=r?r.alloc(e,i,{},u):{};let d;for(const c of Reflect.ownKeys(o)){if(c==="__proto__"||!Object.prototype.propertyIsEnumerable.call(o,c))continue;let l=t.keyType._zod.run({value:c,issues:[]},u);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&number.test(c)&&l.issues.length){const g=t.keyType._zod.run({value:Number(c),issues:[]},u);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");g.issues.length===0&&(l=g)}if(l.issues.length){t.mode==="loose"?i.value[c]=o[c]:s?(d=d??[],d.push(c)):i.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(g=>finalizeIssue(g,u,config())),input:c,path:[c],inst:e});continue}const h=l.value;if(h==="__proto__")continue;const p=t.valueType._zod.run({value:o[c],issues:[]},u);p instanceof Promise?a.push(p.then(g=>{g.issues.length&&i.issues.push(...prefixIssues(c,g.issues)),i.value[h]=g.value})):(p.issues.length&&i.issues.push(...prefixIssues(c,p.issues)),i.value[h]=p.value)}d&&d.length>0&&i.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:d,continue:!0})}return a.length?Promise.all(a).then(()=>i):i}}),$ZodMap=$constructor("$ZodMap",(e,t)=>{$ZodType.init(e,t);const r=globalConfig.memoizer;r?.attach(e),e._zod.parse=(i,u)=>{const o=i.value;if(!(o instanceof Map))return i.issues.push({expected:"map",code:"invalid_type",input:o,inst:e}),i;const a=[];i.value=r?r.alloc(e,i,new Map,u):new Map;const s=u?.abortEarly;let d=i.issues.length;for(const[c,l]of o){if(s&&i.issues.length!==d){if(aborted(i,d))break;d=i.issues.length}const f=t.keyType._zod.run({value:c,issues:[]},u),h=t.valueType._zod.run({value:l,issues:[]},u);f instanceof Promise||h instanceof Promise?a.push(Promise.all([f,h]).then(([p,g])=>{handleMapResult(p,g,i,c,o,e,u)})):handleMapResult(f,h,i,c,o,e,u)}return a.length?Promise.all(a).then(()=>i):i},capSize(e,mapSize)});function handleMapResult(e,t,r,i,u,o,a){e.issues.length&&(propertyKeyTypes.has(typeof i)?r.issues.push(...prefixIssues(i,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:u,inst:o,issues:e.issues.map(s=>finalizeIssue(s,a,config()))})),t.issues.length&&(propertyKeyTypes.has(typeof i)?r.issues.push(...prefixIssues(i,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:u,inst:o,key:i,issues:t.issues.map(s=>finalizeIssue(s,a,config()))})),r.value.set(e.value,t.value)}var $ZodSet=$constructor("$ZodSet",(e,t)=>{$ZodType.init(e,t);const r=globalConfig.memoizer;r?.attach(e),e._zod.parse=(i,u)=>{const o=i.value;if(!(o instanceof Set))return i.issues.push({input:o,inst:e,expected:"set",code:"invalid_type"}),i;const a=[];i.value=r?r.alloc(e,i,new Set,u):new Set;const s=u?.abortEarly;let d=i.issues.length;for(const c of o){if(s&&i.issues.length!==d){if(aborted(i,d))break;d=i.issues.length}const l=t.valueType._zod.run({value:c,issues:[]},u);l instanceof Promise?a.push(l.then(f=>handleSetResult(f,i))):handleSetResult(l,i)}return a.length?Promise.all(a).then(()=>i):i},capSize(e,setSize)});function handleSetResult(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var $ZodEnum=$constructor("$ZodEnum",(e,t)=>{$ZodType.init(e,t);const r=getEnumValues(t.entries),i=new Set(r);e._zod.values=i,defineLazyInternal(e,"pattern",u=>{const o=getEnumValues(u.def.entries).filter(a=>propertyKeyTypes.has(typeof a));return new RegExp(o.length?`^(${o.map(a=>escapeRegex(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(u,o)=>{const a=u.value;return i.has(a)||u.issues.push({code:"invalid_value",values:r,input:a,inst:e}),u}}),$ZodLiteral=$constructor("$ZodLiteral",(e,t)=>{$ZodType.init(e,t);const r=new Set(t.values);e._zod.values=r,defineLazyInternal(e,"pattern",i=>{const u=i.def.values;return new RegExp(u.length?`^(${u.map(o=>typeof o=="string"?escapeRegex(o):o?escapeRegex(o.toString()):String(o)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(i,u)=>{const o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),i}}),$ZodFile=$constructor("$ZodFile",(e,t)=>{$ZodType.init(e,t),e._zod.parse=(r,i)=>{const u=r.value;return u instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:u,inst:e}),r}}),$ZodTransform=$constructor("$ZodTransform",(e,t)=>{$ZodType.init(e,t),e._zod.optin="optional",globalConfig.memoizer?.guard(e),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new $ZodEncodeError(e.constructor.name);const u=t.transform(r.value,r);if(i.async)return(u instanceof Promise?u:Promise.resolve(u)).then(a=>(r.value=a,r));if(u instanceof Promise)throw new $ZodAsyncError;return r.value=u,r}});function handleOptionalResult(e,t){return e.value=t.issues.length?void 0:t.value,e}var $ZodOptional=$constructor("$ZodOptional",(e,t)=>{$ZodType.init(e,t),defineLazyInternal(e,"optin",r=>r.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",defineLazyInternal(e,"values",r=>{const i=r.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),defineLazyInternal(e,"pattern",r=>{const i=r.def.innerType._zod.pattern;return i?new RegExp(`^(${cleanRegex(i.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(r.value===void 0){if(t.innerType._zod.optin!=="defaulted")return r;const u=t.innerType._zod.run({value:r.value,issues:[]},i);return u instanceof Promise?u.then(o=>handleOptionalResult(r,o)):handleOptionalResult(r,u)}return t.innerType._zod.run(r,i)}}),$ZodExactOptional=$constructor("$ZodExactOptional",(e,t)=>{$ZodOptional.init(e,t),defineLazyInternal(e,"values",r=>r.def.innerType._zod.values),defineLazyInternal(e,"pattern",r=>r.def.innerType._zod.pattern),e._zod.parse=(r,i)=>t.innerType._zod.run(r,i)}),$ZodNullable=$constructor("$ZodNullable",(e,t)=>{$ZodType.init(e,t),defineLazyInternal(e,"optin",r=>r.def.innerType._zod.optin),defineLazyInternal(e,"optout",r=>r.def.innerType._zod.optout),defineLazyInternal(e,"pattern",r=>{const i=r.def.innerType._zod.pattern;return i?new RegExp(`^(${cleanRegex(i.source)}|null)$`):void 0}),defineLazyInternal(e,"values",r=>r.def.innerType._zod.values?new Set([...r.def.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:t.innerType._zod.run(r,i)}),$ZodDefault=$constructor("$ZodDefault",(e,t)=>{$ZodType.init(e,t),e._zod.optin="defaulted",defineLazyInternal(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);if(r.value===void 0)return r.value=t.defaultValue,r;const u=t.innerType._zod.run(r,i);return u instanceof Promise?u.then(o=>handleDefaultResult(o,t)):handleDefaultResult(u,t)}});function handleDefaultResult(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var $ZodPrefault=$constructor("$ZodPrefault",(e,t)=>{$ZodType.init(e,t),e._zod.optin="defaulted",defineLazyInternal(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,i)=>(i.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,i))}),$ZodNonOptional=$constructor("$ZodNonOptional",(e,t)=>{$ZodType.init(e,t),defineLazyInternal(e,"values",r=>{const i=r.def.innerType._zod.values;return i?new Set([...i].filter(u=>u!==void 0)):void 0}),e._zod.parse=(r,i)=>{const u=t.innerType._zod.run(r,i);return u instanceof Promise?u.then(o=>handleNonOptionalResult(o,e)):handleNonOptionalResult(u,e)}});function handleNonOptionalResult(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var $ZodSuccess=$constructor("$ZodSuccess",(e,t)=>{$ZodType.init(e,t),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new $ZodEncodeError("ZodSuccess");const u=t.innerType._zod.run(r,i);return u instanceof Promise?u.then(o=>(r.value=o.issues.length===0,r)):(r.value=u.issues.length===0,r)}});function handleCatchResult(e,t,r,i){return t.issues.length?(e.value=r.catchValue({...t,value:e.value,error:{issues:t.issues.map(u=>finalizeIssue(u,i,config()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var $ZodCatch=$constructor("$ZodCatch",(e,t)=>{$ZodType.init(e,t),defineLazyInternal(e,"optin",r=>r.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),defineLazyInternal(e,"optout",r=>r.def.innerType._zod.optout),defineLazyInternal(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);const u=t.innerType._zod.run({value:r.value,issues:[]},i);return u instanceof Promise?u.then(o=>handleCatchResult(r,o,t,i)):handleCatchResult(r,u,t,i)}}),$ZodNaN=$constructor("$ZodNaN",(e,t)=>{$ZodType.init(e,t),e._zod.parse=(r,i)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),$ZodPipe=$constructor("$ZodPipe",(e,t)=>{$ZodType.init(e,t),defineLazyInternal(e,"values",r=>r.def.in._zod.values),defineLazyInternal(e,"optin",r=>r.def.in._zod.optin),defineLazyInternal(e,"optout",r=>r.def.out._zod.optout),defineLazyInternal(e,"propValues",r=>r.def.in._zod.propValues),e._zod.parse=(r,i)=>{if(i.direction==="backward"){const o=t.out._zod.run(r,i);return o instanceof Promise?o.then(a=>handlePipeResult(a,t.in,i)):handlePipeResult(o,t.in,i)}const u=t.in._zod.run(r,i);return u instanceof Promise?u.then(o=>handlePipeResult(o,t.out,i)):handlePipeResult(u,t.out,i)}});function handlePipeResult(e,t,r){return e.issues.some(i=>i.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}var $ZodCodec=$constructor("$ZodCodec",(e,t)=>{$ZodType.init(e,t),defineLazyInternal(e,"values",r=>r.def.in._zod.values),defineLazyInternal(e,"optin",r=>r.def.in._zod.optin),defineLazyInternal(e,"optout",r=>r.def.out._zod.optout),defineLazyInternal(e,"propValues",r=>r.def.in._zod.propValues),e._zod.parse=(r,i)=>{if((i.direction||"forward")==="forward"){const o=t.in._zod.run(r,i);return o instanceof Promise?o.then(a=>handleCodecAResult(a,t,i)):handleCodecAResult(o,t,i)}else{const o=t.out._zod.run(r,i);return o instanceof Promise?o.then(a=>handleCodecAResult(a,t,i)):handleCodecAResult(o,t,i)}}});function handleCodecAResult(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){const u=t.transform(e.value,e);return u instanceof Promise?u.then(o=>handleCodecTxResult(e,o,t.out,r)):handleCodecTxResult(e,u,t.out,r)}else{const u=t.reverseTransform(e.value,e);return u instanceof Promise?u.then(o=>handleCodecTxResult(e,o,t.in,r)):handleCodecTxResult(e,u,t.in,r)}}function handleCodecTxResult(e,t,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},i)}var $ZodPreprocess=$constructor("$ZodPreprocess",(e,t)=>{$ZodPipe.init(e,t)}),$ZodReadonly=$constructor("$ZodReadonly",(e,t)=>{$ZodType.init(e,t),defineLazyInternal(e,"propValues",r=>r.def.innerType._zod.propValues),defineLazyInternal(e,"values",r=>r.def.innerType._zod.values),defineLazyInternal(e,"optin",r=>r.def.innerType?._zod?.optin),defineLazyInternal(e,"optout",r=>r.def.innerType?._zod?.optout),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);const u=t.innerType._zod.run(r,i);return u instanceof Promise?u.then(handleReadonlyResult):handleReadonlyResult(u)}});function handleReadonlyResult(e){return e.memo||(e.value=Object.freeze(e.value)),e}function leafPattern(e){const t=e._zod.def;let r=t.pattern,i=!!t.format?.includes("int"),u,o;for(const s of t.checks??[]){const d=s._zod.def;d.pattern&&(r=d.pattern),i||(i=!!d.format?.includes("int"));const c=d.minimum??d.length,l=d.maximum??d.length;c!==void 0&&(u===void 0||c>u)&&(u=c),l!==void 0&&(o===void 0||l<o)&&(o=l)}if(r)return r.source;if(u!==void 0&&o!==void 0&&u>o)return"(?!)";if(u!==void 0||o!==void 0)return string({minimum:u,maximum:o}).source;const a=e._zod.pattern;return(i&&a===number?integer:a)?.source}function partPattern(e){const t=e._zod.def,r=e._zod.pattern?.source,i=t.innerType??e._zod.innerType;if(i){const u=i._zod.pattern?.source,o=partPattern(i);return r&&u&&o&&o!==u?r.replace(cleanRegex(u),()=>cleanRegex(o)):r}if(t.options){const u=t.options.map(partPattern);if(u.every(Boolean))return`^(${u.map(o=>cleanRegex(o)).join("|")})$`}return leafPattern(e)}var $ZodTemplateLiteral=$constructor("$ZodTemplateLiteral",(e,t)=>{$ZodType.init(e,t);const r=[];for(const i of t.parts)if(typeof i=="object"&&i!==null){const u=partPattern(i);if(!u)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);r.push(cleanRegex(u))}else if(i===null||primitiveTypes.has(typeof i))r.push(escapeRegex(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(i,u)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),i)}),$ZodFunction=$constructor("$ZodFunction",(e,t)=>($ZodType.init(e,t),Object.defineProperty(e,"_def",{value:t}),e._zod.def=t,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return Object.defineProperty(function(...i){const u=e._def.input?parse(e._def.input,i):i,o=Reflect.apply(r,this,u);return e._def.output?parse(e._def.output,o):o},"_zod",{value:e._zod,enumerable:!1})},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return Object.defineProperty(async function(...i){const u=e._def.input?await parseAsync(e._def.input,i):i,o=await Reflect.apply(r,this,u);return e._def.output?await parseAsync(e._def.output,o):o},"_zod",{value:e._zod,enumerable:!1})},e._zod.parse=(r,i)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{const i=e.constructor;return Array.isArray(r[0])?new i({type:"function",input:new $ZodTuple({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new i({type:"function",input:r[0],output:e._def.output})},e.output=r=>{const i=e.constructor;return new i({type:"function",input:e._def.input,output:r})},e)),$ZodPromise=$constructor("$ZodPromise",(e,t)=>{$ZodType.init(e,t),e._zod.parse=(r,i)=>Promise.resolve(r.value).then(u=>t.innerType._zod.run({value:u,issues:[]},i))}),$ZodLazy=$constructor("$ZodLazy",(e,t)=>{$ZodType.init(e,t),defineLazy(e._zod,"innerType",()=>{const r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),defineLazyInternal(e,"pattern",r=>r.innerType?._zod?.pattern),defineLazyInternal(e,"propValues",r=>r.innerType?._zod?.propValues),defineLazyInternal(e,"optin",r=>r.innerType?._zod?.optin??void 0),defineLazyInternal(e,"optout",r=>r.innerType?._zod?.optout??void 0),e._zod.parse=(r,i)=>e._zod.innerType._zod.run(r,i)}),$ZodCustom=$constructor("$ZodCustom",(e,t)=>{$ZodCheck.init(e,t),$ZodType.init(e,t),e._zod.parse=(r,i)=>r,e._zod.check=r=>{const i=r.value,u=t.fn(i);if(u instanceof Promise)return u.then(o=>handleRefineResult(o,r,i,e));handleRefineResult(u,r,i,e)}});function handleRefineResult(e,t,r,i){if(!e){const u={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(u.params=i._zod.def.params),t.issues.push(issue(u))}}var $ZodCyclicError=class extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}},STATE="~memo",NO_ISSUES=[];function isRef(e){return e!==null&&typeof e=="object"}function cloneIssues(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}var recursive=new WeakMap,NONE=0,ASSUMED=1,PROVEN=2;function isRecursive(e,t,r){const i=recursive.get(e);if(i!==void 0)return i?PROVEN:NONE;if(t.has(e))return PROVEN;t.add(e);let u=NONE;const o=l=>{if(u!==PROVEN&&l?._zod){const f=isRecursive(l,t,r);f>u&&(u=f)}},a=(l,f)=>{let h=NONE;for(const p of Reflect.ownKeys(l)){const g=Object.getOwnPropertyDescriptor(l,p);if(f&&!g.enumerable)continue;const v=g.get?ASSUMED:g.value?._zod?isRecursive(g.value,t,r):NONE;v>h&&(h=v)}return h},s=l=>{l>u&&(u=l)},d=e._zod.def,c=d.type;switch(c){case"object":{const l=rawShape(d);s(l?a(l,!0):ASSUMED),o(d.catchall);break}case"array":o(d.element);break;case"tuple":for(const l of d.items)o(l);o(d.rest);break;case"record":case"map":o(d.keyType),o(d.valueType);break;case"set":o(d.valueType);break;case"union":for(const l of d.options)o(l);break;case"intersection":o(d.left),o(d.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":o(d.innerType);break;case"pipe":o(d.in),o(d.out);break;case"function":o(d.input),o(d.output);break;case"lazy":{const l=d._cachedInner??(r?e._zod.innerType:void 0);s(l?isRecursive(l,t,!1):ASSUMED);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(const l in d){const f=Object.getOwnPropertyDescriptor(d,l);if(!f||f.get)continue;const h=f.value;if(!(!h||typeof h!="object")){if(h._zod)o(h);else if(Array.isArray(h))for(const p of h)o(p)}}}return t.delete(e),settle(e,u)}function settle(e,t){return t!==ASSUMED&&recursive.set(e,t===PROVEN),t}function isRecursiveSchema(e){return isRecursive(e,new Set,!0)!==NONE}function bucketFor(e,t){let r=e.buckets.get(t);return r||(r=new WeakMap,e.buckets.set(t,r)),r}var handoff,open=[],memo={alloc(e,t,r){const i=handoff;if(!i)return r;handoff=void 0;const u={value:r,issues:null};return i.set(t.value,u),open.push(u),r},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const r=e._zod.parse,i=(u,o)=>{if(o.direction!=="backward"&&isBackEdge(o,u.value))throw new $ZodCyclicError;return r(u,o)};e._zod.parse=i,e._zod.run===r&&(e._zod.run=i)})},attach(e){var t;let r,i=!1,u,o;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const a=e._zod.parse,s=(d,c)=>{if(r===void 0){const A=isRecursive(e,new Set,!1);if(A===NONE)return e._zod.parse=a,e._zod.run===s&&(e._zod.run=a),a(d,c);A===PROVEN||i?r=!0:i=!0}const l=d.value;if(!isRef(l))return a(d,c);let f=c[STATE];f||(f={buckets:new WeakMap,backEdges:void 0},c[STATE]=f);let h;u===c?h=o:(h=bucketFor(f,e),u=c,o=h);const p=h.get(l);if(p)return d.value=p.value,p.issues?p.issues.length&&d.issues.push(...cloneIssues(p.issues)):(d.memo=!0,f.backEdges??(f.backEdges=new WeakSet),f.backEdges.add(p.value)),d;handoff=h;const g=open.length,v=a(d,c);handoff=void 0;const x=open.length>g?open.pop():void 0;return v instanceof Promise?v.then(A=>(x&&(x.issues=A.issues.length?cloneIssues(A.issues):NO_ISSUES),A)):(x&&(x.issues=v.issues.length?cloneIssues(v.issues):NO_ISSUES),v)};e._zod.parse=s,e._zod.run===a&&(e._zod.run=s)})}};function memoizer(){return memo}function isBackEdge(e,t){const r=e[STATE]?.backEdges;return r!==void 0&&isRef(t)&&r.has(t)}var locales_exports={};__export(locales_exports,{ar:()=>ar_default,az:()=>az_default,be:()=>be_default,bg:()=>bg_default,bn:()=>bn_default,ca:()=>ca_default,ckb:()=>ckb_default,cs:()=>cs_default,da:()=>da_default,de:()=>de_default,el:()=>el_default,en:()=>en_default,eo:()=>eo_default,es:()=>es_default,fa:()=>fa_default,fi:()=>fi_default,fr:()=>fr_default,frCA:()=>fr_CA_default,gu:()=>gu_default,he:()=>he_default,hi:()=>hi_default,hr:()=>hr_default,hu:()=>hu_default,hy:()=>hy_default,id:()=>id_default,is:()=>is_default,it:()=>it_default,ja:()=>ja_default,ka:()=>ka_default,kh:()=>kh_default,km:()=>km_default,kn:()=>kn_default,ko:()=>ko_default,lt:()=>lt_default,mk:()=>mk_default,ms:()=>ms_default,ne:()=>ne_default,nl:()=>nl_default,nn:()=>nn_default,no:()=>no_default,ota:()=>ota_default,pl:()=>pl_default,ps:()=>ps_default,pt:()=>pt_default,ptBR:()=>pt_BR_default,ro:()=>ro_default,ru:()=>ru_default,sk:()=>sk_default,sl:()=>sl_default,sv:()=>sv_default,ta:()=>ta_default,tg:()=>tg_default,th:()=>th_default,tk:()=>tk_default,tr:()=>tr_default,ua:()=>ua_default,uk:()=>uk_default,ur:()=>ur_default,uz:()=>uz_default,vi:()=>vi_default,yo:()=>yo_default,zhCN:()=>zh_CN_default,zhTW:()=>zh_TW_default});var error=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"},map:{unit:"عنصر",verb:"أن يحوي"}};function t(u){return e[u]??null}const r={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",mac:"عنوان MAC",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",credit_card:"رقم بطاقة الائتمان",currency_code:"رمز العملة",iban:"IBAN",jwt:"JWT",template_literal:"مدخل"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${u.expected}، ولكن تم إدخال ${s}`:`مدخلات غير مقبولة: يفترض إدخال ${o}، ولكن تم إدخال ${s}`}case"invalid_value":return u.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${stringifyPrimitive(u.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?` أكبر من اللازم: يفترض أن تكون ${u.origin??"القيمة"} ${o} ${u.maximum.toString()} ${a.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${u.origin??"القيمة"} ${o} ${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`أصغر من اللازم: يفترض لـ ${u.origin} أن يكون ${o} ${u.minimum.toString()} ${a.unit}`:`أصغر من اللازم: يفترض لـ ${u.origin} أن يكون ${o} ${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${u.prefix}"`:o.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${o.suffix}"`:o.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${o.includes}"`:o.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${o.pattern}`:`${r[o.format]??u.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${u.divisor}`;case"unrecognized_keys":return`معرف${u.keys.length>1?"ات":""} غريب${u.keys.length>1?"ة":""}: ${joinValues(u.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${u.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${u.origin}`;default:return"مدخل غير مقبول"}}};function ar_default(){return{localeError:error()}}var error2=()=>{const e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"},map:{unit:"element",verb:"olmalıdır"}};function t(u){return e[u]??null}const r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"kredit kartı nömrəsi",currency_code:"valyuta kodu",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Yanlış dəyər: gözlənilən instanceof ${u.expected}, daxil olan ${s}`:`Yanlış dəyər: gözlənilən ${o}, daxil olan ${s}`}case"invalid_value":return u.values.length===1?`Yanlış dəyər: gözlənilən ${stringifyPrimitive(u.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Çox böyük: gözlənilən ${u.origin??"dəyər"} ${o}${u.maximum.toString()} ${a.unit??"element"}`:`Çox böyük: gözlənilən ${u.origin??"dəyər"} ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Çox kiçik: gözlənilən ${u.origin} ${o}${u.minimum.toString()} ${a.unit}`:`Çox kiçik: gözlənilən ${u.origin} ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Yanlış mətn: "${o.prefix}" ilə başlamalıdır`:o.format==="ends_with"?`Yanlış mətn: "${o.suffix}" ilə bitməlidir`:o.format==="includes"?`Yanlış mətn: "${o.includes}" daxil olmalıdır`:o.format==="regex"?`Yanlış mətn: ${o.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${r[o.format]??u.format}`}case"not_multiple_of":return`Yanlış ədəd: ${u.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${u.keys.length>1?"lar":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`${u.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${u.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function az_default(){return{localeError:error2()}}function getBelarusianPlural(e,t,r,i){const u=Math.abs(e),o=u%10,a=u%100;return a>=11&&a<=19?i:o===1?t:o>=2&&o<=4?r:i}var error3=()=>{const e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},map:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function t(u){return e[u]??null}const r={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",mac:"MAC адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",credit_card:"нумар крэдытнай карты",currency_code:"код валюты",iban:"IBAN",jwt:"JWT",template_literal:"увод"},i={nan:"NaN",number:"лік",array:"масіў"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Няправільны ўвод: чакаўся instanceof ${u.expected}, атрымана ${s}`:`Няправільны ўвод: чакаўся ${o}, атрымана ${s}`}case"invalid_value":return u.values.length===1?`Няправільны ўвод: чакалася ${stringifyPrimitive(u.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);if(a){const s=Number(u.maximum),d=getBelarusianPlural(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта вялікі: чакалася, што ${u.origin??"значэнне"} павінна ${a.verb} ${o}${u.maximum.toString()} ${d}`}return`Занадта вялікі: чакалася, што ${u.origin??"значэнне"} павінна быць ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);if(a){const s=Number(u.minimum),d=getBelarusianPlural(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта малы: чакалася, што ${u.origin} павінна ${a.verb} ${o}${u.minimum.toString()} ${d}`}return`Занадта малы: чакалася, што ${u.origin} павінна быць ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${o.prefix}"`:o.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${o.suffix}"`:o.format==="includes"?`Няправільны радок: павінен змяшчаць "${o.includes}"`:o.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${o.pattern}`:`Няправільны ${r[o.format]??u.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${u.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${u.keys.length>1?"ключы":"ключ"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${u.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${u.origin}`;default:return"Няправільны ўвод"}}};function be_default(){return{localeError:error3()}}var error4=()=>{const e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"},map:{unit:"елемента",verb:"да съдържа"}};function t(u){return e[u]??null}const r={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",mac:"MAC адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",credit_card:"номер на кредитна карта",currency_code:"код на валута",iban:"IBAN",jwt:"JWT",template_literal:"вход"},i={nan:"NaN",number:"число",array:"масив"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Невалиден вход: очакван instanceof ${u.expected}, получен ${s}`:`Невалиден вход: очакван ${o}, получен ${s}`}case"invalid_value":return u.values.length===1?`Невалиден вход: очакван ${stringifyPrimitive(u.values[0])}`:`Невалидна опция: очаквано едно от ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Твърде голямо: очаква се ${u.origin??"стойност"} да съдържа ${o}${u.maximum.toString()} ${a.unit??"елемента"}`:`Твърде голямо: очаква се ${u.origin??"стойност"} да бъде ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Твърде малко: очаква се ${u.origin} да съдържа ${o}${u.minimum.toString()} ${a.unit}`:`Твърде малко: очаква се ${u.origin} да бъде ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;if(o.format==="starts_with")return`Невалиден низ: трябва да започва с "${o.prefix}"`;if(o.format==="ends_with")return`Невалиден низ: трябва да завършва с "${o.suffix}"`;if(o.format==="includes")return`Невалиден низ: трябва да включва "${o.includes}"`;if(o.format==="regex")return`Невалиден низ: трябва да съвпада с ${o.pattern}`;let a="Невалиден";return o.format==="emoji"&&(a="Невалидно"),o.format==="datetime"&&(a="Невалидно"),o.format==="date"&&(a="Невалидна"),o.format==="time"&&(a="Невалидно"),o.format==="duration"&&(a="Невалидна"),`${a} ${r[o.format]??u.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${u.divisor}`;case"unrecognized_keys":return`Неразпознат${u.keys.length>1?"и":""} ключ${u.keys.length>1?"ове":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${u.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${u.origin}`;default:return"Невалиден вход"}}};function bg_default(){return{localeError:error4()}}var error5=()=>{const e={string:{unit:"অক্ষর",verb:"থাকতে হবে"},file:{unit:"বাইট",verb:"থাকতে হবে"},array:{unit:"আইটেম",verb:"থাকতে হবে"},set:{unit:"আইটেম",verb:"থাকতে হবে"},map:{unit:"এন্ট্রি",verb:"থাকতে হবে"}};function t(u){return e[u]??null}const r={regex:"ইনপুট",email:"ইমেইল ঠিকানা",url:"URL",emoji:"ইমোজি",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO তারিখ ও সময়",date:"ISO তারিখ",time:"ISO সময়",duration:"ISO সময়কাল",ipv4:"IPv4 ঠিকানা",ipv6:"IPv6 ঠিকানা",mac:"MAC ঠিকানা",cidrv4:"IPv4 রেঞ্জ",cidrv6:"IPv6 রেঞ্জ",base64:"base64-এনকোডেড স্ট্রিং",base64url:"base64url-এনকোডেড স্ট্রিং",json_string:"JSON স্ট্রিং",e164:"E.164 নম্বর",credit_card:"ক্রেডিট কার্ড নম্বর",currency_code:"মুদ্রা কোড",iban:"IBAN",jwt:"JWT",template_literal:"ইনপুট"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return`অবৈধ ইনপুট: প্রত্যাশিত ${o}, প্রাপ্ত ${s}`}case"invalid_value":return u.values.length===1?`অবৈধ ইনপুট: প্রত্যাশিত ${stringifyPrimitive(u.values[0])}`:`অবৈধ অপশন: ${joinValues(u.values," | ")} এর মধ্যে একটি প্রত্যাশিত`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`অনেক বড়: ${u.origin??"মান"} ${o}${u.maximum.toString()} ${a.unit??"এলিমেন্ট"} হতে হবে`:`অনেক বড়: ${u.origin??"মান"} ${o}${u.maximum.toString()} হতে হবে`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`অনেক ছোট: ${u.origin} ${o}${u.minimum.toString()} ${a.unit} হতে হবে`:`অনেক ছোট: ${u.origin} ${o}${u.minimum.toString()} হতে হবে`}case"invalid_format":{const o=u;return o.format==="starts_with"?`অবৈধ স্ট্রিং: "${o.prefix}" দিয়ে শুরু হতে হবে`:o.format==="ends_with"?`অবৈধ স্ট্রিং: "${o.suffix}" দিয়ে শেষ হতে হবে`:o.format==="includes"?`অবৈধ স্ট্রিং: "${o.includes}" অন্তর্ভুক্ত থাকতে হবে`:o.format==="regex"?`অবৈধ স্ট্রিং: ${o.pattern} প্যাটার্ন মিলতে হবে`:`অবৈধ ${r[o.format]??u.format}`}case"not_multiple_of":return`অবৈধ নম্বর: ${u.divisor} এর গুণিতক হতে হবে`;case"unrecognized_keys":return`অচেনা কী${u.keys.length>1?"গুলো":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`${u.origin} এ অবৈধ কী`;case"invalid_union":return u.options&&Array.isArray(u.options)&&u.options.length>0?`অবৈধ ডিসক্রিমিনেটর মান। প্রত্যাশিত ${u.options.map(a=>`'${a}'`).join(" | ")}`:"অবৈধ ইনপুট";case"invalid_element":return`${u.origin} এ অবৈধ মান`;default:return"অবৈধ ইনপুট"}}};function bn_default(){return{localeError:error5()}}var error6=()=>{const e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"},map:{unit:"elements",verb:"contenir"}};function t(u){return e[u]??null}const r={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",mac:"adreça MAC",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",credit_card:"número de targeta de crèdit",currency_code:"codi de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Tipus invàlid: s'esperava instanceof ${u.expected}, s'ha rebut ${s}`:`Tipus invàlid: s'esperava ${o}, s'ha rebut ${s}`}case"invalid_value":return u.values.length===1?`Valor invàlid: s'esperava ${stringifyPrimitive(u.values[0])}`:`Opció invàlida: s'esperava una de ${joinValues(u.values," o ")}`;case"too_big":{const o=u.inclusive?"com a màxim":"menys de",a=t(u.origin);return a?`Massa gran: s'esperava que ${u.origin??"el valor"} contingués ${o} ${u.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${u.origin??"el valor"} fos ${o} ${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?"com a mínim":"més de",a=t(u.origin);return a?`Massa petit: s'esperava que ${u.origin} contingués ${o} ${u.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${u.origin} fos ${o} ${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Format invàlid: ha de començar amb "${o.prefix}"`:o.format==="ends_with"?`Format invàlid: ha d'acabar amb "${o.suffix}"`:o.format==="includes"?`Format invàlid: ha d'incloure "${o.includes}"`:o.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${o.pattern}`:`Format invàlid per a ${r[o.format]??u.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${u.divisor}`;case"unrecognized_keys":return`Clau${u.keys.length>1?"s":""} no reconeguda${u.keys.length>1?"s":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${u.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${u.origin}`;default:return"Entrada invàlida"}}};function ca_default(){return{localeError:error6()}}var error7=()=>{const e={string:{unit:"پیت",verb:"بێت"},file:{unit:"بایت",verb:"بێت"},array:{unit:"دانە",verb:"بێت"},set:{unit:"دانە",verb:"بێت"},map:{unit:"دانە",verb:"بێت"}};function t(u){return e[u]??null}const r={regex:"regex",email:"ئیمەیڵ",url:"بەستەر (URL)",emoji:"ئیمۆجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ڕێکەوت و کات",date:"ڕێکەوت",time:"کات",duration:"ماوە",ipv4:"ناونیشانی IPv4",ipv6:"ناونیشانی IPv6",mac:"ناونیشانی MAC",cidrv4:"مەودای IPv4",cidrv6:"مەودای IPv6",base64:"دەقی base64",base64url:"دەقی base64url",json_string:"دەقی JSON",e164:"ژمارەی E.164",credit_card:"ژمارەی کارتی کرێدیت",currency_code:"کۆدی دراو",iban:"IBAN",jwt:"JWT",template_literal:"تێکردە"},i={nan:"NaN",string:"نووسین",number:"ژمارە",boolean:"boolean",array:"array",object:"object",date:"ڕێکەوت",integer:"ژمارە",float:"ژمارە",null:"null",undefined:"undefined",function:"function",symbol:"symbol",unknown:"unknown",promise:"promise",void:"void",never:"never",map:"map",set:"set"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a,d=["ا","و","ۆ","وو","ە","ی","ێ"].some(l=>s.endsWith(l))?"یە":"ە",c=/^[a-zA-Z]+$/.test(s);return a==="null"||a==="undefined"?"داواکراوە":`چاوەڕوانکراوە ${o} بێت، بەڵام ${s}${c?"":d}`}case"invalid_value":return u.values.length===1?`بەهاکە نادرووستە: چاوەڕوانکراوە ${stringifyPrimitive(u.values[0])} بێت`:`هەڵبژاردەی نادروست: چاوەڕوانکراوە یەکێک بێت لە ${joinValues(u.values,"|")}`;case"too_big":{const o=t(u.origin);return o?`پێویستە بە لایەنی زۆرەوە ${u.maximum.toString()} ${o.unit} ${o.verb}`:`پێویستە بە لایەنی زۆرەوە ${u.maximum.toString()} بێت`}case"too_small":{const o=t(u.origin);return o?`پێویستە بە لایەنی کەمەوە ${u.minimum.toString()} ${o.unit} ${o.verb}`:`پێویستە بە لایەنی کەمەوە ${u.minimum.toString()} بێت`}case"invalid_format":{const o=u;return o.format==="starts_with"?`دەقی نادروست: پێویستە دەستپێبکات بە "${o.prefix}"`:o.format==="ends_with"?`دەقی نادروست: پێویستە کۆتاییبێت بە "${o.suffix}"`:o.format==="includes"?`دەقی نادروست: پێویستە "${o.includes}" لەخۆبگرێت`:o.format==="regex"?`دەقی نادروست: پێویستە لەگەڵ پاتێرنی ${o.pattern} بگونجێت`:`بەهای ${r[o.format]??u.format} نادروستە`}case"not_multiple_of":return`ژمارەی نادروست: دەبێت چەند هێندە بێت بۆ ${u.divisor}`;case"unrecognized_keys":return`کلیلی نەناسراو: ${joinValues(u.keys,", ")}`;case"invalid_key":return`کلیلی نادروست لە ${u.origin}`;case"invalid_union":return u.options&&Array.isArray(u.options)&&u.options.length>0?`بەهای نەناسراو هەیە. بەهای چاوەڕوانکراو: ${u.options.map(a=>`'${a}'`).join(" | ")}`:"یەکگرتنی نادروست";case"invalid_element":return`${u.origin} بەهاکە نادروستە`;default:return"تێکردەی نادروست"}}};function ckb_default(){return{localeError:error7()}}var error8=()=>{const e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"},map:{unit:"prvků",verb:"mít"}};function t(u){return e[u]??null}const r={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",credit_card:"číslo kreditní karty",currency_code:"kód měny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Neplatný vstup: očekáváno instanceof ${u.expected}, obdrženo ${s}`:`Neplatný vstup: očekáváno ${o}, obdrženo ${s}`}case"invalid_value":return u.values.length===1?`Neplatný vstup: očekáváno ${stringifyPrimitive(u.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Hodnota je příliš velká: ${u.origin??"hodnota"} musí mít ${o}${u.maximum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš velká: ${u.origin??"hodnota"} musí být ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Hodnota je příliš malá: ${u.origin??"hodnota"} musí mít ${o}${u.minimum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš malá: ${u.origin??"hodnota"} musí být ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Neplatný řetězec: musí začínat na "${o.prefix}"`:o.format==="ends_with"?`Neplatný řetězec: musí končit na "${o.suffix}"`:o.format==="includes"?`Neplatný řetězec: musí obsahovat "${o.includes}"`:o.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${o.pattern}`:`Neplatný formát ${r[o.format]??u.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${u.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${u.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${u.origin}`;default:return"Neplatný vstup"}}};function cs_default(){return{localeError:error8()}}var error9=()=>{const e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"},map:{unit:"elementer",verb:"indeholdt"}};function t(u){return e[u]??null}const r={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kreditkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Ugyldigt input: forventede instanceof ${u.expected}, fik ${s}`:`Ugyldigt input: forventede ${o}, fik ${s}`}case"invalid_value":return u.values.length===1?`Ugyldig værdi: forventede ${stringifyPrimitive(u.values[0])}`:`Ugyldigt valg: forventede en af følgende ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin),s=i[u.origin]??u.origin;return a?`For stor: forventede ${s??"value"} ${a.verb} ${o} ${u.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${o} ${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin),s=i[u.origin]??u.origin;return a?`For lille: forventede ${s} ${a.verb} ${o} ${u.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} havde ${o} ${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Ugyldig streng: skal starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: skal ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: skal indeholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: skal matche mønsteret ${o.pattern}`:`Ugyldig ${r[o.format]??u.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${u.divisor}`;case"unrecognized_keys":return`${u.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${u.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${u.origin}`;default:return"Ugyldigt input"}}};function da_default(){return{localeError:error9()}}var error10=()=>{const e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"},map:{unit:"Elemente",verb:"zu haben"}};function t(u){return e[u]??null}const r={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",mac:"MAC-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",credit_card:"Kreditkartennummer",currency_code:"Währungscode",iban:"IBAN",jwt:"JWT",template_literal:"Eingabe"},i={nan:"NaN",number:"Zahl",array:"Array"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Ungültige Eingabe: erwartet instanceof ${u.expected}, erhalten ${s}`:`Ungültige Eingabe: erwartet ${o}, erhalten ${s}`}case"invalid_value":return u.values.length===1?`Ungültige Eingabe: erwartet ${stringifyPrimitive(u.values[0])}`:`Ungültige Option: erwartet eine von ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Zu groß: erwartet, dass ${u.origin??"Wert"} ${o}${u.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${u.origin??"Wert"} ${o}${u.maximum.toString()} ist`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Zu klein: erwartet, dass ${u.origin} ${o}${u.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${u.origin} ${o}${u.minimum.toString()} ist`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Ungültiger String: muss mit "${o.prefix}" beginnen`:o.format==="ends_with"?`Ungültiger String: muss mit "${o.suffix}" enden`:o.format==="includes"?`Ungültiger String: muss "${o.includes}" enthalten`:o.format==="regex"?`Ungültiger String: muss dem Muster ${o.pattern} entsprechen`:`Ungültig: ${r[o.format]??u.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${u.divisor} sein`;case"unrecognized_keys":return`${u.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${u.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${u.origin}`;default:return"Ungültige Eingabe"}}};function de_default(){return{localeError:error10()}}var error11=()=>{const e={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function t(u){return e[u]??null}const r={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",credit_card:"αριθμός πιστωτικής κάρτας",currency_code:"κωδικός νομίσματος",iban:"IBAN",jwt:"JWT",template_literal:"είσοδος"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return typeof u.expected=="string"&&/^[A-Z]/.test(u.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${u.expected}, λήφθηκε ${s}`:`Μη έγκυρη είσοδος: αναμενόταν ${o}, λήφθηκε ${s}`}case"invalid_value":return u.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${stringifyPrimitive(u.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Πολύ μεγάλο: αναμενόταν ${u.origin??"τιμή"} να έχει ${o}${u.maximum.toString()} ${a.unit??"στοιχεία"}`:`Πολύ μεγάλο: αναμενόταν ${u.origin??"τιμή"} να είναι ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Πολύ μικρό: αναμενόταν ${u.origin} να έχει ${o}${u.minimum.toString()} ${a.unit}`:`Πολύ μικρό: αναμενόταν ${u.origin} να είναι ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${o.prefix}"`:o.format==="ends_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${o.suffix}"`:o.format==="includes"?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${o.includes}"`:o.format==="regex"?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${o.pattern}`:`Μη έγκυρο: ${r[o.format]??u.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${u.divisor}`;case"unrecognized_keys":return`Άγνωστ${u.keys.length>1?"α":"ο"} κλειδ${u.keys.length>1?"ιά":"ί"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${u.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${u.origin}`;default:return"Μη έγκυρη είσοδος"}}};function el_default(){return{localeError:error11()}}var error12=()=>{const e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(o){return e[o]??null}const r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};function u(o,a){return o==="number"&&typeof a=="number"&&!Number.isFinite(a)?String(a):i[o]??o}return o=>{switch(o.code){case"invalid_type":{const a=u(o.expected),s=parsedType(o.input),d=u(s,o.input);return`Invalid input: expected ${a}, received ${d}`}case"invalid_value":return o.values.length===1?`Invalid input: expected ${stringifyPrimitive(o.values[0])}`:`Invalid option: expected one of ${joinValues(o.values,"|")}`;case"too_big":{const a=o.exact?"exactly ":o.inclusive?"<=":"<",s=t(o.origin);return s?`Too big: expected ${o.origin??"value"} to have ${a}${o.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${o.origin??"value"} to be ${a}${o.maximum.toString()}`}case"too_small":{const a=o.exact?"exactly ":o.inclusive?">=":">",s=t(o.origin);return s?`Too small: expected ${o.origin} to have ${a}${o.minimum.toString()} ${s.unit}`:`Too small: expected ${o.origin} to be ${a}${o.minimum.toString()}`}case"invalid_format":{const a=o;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${r[a.format]??o.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${o.divisor}`;case"unrecognized_keys":return`Unrecognized key${o.keys.length>1?"s":""}: ${joinValues(o.keys,", ")}`;case"invalid_key":return`Invalid key in ${o.origin}`;case"invalid_union":return o.options&&Array.isArray(o.options)&&o.options.length>0?`Invalid discriminator value. Expected ${o.options.map(s=>`'${s}'`).join(" | ")}`:o.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${o.origin}`;default:return"Invalid input"}}};function en_default(){return{localeError:error12()}}var error13=()=>{const e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"},map:{unit:"elementojn",verb:"havi"}};function t(u){return e[u]??null}const r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",mac:"MAC-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",credit_card:"kreditkarta numero",currency_code:"valuta kodo",iban:"IBAN",jwt:"JWT",template_literal:"enigo"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Nevalida enigo: atendiĝis instanceof ${u.expected}, riceviĝis ${s}`:`Nevalida enigo: atendiĝis ${o}, riceviĝis ${s}`}case"invalid_value":return u.values.length===1?`Nevalida enigo: atendiĝis ${stringifyPrimitive(u.values[0])}`:`Nevalida opcio: atendiĝis unu el ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Tro granda: atendiĝis ke ${u.origin??"valoro"} havu ${o}${u.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${u.origin??"valoro"} havu ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Tro malgranda: atendiĝis ke ${u.origin} havu ${o}${u.minimum.toString()} ${a.unit}`:`Tro malgranda: atendiĝis ke ${u.origin} estu ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${o.prefix}"`:o.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${o.suffix}"`:o.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${o.includes}"`:o.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${o.pattern}`:`Nevalida ${r[o.format]??u.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${u.divisor}`;case"unrecognized_keys":return`Nekonata${u.keys.length>1?"j":""} ŝlosilo${u.keys.length>1?"j":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${u.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${u.origin}`;default:return"Nevalida enigo"}}};function eo_default(){return{localeError:error13()}}var error14=()=>{const e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(u){return e[u]??null}const r={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",mac:"dirección MAC",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",credit_card:"número de tarjeta de crédito",currency_code:"código de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Entrada inválida: se esperaba instanceof ${u.expected}, recibido ${s}`:`Entrada inválida: se esperaba ${o}, recibido ${s}`}case"invalid_value":return u.values.length===1?`Entrada inválida: se esperaba ${stringifyPrimitive(u.values[0])}`:`Opción inválida: se esperaba una de ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin),s=i[u.origin]??u.origin;return a?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${o}${u.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin),s=i[u.origin]??u.origin;return a?`Demasiado pequeño: se esperaba que ${s} tuviera ${o}${u.minimum.toString()} ${a.unit}`:`Demasiado pequeño: se esperaba que ${s} fuera ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Cadena inválida: debe comenzar con "${o.prefix}"`:o.format==="ends_with"?`Cadena inválida: debe terminar en "${o.suffix}"`:o.format==="includes"?`Cadena inválida: debe incluir "${o.includes}"`:o.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${o.pattern}`:`Inválido ${r[o.format]??u.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${u.divisor}`;case"unrecognized_keys":return`Llave${u.keys.length>1?"s":""} desconocida${u.keys.length>1?"s":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Llave inválida en ${i[u.origin]??u.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${i[u.origin]??u.origin}`;default:return"Entrada inválida"}}};function es_default(){return{localeError:error14()}}var error15=()=>{const e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"},map:{unit:"آیتم",verb:"داشته باشد"}};function t(u){return e[u]??null}const r={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",mac:"MAC آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",credit_card:"شماره کارت اعتباری",currency_code:"کد ارز",iban:"IBAN",jwt:"JWT",template_literal:"ورودی"},i={nan:"NaN",number:"عدد",array:"آرایه"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`ورودی نامعتبر: میبایست instanceof ${u.expected} میبود، ${s} دریافت شد`:`ورودی نامعتبر: میبایست ${o} میبود، ${s} دریافت شد`}case"invalid_value":return u.values.length===1?`ورودی نامعتبر: میبایست ${stringifyPrimitive(u.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${joinValues(u.values,"|")} میبود`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`خیلی بزرگ: ${u.origin??"مقدار"} باید ${o}${u.maximum.toString()} ${a.unit??"عنصر"} باشد`:`خیلی بزرگ: ${u.origin??"مقدار"} باید ${o}${u.maximum.toString()} باشد`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`خیلی کوچک: ${u.origin} باید ${o}${u.minimum.toString()} ${a.unit} باشد`:`خیلی کوچک: ${u.origin} باید ${o}${u.minimum.toString()} باشد`}case"invalid_format":{const o=u;return o.format==="starts_with"?`رشته نامعتبر: باید با "${o.prefix}" شروع شود`:o.format==="ends_with"?`رشته نامعتبر: باید با "${o.suffix}" تمام شود`:o.format==="includes"?`رشته نامعتبر: باید شامل "${o.includes}" باشد`:o.format==="regex"?`رشته نامعتبر: باید با الگوی ${o.pattern} مطابقت داشته باشد`:`${r[o.format]??u.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${u.divisor} باشد`;case"unrecognized_keys":return`کلید${u.keys.length>1?"های":""} ناشناس: ${joinValues(u.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${u.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${u.origin}`;default:return"ورودی نامعتبر"}}};function fa_default(){return{localeError:error15()}}var error16=()=>{const e={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},map:{unit:"alkiota",subject:"kuvauksen"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function t(u){return e[u]??null}const r={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",mac:"MAC-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",credit_card:"luottokortin numero",currency_code:"valuuttakoodi",iban:"IBAN",jwt:"JWT",template_literal:"templaattimerkkijono"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Virheellinen tyyppi: odotettiin instanceof ${u.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${s}`}case"invalid_value":return u.values.length===1?`Virheellinen syöte: täytyy olla ${stringifyPrimitive(u.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Liian suuri: ${a.subject} täytyy olla ${o}${u.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon täytyy olla ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Liian pieni: ${a.subject} täytyy olla ${o}${u.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon täytyy olla ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${o.prefix}"`:o.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${o.suffix}"`:o.format==="includes"?`Virheellinen syöte: täytyy sisältää "${o.includes}"`:o.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${o.pattern}`:`Virheellinen ${r[o.format]??u.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${u.divisor} monikerta`;case"unrecognized_keys":return`${u.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function fi_default(){return{localeError:error16()}}var error17=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(u){return e[u]??null}const r={regex:"expression régulière",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne de caractères encodée en base64",base64url:"chaîne de caractères encodée en base64url",json_string:"chaîne de caractères JSON",e164:"numéro au format E.164",credit_card:"numéro de carte de crédit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entrée"},i={string:"chaîne de caractères",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"record",map:"map",set:"ensemble",file:"fichier",nonoptional:"non optionnel",nan:"NaN",function:"fonction"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Entrée invalide : instance de ${u.expected} attendu, ${s} reçu`:`Entrée invalide : ${o} attendu, ${s} reçu`}case"invalid_value":return u.values.length===1?`Entrée invalide : ${stringifyPrimitive(u.values[0])} attendu`:`Option invalide : une valeur parmi ${joinValues(u.values,"|")} attendue`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Trop grand : ${i[u.origin]??"valeur"} doit ${a.verb} ${o}${u.maximum.toString()} ${a.unit??"élément(s)"}`:`Trop grand : ${i[u.origin]??"valeur"} doit être ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Trop petit : ${i[u.origin]??"valeur"} doit ${a.verb} ${o}${u.minimum.toString()} ${a.unit}`:`Trop petit : ${i[u.origin]??"valeur"} doit être ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Chaîne de caractères invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Chaîne de caractères invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Chaîne de caractères invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Chaîne de caractères invalide : doit correspondre au motif ${o.pattern}`:`${r[o.format]??u.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${u.divisor}`;case"unrecognized_keys":return`Clé${u.keys.length>1?"s":""} non reconnue${u.keys.length>1?"s":""} : ${joinValues(u.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${u.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${u.origin}`;default:return"Entrée invalide"}}};function fr_default(){return{localeError:error17()}}var error18=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"},map:{unit:"éléments",verb:"avoir"}};function t(u){return e[u]??null}const r={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",credit_card:"numéro de carte de crédit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entrée"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Entrée invalide : attendu instanceof ${u.expected}, reçu ${s}`:`Entrée invalide : attendu ${o}, reçu ${s}`}case"invalid_value":return u.values.length===1?`Entrée invalide : attendu ${stringifyPrimitive(u.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"≤":"<",a=t(u.origin);return a?`Trop grand : attendu que ${u.origin??"la valeur"} ait ${o}${u.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${u.origin??"la valeur"} soit ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?"≥":">",a=t(u.origin);return a?`Trop petit : attendu que ${u.origin} ait ${o}${u.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${u.origin} soit ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Chaîne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Chaîne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Chaîne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Chaîne invalide : doit correspondre au motif ${o.pattern}`:`${r[o.format]??u.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${u.divisor}`;case"unrecognized_keys":return`Clé${u.keys.length>1?"s":""} non reconnue${u.keys.length>1?"s":""} : ${joinValues(u.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${u.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${u.origin}`;default:return"Entrée invalide"}}};function fr_CA_default(){return{localeError:error18()}}var error19=()=>{const e={string:{unit:"અક્ષર",verb:"હોવા જોઈએ"},file:{unit:"બાયટ",verb:"હોવા જોઈએ"},array:{unit:"આઇટમ",verb:"હોવા જોઈએ"},set:{unit:"આઇટમ",verb:"હોવા જોઈએ"},map:{unit:"એન્ટ્રી",verb:"હોવા જોઈએ"}};function t(u){return e[u]??null}const r={regex:"ઇનપુટ",email:"ઈમેઇલ એડ્રેસ",url:"URL",emoji:"ઇમોજી",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO તારીખ અને સમય",date:"ISO તારીખ",time:"ISO સમય",duration:"ISO અવધિ",ipv4:"IPv4 એડ્રેસ",ipv6:"IPv6 એડ્રેસ",mac:"MAC એડ્રેસ",cidrv4:"IPv4 શ્રેણી",cidrv6:"IPv6 શ્રેણી",base64:"base64-એન્કોડેડ સ્ટ્રિંગ",base64url:"base64url-એન્કોડેડ સ્ટ્રિંગ",json_string:"JSON સ્ટ્રિંગ",e164:"E.164 નંબર",credit_card:"ક્રેડિટ કાર્ડ નંબર",currency_code:"ચલણ કોડ",iban:"IBAN",jwt:"JWT",template_literal:"ઇનપુટ"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return`અમાન્ય ઇનપુટ: અપેક્ષિત ${o}, પ્રાપ્ત ${s}`}case"invalid_value":return u.values.length===1?`અમાન્ય ઇનપુટ: અપેક્ષિત ${stringifyPrimitive(u.values[0])}`:`અમાન્ય વિકલ્પ: ${joinValues(u.values," | ")} માધ્યમથી એક અપેક્ષિત`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`ખૂબ મોટું: ${u.origin??"મૂલ્ય"} ${o}${u.maximum.toString()} ${a.unit??"એલિમેન્ટ"} હોવા જોઈએ`:`ખૂબ મોટું: ${u.origin??"મૂલ્ય"} ${o}${u.maximum.toString()} હોવું જોઈએ`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`ખૂબ નાનું: ${u.origin} ${o}${u.minimum.toString()} ${a.unit} હોવા જોઈએ`:`ખૂબ નાનું: ${u.origin} ${o}${u.minimum.toString()} હોવું જોઈએ`}case"invalid_format":{const o=u;return o.format==="starts_with"?`અમાન્ય સ્ટ્રિંગ: "${o.prefix}" થી શરૂ થવું જોઈએ`:o.format==="ends_with"?`અમાન્ય સ્ટ્રિંગ: "${o.suffix}" પર સમાપ્ત થવું જોઈએ`:o.format==="includes"?`અમાન્ય સ્ટ્રિંગ: "${o.includes}" શામેલ હોવું જોઈએ`:o.format==="regex"?`અમાન્ય સ્ટ્રિંગ: પેટર્ન ${o.pattern} સાથે મેળ ખાવું જોઈએ`:`અમાન્ય ${r[o.format]??u.format}`}case"not_multiple_of":return`અમાન્ય નંબર: ${u.divisor} નો ગુણાંક હોવો જોઈએ`;case"unrecognized_keys":return`ઓળખી શકાતા નહીં તે કી${u.keys.length>1?"ઓ":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`${u.origin} માં અમાન્ય કી`;case"invalid_union":return u.options&&Array.isArray(u.options)&&u.options.length>0?`અમાન્ય ડિસ્ક્રિમિનેટર મૂલ્ય. અપેક્ષિત ${u.options.map(a=>`'${a}'`).join(" | ")}`:"અમાન્ય ઇનપુટ";case"invalid_element":return`${u.origin} માં અમાન્ય મૂલ્ય`;default:return"અમાન્ય ઇનપુટ"}}};function gu_default(){return{localeError:error19()}}var error20=()=>{const e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},t={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},r=c=>c?e[c]:void 0,i=c=>{const l=r(c);return l?l.label:c??e.unknown.label},u=c=>`ה${i(c)}`,o=c=>(r(c)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות",a=c=>c?t[c]??null:null,s={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},uuidv4:{label:"UUIDv4",gender:"m"},uuidv6:{label:"UUIDv6",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},mac:{label:"כתובת MAC",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},credit_card:{label:"מספר כרטיס אשראי",gender:"m"},currency_code:{label:"קוד מטבע",gender:"m"},iban:{label:"IBAN",gender:"m"},jwt:{label:"JWT",gender:"m"},template_literal:{label:"קלט",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},d={nan:"NaN"};return c=>{switch(c.code){case"invalid_type":{const l=c.expected,f=d[l??""]??i(l),h=parsedType(c.input),p=d[h]??e[h]?.label??h;return/^[A-Z]/.test(c.expected)?`קלט לא תקין: צריך להיות instanceof ${c.expected}, התקבל ${p}`:`קלט לא תקין: צריך להיות ${f}, התקבל ${p}`}case"invalid_value":{if(c.values.length===1)return`ערך לא תקין: הערך חייב להיות ${stringifyPrimitive(c.values[0])}`;const l=c.values.map(p=>stringifyPrimitive(p));if(c.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${l[0]} או ${l[1]}`;const f=l[l.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${l.slice(0,-1).join(", ")} או ${f}`}case"too_big":{const l=a(c.origin),f=u(c.origin??"value");if(c.origin==="string")return`${l?.longLabel??"ארוך"} מדי: ${f} צריכה להכיל ${c.maximum.toString()} ${l?.unit??""} ${c.inclusive?"או פחות":"לכל היותר"}`.trim();if(c.origin==="number"){const g=c.inclusive?`קטן או שווה ל-${c.maximum}`:`קטן מ-${c.maximum}`;return`גדול מדי: ${f} צריך להיות ${g}`}if(c.origin==="array"||c.origin==="set"){const g=c.origin==="set"?"צריכה":"צריך",v=c.inclusive?`${c.maximum} ${l?.unit??""} או פחות`:`פחות מ-${c.maximum} ${l?.unit??""}`;return`גדול מדי: ${f} ${g} להכיל ${v}`.trim()}const h=c.inclusive?"<=":"<",p=o(c.origin??"value");return l?.unit?`${l.longLabel} מדי: ${f} ${p} ${h}${c.maximum.toString()} ${l.unit}`:`${l?.longLabel??"גדול"} מדי: ${f} ${p} ${h}${c.maximum.toString()}`}case"too_small":{const l=a(c.origin),f=u(c.origin??"value");if(c.origin==="string")return`${l?.shortLabel??"קצר"} מדי: ${f} צריכה להכיל ${c.minimum.toString()} ${l?.unit??""} ${c.inclusive?"או יותר":"לפחות"}`.trim();if(c.origin==="number"){const g=c.inclusive?`גדול או שווה ל-${c.minimum}`:`גדול מ-${c.minimum}`;return`קטן מדי: ${f} צריך להיות ${g}`}if(c.origin==="array"||c.origin==="set"){const g=c.origin==="set"?"צריכה":"צריך";if(c.minimum===1&&c.inclusive){const x=(c.origin==="set","לפחות פריט אחד");return`קטן מדי: ${f} ${g} להכיל ${x}`}const v=c.inclusive?`${c.minimum} ${l?.unit??""} או יותר`:`יותר מ-${c.minimum} ${l?.unit??""}`;return`קטן מדי: ${f} ${g} להכיל ${v}`.trim()}const h=c.inclusive?">=":">",p=o(c.origin??"value");return l?.unit?`${l.shortLabel} מדי: ${f} ${p} ${h}${c.minimum.toString()} ${l.unit}`:`${l?.shortLabel??"קטן"} מדי: ${f} ${p} ${h}${c.minimum.toString()}`}case"invalid_format":{const l=c;if(l.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${l.prefix}"`;if(l.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${l.suffix}"`;if(l.format==="includes")return`המחרוזת חייבת לכלול "${l.includes}"`;if(l.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${l.pattern}`;const f=s[l.format],h=f?.label??l.format,g=(f?.gender??"m")==="f"?"תקינה":"תקין";return`${h} לא ${g}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${c.divisor}`;case"unrecognized_keys":return`מפתח${c.keys.length>1?"ות":""} לא מזוה${c.keys.length>1?"ים":"ה"}: ${joinValues(c.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${u(c.origin??"array")}`;default:return"קלט לא תקין"}}};function he_default(){return{localeError:error20()}}var error21=()=>{const e={string:{unit:"अक्षर",verb:"रखने के लिए"},file:{unit:"बाइट्स",verb:"रखने के लिए"},array:{unit:"तत्व",verb:"रखने के लिए"},set:{unit:"तत्व",verb:"रखने के लिए"},map:{unit:"प्रविष्टियाँ",verb:"रखने के लिए"}};function t(u){return e[u]??null}const r={regex:"इनपुट",email:"ईमेल पता",url:"URL",emoji:"इमोजी",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO तिथि और समय",date:"ISO तिथि",time:"ISO समय",duration:"ISO अवधि",ipv4:"IPv4 पता",ipv6:"IPv6 पता",mac:"MAC पता",cidrv4:"IPv4 श्रेणी",cidrv6:"IPv6 श्रेणी",base64:"Base64-एन्कोडेड स्ट्रिंग",base64url:"Base64URL-एन्कोडेड स्ट्रिंग",json_string:"JSON स्ट्रिंग",e164:"E.164 संख्या",credit_card:"क्रेडिट कार्ड संख्या",currency_code:"मुद्रा कोड",iban:"IBAN",jwt:"JWT",template_literal:"इनपुट"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return`अमान्य इनपुट: अपेक्षित ${o}, प्राप्त ${s}`}case"invalid_value":return u.values.length===1?`अमान्य इनपुट: अपेक्षित ${stringifyPrimitive(u.values[0])}`:`अमान्य विकल्प: अपेक्षित मानों में से एक ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`बहुत बड़ा: अपेक्षित था कि ${u.origin??"मान"} में ${o}${u.maximum} ${a.unit} हों`:`बहुत बड़ा: अपेक्षित था कि ${u.origin??"मान"} ${o}${u.maximum} हो`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`बहुत छोटा: अपेक्षित था कि ${u.origin} में ${o}${u.minimum} ${a.unit} हों`:`बहुत छोटा: अपेक्षित था कि ${u.origin} ${o}${u.minimum} हो`}case"invalid_format":{const o=u;return o.format==="starts_with"?`अमान्य स्ट्रिंग: "${o.prefix}" से शुरू होना चाहिए`:o.format==="ends_with"?`अमान्य स्ट्रिंग: "${o.suffix}" पर समाप्त होना चाहिए`:o.format==="includes"?`अमान्य स्ट्रिंग: इसमें "${o.includes}" शामिल होना चाहिए`:o.format==="regex"?`अमान्य स्ट्रिंग: पैटर्न ${o.pattern} से मेल खाना चाहिए`:`अमान्य ${r[o.format]??u.format}`}case"not_multiple_of":return`अमान्य संख्या: यह ${u.divisor} का गुणज होना चाहिए`;case"unrecognized_keys":return`अपरिचित कुंजी${u.keys.length>1?"याँ":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`अमान्य कुंजी: ${u.origin} में`;case"invalid_union":return u.options&&Array.isArray(u.options)&&u.options.length>0?`अमान्य डिस्क्रिमिनेटर मान: अपेक्षित ${u.options.map(a=>`'${a}'`).join(" | ")}`:"अमान्य इनपुट";case"invalid_element":return`अमान्य मान: ${u.origin} में`;default:return"अमान्य इनपुट"}}};function hi_default(){return{localeError:error21()}}var error22=()=>{const e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function t(u){return e[u]??null}const r={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",credit_card:"broj kreditne kartice",currency_code:"kod valute",iban:"IBAN",jwt:"JWT",template_literal:"unos"},i={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Neispravan unos: očekuje se instanceof ${u.expected}, a primljeno je ${s}`:`Neispravan unos: očekuje se ${o}, a primljeno je ${s}`}case"invalid_value":return u.values.length===1?`Neispravna vrijednost: očekivano ${stringifyPrimitive(u.values[0])}`:`Neispravna opcija: očekivano jedno od ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin),s=i[u.origin]??u.origin;return a?`Preveliko: očekivano da ${s??"vrijednost"} ima ${o}${u.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: očekivano da ${s??"vrijednost"} bude ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin),s=i[u.origin]??u.origin;return a?`Premalo: očekivano da ${s} ima ${o}${u.minimum.toString()} ${a.unit}`:`Premalo: očekivano da ${s} bude ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Neispravan tekst: mora započinjati s "${o.prefix}"`:o.format==="ends_with"?`Neispravan tekst: mora završavati s "${o.suffix}"`:o.format==="includes"?`Neispravan tekst: mora sadržavati "${o.includes}"`:o.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${o.pattern}`:`Neispravna ${r[o.format]??u.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${u.divisor}`;case"unrecognized_keys":return`Neprepoznat${u.keys.length>1?"i ključevi":" ključ"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${i[u.origin]??u.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${i[u.origin]??u.origin}`;default:return"Neispravan unos"}}};function hr_default(){return{localeError:error22()}}var error23=()=>{const e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"},map:{unit:"elem",verb:"legyen"}};function t(u){return e[u]??null}const r={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",mac:"MAC cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",credit_card:"hitelkártyaszám",currency_code:"pénznemkód",iban:"IBAN",jwt:"JWT",template_literal:"bemenet"},i={nan:"NaN",number:"szám",array:"tömb"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Érvénytelen bemenet: a várt érték instanceof ${u.expected}, a kapott érték ${s}`:`Érvénytelen bemenet: a várt érték ${o}, a kapott érték ${s}`}case"invalid_value":return u.values.length===1?`Érvénytelen bemenet: a várt érték ${stringifyPrimitive(u.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Túl nagy: ${u.origin??"érték"} mérete túl nagy ${o}${u.maximum.toString()} ${a.unit??"elem"}`:`Túl nagy: a bemeneti érték ${u.origin??"érték"} túl nagy: ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Túl kicsi: a bemeneti érték ${u.origin} mérete túl kicsi ${o}${u.minimum.toString()} ${a.unit}`:`Túl kicsi: a bemeneti érték ${u.origin} túl kicsi ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Érvénytelen string: "${o.prefix}" értékkel kell kezdődnie`:o.format==="ends_with"?`Érvénytelen string: "${o.suffix}" értékkel kell végződnie`:o.format==="includes"?`Érvénytelen string: "${o.includes}" értéket kell tartalmaznia`:o.format==="regex"?`Érvénytelen string: ${o.pattern} mintának kell megfelelnie`:`Érvénytelen ${r[o.format]??u.format}`}case"not_multiple_of":return`Érvénytelen szám: ${u.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${u.keys.length>1?"s":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${u.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${u.origin}`;default:return"Érvénytelen bemenet"}}};function hu_default(){return{localeError:error23()}}function getArmenianPlural(e,t,r){return Math.abs(e)===1?t:r}function withDefiniteArticle(e){if(!e)return"";const t=["ա","ե","ը","ի","ո","ու","օ"],r=e[e.length-1];return e+(t.includes(r)?"ն":"ը")}var error24=()=>{const e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},map:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function t(u){return e[u]??null}const r={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",mac:"MAC հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",credit_card:"կրեդիտ քարտի համար",currency_code:"արժույթի կոդ",iban:"IBAN",jwt:"JWT",template_literal:"մուտք"},i={nan:"NaN",number:"թիվ",array:"զանգված"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${u.expected}, ստացվել է ${s}`:`Սխալ մուտքագրում․ սպասվում էր ${o}, ստացվել է ${s}`}case"invalid_value":return u.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${stringifyPrimitive(u.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);if(a){const s=Number(u.maximum),d=getArmenianPlural(s,a.unit.one,a.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${withDefiniteArticle(u.origin??"արժեք")} կունենա ${o}${u.maximum.toString()} ${d}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${withDefiniteArticle(u.origin??"արժեք")} լինի ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);if(a){const s=Number(u.minimum),d=getArmenianPlural(s,a.unit.one,a.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${withDefiniteArticle(u.origin)} կունենա ${o}${u.minimum.toString()} ${d}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${withDefiniteArticle(u.origin)} լինի ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Սխալ տող․ պետք է սկսվի "${o.prefix}"-ով`:o.format==="ends_with"?`Սխալ տող․ պետք է ավարտվի "${o.suffix}"-ով`:o.format==="includes"?`Սխալ տող․ պետք է պարունակի "${o.includes}"`:o.format==="regex"?`Սխալ տող․ պետք է համապատասխանի ${o.pattern} ձևաչափին`:`Սխալ ${r[o.format]??u.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${u.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${u.keys.length>1?"ներ":""}. ${joinValues(u.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${withDefiniteArticle(u.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${withDefiniteArticle(u.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function hy_default(){return{localeError:error24()}}var error25=()=>{const e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"},map:{unit:"item",verb:"memiliki"}};function t(u){return e[u]??null}const r={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",credit_card:"nomor kartu kredit",currency_code:"kode mata uang",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Input tidak valid: diharapkan instanceof ${u.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${o}, diterima ${s}`}case"invalid_value":return u.values.length===1?`Input tidak valid: diharapkan ${stringifyPrimitive(u.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Terlalu besar: diharapkan ${u.origin??"value"} memiliki ${o}${u.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${u.origin??"value"} menjadi ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Terlalu kecil: diharapkan ${u.origin} memiliki ${o}${u.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${u.origin} menjadi ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`String tidak valid: harus dimulai dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak valid: harus berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak valid: harus menyertakan "${o.includes}"`:o.format==="regex"?`String tidak valid: harus sesuai pola ${o.pattern}`:`${r[o.format]??u.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${u.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${u.keys.length>1?"s":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${u.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${u.origin}`;default:return"Input tidak valid"}}};function id_default(){return{localeError:error25()}}var error26=()=>{const e={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"},map:{unit:"hluti",verb:"að hafa"}};function t(u){return e[u]??null}const r={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",credit_card:"kreditkortanúmer",currency_code:"gjaldmiðilskóði",iban:"IBAN",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"númer",array:"fylki"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Rangt gildi: Þú slóst inn ${s} þar sem á að vera instanceof ${u.expected}`:`Rangt gildi: Þú slóst inn ${s} þar sem á að vera ${o}`}case"invalid_value":return u.values.length===1?`Rangt gildi: gert ráð fyrir ${stringifyPrimitive(u.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Of stórt: gert er ráð fyrir að ${u.origin??"gildi"} hafi ${o}${u.maximum.toString()} ${a.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${u.origin??"gildi"} sé ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Of lítið: gert er ráð fyrir að ${u.origin} hafi ${o}${u.minimum.toString()} ${a.unit}`:`Of lítið: gert er ráð fyrir að ${u.origin} sé ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Ógildur strengur: verður að byrja á "${o.prefix}"`:o.format==="ends_with"?`Ógildur strengur: verður að enda á "${o.suffix}"`:o.format==="includes"?`Ógildur strengur: verður að innihalda "${o.includes}"`:o.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${o.pattern}`:`Rangt ${r[o.format]??u.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${u.divisor}`;case"unrecognized_keys":return`Óþekkt ${u.keys.length>1?"ir lyklar":"ur lykill"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${u.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${u.origin}`;default:return"Rangt gildi"}}};function is_default(){return{localeError:error26()}}var error27=()=>{const e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"},map:{unit:"elementi",verb:"avere"}};function t(u){return e[u]??null}const r={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",mac:"indirizzo MAC",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",credit_card:"numero di carta di credito",currency_code:"codice valuta",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"numero",array:"vettore"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Input non valido: atteso instanceof ${u.expected}, ricevuto ${s}`:`Input non valido: atteso ${o}, ricevuto ${s}`}case"invalid_value":return u.values.length===1?`Input non valido: atteso ${stringifyPrimitive(u.values[0])}`:`Opzione non valida: atteso uno tra ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Troppo grande: ${u.origin??"valore"} deve avere ${o}${u.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${u.origin??"valore"} deve essere ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Troppo piccolo: ${u.origin} deve avere ${o}${u.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${u.origin} deve essere ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Input non valido: ${r[o.format]??u.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${u.divisor}`;case"unrecognized_keys":return`Chiav${u.keys.length>1?"i":"e"} non riconosciut${u.keys.length>1?"e":"a"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${u.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${u.origin}`;default:return"Input non valido"}}};function it_default(){return{localeError:error27()}}var error28=()=>{const e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"},map:{unit:"要素",verb:"である"}};function t(u){return e[u]??null}const r={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",mac:"MACアドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",credit_card:"クレジットカード番号",currency_code:"通貨コード",iban:"IBAN",jwt:"JWT",template_literal:"入力値"},i={nan:"NaN",number:"数値",array:"配列"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`無効な入力: instanceof ${u.expected}が期待されましたが、${s}が入力されました`:`無効な入力: ${o}が期待されましたが、${s}が入力されました`}case"invalid_value":return u.values.length===1?`無効な入力: ${stringifyPrimitive(u.values[0])}が期待されました`:`無効な選択: ${joinValues(u.values,"、")}のいずれかである必要があります`;case"too_big":{const o=u.inclusive?"以下である":"より小さい",a=t(u.origin);return a?`大きすぎる値: ${u.origin??"値"}は${u.maximum.toString()}${a.unit??"要素"}${o}必要があります`:`大きすぎる値: ${u.origin??"値"}は${u.maximum.toString()}${o}必要があります`}case"too_small":{const o=u.inclusive?"以上である":"より大きい",a=t(u.origin);return a?`小さすぎる値: ${u.origin}は${u.minimum.toString()}${a.unit}${o}必要があります`:`小さすぎる値: ${u.origin}は${u.minimum.toString()}${o}必要があります`}case"invalid_format":{const o=u;return o.format==="starts_with"?`無効な文字列: "${o.prefix}"で始まる必要があります`:o.format==="ends_with"?`無効な文字列: "${o.suffix}"で終わる必要があります`:o.format==="includes"?`無効な文字列: "${o.includes}"を含む必要があります`:o.format==="regex"?`無効な文字列: パターン${o.pattern}に一致する必要があります`:`無効な${r[o.format]??u.format}`}case"not_multiple_of":return`無効な数値: ${u.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${u.keys.length>1?"群":""}: ${joinValues(u.keys,"、")}`;case"invalid_key":return`${u.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${u.origin}内の無効な値`;default:return"無効な入力"}}};function ja_default(){return{localeError:error28()}}var error29=()=>{const e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},map:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function t(u){return e[u]??null}const r={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",mac:"MAC მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",credit_card:"საკრედიტო ბარათის ნომერი",currency_code:"ვალუტის კოდი",iban:"IBAN",jwt:"JWT",template_literal:"შეყვანა"},i={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${u.expected}, მიღებული ${s}`:`არასწორი შეყვანა: მოსალოდნელი ${o}, მიღებული ${s}`}case"invalid_value":return u.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${stringifyPrimitive(u.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${joinValues(u.values,"|")}-დან`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`ზედმეტად დიდი: მოსალოდნელი ${u.origin??"მნიშვნელობა"} ${a.verb} ${o}${u.maximum.toString()} ${a.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${u.origin??"მნიშვნელობა"} იყოს ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`ზედმეტად პატარა: მოსალოდნელი ${u.origin} ${a.verb} ${o}${u.minimum.toString()} ${a.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${u.origin} იყოს ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`არასწორი ველი: უნდა იწყებოდეს "${o.prefix}"-ით`:o.format==="ends_with"?`არასწორი ველი: უნდა მთავრდებოდეს "${o.suffix}"-ით`:o.format==="includes"?`არასწორი ველი: უნდა შეიცავდეს "${o.includes}"-ს`:o.format==="regex"?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${o.pattern}`:`არასწორი ${r[o.format]??u.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${u.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${u.keys.length>1?"ები":"ი"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${u.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${u.origin}-ში`;default:return"არასწორი შეყვანა"}}};function ka_default(){return{localeError:error29()}}var error30=()=>{const e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"},map:{unit:"ធាតុ",verb:"គួរមាន"}};function t(u){return e[u]??null}const r={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",mac:"អាសយដ្ឋាន MAC",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",credit_card:"លេខប័ណ្ណឥណទាន",currency_code:"កូដរូបិយប័ណ្ណ",iban:"IBAN",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},i={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${u.expected} ប៉ុន្តែទទួលបាន ${s}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${o} ប៉ុន្តែទទួលបាន ${s}`}case"invalid_value":return u.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${stringifyPrimitive(u.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`ធំពេក៖ ត្រូវការ ${u.origin??"តម្លៃ"} ${o} ${u.maximum.toString()} ${a.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${u.origin??"តម្លៃ"} ${o} ${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`តូចពេក៖ ត្រូវការ ${u.origin} ${o} ${u.minimum.toString()} ${a.unit}`:`តូចពេក៖ ត្រូវការ ${u.origin} ${o} ${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${o.prefix}"`:o.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${o.suffix}"`:o.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${o.includes}"`:o.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${o.pattern}`:`មិនត្រឹមត្រូវ៖ ${r[o.format]??u.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${u.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${joinValues(u.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${u.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${u.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function km_default(){return{localeError:error30()}}function kh_default(){return km_default()}var error31=()=>{const e={string:{unit:"ಅಕ್ಷರಗಳು",verb:"ಹೊಂದಲು"},file:{unit:"ಬೈಟ್ಗಳು",verb:"ಹೊಂದಲು"},array:{unit:"ವಸ್ತುಗಳು",verb:"ಹೊಂದಲು"},set:{unit:"ವಸ್ತುಗಳು",verb:"ಹೊಂದಲು"},map:{unit:"entries",verb:"ಹೊಂದಲು"}};function t(u){return e[u]??null}const r={regex:"ಇನ್ಪುಟ್",email:"email ವಿಳಾಸ",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ದಿನಾಂಕದ ಸಮಯ",date:"ISO ದಿನಾಂಕ",time:"ISO ಸಮಯ",duration:"ISO ಅವಧಿ",ipv4:"IPv4 ವಿಳಾಸ",ipv6:"IPv6 ವಿಳಾಸ",mac:"MAC ವಿಳಾಸ",cidrv4:"IPv4 ವ್ಯಾಪ್ತಿಯ",cidrv6:"IPv6 ವ್ಯಾಪ್ತಿಯ",base64:"base64-encodedಸ್ಟ್ರಿಂಗ್",base64url:"base64url-encodedಸ್ಟ್ರಿಂಗ್",json_string:"JSONಸ್ಟ್ರಿಂಗ್",e164:"E.164 ಸಂಖ್ಯೆ",credit_card:"ಕ್ರೆಡಿಟ್ ಕಾರ್ಡ್ ಸಂಖ್ಯೆ",currency_code:"ಕರೆನ್ಸಿ ಕೋಡ್",iban:"IBAN",jwt:"JWT",template_literal:"ಇನ್ಪುಟ್"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return`ಅಮಾನ್ಯ ಇನ್ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${o}, ಸ್ವೀಕರಿಸಿದನು ${s}`}case"invalid_value":return u.values.length===1?`ಅಮಾನ್ಯ ಇನ್ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${stringifyPrimitive(u.values[0])}`:`ಅಮಾನ್ಯ ಆಯ್ಕೆ: ಇವುಗಳಲ್ಲಿ ಒಂದನ್ನು ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${u.origin??"value"} ಹೊಂದಲು ${o}${u.maximum.toString()} ${a.unit??"ಅಂಶಗಳು"}`:`ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${u.origin??"value"} ಎಂದು ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${u.origin} ಹೊಂದಲು ${o}${u.minimum.toString()} ${a.unit}`:`ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${u.origin} ಎಂದು ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಪ್ರಾರಂಭಿಸಬೇಕು "${o.prefix}"`:o.format==="ends_with"?`ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಕೊನೆಗೊಳ್ಳಬೇಕು "${o.suffix}"`:o.format==="includes"?`ಅಮಾನ್ಯ ಸ್ಟ್ರಿಂಗ್: ಒಳಗೊಂಡಿರಬೇಕು "${o.includes}"`:o.format==="regex"?`ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಮಾದರಿಗೆ ಹೊಂದಿಕೆಯಾಗಬೇಕು ${o.pattern}`:`ಅಮಾನ್ಯ ${r[o.format]??u.format}`}case"not_multiple_of":return`ಅಮಾನ್ಯ ಸಂಖ್ಯೆ: ಬಹುಸಂಖ್ಯೆಯಾಗಿರಬೇಕು ${u.divisor}`;case"unrecognized_keys":return`ಗುರುತಿಸಲಾಗದ ಕೀ ${u.keys.length>1?"s":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`ಅಮಾನ್ಯವಾದ ಕೀ ಇನ್ ${u.origin}`;case"invalid_union":return u.options&&Array.isArray(u.options)&&u.options.length>0?`ಅಮಾನ್ಯ ತಾರತಮ್ಯ ಮೌಲ್ಯ. ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${u.options.map(a=>`'${a}'`).join(" | ")}`:"ಅಮಾನ್ಯ ಇನ್ಪುಟ್";case"invalid_element":return`ರಲ್ಲಿ ಅಮಾನ್ಯ ಮೌಲ್ಯ ${u.origin}`;default:return"ಅಮಾನ್ಯ ಇನ್ಪುಟ್"}}};function kn_default(){return{localeError:error31()}}var error32=()=>{const e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"},map:{unit:"개",verb:"to have"}};function t(u){return e[u]??null}const r={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",mac:"MAC 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",credit_card:"신용카드 번호",currency_code:"통화 코드",iban:"IBAN",jwt:"JWT",template_literal:"입력"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`잘못된 입력: 예상 타입은 instanceof ${u.expected}, 받은 타입은 ${s}입니다`:`잘못된 입력: 예상 타입은 ${o}, 받은 타입은 ${s}입니다`}case"invalid_value":return u.values.length===1?`잘못된 입력: 값은 ${stringifyPrimitive(u.values[0])} 이어야 합니다`:`잘못된 옵션: ${joinValues(u.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const o=u.inclusive?"이하":"미만",a=o==="미만"?"이어야 합니다":"여야 합니다",s=t(u.origin),d=s?.unit??"요소";return s?`${u.origin??"값"}이 너무 큽니다: ${u.maximum.toString()}${d} ${o}${a}`:`${u.origin??"값"}이 너무 큽니다: ${u.maximum.toString()} ${o}${a}`}case"too_small":{const o=u.inclusive?"이상":"초과",a=o==="이상"?"이어야 합니다":"여야 합니다",s=t(u.origin),d=s?.unit??"요소";return s?`${u.origin??"값"}이 너무 작습니다: ${u.minimum.toString()}${d} ${o}${a}`:`${u.origin??"값"}이 너무 작습니다: ${u.minimum.toString()} ${o}${a}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`잘못된 문자열: "${o.prefix}"(으)로 시작해야 합니다`:o.format==="ends_with"?`잘못된 문자열: "${o.suffix}"(으)로 끝나야 합니다`:o.format==="includes"?`잘못된 문자열: "${o.includes}"을(를) 포함해야 합니다`:o.format==="regex"?`잘못된 문자열: 정규식 ${o.pattern} 패턴과 일치해야 합니다`:`잘못된 ${r[o.format]??u.format}`}case"not_multiple_of":return`잘못된 숫자: ${u.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${joinValues(u.keys,", ")}`;case"invalid_key":return`잘못된 키: ${u.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${u.origin}`;default:return"잘못된 입력"}}};function ko_default(){return{localeError:error32()}}var capitalizeFirstCharacter=e=>e.charAt(0).toUpperCase()+e.slice(1);function getUnitTypeFromNumber(e){const t=Math.abs(e),r=t%10,i=t%100;return i>=11&&i<=19||r===0?"many":r===1?"one":"few"}var error33=()=>{const e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function t(u,o,a,s){const d=e[u]??null;return d===null?d:{unit:d.unit[o],verb:d.verb[s][a?"inclusive":"notInclusive"]}}const r={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",mac:"MAC adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",credit_card:"kredito kortelės numeris",currency_code:"valiutos kodas",iban:"IBAN",jwt:"JWT",template_literal:"įvestis"},i={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Gautas tipas ${s}, o tikėtasi - instanceof ${u.expected}`:`Gautas tipas ${s}, o tikėtasi - ${o}`}case"invalid_value":return u.values.length===1?`Privalo būti ${stringifyPrimitive(u.values[0])}`:`Privalo būti vienas iš ${joinValues(u.values,"|")} pasirinkimų`;case"too_big":{const o=i[u.origin]??u.origin,a=t(u.origin,getUnitTypeFromNumber(Number(u.maximum)),u.inclusive??!1,"smaller");if(a?.verb)return`${capitalizeFirstCharacter(o??u.origin??"reikšmė")} ${a.verb} ${u.maximum.toString()} ${a.unit??"elementų"}`;const s=u.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${capitalizeFirstCharacter(o??u.origin??"reikšmė")} turi būti ${s} ${u.maximum.toString()} ${a?.unit}`}case"too_small":{const o=i[u.origin]??u.origin,a=t(u.origin,getUnitTypeFromNumber(Number(u.minimum)),u.inclusive??!1,"bigger");if(a?.verb)return`${capitalizeFirstCharacter(o??u.origin??"reikšmė")} ${a.verb} ${u.minimum.toString()} ${a.unit??"elementų"}`;const s=u.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${capitalizeFirstCharacter(o??u.origin??"reikšmė")} turi būti ${s} ${u.minimum.toString()} ${a?.unit}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Eilutė privalo prasidėti "${o.prefix}"`:o.format==="ends_with"?`Eilutė privalo pasibaigti "${o.suffix}"`:o.format==="includes"?`Eilutė privalo įtraukti "${o.includes}"`:o.format==="regex"?`Eilutė privalo atitikti ${o.pattern}`:`Neteisingas ${r[o.format]??u.format}`}case"not_multiple_of":return`Skaičius privalo būti ${u.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${u.keys.length>1?"i":"as"} rakt${u.keys.length>1?"ai":"as"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{const o=i[u.origin]??u.origin;return`${capitalizeFirstCharacter(o??u.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function lt_default(){return{localeError:error33()}}var error34=()=>{const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"},map:{unit:"ставки",verb:"да имаат"}};function t(u){return e[u]??null}const r={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",mac:"MAC адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",credit_card:"број на кредитна картичка",currency_code:"код на валута",iban:"IBAN",jwt:"JWT",template_literal:"внес"},i={nan:"NaN",number:"број",array:"низа"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Грешен внес: се очекува instanceof ${u.expected}, примено ${s}`:`Грешен внес: се очекува ${o}, примено ${s}`}case"invalid_value":return u.values.length===1?`Invalid input: expected ${stringifyPrimitive(u.values[0])}`:`Грешана опција: се очекува една ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Премногу голем: се очекува ${u.origin??"вредноста"} да има ${o}${u.maximum.toString()} ${a.unit??"елементи"}`:`Премногу голем: се очекува ${u.origin??"вредноста"} да биде ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Премногу мал: се очекува ${u.origin} да има ${o}${u.minimum.toString()} ${a.unit}`:`Премногу мал: се очекува ${u.origin} да биде ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Неважечка низа: мора да започнува со "${o.prefix}"`:o.format==="ends_with"?`Неважечка низа: мора да завршува со "${o.suffix}"`:o.format==="includes"?`Неважечка низа: мора да вклучува "${o.includes}"`:o.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${o.pattern}`:`Invalid ${r[o.format]??u.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${u.divisor}`;case"unrecognized_keys":return`${u.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${u.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${u.origin}`;default:return"Грешен внес"}}};function mk_default(){return{localeError:error34()}}var error35=()=>{const e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"},map:{unit:"elemen",verb:"mempunyai"}};function t(u){return e[u]??null}const r={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",credit_card:"nombor kad kredit",currency_code:"kod mata wang",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"nombor"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Input tidak sah: dijangka instanceof ${u.expected}, diterima ${s}`:`Input tidak sah: dijangka ${o}, diterima ${s}`}case"invalid_value":return u.values.length===1?`Input tidak sah: dijangka ${stringifyPrimitive(u.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Terlalu besar: dijangka ${u.origin??"nilai"} ${a.verb} ${o}${u.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${u.origin??"nilai"} adalah ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Terlalu kecil: dijangka ${u.origin} ${a.verb} ${o}${u.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${u.origin} adalah ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`String tidak sah: mesti bermula dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak sah: mesti mengandungi "${o.includes}"`:o.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${o.pattern}`:`${r[o.format]??u.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${u.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${u.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${u.origin}`;default:return"Input tidak sah"}}};function ms_default(){return{localeError:error35()}}var error36=()=>{const e={string:{unit:"अक्षर",verb:"हुनुपर्छ"},file:{unit:"बाइट",verb:"हुनुपर्छ"},array:{unit:"तत्व",verb:"हुनुपर्छ"},set:{unit:"तत्व",verb:"हुनुपर्छ"},map:{unit:"प्रविष्टि",verb:"हुनुपर्छ"}};function t(u){return e[u]??null}const r={regex:"इनपुट",email:"इमेल ठेगाना",url:"URL",emoji:"इमोजी",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO मिति र समय",date:"ISO मिति",time:"ISO समय",duration:"ISO अवधि",ipv4:"IPv4 ठेगाना",ipv6:"IPv6 ठेगाना",mac:"MAC ठेगाना",cidrv4:"IPv4 दायरा",cidrv6:"IPv6 दायरा",base64:"base64-इन्कोड गरिएको स्ट्रिङ",base64url:"base64url-इन्कोड गरिएको स्ट्रिङ",json_string:"JSON स्ट्रिङ",e164:"E.164 नम्बर",credit_card:"क्रेडिट कार्ड नम्बर",currency_code:"मुद्रा कोड",iban:"IBAN",jwt:"JWT",template_literal:"इनपुट"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return`अमान्य इनपुट: अपेक्षित ${o}, प्राप्त ${s}`}case"invalid_value":return u.values.length===1?`अमान्य इनपुट: अपेक्षित ${stringifyPrimitive(u.values[0])}`:`अमान्य विकल्प: अपेक्षित मानहरू मध्ये एक ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`धेरै ठूलो: ${u.origin??"मान"} मा ${o}${u.maximum.toString()} ${a.unit} ${a.verb}`:`धेरै ठूलो: ${u.origin??"मान"} ${o}${u.maximum.toString()} हुनुपर्छ`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`धेरै सानो: ${u.origin} मा ${o}${u.minimum.toString()} ${a.unit} ${a.verb}`:`धेरै सानो: ${u.origin} ${o}${u.minimum.toString()} हुनुपर्छ`}case"invalid_format":{const o=u;return o.format==="starts_with"?`अमान्य स्ट्रिङ: "${o.prefix}" बाट सुरु हुनुपर्छ`:o.format==="ends_with"?`अमान्य स्ट्रिङ: "${o.suffix}" मा समाप्त हुनुपर्छ`:o.format==="includes"?`अमान्य स्ट्रिङ: "${o.includes}" समावेश हुनुपर्छ`:o.format==="regex"?`अमान्य स्ट्रिङ: ढाँचा ${o.pattern} सँग मेल खानुपर्छ`:`अमान्य ${r[o.format]??u.format}`}case"not_multiple_of":return`अमान्य संख्या: ${u.divisor} को गुणज हुनुपर्छ`;case"unrecognized_keys":return`अपरिचित कुञ्जी${u.keys.length>1?"हरू":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`अमान्य कुञ्जी: ${u.origin} मा`;case"invalid_union":return u.options&&Array.isArray(u.options)&&u.options.length>0?`अमान्य डिस्क्रिमिनेटर मान: अपेक्षित ${u.options.map(a=>`'${a}'`).join(" | ")}`:"अमान्य इनपुट";case"invalid_element":return`अमान्य मान: ${u.origin} मा`;default:return"अमान्य इनपुट"}}};function ne_default(){return{localeError:error36()}}var error37=()=>{const e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"},map:{unit:"elementen",verb:"heeft"}};function t(u){return e[u]??null}const r={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",mac:"MAC-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",credit_card:"creditcardnummer",currency_code:"valutacode",iban:"IBAN",jwt:"JWT",template_literal:"invoer"},i={nan:"NaN",number:"getal"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Ongeldige invoer: verwacht instanceof ${u.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${o}, ontving ${s}`}case"invalid_value":return u.values.length===1?`Ongeldige invoer: verwacht ${stringifyPrimitive(u.values[0])}`:`Ongeldige optie: verwacht één van ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin),s=u.origin==="date"?"laat":u.origin==="string"?"lang":"groot";return a?`Te ${s}: verwacht dat ${u.origin??"waarde"} ${o}${u.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${s}: verwacht dat ${u.origin??"waarde"} ${o}${u.maximum.toString()} is`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin),s=u.origin==="date"?"vroeg":u.origin==="string"?"kort":"klein";return a?`Te ${s}: verwacht dat ${u.origin} ${o}${u.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: verwacht dat ${u.origin} ${o}${u.minimum.toString()} is`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Ongeldige tekst: moet met "${o.prefix}" beginnen`:o.format==="ends_with"?`Ongeldige tekst: moet op "${o.suffix}" eindigen`:o.format==="includes"?`Ongeldige tekst: moet "${o.includes}" bevatten`:o.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${o.pattern}`:`Ongeldig: ${r[o.format]??u.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${u.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${u.keys.length>1?"s":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${u.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${u.origin}`;default:return"Ongeldige invoer"}}};function nl_default(){return{localeError:error37()}}var error38=()=>{const e={string:{unit:"teikn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"element",verb:"å innehalde"},set:{unit:"element",verb:"å innehalde"},map:{unit:"element",verb:"å innehalde"}};function t(u){return e[u]??null}const r={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varigheit",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkoda streng",base64url:"base64url-enkoda streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tal",array:"liste"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Ugyldig input: forventa instanceof ${u.expected}, fekk ${s}`:`Ugyldig input: forventa ${o}, fekk ${s}`}case"invalid_value":return u.values.length===1?`Ugyldig verdi: forventa ${stringifyPrimitive(u.values[0])}`:`Ugyldig val: forventa eitt av ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`For stor(t): forventa ${u.origin??"value"} til å ha ${o}${u.maximum.toString()} ${a.unit??"element"}`:`For stor(t): forventa ${u.origin??"value"} til å ha ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`For lite(n): forventa ${u.origin} til å ha ${o}${u.minimum.toString()} ${a.unit}`:`For lite(n): forventa ${u.origin} til å ha ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Ugyldig streng: må starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: må slutte med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: må innehalde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: må matche mønsteret ${o.pattern}`:`Ugyldig ${r[o.format]??u.format}`}case"not_multiple_of":return`Ugyldig tal: må vere eit multiplum av ${u.divisor}`;case"unrecognized_keys":return`${u.keys.length>1?"Ukjende nøklar":"Ukjend nøkkel"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${u.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${u.origin}`;default:return"Ugyldig input"}}};function nn_default(){return{localeError:error38()}}var error39=()=>{const e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"},map:{unit:"elementer",verb:"å inneholde"}};function t(u){return e[u]??null}const r={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tall",array:"liste"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Ugyldig input: forventet instanceof ${u.expected}, fikk ${s}`:`Ugyldig input: forventet ${o}, fikk ${s}`}case"invalid_value":return u.values.length===1?`Ugyldig verdi: forventet ${stringifyPrimitive(u.values[0])}`:`Ugyldig valg: forventet en av ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`For stor(t): forventet ${u.origin??"value"} til å ha ${o}${u.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${u.origin??"value"} til å ha ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`For lite(n): forventet ${u.origin} til å ha ${o}${u.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${u.origin} til å ha ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Ugyldig streng: må starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: må ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: må inneholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: må matche mønsteret ${o.pattern}`:`Ugyldig ${r[o.format]??u.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${u.divisor}`;case"unrecognized_keys":return`${u.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${u.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${u.origin}`;default:return"Ugyldig input"}}};function no_default(){return{localeError:error39()}}var error40=()=>{const e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"},map:{unit:"unsur",verb:"olmalıdır"}};function t(u){return e[u]??null}const r={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",mac:"MAC nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",credit_card:"i'tibâr kartı numarası",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"giren"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Fâsit giren: umulan instanceof ${u.expected}, alınan ${s}`:`Fâsit giren: umulan ${o}, alınan ${s}`}case"invalid_value":return u.values.length===1?`Fâsit giren: umulan ${stringifyPrimitive(u.values[0])}`:`Fâsit tercih: mûteberler ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Fazla büyük: ${u.origin??"value"}, ${o}${u.maximum.toString()} ${a.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${u.origin??"value"}, ${o}${u.maximum.toString()} olmalıydı.`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Fazla küçük: ${u.origin}, ${o}${u.minimum.toString()} ${a.unit} sahip olmalıydı.`:`Fazla küçük: ${u.origin}, ${o}${u.minimum.toString()} olmalıydı.`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Fâsit metin: "${o.prefix}" ile başlamalı.`:o.format==="ends_with"?`Fâsit metin: "${o.suffix}" ile bitmeli.`:o.format==="includes"?`Fâsit metin: "${o.includes}" ihtivâ etmeli.`:o.format==="regex"?`Fâsit metin: ${o.pattern} nakşına uymalı.`:`Fâsit ${r[o.format]??u.format}`}case"not_multiple_of":return`Fâsit sayı: ${u.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${u.keys.length>1?"s":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`${u.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${u.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function ota_default(){return{localeError:error40()}}var error41=()=>{const e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"},map:{unit:"توکي",verb:"ولري"}};function t(u){return e[u]??null}const r={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",mac:"د MAC پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",credit_card:"د کریډیټ کارت شمیره",currency_code:"د اسعارو کوډ",iban:"IBAN",jwt:"JWT",template_literal:"ورودي"},i={nan:"NaN",number:"عدد",array:"ارې"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`ناسم ورودي: باید instanceof ${u.expected} وای, مګر ${s} ترلاسه شو`:`ناسم ورودي: باید ${o} وای, مګر ${s} ترلاسه شو`}case"invalid_value":return u.values.length===1?`ناسم ورودي: باید ${stringifyPrimitive(u.values[0])} وای`:`ناسم انتخاب: باید یو له ${joinValues(u.values,"|")} څخه وای`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`ډیر لوی: ${u.origin??"ارزښت"} باید ${o}${u.maximum.toString()} ${a.unit??"عنصرونه"} ولري`:`ډیر لوی: ${u.origin??"ارزښت"} باید ${o}${u.maximum.toString()} وي`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`ډیر کوچنی: ${u.origin} باید ${o}${u.minimum.toString()} ${a.unit} ولري`:`ډیر کوچنی: ${u.origin} باید ${o}${u.minimum.toString()} وي`}case"invalid_format":{const o=u;return o.format==="starts_with"?`ناسم متن: باید د "${o.prefix}" سره پیل شي`:o.format==="ends_with"?`ناسم متن: باید د "${o.suffix}" سره پای ته ورسيږي`:o.format==="includes"?`ناسم متن: باید "${o.includes}" ولري`:o.format==="regex"?`ناسم متن: باید د ${o.pattern} سره مطابقت ولري`:`${r[o.format]??u.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${u.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${u.keys.length>1?"کلیډونه":"کلیډ"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${u.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${u.origin} کې`;default:return"ناسمه ورودي"}}};function ps_default(){return{localeError:error41()}}var error42=()=>{const e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"},map:{unit:"elementów",verb:"mieć"}};function t(u){return e[u]??null}const r={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",mac:"adres MAC",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",credit_card:"numer karty kredytowej",currency_code:"kod waluty",iban:"IBAN",jwt:"JWT",template_literal:"wejście"},i={nan:"NaN",number:"liczba",array:"tablica"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${u.expected}, otrzymano ${s}`:`Nieprawidłowe dane wejściowe: oczekiwano ${o}, otrzymano ${s}`}case"invalid_value":return u.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${stringifyPrimitive(u.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Za duża wartość: oczekiwano, że ${u.origin??"wartość"} będzie mieć ${o}${u.maximum.toString()} ${a.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${u.origin??"wartość"} będzie wynosić ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Za mała wartość: oczekiwano, że ${u.origin??"wartość"} będzie mieć ${o}${u.minimum.toString()} ${a.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${u.origin??"wartość"} będzie wynosić ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${o.prefix}"`:o.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${o.suffix}"`:o.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${o.includes}"`:o.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${o.pattern}`:`Nieprawidłow(y/a/e) ${r[o.format]??u.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${u.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${u.keys.length>1?"s":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${u.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${u.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function pl_default(){return{localeError:error42()}}var error43=()=>{const e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function t(a){return e[a]??null}const r={regex:"a entrada",email:"o endereço de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a duração ISO",ipv4:"o endereço IPv4",ipv6:"o endereço IPv6",mac:"o endereço MAC",cidrv4:"o intervalo de endereços IPv4",cidrv6:"o intervalo de endereços IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o número E.164",credit_card:"o número de cartão de crédito",currency_code:"o código de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},i={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},u={string:{name:"texto",articles:i.masculine},number:{name:"número",articles:i.masculine},int:{name:"número inteiro",articles:i.masculine},boolean:{name:"valor booleano",articles:i.masculine},bigint:{name:"número bigint",articles:i.masculine},symbol:{name:"símbolo",articles:i.masculine},undefined:{name:'valor "undefined"',articles:i.masculine},null:{name:'valor "nulo"',articles:i.masculine},never:{name:'valor "never"',articles:i.masculine},void:{name:'valor "void"',articles:i.masculine},date:{name:"data",articles:i.feminine},array:{name:"vetor",articles:i.masculine},object:{name:"objeto",articles:i.masculine},tuple:{name:"tuplo",articles:i.masculine},record:{name:"registo",articles:i.masculine},map:{name:"mapa",articles:i.masculine},set:{name:"conjunto",articles:i.masculine},file:{name:"ficheiro",articles:i.masculine},nonoptional:{name:"valor não opcional",articles:i.masculine},nan:{name:'valor "NaN"',articles:i.masculine},function:{name:"função",articles:i.feminine}};function o(a,s){const d=u[a]??{name:`valor "${a}"`,articles:i.masculine};return`${d.articles[s]} ${d.name}`}return a=>{switch(a.code){case"invalid_type":{const s=o(a.expected,"indefinite"),d=parsedType(a.input),c=o(d,"indefinite");return`Entrada inválida: esperava ${s}, recebeu ${c}`}case"invalid_value":return a.values.length===1?`Entrada inválida: esperava ${stringifyPrimitive(a.values[0])}`:`Opção inválida: esperava uma das seguintes opções: ${joinValues(a.values,"|")}`;case"too_big":{const s=a.inclusive?"<=":"<",d=t(a.origin);return d?`Demasiado grande: esperava que ${o(a.origin,"definite")} tivesse ${s} ${a.maximum.toString()} ${d.unit??"elementos"}`:`Demasiado grande: esperava que ${o(a.origin,"definite")} fosse ${s} ${a.maximum.toString()}`}case"too_small":{const s=a.inclusive?">=":">",d=t(a.origin);return d?`Demasiado pequeno: esperava que ${o(a.origin,"definite")} tivesse ${s} ${a.minimum.toString()} ${d.unit??"elementos"}`:`Demasiado pequeno: esperava que ${o(a.origin,"definite")} fosse ${s} ${a.minimum.toString()}`}case"invalid_format":{const s=a;return s.format==="starts_with"?`Texto inválido: deve começar por "${s.prefix}"`:s.format==="ends_with"?`Texto inválido: deve terminar em "${s.suffix}"`:s.format==="includes"?`Texto inválido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inválido: deve corresponder ao padrão ${s.pattern}`:`Formato d${r[s.format]??a.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${a.divisor}`;case"unrecognized_keys":{const s=a.keys.length>1?"s":"";return`Chave${s} inválida${s}: ${joinValues(a.keys,", ")}`}case"invalid_key":return`Entrada inválida n${o(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discriminação inválido. Esperava ${a.options.map(d=>`'${d}'`).join(" | ")}`:"Entrada inválida";case"invalid_element":return`Entrada inválida n${o(a.origin,"definite")}`;default:return"Entrada inválida"}}};function pt_default(){return{localeError:error43()}}var error44=()=>{const e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function t(a){return e[a]??null}const r={regex:"a entrada",email:"o endereço de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a duração ISO",ipv4:"o endereço IPv4",ipv6:"o endereço IPv6",mac:"o endereço MAC",cidrv4:"a faixa de endereços IPv4",cidrv6:"a faixa de endereços IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o número E.164",credit_card:"o número de cartão de crédito",currency_code:"o código de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},i={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},u={string:{name:"texto",articles:i.masculine},number:{name:"número",articles:i.masculine},int:{name:"número inteiro",articles:i.masculine},boolean:{name:"valor booleano",articles:i.masculine},bigint:{name:"número bigint",articles:i.masculine},symbol:{name:"símbolo",articles:i.masculine},undefined:{name:'valor "undefined"',articles:i.masculine},null:{name:'valor "nulo"',articles:i.masculine},never:{name:'valor "never"',articles:i.masculine},void:{name:'valor "void"',articles:i.masculine},date:{name:"data",articles:i.feminine},array:{name:"vetor",articles:i.masculine},object:{name:"objeto",articles:i.masculine},tuple:{name:"tupla",articles:i.feminine},record:{name:"registro",articles:i.masculine},map:{name:"mapa",articles:i.masculine},set:{name:"conjunto",articles:i.masculine},file:{name:"arquivo",articles:i.masculine},nonoptional:{name:"valor não opcional",articles:i.masculine},nan:{name:'valor "NaN"',articles:i.masculine},function:{name:"função",articles:i.feminine}};function o(a,s){const d=u[a]??{name:`valor "${a}"`,articles:i.masculine};return`${d.articles[s]} ${d.name}`}return a=>{switch(a.code){case"invalid_type":{const s=o(a.expected,"indefinite"),d=parsedType(a.input),c=o(d,"indefinite");return`Entrada inválida: esperava ${s}, recebeu ${c}`}case"invalid_value":return a.values.length===1?`Entrada inválida: esperava ${stringifyPrimitive(a.values[0])}`:`Opção inválida: esperava uma das seguintes opções: ${joinValues(a.values,"|")}`;case"too_big":{const s=a.inclusive?"<=":"<",d=t(a.origin);return d?`Grande demais: esperava que ${o(a.origin,"definite")} tivesse ${s} ${a.maximum.toString()} ${d.unit??"elementos"}`:`Grande demais: esperava que ${o(a.origin,"definite")} fosse ${s} ${a.maximum.toString()}`}case"too_small":{const s=a.inclusive?">=":">",d=t(a.origin);return d?`Pequeno demais: esperava que ${o(a.origin,"definite")} tivesse ${s} ${a.minimum.toString()} ${d.unit??"elementos"}`:`Pequeno demais: esperava que ${o(a.origin,"definite")} fosse ${s} ${a.minimum.toString()}`}case"invalid_format":{const s=a;return s.format==="starts_with"?`Texto inválido: deve começar com "${s.prefix}"`:s.format==="ends_with"?`Texto inválido: deve terminar com "${s.suffix}"`:s.format==="includes"?`Texto inválido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inválido: deve corresponder ao padrão ${s.pattern}`:`Formato d${r[s.format]??a.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${a.divisor}`;case"unrecognized_keys":{const s=a.keys.length>1?"s":"";return`Chave${s} inválida${s}: ${joinValues(a.keys,", ")}`}case"invalid_key":return`Entrada inválida n${o(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discriminação inválido. Esperava ${a.options.map(d=>`'${d}'`).join(" | ")}`:"Entrada inválida";case"invalid_element":return`Entrada inválida n${o(a.origin,"definite")}`;default:return"Entrada inválida"}}};function pt_BR_default(){return{localeError:error44()}}var error45=()=>{const e={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function t(u){return e[u]??null}const r={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",credit_card:"număr de card de credit",currency_code:"cod valutar",iban:"IBAN",jwt:"JWT",template_literal:"intrare"},i={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return`Intrare invalidă: așteptat ${o}, primit ${s}`}case"invalid_value":return u.values.length===1?`Intrare invalidă: așteptat ${stringifyPrimitive(u.values[0])}`:`Opțiune invalidă: așteptat una dintre ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Prea mare: așteptat ca ${u.origin??"valoarea"} ${a.verb} ${o}${u.maximum.toString()} ${a.unit??"elemente"}`:`Prea mare: așteptat ca ${u.origin??"valoarea"} să fie ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Prea mic: așteptat ca ${u.origin} ${a.verb} ${o}${u.minimum.toString()} ${a.unit}`:`Prea mic: așteptat ca ${u.origin} să fie ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Șir invalid: trebuie să înceapă cu "${o.prefix}"`:o.format==="ends_with"?`Șir invalid: trebuie să se termine cu "${o.suffix}"`:o.format==="includes"?`Șir invalid: trebuie să includă "${o.includes}"`:o.format==="regex"?`Șir invalid: trebuie să se potrivească cu modelul ${o.pattern}`:`Format invalid: ${r[o.format]??u.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${u.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${u.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${u.origin}`;default:return"Intrare invalidă"}}};function ro_default(){return{localeError:error45()}}function getRussianPlural(e,t,r,i){const u=Math.abs(e),o=u%10,a=u%100;return a>=11&&a<=19?i:o===1?t:o>=2&&o<=4?r:i}var error46=()=>{const e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},map:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function t(u){return e[u]??null}const r={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",mac:"MAC адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",credit_card:"номер кредитной карты",currency_code:"код валюты",iban:"IBAN",jwt:"JWT",template_literal:"ввод"},i={nan:"NaN",number:"число",array:"массив"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Неверный ввод: ожидалось instanceof ${u.expected}, получено ${s}`:`Неверный ввод: ожидалось ${o}, получено ${s}`}case"invalid_value":return u.values.length===1?`Неверный ввод: ожидалось ${stringifyPrimitive(u.values[0])}`:`Неверный вариант: ожидалось одно из ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);if(a){const s=Number(u.maximum),d=getRussianPlural(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком большое значение: ожидалось, что ${u.origin??"значение"} будет иметь ${o}${u.maximum.toString()} ${d}`}return`Слишком большое значение: ожидалось, что ${u.origin??"значение"} будет ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);if(a){const s=Number(u.minimum),d=getRussianPlural(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком маленькое значение: ожидалось, что ${u.origin} будет иметь ${o}${u.minimum.toString()} ${d}`}return`Слишком маленькое значение: ожидалось, что ${u.origin} будет ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Неверная строка: должна начинаться с "${o.prefix}"`:o.format==="ends_with"?`Неверная строка: должна заканчиваться на "${o.suffix}"`:o.format==="includes"?`Неверная строка: должна содержать "${o.includes}"`:o.format==="regex"?`Неверная строка: должна соответствовать шаблону ${o.pattern}`:`Неверный ${r[o.format]??u.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${u.divisor}`;case"unrecognized_keys":return`Нераспознанн${u.keys.length>1?"ые":"ый"} ключ${u.keys.length>1?"и":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${u.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${u.origin}`;default:return"Неверные входные данные"}}};function ru_default(){return{localeError:error46()}}var error47=()=>{const e={string:{unit:"znakov",verb:"mať"},file:{unit:"bajtov",verb:"mať"},array:{unit:"prvkov",verb:"mať"},set:{unit:"prvkov",verb:"mať"},map:{unit:"položiek",verb:"mať"}};function t(u){return e[u]??null}const r={regex:"regulárny výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dátum a čas vo formáte ISO",date:"dátum vo formáte ISO",time:"čas vo formáte ISO",duration:"doba trvania ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"reťazec zakódovaný vo formáte base64",base64url:"reťazec zakódovaný vo formáte base64url",json_string:"reťazec vo formáte JSON",e164:"číslo E.164",credit_card:"číslo kreditnej karty",currency_code:"kód meny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"číslo",string:"reťazec",function:"funkcia",array:"pole"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Neplatný vstup: očakávané instanceof ${u.expected}, obdržané ${s}`:`Neplatný vstup: očakávané ${o}, obdržané ${s}`}case"invalid_value":return u.values.length===1?`Neplatný vstup: očakávané ${stringifyPrimitive(u.values[0])}`:`Neplatný vstup: očakávaná jedna z hodnôt ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Hodnota je príliš veľká: ${u.origin??"hodnota"} musí mať ${o}${u.maximum.toString()} ${a.unit??"prvkov"}`:`Hodnota je príliš veľká: ${u.origin??"hodnota"} musí byť ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Hodnota je príliš malá: ${u.origin??"hodnota"} musí mať ${o}${u.minimum.toString()} ${a.unit??"prvkov"}`:`Hodnota je príliš malá: ${u.origin??"hodnota"} musí byť ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Neplatný reťazec: musí začínať na "${o.prefix}"`:o.format==="ends_with"?`Neplatný reťazec: musí končiť na "${o.suffix}"`:o.format==="includes"?`Neplatný reťazec: musí obsahovať "${o.includes}"`:o.format==="regex"?`Neplatný reťazec: musí zodpovedať vzoru ${o.pattern}`:`Neplatný formát ${r[o.format]??u.format}`}case"not_multiple_of":return`Neplatné číslo: musí byť násobkom ${u.divisor}`;case"unrecognized_keys":return`Neznáme klúče: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Neplatný klúč v ${u.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${u.origin}`;default:return"Neplatný vstup"}}};function sk_default(){return{localeError:error47()}}var error48=()=>{const e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"},map:{unit:"elementov",verb:"imeti"}};function t(u){return e[u]??null}const r={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",mac:"MAC naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",credit_card:"številka kreditne kartice",currency_code:"koda valute",iban:"IBAN",jwt:"JWT",template_literal:"vnos"},i={nan:"NaN",number:"število",array:"tabela"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Neveljaven vnos: pričakovano instanceof ${u.expected}, prejeto ${s}`:`Neveljaven vnos: pričakovano ${o}, prejeto ${s}`}case"invalid_value":return u.values.length===1?`Neveljaven vnos: pričakovano ${stringifyPrimitive(u.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Preveliko: pričakovano, da bo ${u.origin??"vrednost"} imelo ${o}${u.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${u.origin??"vrednost"} ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Premajhno: pričakovano, da bo ${u.origin} imelo ${o}${u.minimum.toString()} ${a.unit}`:`Premajhno: pričakovano, da bo ${u.origin} ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Neveljaven niz: mora se začeti z "${o.prefix}"`:o.format==="ends_with"?`Neveljaven niz: mora se končati z "${o.suffix}"`:o.format==="includes"?`Neveljaven niz: mora vsebovati "${o.includes}"`:o.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`:`Neveljaven ${r[o.format]??u.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${u.divisor}`;case"unrecognized_keys":return`Neprepoznan${u.keys.length>1?"i ključi":" ključ"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${u.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${u.origin}`;default:return"Neveljaven vnos"}}};function sl_default(){return{localeError:error48()}}var error49=()=>{const e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"},map:{unit:"objekt",verb:"att innehålla"}};function t(u){return e[u]??null}const r={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-adress",ipv6:"IPv6-adress",mac:"MAC-adress",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",credit_card:"kreditkortsnummer",currency_code:"valutakod",iban:"IBAN",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Ogiltig inmatning: förväntat instanceof ${u.expected}, fick ${s}`:`Ogiltig inmatning: förväntat ${o}, fick ${s}`}case"invalid_value":return u.values.length===1?`Ogiltig inmatning: förväntat ${stringifyPrimitive(u.values[0])}`:`Ogiltigt val: förväntade en av ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`För stor(t): förväntade ${u.origin??"värdet"} att ha ${o}${u.maximum.toString()} ${a.unit??"element"}`:`För stor(t): förväntat ${u.origin??"värdet"} att ha ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`För lite(t): förväntade ${u.origin??"värdet"} att ha ${o}${u.minimum.toString()} ${a.unit}`:`För lite(t): förväntade ${u.origin??"värdet"} att ha ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Ogiltig sträng: måste börja med "${o.prefix}"`:o.format==="ends_with"?`Ogiltig sträng: måste sluta med "${o.suffix}"`:o.format==="includes"?`Ogiltig sträng: måste innehålla "${o.includes}"`:o.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${o.pattern}"`:`Ogiltig(t) ${r[o.format]??u.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${u.divisor}`;case"unrecognized_keys":return`${u.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${u.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${u.origin??"värdet"}`;default:return"Ogiltig input"}}};function sv_default(){return{localeError:error49()}}var error50=()=>{const e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},map:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function t(u){return e[u]??null}const r={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",mac:"MAC முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",credit_card:"கடன் அட்டை எண்",currency_code:"நாணயக் குறியீடு",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${u.expected}, பெறப்பட்டது ${s}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${o}, பெறப்பட்டது ${s}`}case"invalid_value":return u.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${stringifyPrimitive(u.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${joinValues(u.values,"|")} இல் ஒன்று`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${u.origin??"மதிப்பு"} ${o}${u.maximum.toString()} ${a.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${u.origin??"மதிப்பு"} ${o}${u.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${u.origin} ${o}${u.minimum.toString()} ${a.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${u.origin} ${o}${u.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const o=u;return o.format==="starts_with"?`தவறான சரம்: "${o.prefix}" இல் தொடங்க வேண்டும்`:o.format==="ends_with"?`தவறான சரம்: "${o.suffix}" இல் முடிவடைய வேண்டும்`:o.format==="includes"?`தவறான சரம்: "${o.includes}" ஐ உள்ளடக்க வேண்டும்`:o.format==="regex"?`தவறான சரம்: ${o.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${r[o.format]??u.format}`}case"not_multiple_of":return`தவறான எண்: ${u.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${u.keys.length>1?"கள்":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`${u.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${u.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function ta_default(){return{localeError:error50()}}var error51=()=>{const e={string:{unit:"аломат",verb:"дошта бошад"},file:{unit:"байт",verb:"дошта бошад"},array:{unit:"унсур",verb:"дошта бошад"},set:{unit:"унсур",verb:"дошта бошад"},map:{unit:"сабт",verb:"дошта бошад"}};function t(u){return e[u]??null}const r={regex:"вуруд",email:"суроғаи email",url:"URL",emoji:"эмоҷи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"санаву вақти ISO",date:"санаи ISO",time:"вақти ISO",duration:"давомнокии ISO",ipv4:"суроғаи IPv4",ipv6:"суроғаи IPv6",mac:"суроғаи MAC",cidrv4:"маҳдудаи IPv4",cidrv6:"маҳдудаи IPv6",base64:"сатри дар формати base64",base64url:"сатри дар формати base64url",json_string:"сатри JSON",e164:"рақами E.164",credit_card:"рақами корти кредитӣ",currency_code:"рамзи асъор",iban:"IBAN",jwt:"JWT",template_literal:"вуруд"},i={nan:"NaN",number:"рақам",string:"сатр",array:"массив",object:"объект",date:"сана"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return`Вуруди нодуруст: ${o} интизор мерафт, ${s} гирифта шуд`}case"invalid_value":return u.values.length===1?`Вуруди нодуруст: ${stringifyPrimitive(u.values[0])} интизор мерафт`:`Интихоби нодуруст: яке аз ${joinValues(u.values,"|")} интизор мерафт`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Хеле калон: ${u.origin??"қимат"} бояд ${o}${u.maximum.toString()} ${a.unit} ${a.verb}`:`Хеле калон: ${u.origin??"қимат"} бояд ${o}${u.maximum.toString()} бошад`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Хеле хурд: ${u.origin} бояд ${o}${u.minimum.toString()} ${a.unit} ${a.verb}`:`Хеле хурд: ${u.origin} бояд ${o}${u.minimum.toString()} бошад`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Сатри нодуруст: бояд бо "${o.prefix}" оғоз шавад`:o.format==="ends_with"?`Сатри нодуруст: бояд бо "${o.suffix}" анҷом ёбад`:o.format==="includes"?`Сатри нодуруст: бояд "${o.includes}"-ро дар бар гирад`:o.format==="regex"?`Сатри нодуруст: бояд ба намунаи ${o.pattern} мувофиқат кунад`:`${r[o.format]??u.format}-и нодуруст`}case"not_multiple_of":return`Рақами нодуруст: бояд ба ${u.divisor} бе бақия тақсим шавад`;case"unrecognized_keys":return`Калид${u.keys.length>1?"ҳои":"и"} номаълум: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Калиди нодуруст дар ${u.origin}`;case"invalid_union":return u.options&&Array.isArray(u.options)&&u.options.length>0?`Қимати нодурусти дискриминатор: ${u.options.map(a=>`'${a}'`).join(" | ")} интизор мерафт`:"Вуруди нодуруст";case"invalid_element":return`Қимати нодуруст дар ${u.origin}`;default:return"Вуруди нодуруст"}}};function tg_default(){return{localeError:error51()}}var error52=()=>{const e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"},map:{unit:"รายการ",verb:"ควรมี"}};function t(u){return e[u]??null}const r={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",mac:"ที่อยู่ MAC",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",credit_card:"หมายเลขบัตรเครดิต",currency_code:"รหัสสกุลเงิน",iban:"IBAN",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},i={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${u.expected} แต่ได้รับ ${s}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${o} แต่ได้รับ ${s}`}case"invalid_value":return u.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${stringifyPrimitive(u.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"ไม่เกิน":"น้อยกว่า",a=t(u.origin);return a?`เกินกำหนด: ${u.origin??"ค่า"} ควรมี${o} ${u.maximum.toString()} ${a.unit??"รายการ"}`:`เกินกำหนด: ${u.origin??"ค่า"} ควรมี${o} ${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?"อย่างน้อย":"มากกว่า",a=t(u.origin);return a?`น้อยกว่ากำหนด: ${u.origin} ควรมี${o} ${u.minimum.toString()} ${a.unit}`:`น้อยกว่ากำหนด: ${u.origin} ควรมี${o} ${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${o.prefix}"`:o.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${o.suffix}"`:o.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${o.includes}" อยู่ในข้อความ`:o.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${o.pattern}`:`รูปแบบไม่ถูกต้อง: ${r[o.format]??u.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${u.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${joinValues(u.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${u.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${u.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function th_default(){return{localeError:error52()}}var error53=()=>{const e={string:{unit:"simwol",verb:"bolmaly"},file:{unit:"baýt",verb:"bolmaly"},array:{unit:"elementler",verb:"bolmaly"},set:{unit:"elementler",verb:"bolmaly"},map:{unit:"elementler",verb:"bolmaly"}};function t(u){return e[u]??null}const r={regex:"giriş",email:"e-poçta salgysy",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sene we wagt",date:"ISO sene",time:"ISO wagt",duration:"ISO wagt aralygy",ipv4:"IPv4 salgysy",ipv6:"IPv6 salgysy",mac:"MAC salgysy",cidrv4:"IPv4 aralygy",cidrv6:"IPv6 aralygy",base64:"base64 bilen şifrlenen setir",base64url:"base64url bilen şifrlenen setir",json_string:"JSON setiri",e164:"E.164 nomeri",credit_card:"kredit kartynyň nomeri",currency_code:"walýuta kody",iban:"IBAN",jwt:"JWT",template_literal:"şablon"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return`Nädogry baha: garaşylan ${o} ýerine ${s} alyndy`}case"invalid_value":return u.values.length===1?`Nädogry baha: ${stringifyPrimitive(u.values[0])} bolmaly`:`Nädogry saýlaw: aşakdakylardan biri bolmaly: ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Has uly: garaşylýan ${u.origin??"baha"} ${o} ${u.maximum.toString()} ${a.unit??"element"}`:`Has uly: garaşylýan ${u.origin??"baha"} ${o} ${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Has kiçi: garaşylýan ${u.origin} ${o} ${u.minimum.toString()} ${a.unit}`:`Has kiçi: garaşylýan ${u.origin} ${o} ${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Nädogry setir: "${o.prefix}" bilen başlamaly`:o.format==="ends_with"?`Nädogry setir: "${o.suffix}" bilen gutarmaly`:o.format==="includes"?`Nädogry setir: "${o.includes}" saklamaly`:o.format==="regex"?`Nädogry setir: ${o.pattern} nusga laýyk bolmaly`:`Nädogry ${r[o.format]??u.format}`}case"not_multiple_of":return`Nädogry san: ${u.divisor} bilen galyndysyz bölünmeli`;case"unrecognized_keys":return`Tanalmaýan açar${u.keys.length>1?"lar":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`${u.origin} içinde nädogry açar`;case"invalid_union":return"Nädogry baha";case"invalid_element":return`${u.origin} içinde nädogry baha`;default:return"Nädogry baha"}}};function tk_default(){return{localeError:error53()}}var error54=()=>{const e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"},map:{unit:"öğe",verb:"olmalı"}};function t(u){return e[u]??null}const r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",mac:"MAC adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",credit_card:"kredi kartı numarası",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"Şablon dizesi"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Geçersiz değer: beklenen instanceof ${u.expected}, alınan ${s}`:`Geçersiz değer: beklenen ${o}, alınan ${s}`}case"invalid_value":return u.values.length===1?`Geçersiz değer: beklenen ${stringifyPrimitive(u.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Çok büyük: beklenen ${u.origin??"değer"} ${o}${u.maximum.toString()} ${a.unit??"öğe"}`:`Çok büyük: beklenen ${u.origin??"değer"} ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Çok küçük: beklenen ${u.origin} ${o}${u.minimum.toString()} ${a.unit}`:`Çok küçük: beklenen ${u.origin} ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Geçersiz metin: "${o.prefix}" ile başlamalı`:o.format==="ends_with"?`Geçersiz metin: "${o.suffix}" ile bitmeli`:o.format==="includes"?`Geçersiz metin: "${o.includes}" içermeli`:o.format==="regex"?`Geçersiz metin: ${o.pattern} desenine uymalı`:`Geçersiz ${r[o.format]??u.format}`}case"not_multiple_of":return`Geçersiz sayı: ${u.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${u.keys.length>1?"lar":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`${u.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${u.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function tr_default(){return{localeError:error54()}}var error55=()=>{const e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"},map:{unit:"елементів",verb:"матиме"}};function t(u){return e[u]??null}const r={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",mac:"адреса MAC",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",credit_card:"номер кредитної картки",currency_code:"код валюти",iban:"IBAN",jwt:"JWT",template_literal:"вхідні дані"},i={nan:"NaN",number:"число",array:"масив"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Неправильні вхідні дані: очікується instanceof ${u.expected}, отримано ${s}`:`Неправильні вхідні дані: очікується ${o}, отримано ${s}`}case"invalid_value":return u.values.length===1?`Неправильні вхідні дані: очікується ${stringifyPrimitive(u.values[0])}`:`Неправильна опція: очікується одне з ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Занадто велике: очікується, що ${u.origin??"значення"} ${a.verb} ${o}${u.maximum.toString()} ${a.unit??"елементів"}`:`Занадто велике: очікується, що ${u.origin??"значення"} буде ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Занадто мале: очікується, що ${u.origin} ${a.verb} ${o}${u.minimum.toString()} ${a.unit}`:`Занадто мале: очікується, що ${u.origin} буде ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Неправильний рядок: повинен починатися з "${o.prefix}"`:o.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${o.suffix}"`:o.format==="includes"?`Неправильний рядок: повинен містити "${o.includes}"`:o.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${o.pattern}`:`Неправильний ${r[o.format]??u.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${u.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${u.keys.length>1?"і":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${u.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${u.origin}`;default:return"Неправильні вхідні дані"}}};function uk_default(){return{localeError:error55()}}function ua_default(){return uk_default()}var error56=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"},map:{unit:"آئٹمز",verb:"ہونا"}};function t(u){return e[u]??null}const r={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",mac:"ایم اے سی ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",credit_card:"کریڈٹ کارڈ نمبر",currency_code:"کرنسی کوڈ",iban:"IBAN",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},i={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`غلط ان پٹ: instanceof ${u.expected} متوقع تھا، ${s} موصول ہوا`:`غلط ان پٹ: ${o} متوقع تھا، ${s} موصول ہوا`}case"invalid_value":return u.values.length===1?`غلط ان پٹ: ${stringifyPrimitive(u.values[0])} متوقع تھا`:`غلط آپشن: ${joinValues(u.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`بہت بڑا: ${u.origin??"ویلیو"} کے ${o}${u.maximum.toString()} ${a.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${u.origin??"ویلیو"} کا ${o}${u.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`بہت چھوٹا: ${u.origin} کے ${o}${u.minimum.toString()} ${a.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${u.origin} کا ${o}${u.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const o=u;return o.format==="starts_with"?`غلط سٹرنگ: "${o.prefix}" سے شروع ہونا چاہیے`:o.format==="ends_with"?`غلط سٹرنگ: "${o.suffix}" پر ختم ہونا چاہیے`:o.format==="includes"?`غلط سٹرنگ: "${o.includes}" شامل ہونا چاہیے`:o.format==="regex"?`غلط سٹرنگ: پیٹرن ${o.pattern} سے میچ ہونا چاہیے`:`غلط ${r[o.format]??u.format}`}case"not_multiple_of":return`غلط نمبر: ${u.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${u.keys.length>1?"ز":""}: ${joinValues(u.keys,"، ")}`;case"invalid_key":return`${u.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${u.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function ur_default(){return{localeError:error56()}}var error57=()=>{const e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function t(u){return e[u]??null}const r={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",credit_card:"kredit karta raqami",currency_code:"valyuta kodi",iban:"IBAN",jwt:"JWT",template_literal:"kirish"},i={nan:"NaN",number:"raqam",array:"massiv"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${u.expected}, qabul qilingan ${s}`:`Noto‘g‘ri kirish: kutilgan ${o}, qabul qilingan ${s}`}case"invalid_value":return u.values.length===1?`Noto‘g‘ri kirish: kutilgan ${stringifyPrimitive(u.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Juda katta: kutilgan ${u.origin??"qiymat"} ${o}${u.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${u.origin??"qiymat"} ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Juda kichik: kutilgan ${u.origin} ${o}${u.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${u.origin} ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Noto‘g‘ri satr: "${o.prefix}" bilan boshlanishi kerak`:o.format==="ends_with"?`Noto‘g‘ri satr: "${o.suffix}" bilan tugashi kerak`:o.format==="includes"?`Noto‘g‘ri satr: "${o.includes}" ni o‘z ichiga olishi kerak`:o.format==="regex"?`Noto‘g‘ri satr: ${o.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${r[o.format]??u.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${u.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${u.keys.length>1?"lar":""}: ${joinValues(u.keys,", ")}`;case"invalid_key":return`${u.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${u.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function uz_default(){return{localeError:error57()}}var error58=()=>{const e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"},map:{unit:"phần tử",verb:"có"}};function t(u){return e[u]??null}const r={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",mac:"địa chỉ MAC",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",credit_card:"số thẻ tín dụng",currency_code:"mã tiền tệ",iban:"IBAN",jwt:"JWT",template_literal:"đầu vào"},i={nan:"NaN",number:"số",array:"mảng"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${u.expected}, nhận được ${s}`:`Đầu vào không hợp lệ: mong đợi ${o}, nhận được ${s}`}case"invalid_value":return u.values.length===1?`Đầu vào không hợp lệ: mong đợi ${stringifyPrimitive(u.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Quá lớn: mong đợi ${u.origin??"giá trị"} ${a.verb} ${o}${u.maximum.toString()} ${a.unit??"phần tử"}`:`Quá lớn: mong đợi ${u.origin??"giá trị"} ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Quá nhỏ: mong đợi ${u.origin} ${a.verb} ${o}${u.minimum.toString()} ${a.unit}`:`Quá nhỏ: mong đợi ${u.origin} ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${o.prefix}"`:o.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${o.suffix}"`:o.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${o.includes}"`:o.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${o.pattern}`:`${r[o.format]??u.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${u.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${u.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${u.origin}`;default:return"Đầu vào không hợp lệ"}}};function vi_default(){return{localeError:error58()}}var error59=()=>{const e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"},map:{unit:"项",verb:"包含"}};function t(u){return e[u]??null}const r={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",mac:"MAC地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",credit_card:"信用卡号",currency_code:"货币代码",iban:"IBAN",jwt:"JWT",template_literal:"输入"},i={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`无效输入:期望 instanceof ${u.expected},实际接收 ${s}`:`无效输入:期望 ${o},实际接收 ${s}`}case"invalid_value":return u.values.length===1?`无效输入:期望 ${stringifyPrimitive(u.values[0])}`:`无效选项:期望以下之一 ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`数值过大:期望 ${u.origin??"值"} ${o}${u.maximum.toString()} ${a.unit??"个元素"}`:`数值过大:期望 ${u.origin??"值"} ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`数值过小:期望 ${u.origin} ${o}${u.minimum.toString()} ${a.unit}`:`数值过小:期望 ${u.origin} ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`无效字符串:必须以 "${o.prefix}" 开头`:o.format==="ends_with"?`无效字符串:必须以 "${o.suffix}" 结尾`:o.format==="includes"?`无效字符串:必须包含 "${o.includes}"`:o.format==="regex"?`无效字符串:必须满足正则表达式 ${o.pattern}`:`无效${r[o.format]??u.format}`}case"not_multiple_of":return`无效数字:必须是 ${u.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${joinValues(u.keys,", ")}`;case"invalid_key":return`${u.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${u.origin} 中包含无效值(value)`;default:return"无效输入"}}};function zh_CN_default(){return{localeError:error59()}}var error60=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"},map:{unit:"項目",verb:"擁有"}};function t(u){return e[u]??null}const r={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",mac:"MAC 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",credit_card:"信用卡號",currency_code:"貨幣代碼",iban:"IBAN",jwt:"JWT",template_literal:"輸入"},i={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`無效的輸入值:預期為 instanceof ${u.expected},但收到 ${s}`:`無效的輸入值:預期為 ${o},但收到 ${s}`}case"invalid_value":return u.values.length===1?`無效的輸入值:預期為 ${stringifyPrimitive(u.values[0])}`:`無效的選項:預期為以下其中之一 ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`數值過大:預期 ${u.origin??"值"} 應為 ${o}${u.maximum.toString()} ${a.unit??"個元素"}`:`數值過大:預期 ${u.origin??"值"} 應為 ${o}${u.maximum.toString()}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`數值過小:預期 ${u.origin} 應為 ${o}${u.minimum.toString()} ${a.unit}`:`數值過小:預期 ${u.origin} 應為 ${o}${u.minimum.toString()}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`無效的字串:必須以 "${o.prefix}" 開頭`:o.format==="ends_with"?`無效的字串:必須以 "${o.suffix}" 結尾`:o.format==="includes"?`無效的字串:必須包含 "${o.includes}"`:o.format==="regex"?`無效的字串:必須符合格式 ${o.pattern}`:`無效的 ${r[o.format]??u.format}`}case"not_multiple_of":return`無效的數字:必須為 ${u.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${u.keys.length>1?"們":""}:${joinValues(u.keys,"、")}`;case"invalid_key":return`${u.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${u.origin} 中有無效的值`;default:return"無效的輸入值"}}};function zh_TW_default(){return{localeError:error60()}}var error61=()=>{const e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"},map:{unit:"nkan",verb:"ní"}};function t(u){return e[u]??null}const r={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",mac:"àdírẹ́sì MAC",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",credit_card:"nọmba kaadi gbese",currency_code:"koodu owó",iban:"IBAN",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},i={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return u=>{switch(u.code){case"invalid_type":{const o=i[u.expected]??u.expected,a=parsedType(u.input),s=i[a]??a;return/^[A-Z]/.test(u.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${u.expected}, àmọ̀ a rí ${s}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${o}, àmọ̀ a rí ${s}`}case"invalid_value":return u.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${stringifyPrimitive(u.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${joinValues(u.values,"|")}`;case"too_big":{const o=u.inclusive?"<=":"<",a=t(u.origin);return a?`Tó pọ̀ jù: a ní láti jẹ́ pé ${u.origin??"iye"} ${a.verb} ${o}${u.maximum} ${a.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${o}${u.maximum}`}case"too_small":{const o=u.inclusive?">=":">",a=t(u.origin);return a?`Kéré ju: a ní láti jẹ́ pé ${u.origin} ${a.verb} ${o}${u.minimum} ${a.unit}`:`Kéré ju: a ní láti jẹ́ ${o}${u.minimum}`}case"invalid_format":{const o=u;return o.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${o.prefix}"`:o.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${o.suffix}"`:o.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${o.includes}"`:o.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${o.pattern}`:`Aṣìṣe: ${r[o.format]??u.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${u.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${joinValues(u.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${u.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${u.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function yo_default(){return{localeError:error61()}}var _a2,$output=Symbol("ZodOutput"),$input=Symbol("ZodInput"),$ZodRegistry=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){const r=t[0];return this._map.set(e,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){const t=this._map.get(e);return t&&typeof t=="object"&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){const t=e._zod.parent;if(t){const r={...this.get(t)??{}};delete r.id;const i={...r,...this._map.get(e)};return Object.keys(i).length?i:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function registry(){return new $ZodRegistry}(_a2=globalThis).__zod_globalRegistry??(_a2.__zod_globalRegistry=registry());var globalRegistry=globalThis.__zod_globalRegistry,INVALID=Symbol.for("zod.compile.invalid"),FALLBACK_FLAG=Symbol.for("zod.compile.fallback"),ZodCompileAsyncError=class extends Error{constructor(e="z.compile does not support async refinements, transforms, or checks"){super(e),this.name="ZodCompileAsyncError"}},ZodCompileUnsupportedError=class extends Error{constructor(e,t=!0){super(`z.compile does not support ${e}; this schema must use the runtime parser`),this.name="ZodCompileUnsupportedError",this.islandable=t}};function compileValidator(e,t){try{return compileFn(e,{assertOnly:!0})}catch{return t}}function compile(e,t){try{const r=compileFn(e),i=withParser(e,r);return i._zod.bag.validator=compileValidator(e,r),i}catch(r){if(t?.strict)throw r;return e}}function withParser(e,t){if(isRecursiveSchema(e))throw new ZodCompileUnsupportedError("a schema whose subtree contains a reference cycle");const r=clone(e),i=e._zod.run,u=i.__originalRun??i,o=(a,s)=>{if(s?.async||s?.direction==="backward"||s?.skipChecks||s?.[FALLBACK_FLAG]||s&&isBackEdge(s,a.value))return u(a,s);const d=t(a.value);return d!==INVALID?(a.value=d,a):(s&&(s[FALLBACK_FLAG]=!0),u(a,s))};return o.__originalRun=u,r._zod.bag.fallbackRun=u,r._zod.bag.validator=t,r._zod.run=o,i.__originalRun||installCompiledUserMethods(r,e,t),r}function installCompiledUserMethods(e,t,r){const i=e,u=t;if(typeof u.safeParse=="function"){const o=u.safeParse;i.safeParse=(a,s)=>{const d=r(a);return d!==INVALID?{success:!0,data:d}:o(a,s)}}if(typeof u.parse=="function"){const o=u.parse;i.parse=(a,s)=>{const d=r(a);return d!==INVALID?d:o(a,s)}}}function compileFn(e,t){let r=!0;try{r=isRecursiveSchema(e)}catch{}if(r)throw new ZodCompileUnsupportedError("a schema whose subtree contains a reference cycle");const i={constants:new Map,constantCounter:0,varCounter:0,definite:!0},u=new Doc(["input"]),o=generateCheck(u,i,e,"input",!t?.assertOnly);u.write(o===null?"return true;":`return ${o};`);const a=["INVALID",...i.constants.keys()],s=[INVALID,...i.constants.values()],d=u.content.join(`
|
|
61
|
+
`),c=t?.debug?a.length>0?`// Constants: ${a.join(", ")}
|
|
62
|
+
${d}`:d:"",l=Function,f=`return (input) => {
|
|
63
|
+
${d}
|
|
64
|
+
}`;let h;try{h=new l(...a,f)(...s)}catch(p){throw new ZodCompileUnsupportedError(`this schema (generated code failed to evaluate: ${p.message})`)}return t?.debug&&(h.code=c),h.definite=i.definite,h}function addConstant(e,t){for(const[i,u]of e.constants)if(u===t)return i;const r=`c${e.constantCounter++}`;return e.constants.set(r,t),r}function addUserConstant(e,t){return e.definite=!1,addConstant(e,t)}function newVar(e){return`v${e.varCounter++}`}function runtimeRun(e,t){const r=e._zod.run({value:t,issues:[]},{});if(r&&typeof r.then=="function")return INVALID;const i=r;return i.issues.length===0?i.value:INVALID}function compileChild(e,t,r,i,u=!0){const o=e.content.length,a=t.constants.size,s=t.constantCounter,d=t.varCounter;try{return generateCheck(e,t,r,i,u)}catch(c){if(!(c instanceof ZodCompileUnsupportedError)||!c.islandable)throw c;if(e.content.length=o,t.constants.size>a){const l=Array.from(t.constants.keys()).slice(a);for(const f of l)t.constants.delete(f)}return t.constantCounter=s,t.varCounter=d,emitRuntimeIsland(e,t,r,i)}}function emitRuntimeIsland(e,t,r,i){t.definite=!1;const u=addConstant(t,r),o=addConstant(t,runtimeRun),a=newVar(t);return e.write(`const ${a} = ${o}(${u}, ${i});`),e.write(`if (${a} === INVALID) return INVALID;`),a}var WHEN_DEFAULTED_CHECKS=new Set(["max_size","min_size","size_equals","max_length","min_length","length_equals"]);function generateChecks(e,t,r,i){const u=r._zod.def.checks;if(!u||u.length===0)return i;let o=i;for(const a of u){const s=a._zod.def;if(s.when&&!WHEN_DEFAULTED_CHECKS.has(s.check))throw new ZodCompileUnsupportedError('check with a custom "when" condition');switch(s.check){case"greater_than":generateGreaterThanCheck(e,t,s,o);break;case"less_than":generateLessThanCheck(e,t,s,o);break;case"multiple_of":generateMultipleOfCheck(e,t,s,o);break;case"number_format":generateNumberFormatCheck(e,s,o);break;case"min_length":{const d=numericOperand(s.minimum,"min_length"),c=codePointLengthVar(e,t,o,`${o}.length >= ${d} && ${o}.length < ${s.minimum*2}`);e.write(`if (${c} < ${d}) return INVALID;`);break}case"max_length":{const d=numericOperand(s.maximum,"max_length"),c=codePointLengthVar(e,t,o,`${o}.length > ${d}`);e.write(`if (${c} > ${d}) return INVALID;`);break}case"length_equals":{const d=numericOperand(s.length,"length_equals"),c=codePointLengthVar(e,t,o,`${o}.length >= ${d} && ${o}.length <= ${s.length*2}`);e.write(`if (${c} !== ${d}) return INVALID;`);break}case"min_size":e.write(`if (${o}.size < ${numericOperand(s.minimum,"min_size")}) return INVALID;`);break;case"max_size":e.write(`if (${o}.size > ${numericOperand(s.maximum,"max_size")}) return INVALID;`);break;case"size_equals":e.write(`if (${o}.size !== ${numericOperand(s.size,"size_equals")}) return INVALID;`);break;case"string_format":o=generateStringFormatCheck(e,t,s,o);break;case"custom":o=generateCustomRefineCheck(e,t,a,o);break;case"bigint_format":generateBigIntFormatCheck(e,s,o);break;case"mime_type":generateMimeTypeCheck(e,t,s,o);break;case"property":generatePropertyCheck(e,t,s,o);break;case"properties":generatePropertiesChecks(e,t,s,o);break;case"overwrite":{const d=newVar(t);generateOverwriteCheck(e,t,a,o,d),o=d;break}default:throw new ZodCompileUnsupportedError(`check type ${s.check}`)}}return o}function codePointLengthVar(e,t,r,i){const u=addConstant(t,codePointLength),o=newVar(t);return e.write(`const ${o} = typeof ${r} === "string" && ${i} ? ${u}(${r}) : ${r}.length;`),o}function numericOperand(e,t){if(typeof e!="number"||!Number.isFinite(e))throw new ZodCompileUnsupportedError(`${t} bound of type ${typeof e}`);return`${e}`}function comparisonOperand(e,t){if(typeof t=="bigint")return`${t}n`;if(typeof t=="number"){if(Number.isNaN(t))throw new ZodCompileUnsupportedError("comparison check with NaN bound");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new ZodCompileUnsupportedError("comparison check with Invalid Date bound");return addConstant(e,t)}throw new ZodCompileUnsupportedError(`comparison check bound of type ${typeof t}`)}function generateGreaterThanCheck(e,t,r,i){const u=r.inclusive?"<":"<=";e.write(`if (${i} ${u} ${comparisonOperand(t,r.value)}) return INVALID;`)}function generateLessThanCheck(e,t,r,i){const u=r.inclusive?">":">=";e.write(`if (${i} ${u} ${comparisonOperand(t,r.value)}) return INVALID;`)}function generateMultipleOfCheck(e,t,r,i){if(typeof r.value=="bigint"){if(r.value===BigInt(0))throw new ZodCompileUnsupportedError("multiple_of check with a zero divisor");e.write(`if (${i} % ${r.value}n !== 0n) return INVALID;`)}else{const u=addConstant(t,floatSafeRemainder);e.write(`if (${u}(${i}, ${numericOperand(r.value,"multiple_of")}) !== 0) return INVALID;`)}}function generateNumberFormatCheck(e,t,r){const i=t.format;switch(i){case"safeint":e.write(`if (!Number.isSafeInteger(${r})) return INVALID;`);break;case"int32":e.write(`if (!Number.isInteger(${r}) || ${r} < -2147483648 || ${r} > 2147483647) return INVALID;`);break;case"uint32":e.write(`if (!Number.isInteger(${r}) || ${r} < 0 || ${r} > 4294967295) return INVALID;`);break;case"float32":e.write(`if (!Number.isFinite(${r}) || ${r} < -3.4028234663852886e38 || ${r} > 3.4028234663852886e38) return INVALID;`);break;case"float64":e.write(`if (!Number.isFinite(${r})) return INVALID;`);break;default:throw new ZodCompileUnsupportedError(`number format ${i}`)}}function generateBigIntFormatCheck(e,t,r){const i=t.format;if(i)switch(i){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break;default:throw new ZodCompileUnsupportedError(`bigint format ${i}`)}}function generateMimeTypeCheck(e,t,r,i){const u=r.mime;if(u&&u.length>0){const o=addConstant(t,new Set(u));e.write(`if (!${o}.has(${i}.type)) return INVALID;`)}}function generatePropertiesChecks(e,t,r,i){if(r.when)throw new ZodCompileUnsupportedError('check with a custom "when" condition');e.write(`if (${i} == null) return INVALID;`);const u=r.shape;for(const o of Reflect.ownKeys(u)){const a=typeof o=="symbol"?addConstant(t,o):esc(o),s=newVar(t);e.write(`const ${s} = ${i}[${a}];`),compileChild(e,t,u[o],s,!1)}}function generatePropertyCheck(e,t,r,i){const u=`${i}[${JSON.stringify(r.property)}]`;generateCheck(e,t,r.schema,u)}function generateOverwriteCheck(e,t,r,i,u){const o=r._zod.def.tx;if(!o)throw new ZodCompileUnsupportedError("overwrite check without a transform function");if(isAsyncFunction(o))throw new ZodCompileAsyncError("z.compile: async overwrite transforms are not supported");const a=addConstant(t,o);e.write(`const ${u} = ${a}(${i});`)}function throwAsync(){throw new $ZodAsyncError}function pushIssue(e){this.issues.push(e)}function generateCustomRefineCheck(e,t,r,i){const u=r._zod.def;if(u.fn){if(isAsyncFunction(u.fn))throw new ZodCompileAsyncError("z.compile: async .refine() predicates are not supported");const o=addUserConstant(t,u.fn),a=addConstant(t,throwAsync),s=newVar(t);return e.write(`const ${s} = ${o}(${i});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`),i}if(r._zod.check){if(isAsyncFunction(r._zod.check))throw new ZodCompileAsyncError("z.compile: async .superRefine() / check functions are not supported");const o=r._zod.check,s=addUserConstant(t,c=>{const l={value:c,issues:[],addIssue:pushIssue};return o(l)instanceof Promise&&throwAsync(),l.issues.length===0?l.value:INVALID}),d=newVar(t);return e.write(`const ${d} = ${s}(${i});`),e.write(`if (${d} === INVALID) return INVALID;`),d}throw new ZodCompileUnsupportedError("custom check without a predicate or check function")}var PATTERN_IS_COMPLETE=new Set(["cidrv4","cuid","cuid2","date","datetime","duration","e164","email","emoji","ends_with","guid","includes","ipv4","ksuid","lowercase","mac","nanoid","regex","starts_with","time","ulid","uppercase","uuid","xid"]);function generateStringFormatCheck(e,t,r,i,u=!0){const o=r.format;if(o==="base64"){const c=addConstant(t,isValidBase64);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="base64url"){const c=addConstant(t,isValidBase64URL);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="jwt"){const c=addConstant(t,isValidJWT),l=addConstant(t,r.alg??null);return e.write(`if (!${c}(${i}, ${l})) return INVALID;`),i}if(o==="ipv6"){const c=addConstant(t,isValidIPv6);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="cidrv6"){const c=addConstant(t,isValidCIDRv6);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="credit_card"){const c=addConstant(t,isValidCreditCard);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="iban"){const c=addConstant(t,isValidIBAN);return e.write(`if (!${c}(${i})) return INVALID;`),i}const a=r;if(o==="url"||o==="httpurl"||a.normalize||a.hostname!==void 0||a.protocol!==void 0){const c=addConstant(t,validateURL),l=addConstant(t,r),f=newVar(t),h=newVar(t);if(e.write(`const ${f} = ${i}.trim();`),e.write(`const ${h} = ${c}(${f}, ${l});`),e.write(`if (typeof ${h} === "number") return INVALID;`),a.hostname!==void 0){const v=addConstant(t,urlHostnameOk);e.write(`if (!${v}(${h}, ${l}.hostname)) return INVALID;`)}if(a.protocol!==void 0){const v=addConstant(t,urlProtocolOk);e.write(`if (!${v}(${h}, ${l}.protocol)) return INVALID;`)}if(!u)return null;const p=newVar(t),g=a.normalize?`${h}.href`:`${addConstant(t,stripTabAndNewline)}(${f})`;return e.write(`const ${p} = ${g};`),p}const s=r.fn;if(s){if(isAsyncFunction(s))throw new ZodCompileUnsupportedError(`async string format ${o}`);const c=addConstant(t,s);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(PATTERN_IS_COMPLETE.has(o)&&r.pattern){const c=addConstant(t,r.pattern);return e.write(`${c}.lastIndex = 0;`),e.write(`if (!${c}.test(${i})) return INVALID;`),i}const d=r.format;switch(d){case"regex":throw new ZodCompileUnsupportedError("regex format without a pattern");case"lowercase":e.write(`if (${i} !== ${i}.toLowerCase()) return INVALID;`);break;case"uppercase":e.write(`if (${i} !== ${i}.toUpperCase()) return INVALID;`);break;case"includes":e.write(`if (!${i}.includes(${esc(r.includes)})) return INVALID;`);break;case"starts_with":{const c=r.prefix;e.write(`if (${i}.slice(0, ${c.length}) !== ${esc(c)}) return INVALID;`);break}case"ends_with":{const c=r.suffix;e.write(`if (${i}.slice(-${c.length}) !== ${esc(c)}) return INVALID;`);break}default:throw new ZodCompileUnsupportedError(`string format ${d}`)}return i}function generateCheck(e,t,r,i,u=!0){const o=r._zod.def,a=o.type;if(o.coerce)throw new ZodCompileUnsupportedError(`coercion (z.coerce.${a}())`);const s=u||!!o.checks?.length;let d;switch(a){case"string":d=generateStringCheck(e,t,r,i,s);break;case"number":d=generateNumberCheck(e,r,i);break;case"boolean":d=generateBooleanCheck(e,i);break;case"bigint":d=generateBigIntCheck(e,r,i);break;case"symbol":d=generateSymbolCheck(e,i);break;case"undefined":d=generateUndefinedCheck(e,i);break;case"null":d=generateNullCheck(e,i);break;case"any":case"unknown":d=i;break;case"never":e.write("return INVALID;"),d=i;break;case"void":d=generateVoidCheck(e,i);break;case"nan":d=generateNaNCheck(e,i);break;case"date":d=generateDateCheck(e,i);break;case"object":d=generateObjectCheck(e,t,r,i,s);break;case"optional":d=generateOptionalCheck(e,t,r,i,s);break;case"nullable":d=generateNullableCheck(e,t,r,i,s);break;case"array":d=generateArrayCheck(e,t,r,i,s);break;case"literal":d=generateLiteralCheck(e,t,r,i);break;case"enum":d=generateEnumCheck(e,t,r,i);break;case"readonly":{const c=generateWrapperCheck(e,t,r,i),l=newVar(t);e.write(`const ${l} = Object.freeze(${c});`),d=l;break}case"success":generateWrapperCheck(e,t,r,i),d="true";break;case"default":case"prefault":d=generateDefaultCheck(e,t,r,i);break;case"nonoptional":d=generateNonOptionalCheck(e,t,r,i);break;case"tuple":d=generateTupleCheck(e,t,r,i);break;case"union":d=generateUnionCheck(e,t,r,i);break;case"intersection":d=generateIntersectionCheck(e,t,r,i);break;case"record":d=generateRecordCheck(e,t,r,i);break;case"map":d=generateMapCheck(e,t,r,i);break;case"set":d=generateSetCheck(e,t,r,i);break;case"file":d=generateFileCheck(e,i);break;case"template_literal":d=generateTemplateLiteralCheck(e,t,r,i);break;case"lazy":d=generateLazyCheck(e,t,r,i);break;case"pipe":d=generatePipeCheck(e,t,r,i);break;case"custom":d=generateCustomCheck(e,t,r,i);break;case"transform":d=generateTransformCheck(e,t,r,i);break;case"catch":d=generateCatchCheck(e,t,r,i);break;default:throw new ZodCompileUnsupportedError(`schema type ${a}`)}return d===null?null:generateChecks(e,t,r,d)}function generateStringCheck(e,t,r,i,u=!0){e.write(`if (typeof ${i} !== "string") return INVALID;`);const o=r._zod.def;return o.format===void 0?i:generateStringFormatCheck(e,t,o,i,u)}function generateNumberCheck(e,t,r){e.write(`if (typeof ${r} !== "number" || !Number.isFinite(${r})) return INVALID;`);const i=t._zod.def;return i.check==="number_format"&&i.format&&generateNumberFormatCheck(e,{format:i.format},r),r}function generateBooleanCheck(e,t){return e.write(`if (typeof ${t} !== "boolean") return INVALID;`),t}function generateBigIntCheck(e,t,r){e.write(`if (typeof ${r} !== "bigint") return INVALID;`);const i=t._zod.def;if(i.format)switch(i.format){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break}return r}function generateSymbolCheck(e,t){return e.write(`if (typeof ${t} !== "symbol") return INVALID;`),t}function generateUndefinedCheck(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function generateNullCheck(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function generateVoidCheck(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function generateNaNCheck(e,t){return e.write(`if (typeof ${t} !== "number" || !Number.isNaN(${t})) return INVALID;`),t}function generateDateCheck(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function generateObjectCheck(e,t,r,i,u=!0){const o=r._zod.def;e.write(`if (typeof ${i} !== "object" || ${i} === null || Array.isArray(${i})) return INVALID;`);const a=o.shape,s=Object.keys(a),d=Object.getOwnPropertySymbols(a),c=d.length?[...s,...d]:s,l=m=>typeof m=="symbol"?addConstant(t,m):esc(m),f=m=>typeof m=="symbol"?`[${l(m)}]`:esc(m),h=a;if(s.includes("__proto__"))throw new ZodCompileUnsupportedError('object shape key "__proto__"');const p=new Map;for(const m of c){const y=h[m],E=l(m),D=newVar(t);if(e.write(`const ${D} = ${i}[${E}];`),y._zod.optin!==void 0){const b=newVar(t);e.write(`let ${b} = (() => {`),e.indented(_=>{const w=compileChild(_,t,y,D);_.write(`return ${w};`)}),e.write("})();"),y._zod.optout==="optional"?(e.write(`if (${b} === INVALID) {`),e.indented(_=>{_.write(`if (${E} in ${i}) return INVALID;`),_.write(`${b} = undefined;`)}),e.write("}")):e.write(`if (${b} === INVALID) return INVALID;`),p.set(m,b)}else{requiresPresenceCheck(y)&&e.write(`if (!(${E} in ${i})) return INVALID;`);const b=compileChild(e,t,y,D,u);b!==null&&p.set(m,b)}}const g=o.catchall;let v="none";if(g){const m=g._zod.def.type;if(m==="never"){const y=s.map(E=>`k !== ${esc(E)}`).join(" && ")||"true";e.write(`for (const k in ${i}) {`),e.indented(E=>{E.write(`if (${y}) return INVALID;`)}),e.write("}")}else(m==="unknown"||m==="any")&&!g._zod.def.checks?.length?v="passthrough":v="schema"}const x=newVar(t),A=c.some(m=>mayOmitUndefined(h[m])||dropsWhenAbsent(h[m]));if(!u){if(v==="schema"){const m=s.length>0?addConstant(t,new Set(s)):null;e.write(`for (const k in ${i}) {`),e.indented(y=>{y.write('if (k === "__proto__") continue;'),m&&y.write(`if (${m}.has(k)) continue;`);const E=newVar(t);y.write(`const ${E} = ${i}[k];`),compileChild(y,t,g,E,!1)}),e.write("}")}return null}if(A){e.write(`const ${x} = {};`);for(const m of c){const y=l(m),E=p.get(m);dropsWhenAbsent(h[m])?e.write(`if (${y} in ${i}) ${x}[${y}] = ${E};`):mayOmitUndefined(h[m])?e.write(`if (${E} !== undefined || ${y} in ${i}) ${x}[${y}] = ${E};`):e.write(`${x}[${y}] = ${E};`)}}else{const m=c.map(y=>`${f(y)}: ${p.get(y)}`).join(", ");e.write(`const ${x} = { ${m} };`)}if(v!=="none"){const m=s.length>0?addConstant(t,new Set(s)):null;e.write(`for (const k in ${i}) {`),e.indented(y=>{if(y.write('if (k === "__proto__") continue;'),m&&y.write(`if (${m}.has(k)) continue;`),v==="passthrough")y.write(`${x}[k] = ${i}[k];`);else{const E=newVar(t);y.write(`const ${E} = ${i}[k];`);const D=compileChild(y,t,g,E);y.write(`${x}[k] = ${D};`)}}),e.write("}")}return x}function generateOptionalCheck(e,t,r,i,u=!0){const o=r._zod.def;if(isExactOptional(r))return generateCheck(e,t,o.innerType,i,u);if(o.innerType._zod.optin==="defaulted"){const s=newVar(t),d=newVar(t);return e.write(`let ${s};`),e.write(`if (${i} === undefined) {`),e.indented(c=>{c.write(`const ${d} = (() => {`),c.indented(l=>{const f=generateCheck(l,t,o.innerType,i);l.write(`return ${f};`)}),c.write("})();"),c.write(`if (${d} !== INVALID) ${s} = ${d};`)}),e.write("} else {"),e.indented(c=>{const l=generateCheck(c,t,o.innerType,i);c.write(`${s} = ${l};`)}),e.write("}"),s}const a=u?newVar(t):null;return a&&e.write(`let ${a};`),e.write(`if (${i} !== undefined) {`),e.indented(s=>{const d=generateCheck(s,t,o.innerType,i,u);a&&d!==null&&s.write(`${a} = ${d};`)}),e.write("}"),a}function isExactOptional(e){return e._zod.traits?.has("$ZodExactOptional")===!0}function requiresPresenceCheck(e){return e._zod.optin===void 0&&fastPathAcceptsAbsence(e)}function fastPathAcceptsAbsence(e){if(e._zod.def.coerce)return!0;const t=e._zod.def;switch(t.type){case"any":case"unknown":case"undefined":case"void":case"default":case"prefault":case"transform":case"custom":case"lazy":return!0;case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"never":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":return!1;case"nonoptional":return t.innerType?fastPathAcceptsAbsence(t.innerType):!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":case"nullable":case"readonly":case"success":return t.innerType?fastPathAcceptsAbsence(t.innerType):!0;case"catch":return!0;case"union":return t.options?t.options.some(fastPathAcceptsAbsence):!0;case"intersection":return!t.left||!t.right?!0:fastPathAcceptsAbsence(t.left)&&fastPathAcceptsAbsence(t.right);case"pipe":return t.in?fastPathAcceptsAbsence(t.in):!0;default:return!0}}function dropsWhenAbsent(e){return e._zod.optin==="optional"&&e._zod.optout==="optional"}function mayOmitUndefined(e){return(e._zod.optin!=="defaulted"||e._zod.optout==="optional")&&mayOutputUndefined(e)}function mayOutputUndefined(e){const t=e._zod.def;switch(t.type){case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":case"never":case"success":return!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":return!0;case"nullable":case"readonly":case"nonoptional":return t.innerType?mayOutputUndefined(t.innerType):!0;case"union":return t.options?t.options.some(mayOutputUndefined):!0;case"intersection":return!t.left||!t.right||mayOutputUndefined(t.left)||mayOutputUndefined(t.right);case"pipe":return t.out?mayOutputUndefined(t.out):!0;default:return!0}}function generateNullableCheck(e,t,r,i,u=!0){const o=r._zod.def,a=u?newVar(t):null;return a&&e.write(`let ${a} = null;`),e.write(`if (${i} !== null) {`),e.indented(s=>{const d=generateCheck(s,t,o.innerType,i,u);a&&d!==null&&s.write(`${a} = ${d};`)}),e.write("}"),a}function generateSizeGate(e,t,r){for(const[i,u]of sizeCaps(t._zod.def.checks))e.write(`if (${r} > ${numericOperand(i,u._zod.def.check)}) return INVALID;`)}function generateArrayCheck(e,t,r,i,u=!0){const o=r._zod.def;e.write(`if (!Array.isArray(${i})) return INVALID;`),generateSizeGate(e,r,`${i}.length`);const a=u?newVar(t):null,s=newVar(t),d=newVar(t);return a&&e.write(`const ${a} = new Array(${i}.length);`),e.write(`for (let ${s} = 0; ${s} < ${i}.length; ${s}++) {`),e.indented(c=>{c.write(`const ${d} = ${i}[${s}];`);const l=compileChild(c,t,o.element,d,u);a&&l!==null&&c.write(`${a}[${s}] = ${l};`)}),e.write("}"),a}function generateLiteralCheck(e,t,r,i){const o=r._zod.def.values;if(o.length!==1){const s=addConstant(t,new Set(o));return e.write(`if (!${s}.has(${i})) return INVALID;`),i}const a=o[0];if(typeof a=="number"&&Number.isNaN(a)){const s=addConstant(t,new Set(o));return e.write(`if (!${s}.has(${i})) return INVALID;`),i}if(typeof a=="string")e.write(`if (${i} !== ${esc(a)}) return INVALID;`);else if(typeof a=="number"||typeof a=="boolean")e.write(`if (${i} !== ${a}) return INVALID;`);else if(a===null)e.write(`if (${i} !== null) return INVALID;`);else if(a===void 0)e.write(`if (${i} !== undefined) return INVALID;`);else if(typeof a=="bigint")e.write(`if (${i} !== ${a}n) return INVALID;`);else throw new ZodCompileUnsupportedError(`literal type ${typeof a}`);return i}function generateEnumCheck(e,t,r,i){const u=r._zod.values;if(!u)throw new ZodCompileUnsupportedError("enum schema without enumerated values");const o=addConstant(t,u);return e.write(`if (!${o}.has(${i})) return INVALID;`),i}function generateWrapperCheck(e,t,r,i){const u=r._zod.def;return generateCheck(e,t,u.innerType,i)}function generateDefaultCheck(e,t,r,i){const u=r._zod.def,a=Object.getOwnPropertyDescriptor(r._zod.def,"defaultValue")?()=>r._zod.def.defaultValue:void 0;if(r._zod.def.type==="prefault"){if(!a)return generateCheck(e,t,u.innerType,i);const d=addConstant(t,a),c=newVar(t);return e.write(`let ${c} = ${i};`),e.write(`if (${i} === undefined) ${c} = ${d}();`),generateCheck(e,t,u.innerType,c)}const s=newVar(t);if(a){const d=addConstant(t,a),c=addConstant(t,shallowClone);e.write(`let ${s};`),e.write(`if (${i} === undefined) {`),e.indented(l=>{l.write(`${s} = ${c}(${d}());`)}),e.write("} else {"),e.indented(l=>{const f=generateCheck(l,t,u.innerType,i);l.write(`${s} = ${f} === undefined ? ${c}(${d}()) : ${f};`)}),e.write("}")}else e.write(`let ${s};`),e.write(`if (${i} !== undefined) {`),e.indented(d=>{const c=generateCheck(d,t,u.innerType,i);d.write(`${s} = ${c};`)}),e.write("}");return s}function generateNonOptionalCheck(e,t,r,i){const u=r._zod.def,o=generateCheck(e,t,u.innerType,i),a=newVar(t);return e.write(`const ${a} = ${o};`),e.write(`if (${a} === undefined) return INVALID;`),a}function generateTupleCheck(e,t,r,i){const u=r._zod.def,o=u.items,a=u.rest;e.write(`if (!Array.isArray(${i})) return INVALID;`);const s=getTupleOptStart2(o,"optin"),d=getTupleOptStart2(o,"optout");a?e.write(`if (${i}.length < ${s}) return INVALID;`):e.write(`if (${i}.length < ${s} || ${i}.length > ${o.length}) return INVALID;`);const c=newVar(t);e.write(`const ${c} = [];`);for(let l=0;l<o.length;l++){const f=o[l];if(l>=d)e.write(`if (${c}.length === ${l}) {`),e.indented(h=>{h.write(`if (${l} < ${i}.length) {`),h.indented(p=>{const g=newVar(t);p.write(`const ${g} = ${i}[${l}];`);const v=compileChild(p,t,f,g);p.write(`${c}[${l}] = ${v};`)}),h.write("} else {"),h.indented(p=>{if(dropsWhenAbsent(f)){p.write(`${c}.length = ${l};`);return}const g=newVar(t),v=newVar(t);p.write(`const ${g} = undefined;`),p.write(`const ${v} = (() => {`),p.indented(x=>{const A=compileChild(x,t,f,g);x.write(`return ${A};`)}),p.write("})();"),p.write(`if (${v} === INVALID || ${v} === undefined) ${c}.length = ${l};`),p.write(`else ${c}[${l}] = ${v};`)}),h.write("}")}),e.write("}");else{const h=newVar(t);e.write(`const ${h} = ${i}[${l}];`);const p=compileChild(e,t,f,h);e.write(`${c}[${l}] = ${p};`)}}if(a){const l=newVar(t),f=newVar(t);e.write(`for (let ${l} = ${o.length}; ${l} < ${i}.length; ${l}++) {`),e.indented(h=>{h.write(`const ${f} = ${i}[${l}];`);const p=compileChild(h,t,a,f);h.write(`${c}[${l}] = ${p};`)}),e.write("}")}return c}function getTupleOptStart2(e,t){for(let r=e.length-1;r>=0;r--)if(!(t==="optin"?e[r]._zod.optin!==void 0:e[r]._zod.optout==="optional"))return r+1;return 0}function generateUnionCheck(e,t,r,i){const u=r._zod.def,o=u.options;if(u.discriminator)return generateDiscriminatedUnionCheck(e,t,u,i);if(u.inclusive===!1)throw new ZodCompileUnsupportedError("exclusive unions (z.xor)");if(o.length===0)return e.write("return INVALID;"),i;if(o.length===1)return generateCheck(e,t,o[0],i);if(o.every(d=>d._zod.def.type==="literal"&&!d._zod.def.checks?.length)){const d=new Set(o.flatMap(l=>l._zod.def.values)),c=addConstant(t,d);return e.write(`if (!${c}.has(${i})) return INVALID;`),i}const s=newVar(t);e.write(`let ${s};`);for(let d=0;d<o.length;d++){const c=o[d];d===0?e.write(`${s} = (() => {`):e.write(`if (${s} === INVALID) ${s} = (() => {`),e.indented(l=>{const f=generateCheck(l,t,c,i);l.write(`return ${f};`)}),e.write("})();")}return e.write(`if (${s} === INVALID) return INVALID;`),s}function generateDiscriminatedUnionCheck(e,t,r,i){if(r.unionFallback)throw new ZodCompileUnsupportedError("discriminated union with unionFallback");if(r.options.length===0)return e.write("return INVALID;"),i;const u=newVar(t),o=newVar(t);e.write(`const ${u} = ${i}?.[${esc(r.discriminator)}];`),e.write(`let ${o};`);let a=!0;const s=new Set;for(const d of r.options){const c=d._zod.propValues?.[r.discriminator];if(!c||c.size===0)throw new ZodCompileUnsupportedError("discriminated union option without static discriminator values");for(const h of c){if(s.has(h))throw new ZodCompileUnsupportedError(`duplicate discriminator value ${String(h)}`);s.add(h)}const l=Array.from(c,h=>literalEquality(t,u,h)),f=a?"if":"else if";e.write(`${f} (${l.join(" || ")}) {`),e.indented(h=>{const p=generateCheck(h,t,d,i);h.write(`${o} = ${p};`)}),e.write("}"),a=!1}return e.write("else { return INVALID; }"),o}function literalEquality(e,t,r){if(typeof r=="string")return`${t} === ${esc(r)}`;if(typeof r=="number")return Number.isNaN(r)?`Number.isNaN(${t})`:`${t} === ${r}`;if(typeof r=="boolean")return`${t} === ${r}`;if(r===null)return`${t} === null`;if(r===void 0)return`${t} === undefined`;if(typeof r=="bigint")return`${t} === ${r}n`;if(typeof r=="symbol"){const i=addConstant(e,r);return`${t} === ${i}`}throw new ZodCompileUnsupportedError(`literal discriminator value ${String(r)}`)}function generateIntersectionCheck(e,t,r,i){const u=r._zod.def;t.definite=!1;const o=compileChild(e,t,u.left,i),a=compileChild(e,t,u.right,i),s=addConstant(t,mergeValues),d=newVar(t);return e.write(`const ${d} = ${s}(${o}, ${a});`),e.write(`if (!${d}.valid) return INVALID;`),`${d}.data`}function generateRecordCheck(e,t,r,i){const u=r._zod.def,o=addConstant(t,isPlainObject);e.write(`if (!${o}(${i})) return INVALID;`);const a=newVar(t),s=newVar(t),d=newVar(t);e.write(`const ${a} = {};`);const c=u,l=c.partial?void 0:u.keyType._zod.values;if(l){const p=[];for(const v of l){if(!(typeof v=="string"||typeof v=="number"||typeof v=="symbol"))throw new ZodCompileUnsupportedError(`record key value ${String(v)}`);const x=typeof v=="number"?v.toString():v;if(x==="__proto__")throw new ZodCompileUnsupportedError('record key "__proto__"');p.push(x);const A=addConstant(t,v),m=generateCheck(e,t,u.keyType,A),y=newVar(t);e.write(`const ${y} = ${i}[${literalPropertyKey(t,x)}];`);const E=compileChild(e,t,u.valueType,y);e.write(`${a}[${m}] = ${E};`)}const g=addConstant(t,new Set(p));return e.write(`for (const ${s} in ${i}) {`),e.indented(v=>{v.write(`if (${g}.has(${s})) continue;`),c.mode==="loose"?v.write(`if (${s} !== "__proto__") ${a}[${s}] = ${i}[${s}];`):v.write("return INVALID;")}),e.write("}"),a}const f=u.keyType._zod.def;if(!(f.type==="string"&&f.format===void 0&&!f.coerce&&(f.checks?.length??0)===0)){const p=u.mode==="loose",g=compileFn(u.keyType);g.definite===!1&&(t.definite=!1);const v=addConstant(t,g),x=addConstant(t,number),A=newVar(t);return emitOwnKeys(e,t,i,s,m=>{m.write(`let ${A} = ${v}(${s});`),m.write(`if (${A} === INVALID && typeof ${s} === "string" && ${x}.test(${s})) ${A} = ${v}(Number(${s}));`),p?m.write(`if (${A} === INVALID) { ${a}[${s}] = ${i}[${s}]; continue; }`):m.write(`if (${A} === INVALID) return INVALID;`),m.write(`if (${A} === "__proto__") continue;`);const y=newVar(t);m.write(`const ${y} = ${i}[${s}];`);const E=compileChild(m,t,u.valueType,y);m.write(`${a}[${A}] = ${E};`)}),a}return emitOwnKeys(e,t,i,s,p=>{p.write(`const ${d} = ${i}[${s}];`);const g=compileChild(p,t,u.valueType,d);p.write(`${a}[${s}] = ${g};`)},"return INVALID;"),a}function emitOwnKeys(e,t,r,i,u,o){const a=addConstant(t,Object.prototype.propertyIsEnumerable),s=newVar(t),d=newVar(t),c=newVar(t);e.write(`const ${s} = Object.getOwnPropertySymbols(${r});`),e.write(`const ${d} = Object.getOwnPropertyNames(${r});`),e.write(`for (let ${c} = 0; ${c} < ${d}.length; ${c}++) {`),e.indented(l=>{l.write(`const ${i} = ${d}[${c}];`),l.write(`if (${i} === "__proto__" || !${a}.call(${r}, ${i})) continue;`),u(l)}),e.write("}"),e.write(`for (let ${c} = 0; ${c} < ${s}.length; ${c}++) {`),e.indented(l=>{l.write(`const ${i} = ${s}[${c}];`),l.write(`if (!${a}.call(${r}, ${i})) continue;`),o?l.write(o):u(l)}),e.write("}")}function literalPropertyKey(e,t){return typeof t=="string"?esc(t):addConstant(e,t)}function generateMapCheck(e,t,r,i){const u=r._zod.def;e.write(`if (!(${i} instanceof Map)) return INVALID;`),generateSizeGate(e,r,`${i}.size`);const o=newVar(t),a=newVar(t),s=newVar(t);return e.write(`const ${o} = new Map();`),e.write(`for (const [${a}, ${s}] of ${i}) {`),e.indented(d=>{const c=generateCheck(d,t,u.keyType,a),l=generateCheck(d,t,u.valueType,s);d.write(`${o}.set(${c}, ${l});`)}),e.write("}"),o}function generateSetCheck(e,t,r,i){const u=r._zod.def;e.write(`if (!(${i} instanceof Set)) return INVALID;`),generateSizeGate(e,r,`${i}.size`);const o=newVar(t),a=newVar(t);return e.write(`const ${o} = new Set();`),e.write(`for (const ${a} of ${i}) {`),e.indented(s=>{const d=generateCheck(s,t,u.valueType,a);s.write(`${o}.add(${d});`)}),e.write("}"),o}function generateFileCheck(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function generateTemplateLiteralCheck(e,t,r,i){e.write(`if (typeof ${i} !== "string") return INVALID;`);const u=r._zod.pattern;if(u){const o=addConstant(t,u);e.write(`${o}.lastIndex = 0;`),e.write(`if (!${o}.test(${i})) return INVALID;`)}return i}function generateLazyCheck(e,t,r,i){const u=r._zod.def,o=addUserConstant(t,u.getter),a=addConstant(t,{parser:null});e.write(`if (!${a}.parser) {`),e.indented(d=>{d.write(`const inner = ${o}();`),d.write(`${a}.parser = function(input) {`),d.indented(c=>{c.write("const result = inner._zod.run({ value: input, issues: [] }, {});"),c.write("return result.issues.length === 0 ? result.value : INVALID;")}),d.write("};")}),e.write("}");const s=newVar(t);return e.write(`const ${s} = ${a}.parser(${i});`),e.write(`if (${s} === INVALID) return INVALID;`),s}function generatePipeCheck(e,t,r,i){const u=r._zod.def,o=generateCheck(e,t,u.in,i);if(u.transform){if(isAsyncFunction(u.transform))throw new ZodCompileAsyncError("z.compile: async transforms in pipes are not supported");const a=u.transform,d=addUserConstant(t,l=>{const f={value:l,issues:[],addIssue:pushIssue},h=a(l,f);return h instanceof Promise?INVALID:f.issues.length===0?h:INVALID}),c=newVar(t);return e.write(`const ${c} = ${d}(${o});`),e.write(`if (${c} === INVALID) return INVALID;`),generateCheck(e,t,u.out,c)}else return generateCheck(e,t,u.out,o)}function isAsyncFunction(e){return typeof e=="function"&&(e.constructor.name==="AsyncFunction"||e[Symbol.toStringTag]==="AsyncFunction")}function generateCustomCheck(e,t,r,i){const u=r._zod.def;if(u.fn){if(isAsyncFunction(u.fn))throw new ZodCompileAsyncError("z.compile: async custom predicates are not supported");const o=addUserConstant(t,u.fn),a=addConstant(t,throwAsync),s=newVar(t);e.write(`const ${s} = ${o}(${i});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`)}else throw new ZodCompileUnsupportedError("custom schema without a predicate function");return i}function runtimeCatch(e,t,r){const i=e._zod.run({value:r,issues:[]},{});if(i&&typeof i.then=="function")return INVALID;const u=i;return u.issues.length===0?u.value:t()}function generateCatchCheck(e,t,r,i){const u=r._zod.def;if(!u.catchValue[CONSTANT_CATCH])throw new ZodCompileUnsupportedError("catch with a callback (only a constant catch value compiles)",!1);const o=newVar(t);e.write(`let ${o} = (() => {`),e.indented(c=>{const l=compileChild(c,t,u.innerType,i);c.write(`return ${l};`)}),e.write("})();");const a=addConstant(t,u.innerType),s=addUserConstant(t,u.catchValue),d=addConstant(t,runtimeCatch);return e.write(`if (${o} === INVALID) {`),e.indented(c=>{c.write(`${o} = ${d}(${a}, ${s}, ${i});`),c.write(`if (${o} === INVALID) return INVALID;`)}),e.write("}"),o}function generateTransformCheck(e,t,r,i){const u=r._zod.def;if(u.transform){if(isAsyncFunction(u.transform))throw new ZodCompileAsyncError("z.compile: async transforms are not supported");const o=u.transform,s=addUserConstant(t,c=>{const l={value:c,issues:[],addIssue:pushIssue},f=o(c,l);return f instanceof Promise?INVALID:l.issues.length===0?f:INVALID}),d=newVar(t);return e.write(`const ${d} = ${s}(${i});`),e.write(`if (${d} === INVALID) return INVALID;`),d}return i}function snapshotChecks(e){return e.checks&&(e.checks=[...e.checks]),e}function _string(e,t){return new e(snapshotChecks({type:"string",...normalizeParams(t)}))}function _coercedString(e,t){return new e(snapshotChecks({type:"string",coerce:!0,...normalizeParams(t)}))}function _email(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...normalizeParams(t)})}function _guid(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...normalizeParams(t)})}function _uuid(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...normalizeParams(t)})}function _uuidv4(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...normalizeParams(t)})}function _uuidv6(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...normalizeParams(t)})}function _uuidv7(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...normalizeParams(t)})}function _url(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...normalizeParams(t)})}function _emoji2(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...normalizeParams(t)})}function _nanoid(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...normalizeParams(t)})}function _cuid(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...normalizeParams(t)})}function _cuid2(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...normalizeParams(t)})}function _ulid(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...normalizeParams(t)})}function _xid(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...normalizeParams(t)})}function _ksuid(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...normalizeParams(t)})}function _ipv4(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...normalizeParams(t)})}function _ipv6(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...normalizeParams(t)})}function _mac(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...normalizeParams(t)})}function _cidrv4(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...normalizeParams(t)})}function _cidrv6(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...normalizeParams(t)})}function _base64(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...normalizeParams(t)})}function _base64url(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...normalizeParams(t)})}function _e164(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...normalizeParams(t)})}function _creditCard(e,t){return new e({type:"string",format:"credit_card",check:"string_format",abort:!1,...normalizeParams(t)})}function _iban(e,t){return new e({type:"string",format:"iban",check:"string_format",abort:!1,...normalizeParams(t)})}function _jwt(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...normalizeParams(t)})}var TimePrecision={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function _isoDateTime(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...normalizeParams(t)})}function _isoDate(e,t){return new e({type:"string",format:"date",check:"string_format",...normalizeParams(t)})}function _isoTime(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...normalizeParams(t)})}function _isoDuration(e,t){return new e({type:"string",format:"duration",check:"string_format",...normalizeParams(t)})}function _number(e,t){return new e(snapshotChecks({type:"number",checks:[],...normalizeParams(t)}))}function _coercedNumber(e,t){return new e(snapshotChecks({type:"number",coerce:!0,checks:[],...normalizeParams(t)}))}function _int(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...normalizeParams(t)})}function _float32(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...normalizeParams(t)})}function _float64(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...normalizeParams(t)})}function _int32(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...normalizeParams(t)})}function _uint32(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...normalizeParams(t)})}function _boolean(e,t){return new e({type:"boolean",...normalizeParams(t)})}function _coercedBoolean(e,t){return new e({type:"boolean",coerce:!0,...normalizeParams(t)})}function _bigint(e,t){return new e({type:"bigint",...normalizeParams(t)})}function _coercedBigint(e,t){return new e({type:"bigint",coerce:!0,...normalizeParams(t)})}function _int64(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...normalizeParams(t)})}function _uint64(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...normalizeParams(t)})}function _symbol(e,t){return new e({type:"symbol",...normalizeParams(t)})}function _undefined2(e,t){return new e({type:"undefined",...normalizeParams(t)})}function _null2(e,t){return new e({type:"null",...normalizeParams(t)})}function _any(e){return new e({type:"any"})}function _unknown(e){return new e({type:"unknown"})}function _never(e,t){return new e({type:"never",...normalizeParams(t)})}function _void(e,t){return new e({type:"void",...normalizeParams(t)})}function _date(e,t){return new e({type:"date",...normalizeParams(t)})}function _coercedDate(e,t){return new e({type:"date",coerce:!0,...normalizeParams(t)})}function _nan(e,t){return new e({type:"nan",...normalizeParams(t)})}function _lt(e,t){return new $ZodCheckLessThan({check:"less_than",...normalizeParams(t),value:e,inclusive:!1})}function _lte(e,t){return new $ZodCheckLessThan({check:"less_than",...normalizeParams(t),value:e,inclusive:!0})}function _gt(e,t){return new $ZodCheckGreaterThan({check:"greater_than",...normalizeParams(t),value:e,inclusive:!1})}function _gte(e,t){return new $ZodCheckGreaterThan({check:"greater_than",...normalizeParams(t),value:e,inclusive:!0})}function _positive(e){return _gt(0,e)}function _negative(e){return _lt(0,e)}function _nonpositive(e){return _lte(0,e)}function _nonnegative(e){return _gte(0,e)}function _multipleOf(e,t){return new $ZodCheckMultipleOf({check:"multiple_of",...normalizeParams(t),value:e})}function _maxSize(e,t){return new $ZodCheckMaxSize({check:"max_size",...normalizeParams(t),maximum:e})}function _minSize(e,t){return new $ZodCheckMinSize({check:"min_size",...normalizeParams(t),minimum:e})}function _size(e,t){return new $ZodCheckSizeEquals({check:"size_equals",...normalizeParams(t),size:e})}function _maxLength(e,t){return new $ZodCheckMaxLength({check:"max_length",...normalizeParams(t),maximum:e})}function _minLength(e,t){return new $ZodCheckMinLength({check:"min_length",...normalizeParams(t),minimum:e})}function _length(e,t){return new $ZodCheckLengthEquals({check:"length_equals",...normalizeParams(t),length:e})}function _regex(e,t){return new $ZodCheckRegex({check:"string_format",format:"regex",...normalizeParams(t),pattern:e})}function _lowercase(e){return new $ZodCheckLowerCase({check:"string_format",format:"lowercase",...normalizeParams(e)})}function _uppercase(e){return new $ZodCheckUpperCase({check:"string_format",format:"uppercase",...normalizeParams(e)})}function _includes(e,t){return new $ZodCheckIncludes({check:"string_format",format:"includes",...normalizeParams(t),includes:e})}function _startsWith(e,t){return new $ZodCheckStartsWith({check:"string_format",format:"starts_with",...normalizeParams(t),prefix:e})}function _endsWith(e,t){return new $ZodCheckEndsWith({check:"string_format",format:"ends_with",...normalizeParams(t),suffix:e})}function _property(e,t,r){return new $ZodCheckProperty({check:"property",property:e,schema:t,...normalizeParams(r)})}function _properties(e,t){return new $ZodCheckProperties({check:"properties",shape:e,...normalizeParams(t)})}function _mime(e,t){return new $ZodCheckMimeType({check:"mime_type",mime:e,...normalizeParams(t)})}function _overwrite(e){return new $ZodCheckOverwrite({check:"overwrite",tx:e})}function _normalize(e){return _overwrite(t=>t.normalize(e))}function _trim(){return _overwrite(e=>e.trim())}function _toLowerCase(){return _overwrite(e=>e.toLowerCase())}function _toUpperCase(){return _overwrite(e=>e.toUpperCase())}function _slugify(){return _overwrite(e=>slugify(e))}function _array(e,t,r){return new e({type:"array",element:t,...normalizeParams(r)})}function _union(e,t,r){return new e({type:"union",options:t,...normalizeParams(r)})}function _xor(e,t,r){return new e({type:"union",options:t,inclusive:!1,...normalizeParams(r)})}function _discriminatedUnion(e,t,r,i){return new e({type:"union",options:r,discriminator:t,...normalizeParams(i)})}function _intersection(e,t,r){return new e({type:"intersection",left:t,right:r})}function _tuple(e,t,r,i){const u=r instanceof $ZodType,o=u?i:r,a=u?r:null;return new e({type:"tuple",items:t,rest:a,...normalizeParams(o)})}function _record(e,t,r,i){return new e({type:"record",keyType:t,valueType:r,...normalizeParams(i)})}function _map(e,t,r,i){return new e({type:"map",keyType:t,valueType:r,...normalizeParams(i)})}function _set(e,t,r){return new e({type:"set",valueType:t,...normalizeParams(r)})}function _enum(e,t,r){const i=Array.isArray(t)?Object.fromEntries(t.map(u=>[u,u])):t;return new e({type:"enum",entries:i,...normalizeParams(r)})}function _nativeEnum(e,t,r){return new e({type:"enum",entries:t,...normalizeParams(r)})}function _literal(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...normalizeParams(r)})}function _file(e,t){return new e({type:"file",...normalizeParams(t)})}function _transform(e,t){return new e({type:"transform",transform:t})}function _optional(e,t){return new e({type:"optional",innerType:t})}function _nullable(e,t){return new e({type:"nullable",innerType:t})}function _default(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():shallowClone(r)}})}function _nonoptional(e,t,r){return new e({type:"nonoptional",innerType:t,...normalizeParams(r)})}function _success(e,t){return new e({type:"success",innerType:t})}function _catch(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:constantCatch(r)})}function _pipe(e,t,r){return new e({type:"pipe",in:t,out:r})}function _readonly(e,t){return new e({type:"readonly",innerType:t})}function _templateLiteral(e,t,r){return new e({type:"template_literal",parts:t,...normalizeParams(r)})}function _lazy(e,t){return new e({type:"lazy",getter:t})}function _promise(e,t){return new e({type:"promise",innerType:t})}function _custom(e,t,r){const i=normalizeParams(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function _refine(e,t,r){return new e({type:"custom",check:"custom",fn:t,...normalizeParams(r)})}function _superRefine(e,t){const r=_check(i=>(i.addIssue=u=>{if(typeof u=="string")i.issues.push(issue(u,i.value,r._zod.def));else{const o=u;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),"input"in o||(o.input=i.value),o.inst??(o.inst=r),o.continue??(o.continue=!r._zod.def.abort),i.issues.push(issue(o))}},e(i.value,i)),t);return r}function _check(e,t){const r=new $ZodCheck({check:"custom",...normalizeParams(t)});return r._zod.check=e,r}function describe(e){const t=new $ZodCheck({check:"describe"});return t._zod.onattach=[r=>{const i=globalRegistry.get(r)??{};globalRegistry.add(r,{...i,description:e})}],t._zod.check=()=>{},t}function meta(e){const t=new $ZodCheck({check:"meta"});return t._zod.onattach=[r=>{const i=globalRegistry.get(r)??{};globalRegistry.add(r,{...i,...e})}],t._zod.check=()=>{},t}function _stringbool(e,t){const r=normalizeParams(t);let i=r.truthy??["true","1","yes","on","y","enabled"],u=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(i=i.map(p=>typeof p=="string"?p.toLowerCase():p),u=u.map(p=>typeof p=="string"?p.toLowerCase():p));const o=new Set(i),a=new Set(u),s=e.Codec??$ZodCodec,d=e.Boolean??$ZodBoolean,c=e.String??$ZodString,l=new c({type:"string",error:r.error}),f=new d({type:"boolean",error:r.error}),h=new s({type:"pipe",in:l,out:f,transform:((p,g)=>{let v=p;return r.case!=="sensitive"&&(v=v.toLowerCase()),o.has(v)?!0:a.has(v)?!1:(g.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:g.value,inst:h,continue:!1}),{})}),reverseTransform:((p,g)=>p===!0?i[0]||"true":u[0]||"false"),error:r.error});return h._zod.bag.truthy=i,h._zod.bag.falsy=u,h._zod.bag.case=r.case??"insensitive",h}function _stringFormat(e,t,r,i={}){const u=normalizeParams(i),o={check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:s=>r.test(s),...u};return r instanceof RegExp&&(o.pattern=r),new e(o)}function assignProps(e,...t){for(const r of t)for(const i of Reflect.ownKeys(r))Object.prototype.propertyIsEnumerable.call(r,i)&&assignProp(e,i,r[i]);return e}function initializeContext(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??globalRegistry,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function handleUnrepresentable(e,t,r,i,u){const o=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:i.path,message:u}):t.unrepresentable;if(o==="any")return!1;if(o===void 0||o==="throw")throw new Error(u);return Object.assign(r,o),!0}function processSchema(e,t,r={path:[],schemaPath:[]}){var i;const u=e._zod.def,o=t.seen.get(e);if(o)return o.count++,r.schemaPath.includes(e)&&(o.cycle=r.path),o.schema;const a={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,a),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;const s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{const l={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,l);else{const h=a.schema,p=t.processors[u.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${u.type}`);p(e,t,h,l)}const f=e._zod.parent;f&&(a.ref||(a.ref=f),processSchema(f,t,l),t.seen.get(f).isParent=!0)}const d=t.metadataRegistry.get(e);return d&&assignProps(a.schema,d),t.io==="input"&&isTransforming(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&"_prefault"in a.schema&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function encodeJSONPointerSegment(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function extractDefs(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;const i=new Map;for(const a of e.seen.entries()){const s=e.metadataRegistry.get(a[0])?.id;if(s){const d=i.get(s);if(d&&d!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}const u=a=>{const s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const f=e.external.registry.get(a[0])?.id,h=e.external.uri??(g=>g);if(f)return{ref:h(f)};const p=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=p,{defId:p,ref:`${h("__shared")}#/${s}/${encodeJSONPointerSegment(p)}`}}const d="#",c=`${d}/${s}/`;if(a[1]===r&&!a[1].schema.id)return{ref:d};const l=a[1].schema.id??`__schema${e.counter++}`;return{defId:l,ref:c+encodeJSONPointerSegment(l)}},o=a=>{if(a[1].schema.$ref)return;const s=a[1],{ref:d,defId:c}=u(a);s.def={...s.schema},c&&(s.defId=c);const l=s.schema;for(const f in l)delete l[f];l.$ref=d};if(e.cycles==="throw")for(const a of e.seen.entries()){const s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
|
|
65
|
+
|
|
66
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const a of e.seen.entries()){const s=a[1];if(t===a[0]){o(a);continue}if(e.external){const c=e.external.registry.get(a[0])?.id;if(t!==a[0]&&c){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}s.count>1&&e.reused==="ref"&&o(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function compactTypeUnion(e){const t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;const r=[];for(const i of t){if(!i||typeof i!="object")return;compactTypeUnion(i);const u=Object.keys(i);if(u.length!==1||u[0]!=="type")return;const o=i.type;for(const a of Array.isArray(o)?o:[o]){if(typeof a!="string")return;r.includes(a)||r.push(a)}}delete e.anyOf,e.type=r.length===1?r[0]:r}var FOLDABLE_KEYS=new Set(["type","properties","required","additionalProperties"]),UNION_KEYS=["oneOf","anyOf"];function undeclaredConstraint(e){const t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function foldObjects(e){const t=[];for(const o of e){if(typeof o!="object"||o.type!=="object")return null;for(const a in o)if(!FOLDABLE_KEYS.has(a))return null;t.push(o)}const r={},i=new Set;for(const o of t){for(const a in o.properties){if(Object.prototype.hasOwnProperty.call(r,a))continue;const s=[];for(const c of t){const l=c.properties?.[a]??undeclaredConstraint(c);l!=null&&(s.some(f=>JSON.stringify(f)===JSON.stringify(l))||s.push(l))}const d=s.length===1?s[0]:foldObjects(s)??{allOf:s};assignProp(r,a,d)}for(const a of o.required??[])i.add(a)}const u={type:"object",properties:r};if(i.size&&(u.required=[...i]),t.every(o=>o.additionalProperties===!1))u.additionalProperties=!1;else{const o=[];for(const a of t){const s=undeclaredConstraint(a);s&&!o.some(d=>JSON.stringify(d)===JSON.stringify(s))&&o.push(s)}o.length===1?u.additionalProperties=o[0]:o.length>1&&(u.additionalProperties={allOf:o})}return u}function foldIntersection(e){const t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(const u of FOLDABLE_KEYS)if(u in e)return;const r=t.filter(u=>UNION_KEYS.some(o=>Array.isArray(u[o])));let i=null;if(!r.length)i=foldObjects(t);else{const u=r[0],o=UNION_KEYS.find(d=>Array.isArray(u[d]));if(Object.keys(u).length!==1)return;const a=t.filter(d=>d!==u),s=u[o].map(d=>foldObjects([...a,d]));if(s.some(d=>!d))return;i={[o]:s}}i&&(delete e.allOf,assignProps(e,i))}function finalize(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=s=>{const d=e.seen.get(s);if(d.ref===null)return;const c=d.def??d.schema,l={...c},f=d.ref;if(d.ref=null,f){i(f);const p=e.seen.get(f),g=p.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(g)):assignProps(c,g),assignProps(c,l),s._zod.parent===f)for(const x in c)x==="$ref"||x==="allOf"||x in l||delete c[x];if(g.$ref&&p.def)for(const x in c)x==="$ref"||x==="allOf"||x in p.def&&JSON.stringify(c[x])===JSON.stringify(p.def[x])&&delete c[x]}const h=s._zod.parent;if(h&&h!==f){i(h);const p=e.seen.get(h);if(p?.schema.$ref&&(c.$ref=p.schema.$ref,p.def))for(const g in c)g==="$ref"||g==="allOf"||g in p.def&&JSON.stringify(c[g])===JSON.stringify(p.def[g])&&delete c[g]}e.override({zodSchema:s,jsonSchema:c,path:d.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(const s of[...e.seen.entries()].reverse())i(s[0]);if(e.target!=="openapi-3.0")for(const s of e.seen.entries())compactTypeUnion(s[1].def??s[1].schema);for(const s of e.deferred)s();if(e.intersections.length){const s=new Map;for(const d of e.seen.values())for(const c of[d.schema,d.def]){const l=c?.allOf;if(!Array.isArray(l))continue;const f=s.get(l);f?f.push(c):s.set(l,[c])}for(const d of e.intersections)for(const c of s.get(d)??[])foldIntersection(c)}}const u={};if(e.target==="draft-2020-12"?u.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?u.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?u.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");u.$id=e.external.uri(s)}assignProps(u,r.defId?r.schema:r.def??r.schema);const o=e.metadataRegistry.get(t)?.id;o!==void 0&&u.id===o&&delete u.id;const a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(const s of e.seen.entries()){const d=s[1];d.def&&d.defId&&(d.def.id===d.defId&&delete d.def.id,assignProp(a,d.defId,d.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?u.$defs=a:u.definitions=a);try{const s=JSON.parse(JSON.stringify(u));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:createStandardJSONSchemaMethod(t,"input",e.processors),output:createStandardJSONSchemaMethod(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function isTransforming(e,t){const r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return isTransforming(i.element,r);if(i.type==="set")return isTransforming(i.valueType,r);if(i.type==="lazy")return isTransforming(i.getter(),r);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault"||i.type==="catch")return isTransforming(i.innerType,r);if(i.type==="intersection")return isTransforming(i.left,r)||isTransforming(i.right,r);if(i.type==="record"||i.type==="map")return isTransforming(i.keyType,r)||isTransforming(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:isTransforming(i.in,r)||isTransforming(i.out,r);if(i.type==="object"){for(const u in i.shape)if(isTransforming(i.shape[u],r))return!0;return!1}if(i.type==="union"){for(const u of i.options)if(isTransforming(u,r))return!0;return!1}if(i.type==="tuple"){for(const u of i.items)if(isTransforming(u,r))return!0;return!!(i.rest&&isTransforming(i.rest,r))}return!1}var createToJSONSchemaMethod=(e,t={})=>r=>{const i=initializeContext({...r,processors:t});return processSchema(e,i),extractDefs(i,e),finalize(i,e)},createStandardJSONSchemaMethod=(e,t,r={})=>i=>{const{libraryOptions:u,target:o}=i??{},a=initializeContext({...u??{},target:o,io:t,processors:r});return processSchema(e,a),extractDefs(a,e),finalize(a,e)},narrowMin=(e,t,r)=>{(e[t]===void 0||r>e[t])&&(e[t]=r)},narrowMax=(e,t,r)=>{(e[t]===void 0||r<e[t])&&(e[t]=r)},narrowBoth=(e,t)=>{narrowMin(e,"minimum",t),narrowMax(e,"maximum",t)},addDivisor=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},addPattern=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},intersectMime=(e,t)=>{e.mime=e.mime?e.mime.filter(r=>t.includes(r)):[...t]},setFormat=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},minContributor=(e,t)=>narrowMin(e,"minimum",t.minimum),maxContributor=(e,t)=>narrowMax(e,"maximum",t.maximum),formatContributor=e=>(t,r)=>{setFormat(t,r.format);const[i,u]=e[r.format];narrowMin(t,"minimum",i),narrowMax(t,"maximum",u)},contributors={greater_than:(e,t)=>narrowMin(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>narrowMax(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>addDivisor(e,t.value),number_format:formatContributor(NUMBER_FORMAT_RANGES),bigint_format:formatContributor(BIGINT_FORMAT_RANGES),min_length:minContributor,max_length:maxContributor,length_equals:(e,t)=>narrowBoth(e,t.length),min_size:minContributor,max_size:maxContributor,size_equals:(e,t)=>narrowBoth(e,t.size),string_format:(e,t)=>{setFormat(e,t.format),t.pattern&&addPattern(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>intersectMime(e,t.mime)};function aggregateChecks(e){const t={},r=e._zod.def,i=e._zod.traits.has("$ZodCheck")?[e,...r.checks??[]]:r.checks??[];for(const o of i)contributors[o._zod.def.check]?.(t,o._zod.def);const u=e._zod.bag;u.minimum!==void 0&&narrowMin(t,"minimum",u.minimum),u.exclusiveMinimum!==void 0&&narrowMin(t,"exclusiveMinimum",u.exclusiveMinimum),u.maximum!==void 0&&narrowMax(t,"maximum",u.maximum),u.exclusiveMaximum!==void 0&&narrowMax(t,"exclusiveMaximum",u.exclusiveMaximum),u.multipleOf!==void 0&&addDivisor(t,u.multipleOf),u.format!==void 0&&(t.format??(t.format=u.format),u.format.includes("int")&&(t.isInt=!0)),u.mime&&intersectMime(t,u.mime);for(const o of u.patterns??[])addPattern(t,o);return t}var formatMap={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},exactPatterns=new Map([[base64Charset,base64],[base64urlCharset,base64url]]),exactPattern=e=>exactPatterns.get(e)??e,stringProcessor=(e,t,r,i)=>{const u=r;u.type="string";const{minimum:o,maximum:a,format:s,patterns:d,contentEncoding:c,laxFormat:l}=aggregateChecks(e);if(typeof o=="number"&&(u.minLength=o),typeof a=="number"&&(u.maxLength=a),s&&(u.format=formatMap[s]??s,u.format===""&&delete u.format,(s==="time"||l)&&delete u.format),c&&(u.contentEncoding=c),d&&d.size>0){const f=[...d].map(exactPattern);f.length===1?u.pattern=f[0].source:f.length>1&&(u.allOf=[...f.map(h=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:h.source}))])}},numberProcessor=(e,t,r,i)=>{const u=r,{minimum:o,maximum:a,multipleOf:s,exclusiveMaximum:d,exclusiveMinimum:c,isInt:l}=aggregateChecks(e);u.type=l?"integer":"number";const f=typeof c=="number"&&c>=(o??Number.NEGATIVE_INFINITY),h=typeof d=="number"&&d<=(a??Number.POSITIVE_INFINITY),p=t.target==="draft-04"||t.target==="openapi-3.0";if(f?p?(u.minimum=c,u.exclusiveMinimum=!0):u.exclusiveMinimum=c:typeof o=="number"&&(u.minimum=o),h?p?(u.maximum=d,u.exclusiveMaximum=!0):u.exclusiveMaximum=d:typeof a=="number"&&(u.maximum=a),s){const g=new Set;for(const A of s)Number.isFinite(A)&&A!==0?g.add(Math.abs(A)):handleUnrepresentable(e,t,u,i,`A multipleOf divisor of ${A} cannot be represented in JSON Schema`);const[v,...x]=g;v!==void 0&&(u.multipleOf=v),x.length&&(u.allOf=[...u.allOf??[],...x.map(A=>({multipleOf:A}))])}},booleanProcessor=(e,t,r,i)=>{r.type="boolean"},bigintProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"BigInt cannot be represented in JSON Schema")},symbolProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"Symbols cannot be represented in JSON Schema")},nullProcessor=(e,t,r,i)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},undefinedProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"Undefined cannot be represented in JSON Schema")},voidProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"Void cannot be represented in JSON Schema")},neverProcessor=(e,t,r,i)=>{r.not={}},anyProcessor=(e,t,r,i)=>{},unknownProcessor=(e,t,r,i)=>{},dateProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"Date cannot be represented in JSON Schema")},enumProcessor=(e,t,r,i)=>{const u=e._zod.def,o=getEnumValues(u.entries);if(o.length===0){r.not={};return}o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),r.enum=o},literalProcessor=(e,t,r,i)=>{const u=e._zod.def;if(u.values.length===0){r.not={};return}const o=[];for(const a of u.values)if(a===void 0){if(handleUnrepresentable(e,t,r,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(handleUnrepresentable(e,t,r,i,"BigInt literals cannot be represented in JSON Schema"))return;o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){const a=o[0];r.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[a]:r.const=a}else o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),o.every(a=>typeof a=="boolean")&&(r.type="boolean"),o.every(a=>a===null)&&(r.type="null"),r.enum=o},nanProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"NaN cannot be represented in JSON Schema")},templateLiteralProcessor=(e,t,r,i)=>{const u=r,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");u.type="string",u.pattern=o.source},fileProcessor=(e,t,r,i)=>{const u=r;u.type="string",u.format="binary",u.contentEncoding="binary";const{minimum:o,maximum:a,mime:s}=aggregateChecks(e);o!==void 0&&(u.minLength=o),a!==void 0&&(u.maxLength=a),s&&(s.length===0?u.not={}:s.length===1?u.contentMediaType=s[0]:u.anyOf=s.map(d=>({contentMediaType:d})))},successProcessor=(e,t,r,i)=>{r.type="boolean"},customProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"Custom types cannot be represented in JSON Schema")},functionProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"Function types cannot be represented in JSON Schema")},transformProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"Transforms cannot be represented in JSON Schema")},mapProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"Map cannot be represented in JSON Schema")},setProcessor=(e,t,r,i)=>{handleUnrepresentable(e,t,r,i,"Set cannot be represented in JSON Schema")},arrayProcessor=(e,t,r,i)=>{const u=r,o=e._zod.def,{minimum:a,maximum:s}=aggregateChecks(e);typeof a=="number"&&(u.minItems=a),typeof s=="number"&&(u.maxItems=s),u.type="array",u.items=processSchema(o.element,t,{...i,path:[...i.path,"items"]})};function inputOptin(e){const t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?inputOptin(t.out):t.type==="catch"?inputOptin(t.innerType):e._zod.optin}var objectProcessor=(e,t,r,i)=>{const u=r,o=e._zod.def,a=o.shape;if(Object.getOwnPropertySymbols(a).length&&handleUnrepresentable(e,t,u,i,"Symbol keys cannot be represented in JSON Schema"))return;u.type="object",u.properties={};for(const c in a)assignProp(u.properties,c,processSchema(a[c],t,{...i,path:[...i.path,"properties",c]}));const d=[];for(const c of Object.keys(a)){const l=o.shape[c];(t.io==="input"?inputOptin(l)===void 0:l._zod.optout===void 0)&&d.push(c)}d.length>0&&(u.required=d),o.catchall?._zod.def.type==="never"?u.additionalProperties=!1:o.catchall?o.catchall&&(u.additionalProperties=processSchema(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(u.additionalProperties=!1)},unionProcessor=(e,t,r,i)=>{const u=e._zod.def,o=u.inclusive===!1,a=u.options.map((s,d)=>processSchema(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",d]}));o?r.oneOf=a:r.anyOf=a},intersectionProcessor=(e,t,r,i)=>{const u=e._zod.def,o=processSchema(u.left,t,{...i,path:[...i.path,"allOf",0]}),a=processSchema(u.right,t,{...i,path:[...i.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,d=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];r.allOf=d,t.intersections.push(d)},tupleProcessor=(e,t,r,i)=>{const u=r,o=e._zod.def;u.type="array";const a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",d=o.items.map((v,x)=>processSchema(v,t,{...i,path:[...i.path,a,x]})),c=o.rest?processSchema(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;let l=o.items.length;for(;l>0;){const v=o.items[l-1];if(!(t.io==="input"?inputOptin(v)!==void 0:v._zod.optout==="optional"))break;l--}const f=o.items.length,h=!o.rest;t.target==="draft-2020-12"?(u.prefixItems=d,h?u.items=!1:c&&(u.items=c),l>0&&(u.minItems=l),h&&(u.maxItems=f)):t.target==="openapi-3.0"?(u.items={anyOf:d},c&&u.items.anyOf.push(c),l>0&&(u.minItems=l),h&&(u.maxItems=f)):(u.items=d,h?u.additionalItems=!1:c&&(u.additionalItems=c),l>0&&(u.minItems=l),h&&(u.maxItems=f));const{minimum:p,maximum:g}=aggregateChecks(e);typeof p=="number"&&(u.minItems=p),typeof g=="number"&&(u.maxItems=g)};function stringifyKeyNames(e,t,r){if(t.$ref){if(r.has(t))return t;r.add(t);const g=e.get(t)?.def;if(!g)return t;const v=stringifyKeyNames(e,g,r);return v===g?t:v}for(const g of["anyOf","oneOf"]){const v=t[g];if(!Array.isArray(v))continue;const x=v.map(A=>stringifyKeyNames(e,A,r));x.some((A,m)=>A!==v[m])&&(t={...t,[g]:x})}const i=Array.isArray(t.type)?t.type:[t.type],u=!i.includes("string")&&i.some(g=>g==="number"||g==="integer"),o=t.enum??(t.const!==void 0?[t.const]:void 0);if(!u&&!o?.some(g=>typeof g=="number"))return t;const{minimum:a,maximum:s,exclusiveMinimum:d,exclusiveMaximum:c,multipleOf:l,format:f,id:h,...p}=t;return p.enum?p.enum=p.enum.map(g=>typeof g=="number"?String(g):g):typeof p.const=="number"&&(p.const=String(p.const)),u&&(p.type="string",o||(p.pattern=(i.includes("number")?number:integer).source)),p}var pendingRecords=new WeakMap;function rewriteKeyNames(e){const t=new Map;for(const i of e.seen.values())i.def&&!t.has(i.schema)&&t.set(i.schema,i);const r=new Map;for(const i of pendingRecords.get(e)??[]){const u=e.seen.get(i),o=(u?.def??u?.schema)?.propertyNames;if(!o||o===!0||r.has(o))continue;const a=stringifyKeyNames(t,o,new Set);a!==o&&r.set(o,a)}if(r.size)for(const i of e.seen.values())for(const u of[i.schema,i.def]){const o=u&&r.get(u.propertyNames);o&&(u.propertyNames=o)}}var recordProcessor=(e,t,r,i)=>{const u=r,o=e._zod.def;u.type="object";const a=o.keyType,s=aggregateChecks(a).patterns;if(o.mode==="loose"&&s&&s.size>0){const l=processSchema(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});u.patternProperties={};for(const f of s)assignProp(u.patternProperties,exactPattern(f).source,l)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){u.propertyNames=processSchema(o.keyType,t,{...i,path:[...i.path,"propertyNames"]});let l=pendingRecords.get(t);l||(l=[],pendingRecords.set(t,l),t.deferred.push(()=>rewriteKeyNames(t))),l.push(e)}u.additionalProperties=processSchema(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]})}const d=a._zod.values,c=t.io==="input"&&inputOptin(o.valueType)!==void 0;if(d&&!o.partial&&!c){const l=[...d].filter(f=>typeof f=="string"||typeof f=="number");l.length>0&&(u.required=l.map(String))}},nullableProcessor=(e,t,r,i)=>{const u=e._zod.def,o=processSchema(u.innerType,t,i),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=u.innerType,r.nullable=!0):r.anyOf=[o,{type:"null"}]},nonoptionalProcessor=(e,t,r,i)=>{const u=e._zod.def;processSchema(u.innerType,t,i);const o=t.seen.get(e);o.ref=u.innerType},UNREPRESENTABLE_DEFAULT=Symbol();function serializeDefaultValue(e,t,r,i,u){let o=!1;const a=JSON.stringify(e,(s,d)=>typeof d!="bigint"?d:(o=!0,null));return o?(handleUnrepresentable(t,r,i,u,"BigInt defaults cannot be represented in JSON Schema"),UNREPRESENTABLE_DEFAULT):JSON.parse(a)}var defaultProcessor=(e,t,r,i)=>{const u=e._zod.def;processSchema(u.innerType,t,i);const o=t.seen.get(e);o.ref=u.innerType;const a=serializeDefaultValue(u.defaultValue,e,t,r,i);a!==UNREPRESENTABLE_DEFAULT&&(r.default=a)},prefaultProcessor=(e,t,r,i)=>{const u=e._zod.def;processSchema(u.innerType,t,i);const o=t.seen.get(e);if(o.ref=u.innerType,t.io!=="input")return;const a=serializeDefaultValue(u.defaultValue,e,t,r,i);a!==UNREPRESENTABLE_DEFAULT&&(r._prefault=a)},catchProcessor=(e,t,r,i)=>{const u=e._zod.def;processSchema(u.innerType,t,i);const o=t.seen.get(e);o.ref=u.innerType;let a;try{a=u.catchValue(void 0)}catch{handleUnrepresentable(e,t,r,i,"Dynamic catch values are not supported in JSON Schema");return}r.default=a},pipeProcessor=(e,t,r,i)=>{const u=e._zod.def,o=u.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?o?u.out:u.in:u.out;processSchema(a,t,i);const s=t.seen.get(e);s.ref=a},readonlyProcessor=(e,t,r,i)=>{const u=e._zod.def;processSchema(u.innerType,t,i);const o=t.seen.get(e);o.ref=u.innerType,r.readOnly=!0},promiseProcessor=(e,t,r,i)=>{const u=e._zod.def;processSchema(u.innerType,t,i);const o=t.seen.get(e);o.ref=u.innerType},optionalProcessor=(e,t,r,i)=>{const u=e._zod.def;processSchema(u.innerType,t,i);const o=t.seen.get(e);o.ref=u.innerType},lazyProcessor=(e,t,r,i)=>{const u=e._zod.innerType;processSchema(u,t,i);const o=t.seen.get(e);o.ref=u},allProcessors={string:stringProcessor,number:numberProcessor,boolean:booleanProcessor,bigint:bigintProcessor,symbol:symbolProcessor,null:nullProcessor,undefined:undefinedProcessor,void:voidProcessor,never:neverProcessor,any:anyProcessor,unknown:unknownProcessor,date:dateProcessor,enum:enumProcessor,literal:literalProcessor,nan:nanProcessor,template_literal:templateLiteralProcessor,file:fileProcessor,success:successProcessor,custom:customProcessor,function:functionProcessor,transform:transformProcessor,map:mapProcessor,set:setProcessor,array:arrayProcessor,object:objectProcessor,union:unionProcessor,intersection:intersectionProcessor,tuple:tupleProcessor,record:recordProcessor,nullable:nullableProcessor,nonoptional:nonoptionalProcessor,default:defaultProcessor,prefault:prefaultProcessor,catch:catchProcessor,pipe:pipeProcessor,readonly:readonlyProcessor,promise:promiseProcessor,optional:optionalProcessor,lazy:lazyProcessor};function toJSONSchema(e,t){if("_idmap"in e){const i=e,u=initializeContext({...t,processors:allProcessors}),o={};for(const d of i._idmap.entries()){const[c,l]=d;processSchema(l,u)}const a={},s={registry:i,uri:t?.uri,defs:o};u.external=s;for(const d of i._idmap.entries()){const[c,l]=d;extractDefs(u,l),assignProp(a,c,finalize(u,l))}if(Object.keys(o).length>0){const d=u.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[d]:o}}return{schemas:a}}const r=initializeContext({...t,processors:allProcessors});return processSchema(e,r),extractDefs(r,e),finalize(r,e)}var JSONSchemaGenerator=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(e){this.ctx.counter=e}get seen(){return this.ctx.seen}constructor(e){let t=e?.target??"draft-2020-12";t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),this.ctx=initializeContext({processors:allProcessors,target:t,...e?.metadata&&{metadata:e.metadata},...e?.unrepresentable&&{unrepresentable:e.unrepresentable},...e?.override&&{override:e.override},...e?.io&&{io:e.io}})}process(e,t={path:[],schemaPath:[]}){return processSchema(e,this.ctx,t)}emit(e,t){t&&(t.cycles&&(this.ctx.cycles=t.cycles),t.reused&&(this.ctx.reused=t.reused),t.external&&(this.ctx.external=t.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,extractDefs(this.ctx,e);const r=finalize(this.ctx,e),{"~standard":i,...u}=r;return u}},json_schema_exports={},schemas_exports2={};__export(schemas_exports2,{ZodAny:()=>ZodAny,ZodArray:()=>ZodArray,ZodBase64:()=>ZodBase64,ZodBase64URL:()=>ZodBase64URL,ZodBigInt:()=>ZodBigInt,ZodBigIntFormat:()=>ZodBigIntFormat,ZodBoolean:()=>ZodBoolean,ZodCIDRv4:()=>ZodCIDRv4,ZodCIDRv6:()=>ZodCIDRv6,ZodCUID:()=>ZodCUID,ZodCUID2:()=>ZodCUID2,ZodCatch:()=>ZodCatch,ZodCodec:()=>ZodCodec,ZodCreditCard:()=>ZodCreditCard,ZodCustom:()=>ZodCustom,ZodCustomStringFormat:()=>ZodCustomStringFormat,ZodDate:()=>ZodDate,ZodDefault:()=>ZodDefault,ZodDiscriminatedUnion:()=>ZodDiscriminatedUnion,ZodE164:()=>ZodE164,ZodEmail:()=>ZodEmail,ZodEmoji:()=>ZodEmoji,ZodEnum:()=>ZodEnum,ZodExactOptional:()=>ZodExactOptional,ZodFile:()=>ZodFile,ZodFunction:()=>ZodFunction,ZodGUID:()=>ZodGUID,ZodIBAN:()=>ZodIBAN,ZodIPv4:()=>ZodIPv4,ZodIPv6:()=>ZodIPv6,ZodISODate:()=>ZodISODate,ZodISODateTime:()=>ZodISODateTime,ZodISODuration:()=>ZodISODuration,ZodISOTime:()=>ZodISOTime,ZodInstanceOf:()=>ZodInstanceOf,ZodIntersection:()=>ZodIntersection,ZodJWT:()=>ZodJWT,ZodKSUID:()=>ZodKSUID,ZodLazy:()=>ZodLazy,ZodLiteral:()=>ZodLiteral,ZodMAC:()=>ZodMAC,ZodMap:()=>ZodMap,ZodNaN:()=>ZodNaN,ZodNanoID:()=>ZodNanoID,ZodNever:()=>ZodNever,ZodNonOptional:()=>ZodNonOptional,ZodNull:()=>ZodNull,ZodNullable:()=>ZodNullable,ZodNumber:()=>ZodNumber,ZodNumberFormat:()=>ZodNumberFormat,ZodObject:()=>ZodObject,ZodOptional:()=>ZodOptional,ZodPipe:()=>ZodPipe,ZodPrefault:()=>ZodPrefault,ZodPreprocess:()=>ZodPreprocess,ZodPromise:()=>ZodPromise,ZodReadonly:()=>ZodReadonly,ZodRecord:()=>ZodRecord,ZodSet:()=>ZodSet,ZodString:()=>ZodString,ZodStringFormat:()=>ZodStringFormat,ZodSuccess:()=>ZodSuccess,ZodSymbol:()=>ZodSymbol,ZodTemplateLiteral:()=>ZodTemplateLiteral,ZodTransform:()=>ZodTransform,ZodTuple:()=>ZodTuple,ZodType:()=>ZodType,ZodULID:()=>ZodULID,ZodURL:()=>ZodURL,ZodUUID:()=>ZodUUID,ZodUndefined:()=>ZodUndefined,ZodUnion:()=>ZodUnion,ZodUnknown:()=>ZodUnknown,ZodVoid:()=>ZodVoid,ZodXID:()=>ZodXID,ZodXor:()=>ZodXor,_ZodString:()=>_ZodString,_default:()=>_default2,_function:()=>_function,any:()=>any,array:()=>array,base64:()=>base642,base64url:()=>base64url2,bigint:()=>bigint2,boolean:()=>boolean2,catch:()=>_catch2,check:()=>check,cidrv4:()=>cidrv42,cidrv6:()=>cidrv62,codec:()=>codec,creditCard:()=>creditCard2,cuid:()=>cuid3,cuid2:()=>cuid22,currencyCode:()=>currencyCode2,custom:()=>custom,date:()=>date2,describe:()=>describe2,discriminatedUnion:()=>discriminatedUnion,e164:()=>e1642,email:()=>email2,emoji:()=>emoji2,enum:()=>_enum2,exactOptional:()=>exactOptional,file:()=>file,float32:()=>float32,float64:()=>float64,function:()=>_function,guid:()=>guid2,hash:()=>hash,hex:()=>hex2,hostname:()=>hostname2,httpUrl:()=>httpUrl,iban:()=>iban2,instanceof:()=>_instanceof,int:()=>int,int32:()=>int32,int64:()=>int64,intersection:()=>intersection,invertCodec:()=>invertCodec,ipv4:()=>ipv42,ipv6:()=>ipv62,json:()=>json,jwt:()=>jwt,keyof:()=>keyof,ksuid:()=>ksuid2,lazy:()=>lazy,literal:()=>literal,looseObject:()=>looseObject,looseRecord:()=>looseRecord,mac:()=>mac2,map:()=>map,meta:()=>meta2,nan:()=>nan,nanoid:()=>nanoid2,nativeEnum:()=>nativeEnum,never:()=>never,nonoptional:()=>nonoptional,null:()=>_null3,nullable:()=>nullable,nullish:()=>nullish2,number:()=>number2,object:()=>object,optional:()=>optional,partialRecord:()=>partialRecord,pipe:()=>pipe,prefault:()=>prefault,preprocess:()=>preprocess,promise:()=>promise,readonly:()=>readonly,record:()=>record,refine:()=>refine,set:()=>set,strictObject:()=>strictObject,string:()=>string2,stringFormat:()=>stringFormat,stringbool:()=>stringbool,success:()=>success,superRefine:()=>superRefine,symbol:()=>symbol,templateLiteral:()=>templateLiteral,transform:()=>transform,tuple:()=>tuple,uint32:()=>uint32,uint64:()=>uint64,ulid:()=>ulid2,undefined:()=>_undefined3,union:()=>union,unknown:()=>unknown,url:()=>url,uuid:()=>uuid2,uuidv4:()=>uuidv4,uuidv6:()=>uuidv6,uuidv7:()=>uuidv7,void:()=>_void2,xid:()=>xid2,xor:()=>xor});var checks_exports2={};__export(checks_exports2,{endsWith:()=>_endsWith,gt:()=>_gt,gte:()=>_gte,includes:()=>_includes,length:()=>_length,lowercase:()=>_lowercase,lt:()=>_lt,lte:()=>_lte,maxLength:()=>_maxLength,maxSize:()=>_maxSize,mime:()=>_mime,minLength:()=>_minLength,minSize:()=>_minSize,multipleOf:()=>_multipleOf,negative:()=>_negative,nonnegative:()=>_nonnegative,nonpositive:()=>_nonpositive,normalize:()=>_normalize,overwrite:()=>_overwrite,positive:()=>_positive,properties:()=>_properties,property:()=>_property,regex:()=>_regex,size:()=>_size,slugify:()=>_slugify,startsWith:()=>_startsWith,toLowerCase:()=>_toLowerCase,toUpperCase:()=>_toUpperCase,trim:()=>_trim,uppercase:()=>_uppercase});var _installedErrorProtos=new WeakSet([Object.prototype,Error.prototype]);function _lazyMethod(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){const i=r(this);return Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0})}})}var initializer2=(e,t)=>{$ZodError.init(e,t),e.name="ZodError";const r=Object.getPrototypeOf(e);_installedErrorProtos.has(r)||(_installedErrorProtos.add(r),_lazyMethod(r,"format",i=>u=>formatError(i,u)),_lazyMethod(r,"flatten",i=>u=>flattenError(i,u)),_lazyMethod(r,"addIssue",i=>u=>{i.issues.push(u),i.message=JSON.stringify(i.issues,jsonStringifyReplacer,2)}),_lazyMethod(r,"addIssues",i=>u=>{i.issues.push(...u),i.message=JSON.stringify(i.issues,jsonStringifyReplacer,2)}),Object.defineProperty(r,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},ZodError=$constructor("ZodError",initializer2),ZodRealError=$constructor("ZodError",initializer2,void 0,{Parent:Error}),parse2=_parse(ZodRealError),parseAsync2=_parseAsync(ZodRealError),safeParse2=_safeParse(ZodRealError),safeParseAsync2=_safeParseAsync(ZodRealError),encode2=_encode(ZodRealError),decode2=_decode(ZodRealError),encodeAsync2=_encodeAsync(ZodRealError),decodeAsync2=_decodeAsync(ZodRealError),safeEncode2=_safeEncode(ZodRealError),safeDecode2=_safeDecode(ZodRealError),safeEncodeAsync2=_safeEncodeAsync(ZodRealError),safeDecodeAsync2=_safeDecodeAsync(ZodRealError);function _ensureDefaultLocale(){globalConfig.localeError||config(en_default())}function _ensureDefaultMemoizer(){globalConfig.memoizer||config({memoizer:memoizer()})}var ZodType=$constructor("ZodType",(e,t)=>(_ensureDefaultLocale(),$ZodType.init(e,t),e.def=t,e.type=t.type,e),{check(...e){const t=this.def;return this.clone(util_exports.mergeDefs(t,{checks:[...t.checks??[],...e.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return clone(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(refine(e,t))},superRefine(e,t){return this.check(superRefine(e,t))},overwrite(e){return this.check(_overwrite(e))},optional(){return optional(this)},exactOptional(){return exactOptional(this)},nullable(){return nullable(this)},nullish(){return optional(nullable(this))},nonoptional(e){return nonoptional(this,e)},array(){return array(this)},or(e){return union([this,e])},and(e){return intersection(this,e)},transform(e){return pipe(this,transform(e))},default(e){return _default2(this,e)},prefault(e){return prefault(this,e)},catch(e){return _catch2(this,e)},pipe(e){return pipe(this,e)},readonly(){return readonly(this)},describe(e){const t=this.clone();return globalRegistry.add(t,{description:e}),t},meta(...e){if(e.length===0)return globalRegistry.get(this);const t=this.clone();return globalRegistry.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return util_exports.hide(this,"~standard",{...standardProps(this),jsonSchema:{input:createStandardJSONSchemaMethod(this,"input"),output:createStandardJSONSchemaMethod(this,"output")}})},set"~standard"(e){util_exports.own(this,"~standard",e)},parse:function e(t,r){return parse2(this,t,r,{callee:e})},parseAsync:async function e(t,r){return await parseAsync2(this,t,r,{callee:e})},safeParse(e,t){return safeParse2(this,e,t)},async safeParseAsync(e,t){return safeParseAsync2(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){util_exports.own(this,"spa",e)},validate(e,t){return validate(this,e,t)},validateAsync(e,t){return validateAsync(this,e,t)},encode:function e(t,r){return encode2(this,t,r,{callee:e})},decode:function e(t,r){return decode2(this,t,r,{callee:e})},encodeAsync:async function e(t,r){return await encodeAsync2(this,t,r,{callee:e})},decodeAsync:async function e(t,r){return await decodeAsync2(this,t,r,{callee:e})},safeEncode(e,t){return safeEncode2(this,e,t)},safeDecode(e,t){return safeDecode2(this,e,t)},async safeEncodeAsync(e,t){return safeEncodeAsync2(this,e,t)},async safeDecodeAsync(e,t){return safeDecodeAsync2(this,e,t)},toJSONSchema(e){return createToJSONSchemaMethod(this,{})(e)},get description(){return globalRegistry.get(this)?.description},get _def(){return this._zod.def}}),_ZodString=$constructor("_ZodString",(e,t)=>{$ZodString.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>stringProcessor(e,r,i,u)},util_exports.derived({format:e=>aggregateChecks(e).format??null,minLength:e=>aggregateChecks(e).minimum??null,maxLength:e=>aggregateChecks(e).maximum??null},{regex(...e){return this.check(_regex(...e))},includes(...e){return this.check(_includes(...e))},startsWith(...e){return this.check(_startsWith(...e))},endsWith(...e){return this.check(_endsWith(...e))},min(...e){return this.check(_minLength(...e))},max(...e){return this.check(_maxLength(...e))},length(...e){return this.check(_length(...e))},nonempty(...e){return this.check(_minLength(1,...e))},lowercase(e){return this.check(_lowercase(e))},uppercase(e){return this.check(_uppercase(e))},trim(){return this.check(_trim())},normalize(...e){return this.check(_normalize(...e))},toLowerCase(){return this.check(_toLowerCase())},toUpperCase(){return this.check(_toUpperCase())},slugify(){return this.check(_slugify())}})),ZodString=$constructor("ZodString",(e,t)=>{$ZodString.init(e,t),_ZodString.init(e,t)},{email(e){return this.check(_email(ZodEmail,e))},url(e){return this.check(_url(ZodURL,e))},jwt(e){return this.check(_jwt(ZodJWT,e))},emoji(e){return this.check(_emoji2(ZodEmoji,e))},guid(e){return this.check(_guid(ZodGUID,e))},uuid(e){return this.check(_uuid(ZodUUID,e))},uuidv4(e){return this.check(_uuidv4(ZodUUID,e))},uuidv6(e){return this.check(_uuidv6(ZodUUID,e))},uuidv7(e){return this.check(_uuidv7(ZodUUID,e))},nanoid(e){return this.check(_nanoid(ZodNanoID,e))},cuid(e){return this.check(_cuid(ZodCUID,e))},cuid2(e){return this.check(_cuid2(ZodCUID2,e))},ulid(e){return this.check(_ulid(ZodULID,e))},base64(e){return this.check(_base64(ZodBase64,e))},base64url(e){return this.check(_base64url(ZodBase64URL,e))},xid(e){return this.check(_xid(ZodXID,e))},ksuid(e){return this.check(_ksuid(ZodKSUID,e))},ipv4(e){return this.check(_ipv4(ZodIPv4,e))},ipv6(e){return this.check(_ipv6(ZodIPv6,e))},cidrv4(e){return this.check(_cidrv4(ZodCIDRv4,e))},cidrv6(e){return this.check(_cidrv6(ZodCIDRv6,e))},e164(e){return this.check(_e164(ZodE164,e))},datetime(e){return this.check(_isoDateTime(ZodISODateTime,e))},date(e){return this.check(_isoDate(ZodISODate,e))},time(e){return this.check(_isoTime(ZodISOTime,e))},duration(e){return this.check(_isoDuration(ZodISODuration,e))}});function string2(e){return _string(ZodString,e)}var ZodStringFormat=$constructor("ZodStringFormat",(e,t)=>{$ZodStringFormat.init(e,t),_ZodString.init(e,t)}),ZodISODateTime=$constructor("ZodISODateTime",(e,t)=>{$ZodISODateTime.init(e,t),ZodStringFormat.init(e,t)}),ZodISODate=$constructor("ZodISODate",(e,t)=>{$ZodISODate.init(e,t),ZodStringFormat.init(e,t)}),ZodISOTime=$constructor("ZodISOTime",(e,t)=>{$ZodISOTime.init(e,t),ZodStringFormat.init(e,t)}),ZodISODuration=$constructor("ZodISODuration",(e,t)=>{$ZodISODuration.init(e,t),ZodStringFormat.init(e,t)}),ZodEmail=$constructor("ZodEmail",(e,t)=>{$ZodEmail.init(e,t),ZodStringFormat.init(e,t)});function email2(e){return _email(ZodEmail,e)}var ZodGUID=$constructor("ZodGUID",(e,t)=>{$ZodGUID.init(e,t),ZodStringFormat.init(e,t)});function guid2(e){return _guid(ZodGUID,e)}var ZodUUID=$constructor("ZodUUID",(e,t)=>{$ZodUUID.init(e,t),ZodStringFormat.init(e,t)});function uuid2(e){return _uuid(ZodUUID,e)}function uuidv4(e){return _uuidv4(ZodUUID,e)}function uuidv6(e){return _uuidv6(ZodUUID,e)}function uuidv7(e){return _uuidv7(ZodUUID,e)}var ZodURL=$constructor("ZodURL",(e,t)=>{$ZodURL.init(e,t),ZodStringFormat.init(e,t)});function url(e){return _url(ZodURL,e)}function httpUrl(e){return _url(ZodURL,{protocol:httpProtocol,hostname:domain,...util_exports.normalizeParams(e)})}var ZodEmoji=$constructor("ZodEmoji",(e,t)=>{$ZodEmoji.init(e,t),ZodStringFormat.init(e,t)});function emoji2(e){return _emoji2(ZodEmoji,e)}var ZodNanoID=$constructor("ZodNanoID",(e,t)=>{$ZodNanoID.init(e,t),ZodStringFormat.init(e,t)});function nanoid2(e){return _nanoid(ZodNanoID,e)}var ZodCUID=$constructor("ZodCUID",(e,t)=>{$ZodCUID.init(e,t),ZodStringFormat.init(e,t)});function cuid3(e){return _cuid(ZodCUID,e)}var ZodCUID2=$constructor("ZodCUID2",(e,t)=>{$ZodCUID2.init(e,t),ZodStringFormat.init(e,t)});function cuid22(e){return _cuid2(ZodCUID2,e)}var ZodULID=$constructor("ZodULID",(e,t)=>{$ZodULID.init(e,t),ZodStringFormat.init(e,t)});function ulid2(e){return _ulid(ZodULID,e)}var ZodXID=$constructor("ZodXID",(e,t)=>{$ZodXID.init(e,t),ZodStringFormat.init(e,t)});function xid2(e){return _xid(ZodXID,e)}var ZodKSUID=$constructor("ZodKSUID",(e,t)=>{$ZodKSUID.init(e,t),ZodStringFormat.init(e,t)});function ksuid2(e){return _ksuid(ZodKSUID,e)}var ZodIPv4=$constructor("ZodIPv4",(e,t)=>{$ZodIPv4.init(e,t),ZodStringFormat.init(e,t)});function ipv42(e){return _ipv4(ZodIPv4,e)}var ZodMAC=$constructor("ZodMAC",(e,t)=>{$ZodMAC.init(e,t),ZodStringFormat.init(e,t)});function mac2(e){return _mac(ZodMAC,e)}var ZodIPv6=$constructor("ZodIPv6",(e,t)=>{$ZodIPv6.init(e,t),ZodStringFormat.init(e,t)});function ipv62(e){return _ipv6(ZodIPv6,e)}var ZodCIDRv4=$constructor("ZodCIDRv4",(e,t)=>{$ZodCIDRv4.init(e,t),ZodStringFormat.init(e,t)});function cidrv42(e){return _cidrv4(ZodCIDRv4,e)}var ZodCIDRv6=$constructor("ZodCIDRv6",(e,t)=>{$ZodCIDRv6.init(e,t),ZodStringFormat.init(e,t)});function cidrv62(e){return _cidrv6(ZodCIDRv6,e)}var ZodBase64=$constructor("ZodBase64",(e,t)=>{$ZodBase64.init(e,t),ZodStringFormat.init(e,t)});function base642(e){return _base64(ZodBase64,e)}var ZodBase64URL=$constructor("ZodBase64URL",(e,t)=>{$ZodBase64URL.init(e,t),ZodStringFormat.init(e,t)});function base64url2(e){return _base64url(ZodBase64URL,e)}var ZodE164=$constructor("ZodE164",(e,t)=>{$ZodE164.init(e,t),ZodStringFormat.init(e,t)});function e1642(e){return _e164(ZodE164,e)}var ZodCreditCard=$constructor("ZodCreditCard",(e,t)=>{$ZodCreditCard.init(e,t),ZodStringFormat.init(e,t)});function creditCard2(e){return _creditCard(ZodCreditCard,e)}var ZodIBAN=$constructor("ZodIBAN",(e,t)=>{$ZodIBAN.init(e,t),ZodStringFormat.init(e,t)});function iban2(e){return _iban(ZodIBAN,e)}var ZodJWT=$constructor("ZodJWT",(e,t)=>{$ZodJWT.init(e,t),ZodStringFormat.init(e,t)});function jwt(e){return _jwt(ZodJWT,e)}var ZodCustomStringFormat=$constructor("ZodCustomStringFormat",(e,t)=>{$ZodCustomStringFormat.init(e,t),ZodStringFormat.init(e,t)});function stringFormat(e,t,r={}){return _stringFormat(ZodCustomStringFormat,e,t,r)}function hostname2(e){return _stringFormat(ZodCustomStringFormat,"hostname",hostname,e)}function hex2(e){return _stringFormat(ZodCustomStringFormat,"hex",hex,e)}function currencyCode2(e){return _stringFormat(ZodCustomStringFormat,"currency_code",currencyCode,e)}function hash(e,t){const r=t?.enc??"hex",i=`${e}_${r}`,u=regexes_exports[i];if(!u)throw new Error(`Unrecognized hash format: ${i}`);return _stringFormat(ZodCustomStringFormat,i,u,t)}var ZodNumber=$constructor("ZodNumber",(e,t)=>{$ZodNumber.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>numberProcessor(e,r,i,u),e.isFinite=!0},util_exports.derived({minValue:e=>{const{minimum:t,exclusiveMinimum:r}=aggregateChecks(e);return Math.max(t??Number.NEGATIVE_INFINITY,r??Number.NEGATIVE_INFINITY)},maxValue:e=>{const{maximum:t,exclusiveMaximum:r}=aggregateChecks(e);return Math.min(t??Number.POSITIVE_INFINITY,r??Number.POSITIVE_INFINITY)},isInt:e=>{const{isInt:t,multipleOf:r}=aggregateChecks(e);return!!t||!!r?.some(Number.isSafeInteger)},format:e=>aggregateChecks(e).format??null},{gt(e,t){return this.check(_gt(e,t))},gte(e,t){return this.check(_gte(e,t))},min(e,t){return this.check(_gte(e,t))},lt(e,t){return this.check(_lt(e,t))},lte(e,t){return this.check(_lte(e,t))},max(e,t){return this.check(_lte(e,t))},int(e){return this.check(int(e))},safe(e){return this.check(int(e))},positive(e){return this.check(_gt(0,e))},nonnegative(e){return this.check(_gte(0,e))},negative(e){return this.check(_lt(0,e))},nonpositive(e){return this.check(_lte(0,e))},multipleOf(e,t){return this.check(_multipleOf(e,t))},step(e,t){return this.check(_multipleOf(e,t))},finite(){return this}}));function number2(e){return _number(ZodNumber,e)}var ZodNumberFormat=$constructor("ZodNumberFormat",(e,t)=>{$ZodNumberFormat.init(e,t),ZodNumber.init(e,t)});function int(e){return _int(ZodNumberFormat,e)}function float32(e){return _float32(ZodNumberFormat,e)}function float64(e){return _float64(ZodNumberFormat,e)}function int32(e){return _int32(ZodNumberFormat,e)}function uint32(e){return _uint32(ZodNumberFormat,e)}var ZodBoolean=$constructor("ZodBoolean",(e,t)=>{$ZodBoolean.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>booleanProcessor(e,r,i,u)});function boolean2(e){return _boolean(ZodBoolean,e)}var ZodBigInt=$constructor("ZodBigInt",(e,t)=>{$ZodBigInt.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>bigintProcessor(e,r,i,u)},util_exports.derived({minValue:e=>aggregateChecks(e).minimum??null,maxValue:e=>aggregateChecks(e).maximum??null,format:e=>aggregateChecks(e).format??null},{gte(e,t){return this.check(_gte(e,t))},min(e,t){return this.check(_gte(e,t))},gt(e,t){return this.check(_gt(e,t))},lt(e,t){return this.check(_lt(e,t))},lte(e,t){return this.check(_lte(e,t))},max(e,t){return this.check(_lte(e,t))},positive(e){return this.check(_gt(BigInt(0),e))},negative(e){return this.check(_lt(BigInt(0),e))},nonpositive(e){return this.check(_lte(BigInt(0),e))},nonnegative(e){return this.check(_gte(BigInt(0),e))},multipleOf(e,t){return this.check(_multipleOf(e,t))}}));function bigint2(e){return _bigint(ZodBigInt,e)}var ZodBigIntFormat=$constructor("ZodBigIntFormat",(e,t)=>{$ZodBigIntFormat.init(e,t),ZodBigInt.init(e,t)});function int64(e){return _int64(ZodBigIntFormat,e)}function uint64(e){return _uint64(ZodBigIntFormat,e)}var ZodSymbol=$constructor("ZodSymbol",(e,t)=>{$ZodSymbol.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>symbolProcessor(e,r,i,u)});function symbol(e){return _symbol(ZodSymbol,e)}var ZodUndefined=$constructor("ZodUndefined",(e,t)=>{$ZodUndefined.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>undefinedProcessor(e,r,i,u)});function _undefined3(e){return _undefined2(ZodUndefined,e)}var ZodNull=$constructor("ZodNull",(e,t)=>{$ZodNull.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>nullProcessor(e,r,i,u)});function _null3(e){return _null2(ZodNull,e)}var ZodAny=$constructor("ZodAny",(e,t)=>{$ZodAny.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>anyProcessor(e,r,i,u)});function any(){return _any(ZodAny)}var ZodUnknown=$constructor("ZodUnknown",(e,t)=>{$ZodUnknown.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>unknownProcessor(e,r,i,u)});function unknown(){return _unknown(ZodUnknown)}var ZodNever=$constructor("ZodNever",(e,t)=>{$ZodNever.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>neverProcessor(e,r,i,u)});function never(e){return _never(ZodNever,e)}var ZodVoid=$constructor("ZodVoid",(e,t)=>{$ZodVoid.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>voidProcessor(e,r,i,u)});function _void2(e){return _void(ZodVoid,e)}var ZodDate=$constructor("ZodDate",(e,t)=>{$ZodDate.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>dateProcessor(e,r,i,u),e.min=(r,i)=>e.check(_gte(r,i)),e.max=(r,i)=>e.check(_lte(r,i))},util_exports.derived({minDate:e=>{const{minimum:t}=aggregateChecks(e);return t?new Date(t):null},maxDate:e=>{const{maximum:t}=aggregateChecks(e);return t?new Date(t):null}},{}));function date2(e){return _date(ZodDate,e)}var ZodArray=$constructor("ZodArray",(e,t)=>{_ensureDefaultMemoizer(),$ZodArray.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>arrayProcessor(e,r,i,u),e.element=t.element},{min(e,t){return this.check(_minLength(e,t))},nonempty(e){return this.check(_minLength(1,e))},max(e,t){return this.check(_maxLength(e,t))},length(e,t){return this.check(_length(e,t))},unwrap(){return this.element}});function array(e,t){return _array(ZodArray,e,t)}function keyof(e){const t=e._zod.def.shape;return _enum2(Object.keys(t))}var ZodObject=$constructor("ZodObject",(e,t)=>{_ensureDefaultMemoizer(),$ZodObjectJIT.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>objectProcessor(e,r,i,u),util_exports.installLazyProp(e,"shape",r=>r._zod.def.shape,!1)},{keyof(){return _enum2(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(util_exports.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(util_exports.mergeDefs(this._zod.def,{catchall:unknown()}))},loose(){return this.clone(util_exports.mergeDefs(this._zod.def,{catchall:unknown()}))},strict(){return this.clone(util_exports.mergeDefs(this._zod.def,{catchall:never()}))},strip(){return this.clone(util_exports.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return util_exports.extend(this,e)},safeExtend(e){return util_exports.safeExtend(this,e)},merge(e){return util_exports.merge(this,e)},pick(e){return util_exports.pick(this,e)},omit(e){return util_exports.omit(this,e)},partial(...e){return util_exports.partial(ZodOptional,this,e[0])},exactPartial(...e){return util_exports.partial(ZodExactOptional,this,e[0],"exactPartial")},required(...e){return util_exports.required(ZodNonOptional,this,e[0])}});function object(e,t){const r={type:"object",shape:e??{},...util_exports.normalizeParams(t)};return new ZodObject(r)}function strictObject(e,t){return new ZodObject({type:"object",shape:e,catchall:never(),...util_exports.normalizeParams(t)})}function looseObject(e,t){return new ZodObject({type:"object",shape:e,catchall:unknown(),...util_exports.normalizeParams(t)})}var ZodUnion=$constructor("ZodUnion",(e,t)=>{$ZodUnion.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>unionProcessor(e,r,i,u),e.options=t.options});function union(e,t){return new ZodUnion({type:"union",options:e,...util_exports.normalizeParams(t)})}var ZodXor=$constructor("ZodXor",(e,t)=>{ZodUnion.init(e,t),$ZodXor.init(e,t),e._zod.processJSONSchema=(r,i,u)=>unionProcessor(e,r,i,u),e.options=t.options});function xor(e,t){return new ZodXor({type:"union",options:e,inclusive:!1,...util_exports.normalizeParams(t)})}var ZodDiscriminatedUnion=$constructor("ZodDiscriminatedUnion",(e,t)=>{ZodUnion.init(e,t),$ZodDiscriminatedUnion.init(e,t)});function discriminatedUnion(e,t,r){return new ZodDiscriminatedUnion({type:"union",options:t,discriminator:e,...util_exports.normalizeParams(r)})}var ZodIntersection=$constructor("ZodIntersection",(e,t)=>{$ZodIntersection.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>intersectionProcessor(e,r,i,u)});function intersection(e,t){return new ZodIntersection({type:"intersection",left:e,right:t})}var ZodTuple=$constructor("ZodTuple",(e,t)=>{_ensureDefaultMemoizer(),$ZodTuple.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>tupleProcessor(e,r,i,u)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){const e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(t=>new ZodOptional({type:"optional",innerType:t}))})}});function tuple(e,t,r){const i=t instanceof $ZodType,u=i?r:t,o=i?t:null;return new ZodTuple({type:"tuple",items:e,rest:o,...util_exports.normalizeParams(u)})}var ZodRecord=$constructor("ZodRecord",(e,t)=>{_ensureDefaultMemoizer(),$ZodRecord.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>recordProcessor(e,r,i,u),e.keyType=t.keyType,e.valueType=t.valueType});function record(e,t,r){return!t||!t._zod?new ZodRecord({type:"record",keyType:string2(),valueType:e,...util_exports.normalizeParams(t)}):new ZodRecord({type:"record",keyType:e,valueType:t,...util_exports.normalizeParams(r)})}function partialRecord(e,t,r){return new ZodRecord({type:"record",keyType:e,valueType:t,...util_exports.normalizeParams(r),partial:!0})}function looseRecord(e,t,r){return new ZodRecord({type:"record",keyType:e,valueType:t,mode:"loose",...util_exports.normalizeParams(r)})}var ZodMap=$constructor("ZodMap",(e,t)=>{_ensureDefaultMemoizer(),$ZodMap.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>mapProcessor(e,r,i,u),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(_minSize(...r)),e.nonempty=r=>e.check(_minSize(1,r)),e.max=(...r)=>e.check(_maxSize(...r)),e.size=(...r)=>e.check(_size(...r))});function map(e,t,r){return new ZodMap({type:"map",keyType:e,valueType:t,...util_exports.normalizeParams(r)})}var ZodSet=$constructor("ZodSet",(e,t)=>{_ensureDefaultMemoizer(),$ZodSet.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>setProcessor(e,r,i,u),e.min=(...r)=>e.check(_minSize(...r)),e.nonempty=r=>e.check(_minSize(1,r)),e.max=(...r)=>e.check(_maxSize(...r)),e.size=(...r)=>e.check(_size(...r))});function set(e,t){return new ZodSet({type:"set",valueType:e,...util_exports.normalizeParams(t)})}var ZodEnum=$constructor("ZodEnum",(e,t)=>{$ZodEnum.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(i,u,o)=>enumProcessor(e,i,u,o),e.enum=t.entries,e.options=[...e._zod.values];const r=new Set(Object.keys(t.entries));e.extract=(i,u)=>{const o={};for(const a of i)if(r.has(a))o[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new ZodEnum({...t,checks:[],...util_exports.normalizeParams(u),entries:o})},e.exclude=(i,u)=>{const o={...t.entries};for(const a of i)if(r.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new ZodEnum({...t,checks:[],...util_exports.normalizeParams(u),entries:o})}});function _enum2(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new ZodEnum({type:"enum",entries:r,...util_exports.normalizeParams(t)})}function nativeEnum(e,t){return new ZodEnum({type:"enum",entries:e,...util_exports.normalizeParams(t)})}var ZodLiteral=$constructor("ZodLiteral",(e,t)=>{$ZodLiteral.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>literalProcessor(e,r,i,u),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function literal(e,t){return new ZodLiteral({type:"literal",values:Array.isArray(e)?e:[e],...util_exports.normalizeParams(t)})}var ZodFile=$constructor("ZodFile",(e,t)=>{$ZodFile.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>fileProcessor(e,r,i,u),e.min=(r,i)=>e.check(_minSize(r,i)),e.max=(r,i)=>e.check(_maxSize(r,i)),e.mime=(r,i)=>e.check(_mime(Array.isArray(r)?r:[r],i))});function file(e){return _file(ZodFile,e)}var ZodTransform=$constructor("ZodTransform",(e,t)=>{_ensureDefaultMemoizer(),$ZodTransform.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>transformProcessor(e,r,i,u),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new $ZodEncodeError(e.constructor.name);r.addIssue=o=>{if(typeof o=="string")r.issues.push(util_exports.issue(o,r.value,t));else{const a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=r.value),a.inst??(a.inst=e),r.issues.push(util_exports.issue(a))}};const u=t.transform(r.value,r);return u instanceof Promise?u.then(o=>(r.value=o,r)):(r.value=u,r)}});function transform(e){return new ZodTransform({type:"transform",transform:e})}var ZodOptional=$constructor("ZodOptional",(e,t)=>{$ZodOptional.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>optionalProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType});function optional(e){return new ZodOptional({type:"optional",innerType:e})}var ZodExactOptional=$constructor("ZodExactOptional",(e,t)=>{$ZodExactOptional.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>optionalProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType});function exactOptional(e){return new ZodExactOptional({type:"optional",innerType:e})}var ZodNullable=$constructor("ZodNullable",(e,t)=>{$ZodNullable.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>nullableProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType});function nullable(e){return new ZodNullable({type:"nullable",innerType:e})}function nullish2(e){return optional(nullable(e))}var ZodDefault=$constructor("ZodDefault",(e,t)=>{$ZodDefault.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>defaultProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function _default2(e,t){return new ZodDefault({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():util_exports.shallowClone(t)}})}var ZodPrefault=$constructor("ZodPrefault",(e,t)=>{$ZodPrefault.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>prefaultProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType});function prefault(e,t){return new ZodPrefault({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():util_exports.shallowClone(t)}})}var ZodNonOptional=$constructor("ZodNonOptional",(e,t)=>{$ZodNonOptional.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>nonoptionalProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType});function nonoptional(e,t){return new ZodNonOptional({type:"nonoptional",innerType:e,...util_exports.normalizeParams(t)})}var ZodSuccess=$constructor("ZodSuccess",(e,t)=>{$ZodSuccess.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>successProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType});function success(e){return new ZodSuccess({type:"success",innerType:e})}var ZodCatch=$constructor("ZodCatch",(e,t)=>{$ZodCatch.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>catchProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function _catch2(e,t){return new ZodCatch({type:"catch",innerType:e,catchValue:typeof t=="function"?t:util_exports.constantCatch(t)})}var ZodNaN=$constructor("ZodNaN",(e,t)=>{$ZodNaN.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>nanProcessor(e,r,i,u)});function nan(e){return _nan(ZodNaN,e)}var ZodPipe=$constructor("ZodPipe",(e,t)=>{$ZodPipe.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>pipeProcessor(e,r,i,u),e.in=t.in,e.out=t.out});function pipe(e,t){return new ZodPipe({type:"pipe",in:e,out:t})}var ZodCodec=$constructor("ZodCodec",(e,t)=>{ZodPipe.init(e,t),$ZodCodec.init(e,t)});function codec(e,t,r){return new ZodCodec({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function invertCodec(e){const t=e._zod.def;return new ZodCodec({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var ZodPreprocess=$constructor("ZodPreprocess",(e,t)=>{ZodPipe.init(e,t),$ZodPreprocess.init(e,t)}),ZodReadonly=$constructor("ZodReadonly",(e,t)=>{$ZodReadonly.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>readonlyProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType});function readonly(e){return new ZodReadonly({type:"readonly",innerType:e})}var ZodTemplateLiteral=$constructor("ZodTemplateLiteral",(e,t)=>{$ZodTemplateLiteral.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>templateLiteralProcessor(e,r,i,u)});function templateLiteral(e,t){return new ZodTemplateLiteral({type:"template_literal",parts:e,...util_exports.normalizeParams(t)})}var ZodLazy=$constructor("ZodLazy",(e,t)=>{$ZodLazy.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>lazyProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.getter()});function lazy(e){return new ZodLazy({type:"lazy",getter:e})}var ZodPromise=$constructor("ZodPromise",(e,t)=>{$ZodPromise.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>promiseProcessor(e,r,i,u),e.unwrap=()=>e._zod.def.innerType});function promise(e){return new ZodPromise({type:"promise",innerType:e})}var ZodFunction=$constructor("ZodFunction",(e,t)=>{$ZodFunction.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>functionProcessor(e,r,i,u)});function _function(e){return new ZodFunction({type:"function",input:Array.isArray(e?.input)?tuple(e?.input):e?.input??array(unknown()),output:e?.output??unknown()})}var ZodCustom=$constructor("ZodCustom",(e,t)=>{$ZodCustom.init(e,t),ZodType.init(e,t),e._zod.processJSONSchema=(r,i,u)=>customProcessor(e,r,i,u)});function check(e){const t=new $ZodCheck({check:"custom"});return t._zod.check=e,t}function custom(e,t){return _custom(ZodCustom,e??(()=>!0),t)}function refine(e,t={}){return _refine(ZodCustom,e,t)}function superRefine(e,t){return _superRefine(e,t)}var describe2=describe,meta2=meta,ZodInstanceOf=$constructor("ZodInstanceOf",(e,t)=>{ZodCustom.init(e,t)},{properties(e,t){return this.check(_properties(e,t))}});function _instanceof(e,t={}){const r=new ZodInstanceOf({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...util_exports.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:r,path:[...r._zod.def.path??[]]})},r}var stringbool=(...e)=>_stringbool({Codec:ZodCodec,Boolean:ZodBoolean,String:ZodString},...e);function json(e){const t=lazy(()=>union([string2(e),number2(),boolean2(),_null3(),array(t),record(string2(),t)]));return t}function preprocess(e,t){return new ZodPreprocess({type:"pipe",in:transform(e),out:t})}var ZodIssueCode={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function setErrorMap(e){config({customError:e})}function getErrorMap(){return config().customError}var ZodFirstPartyTypeKind;ZodFirstPartyTypeKind||(ZodFirstPartyTypeKind={});var iso_exports={};__export(iso_exports,{ZodISODate:()=>ZodISODate,ZodISODateTime:()=>ZodISODateTime,ZodISODuration:()=>ZodISODuration,ZodISOTime:()=>ZodISOTime,date:()=>date3,datetime:()=>datetime2,duration:()=>duration2,time:()=>time2});function datetime2(e){return _isoDateTime(ZodISODateTime,e)}function date3(e){return _isoDate(ZodISODate,e)}function time2(e){return _isoTime(ZodISOTime,e)}function duration2(e){return _isoDuration(ZodISODuration,e)}var z={...schemas_exports2,...checks_exports2,iso:iso_exports},RECOGNIZED_KEYS=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function detectVersion(e,t){const r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function applyMinItems(e,t){return e.map((r,i)=>i<t?r:r.optional())}function decodeJSONPointerSegment(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function resolveRef(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");const r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;const i=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===i){const u=r[1]===void 0?void 0:decodeJSONPointerSegment(r[1]);if(!u||!t.defs[u])throw new Error(`Reference not found: ${e}`);return t.defs[u]}throw new Error(`Reference not found: ${e}`)}function checkObjectGuards(e,t){return z.transform(i=>i).check(i=>{const u=i.value;if(typeof u!="object"||u===null||Array.isArray(u))return;const o=Object.getOwnPropertyNames(u);if(t.minProperties!==void 0&&o.length<t.minProperties&&i.issues.push({origin:"object",code:"too_small",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:u,inst:e,continue:!0}),t.maxProperties!==void 0&&o.length>t.maxProperties&&i.issues.push({origin:"object",code:"too_big",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:u,inst:e,continue:!0}),t.keySchema)for(const a of o){const s=t.keySchema.safeParse(a);s.success||i.issues.push({code:"invalid_key",origin:"record",issues:s.error.issues,input:a,path:[a],continue:!0})}}).pipe(e)}function canonicalKey(e,t){if(e===null)return"z";const r=typeof e;if(r!=="object"){if(r==="number"&&Number.isNaN(e))return null;const i=String(e);return`${r[0]}${i.length}:${i}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){const o=[];for(const a of e){const s=canonicalKey(a,t);if(s===null)return null;o.push(s)}return`a${o.length}:[${o.join(",")}]`}const i=Object.keys(e).sort(),u=[];for(const o of i){const a=canonicalKey(e[o],t);if(a===null)return null;u.push(`${o.length}:${o}=${a}`)}return`o${u.length}:{${u.join(",")}}`}finally{t.delete(e)}}var SCHEMA_KEYWORDS=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),SCHEMA_MAP_KEYWORDS=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function containsRef(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(containsRef):typeof e.$ref=="string"?!0:Object.entries(e).some(([t,r])=>SCHEMA_KEYWORDS.has(t)?containsRef(r):!SCHEMA_MAP_KEYWORDS.has(t)||typeof r!="object"||r===null?!1:Object.values(r).some(containsRef))}function plural(e){return e===1?"element":"elements"}function checkArrayGuards(e,t){return z.transform(i=>i).check(i=>{const u=i.value;if(Array.isArray(u)){if(t.uniqueItems===!0){const o=new Map;for(let a=0;a<u.length;a++){const s=canonicalKey(u[a],new Set);if(s===null)continue;const d=o.get(s);if(d===void 0){o.set(s,a);continue}i.issues.push({code:"custom",message:`Array items must be unique: element at index ${a} duplicates the one at index ${d}`,input:u,path:[a],continue:!0})}}if(t.containsSchema){const o=t.minContains??1,a=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY;let s=0;for(const d of u)if(t.containsSchema.safeParse(d).success&&++s>=a)break;s<o&&i.issues.push({code:"custom",message:`Array must contain at least ${o} matching ${plural(o)}; found ${s}`,input:u,continue:!0}),t.maxContains!==void 0&&s>t.maxContains&&i.issues.push({code:"custom",message:`Array must contain at most ${t.maxContains} matching ${plural(t.maxContains)}`,input:u,continue:!0})}}}).pipe(e)}function getTupleRest(e,t){if(e!==!1)return e===void 0||e===!0?z.any():convertSchema(e,t)}var fullTime=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function convertBaseSchema(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return z.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){const u=e.$ref;if(t.refs.has(u))return t.refs.get(u);if(t.processing.has(u))return z.lazy(()=>{if(!t.refs.has(u))throw new Error(`Circular reference not resolved: ${u}`);return t.refs.get(u)});t.processing.add(u);const o=resolveRef(u,t),a=convertSchema(o,t);return t.refs.set(u,a),t.processing.delete(u),a}if(e.enum!==void 0){const u=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&u.length===1&&u[0]===null)return z.null();if(u.length===0)return z.never();if(u.length===1)return z.literal(u[0]);if(u.every(a=>typeof a=="string"))return z.enum(u);const o=u.map(a=>z.literal(a));return o.length<2?o[0]:z.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return z.literal(e.const);const r=e.type;if(Array.isArray(r)){const u=r.map(o=>{const a={...e,type:o};return convertBaseSchema(a,t)});return u.length===0?z.never():u.length===1?u[0]:z.union(u)}if(!r)return z.any();let i;switch(r){case"string":{let u=z.string();if(e.format){const o=e.format;o==="email"?u=u.check(z.email()):o==="uri"||o==="uri-reference"?u=u.check(z.url()):o==="uuid"||o==="guid"?u=u.check(z.uuid()):o==="date-time"?u=u.check(z.iso.datetime({offset:!0})):o==="date"?u=u.check(z.iso.date()):o==="time"?u=u.check(z.regex(fullTime)):o==="duration"?u=u.check(z.iso.duration()):o==="hostname"?u=u.check(z.hostname()):o==="ipv4"?u=u.check(z.ipv4()):o==="ipv6"?u=u.check(z.ipv6()):o==="mac"?u=u.check(z.mac()):o==="cidr"?u=u.check(z.cidrv4()):o==="cidr-v6"?u=u.check(z.cidrv6()):o==="base64"?u=u.check(z.base64()):o==="base64url"?u=u.check(z.base64url()):o==="e164"?u=u.check(z.e164()):o==="credit_card"?u=u.check(z.creditCard()):o==="iban"?u=u.check(z.iban()):o==="jwt"?u=u.check(z.jwt()):o==="emoji"?u=u.check(z.emoji()):o==="nanoid"?u=u.check(z.nanoid()):o==="cuid"?u=u.check(z.cuid()):o==="cuid2"?u=u.check(z.cuid2()):o==="ulid"?u=u.check(z.ulid()):o==="xid"?u=u.check(z.xid()):o==="ksuid"&&(u=u.check(z.ksuid()))}typeof e.minLength=="number"&&(u=u.min(e.minLength)),typeof e.maxLength=="number"&&(u=u.max(e.maxLength)),e.pattern&&(u=u.regex(new RegExp(e.pattern))),i=u;break}case"number":case"integer":{let u=r==="integer"?z.number().int():z.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(u=u.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(u=u.max(e.maximum)),typeof e.exclusiveMinimum=="number"?u=u.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(u=u.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?u=u.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(u=u.lt(e.maximum)),typeof e.multipleOf=="number"&&(u=u.multipleOf(e.multipleOf)),i=u;break}case"boolean":{i=z.boolean();break}case"null":{i=z.null();break}case"object":{const u={},o=e.properties||{},a=new Set(e.required||[]),s=typeof e.additionalProperties=="object"?convertSchema(e.additionalProperties,t):void 0;for(const[f,h]of Object.entries(o)){const p=convertSchema(h,t);assignProp(u,f,a.has(f)?p:p.optional())}if(e.patternProperties){const f=e.patternProperties,h=Object.keys(f),p=[];for(const v of h){const x=convertSchema(f[v],t),A=z.string().regex(new RegExp(v));p.push(z.looseRecord(A,x))}const g=[];if(Object.keys(u).length>0&&g.push(z.object(u).passthrough()),g.push(...p),g.length===0)i=z.object({}).passthrough();else if(g.length===1)i=g[0];else{let v=z.intersection(g[0],g[1]);for(let x=2;x<g.length;x++)v=z.intersection(v,g[x]);i=v}if(e.additionalProperties===!1){const v=Object.keys(u),x=h.map(m=>new RegExp(m)),A=i;i=i.check(m=>{if(!isPlainObject(m.value))return;const y=[];for(const E of Object.keys(m.value))v.includes(E)||x.some(D=>D.test(E))||y.push(E);y.length&&m.issues.push({code:"unrecognized_keys",keys:y,input:m.value,inst:A})})}}else{const f=z.object(u);e.additionalProperties===!1?i=f.strict():s?i=f.catchall(s):i=f.passthrough()}const d=e.propertyNames!==void 0&&e.propertyNames!==!0,c=typeof e.minProperties=="number"?e.minProperties:void 0,l=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(d||c!==void 0||l!==void 0){let f;if(d){const h=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;f=convertSchema(h,t)}i=checkObjectGuards(i,{keySchema:f,minProperties:c,maxProperties:l})}break}case"array":{const u=e.prefixItems,o=e.items;if(u&&Array.isArray(u)){const a=typeof e.minItems=="number"?e.minItems:0,s=u.map(f=>convertSchema(f,t)),d=applyMinItems(s,a),c=Array.isArray(o)?void 0:getTupleRest(o,t),l=z.tuple(d);i=c?l.rest(c):l,typeof e.minItems=="number"&&(i=i.check(z.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(z.maxLength(e.maxItems)))}else if(Array.isArray(o)){const a=typeof e.minItems=="number"?e.minItems:0,s=o.map(f=>convertSchema(f,t)),d=applyMinItems(s,a),c=getTupleRest(e.additionalItems,t),l=z.tuple(d);i=c?l.rest(c):l,typeof e.minItems=="number"&&(i=i.check(z.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(z.maxLength(e.maxItems)))}else if(o!==void 0){const a=convertSchema(o,t);let s=z.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),i=s}else i=z.array(z.any());(e.uniqueItems===!0||e.contains!==void 0)&&(i=checkArrayGuards(i,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?convertSchema(e.contains,t):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${r}`)}return i}function convertSchema(e,t){if(typeof e=="boolean")return e?z.any():z.never();let r=convertBaseSchema(e,t);const i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){const s=e.anyOf.map(c=>convertSchema(c,t)),d=z.union(s);r=i?z.intersection(r,d):d}if(e.oneOf&&Array.isArray(e.oneOf)){const s=e.oneOf.map(c=>convertSchema(c,t)),d=z.xor(s);r=i?z.intersection(r,d):d}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:z.any();else{let s=i?r:convertSchema(e.allOf[0],t);const d=i?0:1;for(let c=d;c<e.allOf.length;c++)s=z.intersection(s,convertSchema(e.allOf[c],t));r=s}e.nullable===!0&&t.version==="openapi-3.0"&&(r=z.nullable(r)),e.readOnly===!0&&(r=z.readonly(r)),e.default!==void 0&&(r=r.default(e.default));const u={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(const s of o)s in e&&(u[s]=e[s]);const a=["contentEncoding","contentMediaType","contentSchema"];for(const s of a)s in e&&(u[s]=e[s]);if(e.type==="object"&&e.$ref===void 0){e.propertyNames!==void 0&&!containsRef(e.propertyNames)&&(u.propertyNames=e.propertyNames);for(const s of["minProperties","maxProperties"])e[s]!==void 0&&(u[s]=e[s])}if(e.type==="array"&&e.$ref===void 0){e.contains!==void 0&&!containsRef(e.contains)&&(u.contains=e.contains);for(const s of["uniqueItems","minContains","maxContains"])e[s]!==void 0&&(u[s]=e[s])}for(const s of Object.keys(e))RECOGNIZED_KEYS.has(s)||assignProp(u,s,e[s]);return Object.keys(u).length>0&&t.registry.add(r,u),e.description&&(r=r.describe(e.description)),r}function fromJSONSchema(e,t){if(typeof e=="boolean")return e?z.any():z.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}const i=detectVersion(r,t?.defaultTarget),u=r.$defs||r.definitions||{},o={version:i,defs:u,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??globalRegistry};return convertSchema(r,o)}var RESOLVING=Symbol("z.visit/resolving");function visit(e,t){const r=typeof t=="function"?t:(a,s)=>{const d=t[a._zod.def.type];return d?d(a,s):a},i=new Map;function u(a){const s=i.get(a);if(s===RESOLVING)return new $ZodLazy({type:"lazy",getter:()=>i.get(a)});if(s!==void 0)return s;i.set(a,RESOLVING);const d=o(a),c=r(d,d!==a);return i.set(a,c),c}function o(a){const s=a._zod.def,d=s.type;switch(d){case"object":{const c=s.shape,l=Object.keys(c);let f=!1;const h={};for(const g of l){const v=u(c[g]);v!==c[g]&&(f=!0),h[g]=v}let p=s.catchall;return s.catchall&&(p=u(s.catchall),p!==s.catchall&&(f=!0)),f?clone(a,{...s,shape:h,catchall:p}):a}case"array":{const c=u(s.element);return c===s.element?a:clone(a,{...s,element:c})}case"tuple":{const c=s.items;let l=!1;const f=[];for(const p of c){const g=u(p);g!==p&&(l=!0),f.push(g)}let h=s.rest;return s.rest&&(h=u(s.rest),h!==s.rest&&(l=!0)),l?clone(a,{...s,items:f,rest:h}):a}case"record":case"map":{const c=u(s.keyType),l=u(s.valueType);return c===s.keyType&&l===s.valueType?a:clone(a,{...s,keyType:c,valueType:l})}case"set":{const c=u(s.valueType);return c===s.valueType?a:clone(a,{...s,valueType:c})}case"union":{const c=s.options;let l=!1;const f=[];for(const h of c){const p=u(h);p!==h&&(l=!0),f.push(p)}return l?clone(a,{...s,options:f}):a}case"intersection":{const c=u(s.left),l=u(s.right);return c===s.left&&l===s.right?a:clone(a,{...s,left:c,right:l})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{const c=u(s.innerType);return c===s.innerType?a:clone(a,{...s,innerType:c})}case"pipe":{const c=u(s.in),l=u(s.out);return c===s.in&&l===s.out?a:clone(a,{...s,in:c,out:l})}case"function":{const c=u(s.input),l=u(s.output);return c===s.input&&l===s.output?a:clone(a,{...s,input:c,output:l})}case"lazy":{const c=s.getter,{_cachedInner:l,...f}=s;return clone(a,{...f,getter:()=>u(c())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return a;default:return a}}return u(e)}function deepPartial(e){return visit(e,{object:t=>t.partial(),union:t=>{const r=t._zod.def;return r.discriminator===void 0?t:union(r.options)}})}function withChecks(e,t){if(!t?.length)return e;const r=e._zod.def;return clone(e,mergeDefs(r,{checks:[...r.checks??[],...t]}),{parent:!0})}function outSide(e){return withChecks(e.out,e.checks)}function inSide(e){return e.in._zod.traits.has("$ZodTransform")?outSide(e):e.in}function input(e){return visit(e,{pipe:t=>inSide(t._zod.def),default:(t,r)=>r?optional(t._zod.def.innerType):t,catch:(t,r)=>r?t._zod.def.innerType:t})}function output(e){return visit(e,{pipe:t=>outSide(t._zod.def),prefault:(t,r)=>r?t._zod.def.innerType:t})}var coerce_exports={};__export(coerce_exports,{bigint:()=>bigint3,boolean:()=>boolean3,date:()=>date4,number:()=>number3,string:()=>string3});function string3(e){return _coercedString(ZodString,e)}function number3(e){return _coercedNumber(ZodNumber,e)}function boolean3(e){return _coercedBoolean(ZodBoolean,e)}function bigint3(e){return _coercedBigint(ZodBigInt,e)}function date4(e){return _coercedDate(ZodDate,e)}var WEBSITE_FILE="website.json",WebsiteFileSchema=external_exports.strictObject({$schema:external_exports.string().optional(),dev:external_exports.string().min(1).optional().describe("The command that serves the website while it is made, run in its folder by a shell. It listens on $PORT at $HOST, which the host sets (`astro dev --port $PORT --host $HOST --ignore-lock`), and allows the hosts in $ALLYHUB_PREVIEW_HOSTS when its server checks the Host header. None: the output folder is served as it is."),build:external_exports.string().min(1).optional().describe("The command that builds the website into its output folder (`astro build`). None: it is not built."),output:external_exports.string().min(1).describe("The folder that is the built website, from the website's folder (`dist`); `.` for a website of plain files."),site:external_exports.string().min(1).optional().describe("The hosted site this website publishes to, written by `allyhub site deploy` the first time, so the folder publishes to the same site from any computer.")}),CODE_EXTENSIONS=["ts","tsx","mts","js","jsx","mjs"],code=e=>CODE_EXTENSIONS.map(t=>`${e}.${t}`),ITEM_KINDS={video:{entries:code("video"),editor:"video",name:"video"},slides:{entries:code("slides"),editor:"slides",name:"slides"},doc:{entries:["doc.mdx"],editor:"doc",name:"doc"},sheet:{entries:["sheet.yaml"],editor:"sheet",name:"sheet"},scenery:{entries:code("scenery"),editor:"scenery",name:"3D scenery"},model:{entries:code("model"),editor:"scenery",name:"3D model"},website:{entries:[WEBSITE_FILE],editor:"website",name:"website"}},KINDS=Object.keys(ITEM_KINDS),BY_ENTRY=new Map(KINDS.flatMap(e=>ITEM_KINDS[e].entries.map(t=>[t,e])));function entryKind(e){return BY_ENTRY.get(baseOf(e))}var SHA256=external_exports.string().regex(/^[0-9a-f]{64}$/u,"A sha256 is 64 lowercase hexadecimal digits."),SECONDS=external_exports.number().nonnegative(),INSTANT=external_exports.iso.datetime({offset:!0});function dataFile(e){return external_exports.strictObject({$schema:external_exports.string().optional(),...e})}var ENUMS={"a:ST_AnimationBuildType":["allAtOnce"],"a:ST_AnimationChartOnlyBuildType":["series","category","seriesEl","categoryEl"],"a:ST_AnimationDgmOnlyBuildType":["one","lvlOne","lvlAtOnce"],"a:ST_BevelPresetType":["relaxedInset","circle","slope","cross","angle","softRound","convex","coolSlant","divot","riblet","hardEdge","artDeco"],"a:ST_BlackWhiteMode":["clr","auto","gray","ltGray","invGray","grayWhite","blackGray","blackWhite","black","white","hidden"],"a:ST_BlendMode":["over","mult","screen","darken","lighten"],"a:ST_BlipCompression":["email","screen","print","hqprint","none"],"a:ST_ChartBuildStep":["category","ptInCategory","series","ptInSeries","allPts","gridLegend"],"a:ST_ColorSchemeIndex":["dk1","lt1","dk2","lt2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],"a:ST_CompoundLine":["sng","dbl","thickThin","thinThick","tri"],"a:ST_DgmBuildStep":["sp","bg"],"a:ST_EffectContainerType":["sib","tree"],"a:ST_FontCollectionIndex":["major","minor","none"],"a:ST_LightRigDirection":["tl","t","tr","l","r","bl","b","br"],"a:ST_LightRigType":["legacyFlat1","legacyFlat2","legacyFlat3","legacyFlat4","legacyNormal1","legacyNormal2","legacyNormal3","legacyNormal4","legacyHarsh1","legacyHarsh2","legacyHarsh3","legacyHarsh4","threePt","balanced","soft","harsh","flood","contrasting","morning","sunrise","sunset","chilly","freezing","flat","twoPt","glow","brightRoom"],"a:ST_LineCap":["rnd","sq","flat"],"a:ST_LineEndLength":["sm","med","lg"],"a:ST_LineEndType":["none","triangle","stealth","diamond","oval","arrow"],"a:ST_LineEndWidth":["sm","med","lg"],"a:ST_OnOffStyleType":["on","off","def"],"a:ST_PathFillMode":["none","norm","lighten","lightenLess","darken","darkenLess"],"a:ST_PathShadeType":["shape","circle","rect"],"a:ST_PenAlignment":["ctr","in"],"a:ST_PitchFamily":["00","01","02","16","17","18","32","33","34","48","49","50","64","65","66","80","81","82"],"a:ST_PresetCameraType":["legacyObliqueTopLeft","legacyObliqueTop","legacyObliqueTopRight","legacyObliqueLeft","legacyObliqueFront","legacyObliqueRight","legacyObliqueBottomLeft","legacyObliqueBottom","legacyObliqueBottomRight","legacyPerspectiveTopLeft","legacyPerspectiveTop","legacyPerspectiveTopRight","legacyPerspectiveLeft","legacyPerspectiveFront","legacyPerspectiveRight","legacyPerspectiveBottomLeft","legacyPerspectiveBottom","legacyPerspectiveBottomRight","orthographicFront","isometricTopUp","isometricTopDown","isometricBottomUp","isometricBottomDown","isometricLeftUp","isometricLeftDown","isometricRightUp","isometricRightDown","isometricOffAxis1Left","isometricOffAxis1Right","isometricOffAxis1Top","isometricOffAxis2Left","isometricOffAxis2Right","isometricOffAxis2Top","isometricOffAxis3Left","isometricOffAxis3Right","isometricOffAxis3Bottom","isometricOffAxis4Left","isometricOffAxis4Right","isometricOffAxis4Bottom","obliqueTopLeft","obliqueTop","obliqueTopRight","obliqueLeft","obliqueRight","obliqueBottomLeft","obliqueBottom","obliqueBottomRight","perspectiveFront","perspectiveLeft","perspectiveRight","perspectiveAbove","perspectiveBelow","perspectiveAboveLeftFacing","perspectiveAboveRightFacing","perspectiveContrastingLeftFacing","perspectiveContrastingRightFacing","perspectiveHeroicLeftFacing","perspectiveHeroicRightFacing","perspectiveHeroicExtremeLeftFacing","perspectiveHeroicExtremeRightFacing","perspectiveRelaxed","perspectiveRelaxedModerately"],"a:ST_PresetColorVal":["aliceBlue","antiqueWhite","aqua","aquamarine","azure","beige","bisque","black","blanchedAlmond","blue","blueViolet","brown","burlyWood","cadetBlue","chartreuse","chocolate","coral","cornflowerBlue","cornsilk","crimson","cyan","darkBlue","darkCyan","darkGoldenrod","darkGray","darkGrey","darkGreen","darkKhaki","darkMagenta","darkOliveGreen","darkOrange","darkOrchid","darkRed","darkSalmon","darkSeaGreen","darkSlateBlue","darkSlateGray","darkSlateGrey","darkTurquoise","darkViolet","dkBlue","dkCyan","dkGoldenrod","dkGray","dkGrey","dkGreen","dkKhaki","dkMagenta","dkOliveGreen","dkOrange","dkOrchid","dkRed","dkSalmon","dkSeaGreen","dkSlateBlue","dkSlateGray","dkSlateGrey","dkTurquoise","dkViolet","deepPink","deepSkyBlue","dimGray","dimGrey","dodgerBlue","firebrick","floralWhite","forestGreen","fuchsia","gainsboro","ghostWhite","gold","goldenrod","gray","grey","green","greenYellow","honeydew","hotPink","indianRed","indigo","ivory","khaki","lavender","lavenderBlush","lawnGreen","lemonChiffon","lightBlue","lightCoral","lightCyan","lightGoldenrodYellow","lightGray","lightGrey","lightGreen","lightPink","lightSalmon","lightSeaGreen","lightSkyBlue","lightSlateGray","lightSlateGrey","lightSteelBlue","lightYellow","ltBlue","ltCoral","ltCyan","ltGoldenrodYellow","ltGray","ltGrey","ltGreen","ltPink","ltSalmon","ltSeaGreen","ltSkyBlue","ltSlateGray","ltSlateGrey","ltSteelBlue","ltYellow","lime","limeGreen","linen","magenta","maroon","medAquamarine","medBlue","medOrchid","medPurple","medSeaGreen","medSlateBlue","medSpringGreen","medTurquoise","medVioletRed","mediumAquamarine","mediumBlue","mediumOrchid","mediumPurple","mediumSeaGreen","mediumSlateBlue","mediumSpringGreen","mediumTurquoise","mediumVioletRed","midnightBlue","mintCream","mistyRose","moccasin","navajoWhite","navy","oldLace","olive","oliveDrab","orange","orangeRed","orchid","paleGoldenrod","paleGreen","paleTurquoise","paleVioletRed","papayaWhip","peachPuff","peru","pink","plum","powderBlue","purple","red","rosyBrown","royalBlue","saddleBrown","salmon","sandyBrown","seaGreen","seaShell","sienna","silver","skyBlue","slateBlue","slateGray","slateGrey","snow","springGreen","steelBlue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whiteSmoke","yellow","yellowGreen"],"a:ST_PresetLineDashVal":["solid","dot","dash","lgDash","dashDot","lgDashDot","lgDashDotDot","sysDash","sysDot","sysDashDot","sysDashDotDot"],"a:ST_PresetMaterialType":["legacyMatte","legacyPlastic","legacyMetal","legacyWireframe","matte","plastic","metal","warmMatte","translucentPowder","powder","dkEdge","softEdge","clear","flat","softmetal"],"a:ST_PresetPatternVal":["pct5","pct10","pct20","pct25","pct30","pct40","pct50","pct60","pct70","pct75","pct80","pct90","horz","vert","ltHorz","ltVert","dkHorz","dkVert","narHorz","narVert","dashHorz","dashVert","cross","dnDiag","upDiag","ltDnDiag","ltUpDiag","dkDnDiag","dkUpDiag","wdDnDiag","wdUpDiag","dashDnDiag","dashUpDiag","diagCross","smCheck","lgCheck","smGrid","lgGrid","dotGrid","smConfetti","lgConfetti","horzBrick","diagBrick","solidDmnd","openDmnd","dotDmnd","plaid","sphere","weave","divot","shingle","wave","trellis","zigZag"],"a:ST_PresetShadowVal":["shdw1","shdw2","shdw3","shdw4","shdw5","shdw6","shdw7","shdw8","shdw9","shdw10","shdw11","shdw12","shdw13","shdw14","shdw15","shdw16","shdw17","shdw18","shdw19","shdw20"],"a:ST_RectAlignment":["tl","t","tr","l","ctr","r","bl","b","br"],"a:ST_SchemeColorVal":["bg1","tx1","bg2","tx2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink","phClr","dk1","lt1","dk2","lt2"],"a:ST_ShapeType":["line","lineInv","triangle","rtTriangle","rect","diamond","parallelogram","trapezoid","nonIsoscelesTrapezoid","pentagon","hexagon","heptagon","octagon","decagon","dodecagon","star4","star5","star6","star7","star8","star10","star12","star16","star24","star32","roundRect","round1Rect","round2SameRect","round2DiagRect","snipRoundRect","snip1Rect","snip2SameRect","snip2DiagRect","plaque","ellipse","teardrop","homePlate","chevron","pieWedge","pie","blockArc","donut","noSmoking","rightArrow","leftArrow","upArrow","downArrow","stripedRightArrow","notchedRightArrow","bentUpArrow","leftRightArrow","upDownArrow","leftUpArrow","leftRightUpArrow","quadArrow","leftArrowCallout","rightArrowCallout","upArrowCallout","downArrowCallout","leftRightArrowCallout","upDownArrowCallout","quadArrowCallout","bentArrow","uturnArrow","circularArrow","leftCircularArrow","leftRightCircularArrow","curvedRightArrow","curvedLeftArrow","curvedUpArrow","curvedDownArrow","swooshArrow","cube","can","lightningBolt","heart","sun","moon","smileyFace","irregularSeal1","irregularSeal2","foldedCorner","bevel","frame","halfFrame","corner","diagStripe","chord","arc","leftBracket","rightBracket","leftBrace","rightBrace","bracketPair","bracePair","straightConnector1","bentConnector2","bentConnector3","bentConnector4","bentConnector5","curvedConnector2","curvedConnector3","curvedConnector4","curvedConnector5","callout1","callout2","callout3","accentCallout1","accentCallout2","accentCallout3","borderCallout1","borderCallout2","borderCallout3","accentBorderCallout1","accentBorderCallout2","accentBorderCallout3","wedgeRectCallout","wedgeRoundRectCallout","wedgeEllipseCallout","cloudCallout","cloud","ribbon","ribbon2","ellipseRibbon","ellipseRibbon2","leftRightRibbon","verticalScroll","horizontalScroll","wave","doubleWave","plus","flowChartProcess","flowChartDecision","flowChartInputOutput","flowChartPredefinedProcess","flowChartInternalStorage","flowChartDocument","flowChartMultidocument","flowChartTerminator","flowChartPreparation","flowChartManualInput","flowChartManualOperation","flowChartConnector","flowChartPunchedCard","flowChartPunchedTape","flowChartSummingJunction","flowChartOr","flowChartCollate","flowChartSort","flowChartExtract","flowChartMerge","flowChartOfflineStorage","flowChartOnlineStorage","flowChartMagneticTape","flowChartMagneticDisk","flowChartMagneticDrum","flowChartDisplay","flowChartDelay","flowChartAlternateProcess","flowChartOffpageConnector","actionButtonBlank","actionButtonHome","actionButtonHelp","actionButtonInformation","actionButtonForwardNext","actionButtonBackPrevious","actionButtonEnd","actionButtonBeginning","actionButtonReturn","actionButtonDocument","actionButtonSound","actionButtonMovie","gear6","gear9","funnel","mathPlus","mathMinus","mathMultiply","mathDivide","mathEqual","mathNotEqual","cornerTabs","squareTabs","plaqueTabs","chartX","chartStar","chartPlus"],"a:ST_SystemColorVal":["scrollBar","background","activeCaption","inactiveCaption","menu","window","windowFrame","menuText","windowText","captionText","activeBorder","inactiveBorder","appWorkspace","highlight","highlightText","btnFace","btnShadow","grayText","btnText","inactiveCaptionText","btnHighlight","3dDkShadow","3dLight","infoText","infoBk","hotLight","gradientActiveCaption","gradientInactiveCaption","menuHighlight","menuBar"],"a:ST_TextAlignType":["l","ctr","r","just","justLow","dist","thaiDist"],"a:ST_TextAnchoringType":["t","ctr","b","just","dist"],"a:ST_TextAutonumberScheme":["alphaLcParenBoth","alphaUcParenBoth","alphaLcParenR","alphaUcParenR","alphaLcPeriod","alphaUcPeriod","arabicParenBoth","arabicParenR","arabicPeriod","arabicPlain","romanLcParenBoth","romanUcParenBoth","romanLcParenR","romanUcParenR","romanLcPeriod","romanUcPeriod","circleNumDbPlain","circleNumWdBlackPlain","circleNumWdWhitePlain","arabicDbPeriod","arabicDbPlain","ea1ChsPeriod","ea1ChsPlain","ea1ChtPeriod","ea1ChtPlain","ea1JpnChsDbPeriod","ea1JpnKorPlain","ea1JpnKorPeriod","arabic1Minus","arabic2Minus","hebrew2Minus","thaiAlphaPeriod","thaiAlphaParenR","thaiAlphaParenBoth","thaiNumPeriod","thaiNumParenR","thaiNumParenBoth","hindiAlphaPeriod","hindiNumPeriod","hindiNumParenR","hindiAlpha1Period"],"a:ST_TextCapsType":["none","small","all"],"a:ST_TextFontAlignType":["auto","t","ctr","base","b"],"a:ST_TextHorzOverflowType":["overflow","clip"],"a:ST_TextShapeType":["textNoShape","textPlain","textStop","textTriangle","textTriangleInverted","textChevron","textChevronInverted","textRingInside","textRingOutside","textArchUp","textArchDown","textCircle","textButton","textArchUpPour","textArchDownPour","textCirclePour","textButtonPour","textCurveUp","textCurveDown","textCanUp","textCanDown","textWave1","textWave2","textDoubleWave1","textWave4","textInflate","textDeflate","textInflateBottom","textDeflateBottom","textInflateTop","textDeflateTop","textDeflateInflate","textDeflateInflateDeflate","textFadeRight","textFadeLeft","textFadeUp","textFadeDown","textSlantUp","textSlantDown","textCascadeUp","textCascadeDown"],"a:ST_TextStrikeType":["noStrike","sngStrike","dblStrike"],"a:ST_TextTabAlignType":["l","ctr","r","dec"],"a:ST_TextUnderlineType":["none","words","sng","dbl","heavy","dotted","dottedHeavy","dash","dashHeavy","dashLong","dashLongHeavy","dotDash","dotDashHeavy","dotDotDash","dotDotDashHeavy","wavy","wavyHeavy","wavyDbl"],"a:ST_TextVertOverflowType":["overflow","ellipsis","clip"],"a:ST_TextVerticalType":["horz","vert","vert270","wordArtVert","eaVert","mongolianVert","wordArtVertRtl"],"a:ST_TextWrappingType":["none","square"],"a:ST_TileFlipMode":["none","x","y","xy"],"c:ST_AxPos":["b","l","r","t"],"c:ST_BarDir":["bar","col"],"c:ST_BarGrouping":["percentStacked","clustered","standard","stacked"],"c:ST_BuiltInUnit":["hundreds","thousands","tenThousands","hundredThousands","millions","tenMillions","hundredMillions","billions","trillions"],"c:ST_CrossBetween":["between","midCat"],"c:ST_Crosses":["autoZero","max","min"],"c:ST_DLblPos":["bestFit","b","ctr","inBase","inEnd","l","outEnd","r","t"],"c:ST_DispBlanksAs":["span","gap","zero"],"c:ST_ErrBarType":["both","minus","plus"],"c:ST_ErrDir":["x","y"],"c:ST_ErrValType":["cust","fixedVal","percentage","stdDev","stdErr"],"c:ST_Grouping":["percentStacked","standard","stacked"],"c:ST_LayoutMode":["edge","factor"],"c:ST_LayoutTarget":["inner","outer"],"c:ST_LblAlgn":["ctr","l","r"],"c:ST_LegendPos":["b","tr","l","r","t"],"c:ST_MarkerStyle":["circle","dash","diamond","dot","none","picture","plus","square","star","triangle","x","auto"],"c:ST_OfPieType":["pie","bar"],"c:ST_Orientation":["maxMin","minMax"],"c:ST_PageSetupOrientation":["default","portrait","landscape"],"c:ST_PictureFormat":["stretch","stack","stackScale"],"c:ST_RadarStyle":["standard","marker","filled"],"c:ST_ScatterStyle":["none","line","lineMarker","marker","smooth","smoothMarker"],"c:ST_Shape":["cone","coneToMax","box","cylinder","pyramid","pyramidToMax"],"c:ST_SizeRepresents":["area","w"],"c:ST_SplitType":["auto","cust","percent","pos","val"],"c:ST_TickLblPos":["high","low","nextTo","none"],"c:ST_TickMark":["cross","in","none","out"],"c:ST_TimeUnit":["days","months","years"],"c:ST_TrendlineType":["exp","linear","log","movingAvg","poly","power"],"p:ST_Direction":["horz","vert"],"p:ST_IterateType":["el","wd","lt"],"p:ST_OleObjectFollowColorScheme":["none","full","textAndBackground"],"p:ST_PhotoAlbumFrameShape":["frameStyle1","frameStyle2","frameStyle3","frameStyle4","frameStyle5","frameStyle6","frameStyle7"],"p:ST_PhotoAlbumLayout":["fitToSlide","1pic","2pic","4pic","1picTitle","2picTitle","4picTitle"],"p:ST_PlaceholderSize":["full","half","quarter"],"p:ST_PlaceholderType":["title","body","ctrTitle","subTitle","dt","sldNum","ftr","hdr","obj","chart","tbl","clipArt","dgm","media","sldImg","pic"],"p:ST_PrintColorMode":["bw","gray","clr"],"p:ST_PrintWhat":["slides","handouts1","handouts2","handouts3","handouts4","handouts6","handouts9","notes","outline"],"p:ST_SlideLayoutType":["title","tx","twoColTx","tbl","txAndChart","chartAndTx","dgm","chart","txAndClipArt","clipArtAndTx","titleOnly","blank","txAndObj","objAndTx","objOnly","obj","txAndMedia","mediaAndTx","objOverTx","txOverObj","txAndTwoObj","twoObjAndTx","twoObjOverTx","fourObj","vertTx","clipArtAndVertTx","vertTitleAndTx","vertTitleAndTxOverChart","twoObj","objAndTwoObj","twoObjAndObj","cust","secHead","twoTxTwoObj","objTx","picTx"],"p:ST_SlideSizeType":["screen4x3","letter","A4","35mm","overhead","banner","custom","ledger","A3","B4ISO","B5ISO","B4JIS","B5JIS","hagakiCard","screen16x9","screen16x10"],"p:ST_SplitterBarState":["minimized","restored","maximized"],"p:ST_TLAnimateBehaviorCalcMode":["discrete","lin","fmla"],"p:ST_TLAnimateBehaviorValueType":["str","num","clr"],"p:ST_TLAnimateColorDirection":["cw","ccw"],"p:ST_TLAnimateColorSpace":["rgb","hsl"],"p:ST_TLAnimateEffectTransition":["in","out","none"],"p:ST_TLAnimateMotionBehaviorOrigin":["parent","layout"],"p:ST_TLAnimateMotionPathEditMode":["relative","fixed"],"p:ST_TLBehaviorAccumulateType":["none","always"],"p:ST_TLBehaviorAdditiveType":["base","sum","repl","mult","none"],"p:ST_TLBehaviorOverrideType":["normal","childStyle"],"p:ST_TLBehaviorTransformType":["pt","img"],"p:ST_TLChartSubelementType":["gridLegend","series","category","ptInSeries","ptInCategory"],"p:ST_TLCommandType":["evt","call","verb"],"p:ST_TLDiagramBuildType":["whole","depthByNode","depthByBranch","breadthByNode","breadthByLvl","cw","cwIn","cwOut","ccw","ccwIn","ccwOut","inByRing","outByRing","up","down","allAtOnce","cust"],"p:ST_TLNextActionType":["none","seek"],"p:ST_TLOleChartBuildType":["allAtOnce","series","category","seriesEl","categoryEl"],"p:ST_TLParaBuildType":["allAtOnce","p","cust","whole"],"p:ST_TLPreviousActionType":["none","skipTimed"],"p:ST_TLTimeIndefinite":["indefinite"],"p:ST_TLTimeNodeFillType":["remove","freeze","hold","transition"],"p:ST_TLTimeNodeMasterRelation":["sameClick","lastClick","nextClick"],"p:ST_TLTimeNodePresetClassType":["entr","exit","emph","path","verb","mediacall"],"p:ST_TLTimeNodeRestartType":["always","whenNotActive","never"],"p:ST_TLTimeNodeSyncType":["canSlip","locked"],"p:ST_TLTimeNodeType":["clickEffect","withEffect","afterEffect","mainSeq","interactiveSeq","clickPar","withGroup","afterGroup","tmRoot"],"p:ST_TLTriggerEvent":["onBegin","onEnd","begin","end","onClick","onDblClick","onMouseOver","onMouseOut","onNext","onPrev","onStopAudio"],"p:ST_TLTriggerRuntimeNode":["first","last","all"],"p:ST_TransitionCornerDirectionType":["lu","ru","ld","rd"],"p:ST_TransitionInOutDirectionType":["out","in"],"p:ST_TransitionSideDirectionType":["l","u","r","d"],"p:ST_TransitionSpeed":["slow","med","fast"],"p:ST_ViewType":["sldView","sldMasterView","notesView","handoutView","notesMasterView","outlineView","sldSorterView","sldThumbnailView"],"p:ST_WebColorType":["none","browser","presentationText","presentationAccent","whiteTextOnBlack","blackTextOnWhite"],"p:ST_WebScreenSize":["544x376","640x480","720x512","800x600","1024x768","1152x882","1152x900","1280x1024","1600x1200","1800x1400","1920x1200"],"s:ST_AlgClass":["hash","custom"],"s:ST_AlgType":["typeAny","custom"],"s:ST_ConformanceClass":["strict","transitional"],"s:ST_CryptProv":["rsaAES","rsaFull","custom"]},SHAPE_TYPES=ENUMS["a:ST_ShapeType"],AUTONUMBER_SCHEMES=ENUMS["a:ST_TextAutonumberScheme"],LINE_DASH_VALUES=ENUMS["a:ST_PresetLineDashVal"],LINE_END_TYPES=ENUMS["a:ST_LineEndType"],TRANSITION_SPEEDS=ENUMS["p:ST_TransitionSpeed"],MESSAGE_KEY=/^[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]+)*$/u,SpokenSchema=external_exports.strictObject({display:external_exports.string(),speak:external_exports.string()}),VariantsSchema=external_exports.strictObject({declarations:external_exports.array(external_exports.string()).default([]),selectors:external_exports.array(external_exports.string()).default([]),match:external_exports.record(external_exports.string(),external_exports.string()).refine(e=>Object.keys(e).length>0,"A match needs at least one case.")}),MessageSchema=external_exports.union([external_exports.string(),SpokenSchema,external_exports.tuple([VariantsSchema])]),MessagesFileSchema=external_exports.record(external_exports.string(),external_exports.unknown()).superRefine((e,t)=>{for(const[r,i]of Object.entries(e)){if(r==="$schema"){typeof i!="string"&&t.addIssue({code:"custom",path:[r],message:"$schema is a string."});continue}MESSAGE_KEY.test(r)||t.addIssue({code:"custom",path:[r],message:`"${r}" is not a message key: letters, digits, _ and -, in segments joined by dots.`});const u=MessageSchema.safeParse(i);u.success||t.addIssue({code:"custom",path:[r],message:Array.isArray(i)?`A message with variants is [{ "declarations": […], "selectors": […], "match": {…} }]: ${u.error.issues.map(o=>o.message).join("; ")}`:"A message is a string, { display, speak }, or [{ declarations, selectors, match }]."})}}).transform(e=>{const t={...e};return delete t.$schema,t}),SCRIPT_NAME=/^[A-Za-z0-9_-]+$/u,NamedSchema=external_exports.string().regex(SCRIPT_NAME,"A name is letters, digits, _ and -."),ScriptTextSchema=external_exports.lazy(()=>external_exports.union([external_exports.string(),SpokenSchema,VariantsSchema,external_exports.array(ScriptTextSchema),external_exports.record(NamedSchema,ScriptTextSchema)])),ScriptPartSchema=external_exports.strictObject({id:NamedSchema,say:external_exports.union([external_exports.string(),VariantsSchema]).optional(),screen:external_exports.record(NamedSchema,ScriptTextSchema).optional()}),ScriptSlideSchema=external_exports.strictObject({id:NamedSchema,text:external_exports.record(NamedSchema,ScriptTextSchema).optional(),alt:external_exports.record(NamedSchema,external_exports.string()).optional(),notes:external_exports.union([external_exports.string(),VariantsSchema]).optional()}),ScriptFileSchema=external_exports.strictObject({title:external_exports.string().optional(),text:external_exports.record(NamedSchema,ScriptTextSchema).optional(),parts:external_exports.array(ScriptPartSchema).default([]),slides:external_exports.array(ScriptSlideSchema).default([])}).superRefine((e,t)=>{const r=new Set;e.parts.forEach((u,o)=>{r.has(u.id)&&t.addIssue({code:"custom",path:["parts",o,"id"],message:`Two parts are "${u.id}".`}),r.add(u.id)});const i=new Set;e.slides.forEach((u,o)=>{i.has(u.id)&&t.addIssue({code:"custom",path:["slides",o,"id"],message:`Two slides are "${u.id}".`}),i.add(u.id)})}),SLIDES_FILE="slides.yaml",NameSchema=external_exports.string().regex(SCRIPT_NAME,"A name is letters, digits, _ and -."),THEME_COLORS=["dk1","lt1","dk2","lt2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],TEXT_ALIGNS=["l","ctr","r","just"],SHAPE_GEOMETRIES=SHAPE_TYPES,ANIMATION_EFFECTS=["appear","fade","wipe","fly-in","zoom","disappear","fade-out","wipe-out","fly-out","zoom-out","pulse","path"],ANIMATION_STARTS=["on-click","with-previous","after-previous"],ANIMATION_DIRECTIONS=["from-bottom","from-top","from-left","from-right"],LINE_DASHES=["solid","sysDash","sysDot","dash","dashDot","lgDash","lgDashDot","lgDashDotDot"],LINE_ENDS=["none","triangle","arrow","stealth","diamond","oval"],FrameSchema=external_exports.strictObject({x:external_exports.number(),y:external_exports.number(),w:external_exports.number().nonnegative(),h:external_exports.number().nonnegative()}),THEME_TINT=new RegExp(`^(${THEME_COLORS.join("|")}) (lighter|darker) (100(?:\\.0{1,3})?|[1-9]?\\d(?:\\.\\d{1,3})?)%$`,"u"),RGB_FILE=/^#[0-9A-Fa-f]{6}$/u,isThemeColor=e=>THEME_COLORS.includes(e);function colorOfFile(e){if(isThemeColor(e))return e;if(RGB_FILE.test(e))return{rgb:e.toUpperCase()};const t=THEME_TINT.exec(e),[,r="",i,u=""]=t??[],o=Math.round(Number(u)*1e3);if(!(!t||!isThemeColor(r)||o<=0||o>1e5))return{theme_color:r,brightness:(i==="lighter"?o:-o)/1e5}}var COLOR_FILE_MESSAGE=`A colour is one of the theme's (${THEME_COLORS.join(", ")}), one of them lighter or darker by a share over 0 up to 100% ("accent1 lighter 40%", "dk1 darker 25%"), or #RRGGBB.`,ColorFileSchema=external_exports.union([external_exports.enum(THEME_COLORS),external_exports.string().regex(THEME_TINT,COLOR_FILE_MESSAGE),external_exports.string().regex(RGB_FILE,COLOR_FILE_MESSAGE)]).refine(e=>colorOfFile(e)!==void 0,COLOR_FILE_MESSAGE),NUMBERINGS=["arabicPeriod","arabicParenR","alphaLcPeriod","alphaUcPeriod","romanLcPeriod","romanUcPeriod"],TEXT_ANCHORS=["t","ctr","b"],TextStyleSchema=external_exports.strictObject({size:external_exports.number().positive().max(4e3).optional(),bold:external_exports.boolean().optional(),italic:external_exports.boolean().optional(),underline:external_exports.boolean().optional(),strike:external_exports.boolean().optional(),color:ColorFileSchema.optional(),font:external_exports.string().min(1).optional(),align:external_exports.enum(TEXT_ALIGNS).optional(),line_spacing:external_exports.number().positive().max(10).optional(),space_before:external_exports.number().min(0).max(1584).optional(),space_after:external_exports.number().min(0).max(1584).optional(),anchor:external_exports.enum(TEXT_ANCHORS).optional(),bullet:external_exports.union([external_exports.literal(!1),external_exports.string().min(1).max(2)]).optional(),numbered:external_exports.enum(NUMBERINGS).optional()}),CropSchema=external_exports.strictObject({left:external_exports.number().min(0).max(1).optional(),top:external_exports.number().min(0).max(1).optional(),right:external_exports.number().min(0).max(1).optional(),bottom:external_exports.number().min(0).max(1).optional()}),PropValueSchema=external_exports.lazy(()=>external_exports.union([external_exports.string(),external_exports.number(),external_exports.boolean(),external_exports.null(),external_exports.array(PropValueSchema),external_exports.record(external_exports.string(),PropValueSchema)])),CHART_TYPES=["column-clustered","column-stacked","column-stacked-100","bar-clustered","bar-stacked","bar-stacked-100","line","line-markers","area","area-stacked","area-stacked-100","pie","doughnut"],SHEET_CHART_TYPES=[...CHART_TYPES,"scatter","scatter-lines","scatter-smooth"],CHART_LEGEND_POSITIONS=["bottom","top","left","right"],ChartAxisSchema=external_exports.strictObject({min:external_exports.number().optional(),max:external_exports.number().optional(),major:external_exports.number().positive().optional(),gridlines:external_exports.boolean().optional(),visible:external_exports.boolean().optional(),format:external_exports.string().min(1).optional(),reverse:external_exports.boolean().optional(),gridline_color:ColorFileSchema.optional(),line_color:ColorFileSchema.optional()}),ChartSchema=external_exports.strictObject({type:external_exports.enum(SHEET_CHART_TYPES),data:external_exports.string().min(1).optional(),categories:external_exports.union([external_exports.string().min(1),external_exports.array(external_exports.string())]).optional(),series:external_exports.array(external_exports.union([external_exports.string().min(1),external_exports.strictObject({name:external_exports.string().min(1),values:external_exports.array(external_exports.number().nullable()).optional(),x:external_exports.array(external_exports.number().nullable()).optional(),color:ColorFileSchema.optional(),format:external_exports.string().min(1).optional(),smooth:external_exports.boolean().optional(),line_width:external_exports.number().positive().optional(),marker_size:external_exports.number().int().min(2).max(72).optional()})])).min(1),legend:external_exports.enum(CHART_LEGEND_POSITIONS).optional(),labels:external_exports.union([external_exports.boolean(),external_exports.strictObject({value:external_exports.boolean().optional(),percentage:external_exports.boolean().optional(),category:external_exports.boolean().optional(),series:external_exports.boolean().optional(),format:external_exports.string().min(1).optional(),position:external_exports.enum(["outEnd","inEnd","ctr","inBase","t","b","l","r","bestFit"]).optional(),size:external_exports.number().positive().optional(),color:ColorFileSchema.optional()})]).optional(),gap_width:external_exports.number().min(0).max(500).optional(),overlap:external_exports.number().min(-100).max(100).optional(),vary_by_categories:external_exports.boolean().optional(),hole_size:external_exports.number().min(10).max(90).optional(),value_axis:ChartAxisSchema.optional(),category_axis:ChartAxisSchema.optional(),size:external_exports.number().positive().optional(),title_size:external_exports.number().positive().optional(),color:ColorFileSchema.optional()}),ShareSchema=external_exports.number().min(0).max(1),GradientSchema=external_exports.strictObject({angle:external_exports.number().min(0).max(360).optional(),stops:external_exports.array(external_exports.strictObject({at:ShareSchema,color:ColorFileSchema,transparency:ShareSchema.optional()})).min(2).max(10)}),BackgroundSchema=external_exports.strictObject({fill:ColorFileSchema.optional(),gradient:GradientSchema.optional(),picture:external_exports.string().min(1).optional()}).refine(e=>[e.fill,e.gradient,e.picture].filter(t=>t!==void 0).length===1,{message:"A background is a fill, a gradient or a picture: one of them."}),ShadowSchema=external_exports.strictObject({color:ColorFileSchema.optional(),blur:external_exports.number().min(0).max(100).optional(),distance:external_exports.number().min(0).max(200).optional(),angle:external_exports.number().min(0).max(360).optional(),transparency:ShareSchema.optional()}),ShapeSchema=external_exports.strictObject({frame:FrameSchema.optional(),rotation:external_exports.number().min(0).lt(360).optional(),flip_h:external_exports.literal(!0).optional(),flip_v:external_exports.literal(!0).optional(),z:external_exports.int().optional(),fill:external_exports.union([ColorFileSchema,external_exports.literal("none")]).optional(),fill_transparency:ShareSchema.optional(),gradient:GradientSchema.optional(),shadow:ShadowSchema.optional(),line:external_exports.union([ColorFileSchema,external_exports.literal("none")]).optional(),line_width:external_exports.number().positive().max(1584).optional(),line_dash:external_exports.enum(LINE_DASHES).optional(),line_begin:external_exports.enum(LINE_ENDS).optional(),line_end:external_exports.enum(LINE_ENDS).optional(),text:TextStyleSchema.optional(),textbox:external_exports.literal(!0).optional(),picture:external_exports.string().min(1).optional(),crop:CropSchema.optional(),movie:external_exports.string().min(1).optional(),poster:external_exports.number().min(0).optional(),geometry:external_exports.enum(SHAPE_GEOMETRIES).optional(),adjustments:external_exports.array(external_exports.number()).max(8).optional(),path:external_exports.strictObject({w:external_exports.number().positive(),h:external_exports.number().positive(),d:external_exports.string().min(1)}).optional(),table:external_exports.strictObject({columns:external_exports.array(external_exports.number().positive()).min(1),rows:external_exports.array(external_exports.strictObject({height:external_exports.number().positive(),fill:ColorFileSchema.optional(),text:TextStyleSchema.optional(),line:ColorFileSchema.optional()})).min(1)}).optional(),chart:ChartSchema.optional(),group:NameSchema.optional(),locked:external_exports.literal(!0).optional(),component:external_exports.union([NameSchema,external_exports.string().regex(/^[^#\s]+\.[cm]?[jt]sx?(?:#[A-Za-z_$][\w$]*)?$/u,"A component is a name slides.ts registers, or a module's path and export: ../ui.ts#Dialog.")]).optional(),props:external_exports.record(external_exports.string(),PropValueSchema).optional()}),SHAPE_KINDS=["textbox","picture","movie","geometry","path","table","chart","component"],SLIDE_TRANSITIONS=["fade","push","wipe","morph"],TransitionSchema=external_exports.strictObject({type:external_exports.enum(SLIDE_TRANSITIONS),direction:external_exports.enum(ANIMATION_DIRECTIONS).optional(),duration:external_exports.number().positive().optional()}),AnimationSchema=external_exports.strictObject({shape:external_exports.string().min(1),paragraph:external_exports.int().min(0).optional(),effect:external_exports.enum(ANIMATION_EFFECTS),direction:external_exports.enum(ANIMATION_DIRECTIONS).optional(),start:external_exports.enum(ANIMATION_STARTS).optional(),duration:external_exports.number().min(0).optional(),delay:external_exports.number().min(0).optional(),path:external_exports.string().min(1).optional()}),SlideSchema=external_exports.strictObject({id:NameSchema,layout:external_exports.string().min(1).optional(),generate:NameSchema.optional(),hidden:external_exports.union([external_exports.literal(!0),external_exports.array(external_exports.string())]).optional(),shapes:external_exports.record(external_exports.string().min(1),ShapeSchema).optional(),animations:external_exports.array(AnimationSchema).optional(),transition:TransitionSchema.optional(),advance_after:external_exports.number().min(0).max(86400).optional(),background:BackgroundSchema.optional()}),SlidesFileSchema=external_exports.strictObject({slides:external_exports.array(SlideSchema).default([])}).superRefine((e,t)=>{const r=new Set;e.slides.forEach((i,u)=>{r.has(i.id)&&t.addIssue({code:"custom",path:["slides",u,"id"],message:`Two slides are "${i.id}".`}),r.add(i.id),(i.layout===void 0?0:1)+(i.generate===void 0?0:1)!==1&&t.addIssue({code:"custom",path:["slides",u],message:`Slide ${i.id} has a layout or a generator: one of them.`}),i.hidden!==void 0&&i.generate===void 0&&i.hidden!==!0&&t.addIssue({code:"custom",path:["slides",u,"hidden"],message:`Slide ${i.id} is hidden (true); a list of ids is a generated block's.`});for(const[a,s]of Object.entries(i.shapes??{})){const d=SHAPE_KINDS.filter(f=>s[f]!==void 0);d.length>1&&t.addIssue({code:"custom",path:["slides",u,"shapes",a],message:`Shape ${a} is one kind of shape, not ${d.join(" and ")}.`});const c=a.includes("/")?a.split("/"):[a];(!(c.length<=2&&c.every(f=>SCRIPT_NAME.test(f)))||c.length===2&&i.generate===void 0)&&t.addIssue({code:"custom",path:["slides",u,"shapes",a],message:"A shape's name is letters, digits, _ and -; <slide>/<shape> only in a generated block."})}})}),Emu=external_exports.number(),ColorSchema=external_exports.union([external_exports.enum(THEME_COLORS),external_exports.strictObject({theme_color:external_exports.enum(THEME_COLORS),brightness:external_exports.number().min(-1).max(1)}),external_exports.strictObject({rgb:external_exports.string().regex(/^#?[0-9A-Fa-f]{6}$/u)})]),CodeFrameSchema=external_exports.strictObject({left:Emu,top:Emu,width:Emu,height:Emu}),RunSchema=external_exports.looseObject({text:external_exports.string()}),ParagraphSchema=external_exports.looseObject({level:external_exports.number().int().min(0).max(8),runs:external_exports.array(RunSchema)}),TextFrameSchema=external_exports.looseObject({paragraphs:external_exports.array(ParagraphSchema),levels:external_exports.array(external_exports.looseObject({}))}),ShapeDefSchema=external_exports.looseObject({name:external_exports.string(),kind:external_exports.enum(["placeholder","textbox","picture","movie","autoshape","table","chart","component"]),frame:CodeFrameSchema.optional(),placeholder:external_exports.strictObject({type:external_exports.string(),idx:external_exports.number().int()}).optional(),text:TextFrameSchema.optional(),media:external_exports.looseObject({path:external_exports.string(),base:external_exports.string()}).optional(),component:external_exports.strictObject({name:external_exports.string(),props:external_exports.record(external_exports.string(),external_exports.unknown())}).optional()}),LayoutSchema=external_exports.looseObject({name:external_exports.string(),master:external_exports.string(),shapes:external_exports.array(ShapeDefSchema)}),MasterSchema=external_exports.looseObject({name:external_exports.string(),background:ColorSchema,text_styles:external_exports.strictObject({title:external_exports.array(external_exports.looseObject({})),body:external_exports.array(external_exports.looseObject({})),other:external_exports.array(external_exports.looseObject({}))}),shapes:external_exports.array(ShapeDefSchema),layouts:external_exports.array(LayoutSchema)}),PropSpecSchema=external_exports.lazy(()=>external_exports.looseObject({type:external_exports.string(),optional:external_exports.boolean().optional(),of:PropSpecSchema.optional(),fields:external_exports.record(external_exports.string(),PropSpecSchema).optional(),kind:external_exports.string().optional()})),GeneratedSlideSchema=external_exports.looseObject({id:external_exports.string(),layout:external_exports.string(),shapes:external_exports.array(ShapeDefSchema),text:external_exports.record(external_exports.string(),external_exports.array(ParagraphSchema)),notes:external_exports.string().optional()}),DeckCodeSchema=external_exports.strictObject({slide_width:Emu.positive(),slide_height:Emu.positive(),theme:external_exports.strictObject({name:external_exports.string().optional(),colors:external_exports.partialRecord(external_exports.enum(THEME_COLORS),external_exports.string()).optional(),fonts:external_exports.record(external_exports.string(),external_exports.string()).optional()}).optional(),masters:external_exports.array(MasterSchema),components:external_exports.record(external_exports.string(),external_exports.strictObject({props:external_exports.record(external_exports.string(),PropSpecSchema)})),generators:external_exports.record(external_exports.string(),external_exports.union([external_exports.array(GeneratedSlideSchema),external_exports.strictObject({error:external_exports.string(),stack:external_exports.string().optional()})]))}),Stretch=external_exports.strictObject({from:SECONDS,to:SECONDS}).refine(e=>e.to>e.from,{message:"A stretch ends after its start.",path:["to"]}),PAD_MAX=2,PAD_SIDE=external_exports.number().min(0).max(PAD_MAX),EditsFileSchema=dataFile({version:external_exports.literal(1),take:external_exports.string().optional(),remove:external_exports.array(external_exports.strictObject({from:external_exports.int().nonnegative(),to:external_exports.int().nonnegative(),text:external_exports.string().optional()}).refine(e=>e.to>=e.from,{message:"A range ends at or after its start.",path:["to"]})).optional(),sounds:external_exports.array(Stretch).optional(),inWord:external_exports.array(Stretch).optional(),maxPause:external_exports.number().min(.05).max(10).optional(),pad:external_exports.strictObject({before:PAD_SIDE.optional(),after:PAD_SIDE.optional()}).optional()});function publicNames(e){const t=new Set;for(let r=e;r!==null&&r!==Object.prototype;r=Object.getPrototypeOf(r))for(const i of Object.getOwnPropertyNames(r))i!=="constructor"&&!i.startsWith("_")&&t.add(i);return[...t].sort()}var PROBED=new Set(["then","toJSON","constructor","length"]),hasSetter=(e,t)=>{for(let r=e;r!==null;r=Object.getPrototypeOf(r)){const i=Object.getOwnPropertyDescriptor(r,t);if(i)return i.set!==void 0||"value"in i}return!1};function distance(e,t){let r=Array.from({length:t.length+1},(i,u)=>u);for(let i=1;i<=e.length;i++){const u=[i];for(let o=1;o<=t.length;o++)u[o]=Math.min((r[o]??0)+1,(u[o-1]??0)+1,(r[o-1]??0)+(e[i-1]===t[o-1]?0:1));r=u}return r[t.length]??0}function closest(e,t){const r=Math.max(2,Math.floor(e.length/3));return t.map(i=>[i,distance(e.toLowerCase(),i.toLowerCase())]).filter(([,i])=>i<=r).sort((i,u)=>i[1]-u[1]).slice(0,3).map(([i])=>i)}var NotHeld=class extends Error{constructor(e,t,r,i){const u=closest(t,r);super(`${e} has no ${t} here.`+(u.length>0?` Did you mean ${u.join(" or ")}?`:"")+` It holds: ${r.join(", ")}. ${i}`),this.name="NotHeld"}};function strict(e,t,r,i={}){const u=(a,s)=>{const d=Object.getPrototypeOf(a);return new NotHeld(t,s,publicNames(d===Object.prototype?a:d),r)},o=i.value??(a=>a);return new Proxy(e,{get(a,s,d){if(typeof s=="symbol"||s in a||PROBED.has(s)){const l=Reflect.get(a,s,d),f=i.value;return f===void 0||typeof l!="function"||s==="constructor"?l:(...h)=>Reflect.apply(l,d,h.map(f))}if(i.index&&/^(0|[1-9]\d*)$/u.test(s)){const l=i.index(Number(s));if(l===void 0)throw new RangeError(`${t}[${s}]: there is none.`);return l}const c=i.key?.(s);if(c!==void 0)return c;throw u(a,s)},set(a,s,d,c){if(i.setIndex&&typeof s=="string"&&/^(0|[1-9]\d*)$/u.test(s))return i.setIndex(Number(s),o(d)),!0;if(typeof s=="symbol"||s.startsWith("_")||hasSetter(a,s))return Reflect.set(a,s,o(d),c);if(i.setKey?.(s,o(d))===!0)return!0;throw u(a,s)}})}function strictEnum(e,t,r){return new Proxy(t,{get(i,u){if(typeof u=="symbol"||Object.hasOwn(i,u)||PROBED.has(u))return Reflect.get(i,u);throw new NotHeld(e,u,Object.keys(i),r)}})}var CJK=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u;function normText(e){return e.normalize("NFKD").replace(/\p{M}/gu,"").toLowerCase().replace(/[^\p{L}\p{N}]/gu,"")}var WordStream=class{text;owner=[];wordStart=[];words;constructor(e){this.words=e;let t="";e.forEach((r,i)=>{const u=normText(r.text);this.wordStart.push(t.length),this.owner.push(...new Array(u.length).fill(i)),t+=u}),this.text=t}wordAt(e){const t=Math.min(Math.max(e,0),this.owner.length-1);return this.owner[t]??0}charOf(e){return this.wordStart[e]??this.text.length}find(e,t,r,i=1){if(!e)return-1;const u=this.charOf(t),o=this.charOf(r+1),a=CJK.test(e);let s=0,d=this.text.indexOf(e,u);for(;d>=0&&d+e.length<=o;){const c=this.owner[d];if(c!==void 0&&(a||this.wordStart[c]===d)&&(s++,s===i))return c;d=this.text.indexOf(e,d+1)}return-1}span(e,t,r,i=1){if(!e)return;const u=this.charOf(t),o=this.charOf(r+1),a=CJK.test(e);let s=0,d=this.text.indexOf(e,u);for(;d>=0&&d+e.length<=o;){const c=this.owner[d];if(c!==void 0&&(a||this.wordStart[c]===d)&&(s++,s===i))return{first:c,last:this.wordAt(d+e.length-1)};d=this.text.indexOf(e,d+1)}}},WordView=class{index;stream;constructor(e,t=new Set){const r=[];e.forEach((i,u)=>{t.has(u)||r.push(u)}),this.index=r,this.stream=new WordStream(r.map(i=>e[i]??{text:"",start:0,end:0}))}at(e){let t=0,r=this.index.length;for(;t<r;){const i=t+r>>1;(this.index[i]??0)<e?t=i+1:r=i}return t}take(e){return this.index[e]??this.index.at(-1)??0}findLine(e,t=0){const r=this.at(t);if(r>=this.index.length)return;const i=findLine(this.stream,e,r);return i&&{...i,first:this.take(i.first),last:this.take(i.last)}}span(e,t,r,i=1){const u=this.at(t),o=this.at(r+1)-1;if(u>o)return;const a=this.stream.span(e,u,o,i);return a&&{first:this.take(a.first),last:this.take(a.last)}}},ScriptAlignment=class{stream;lines;offsets;map;matched;takeHits;constructor(e,t){this.stream=e,this.lines=t.map(normText),this.offsets=[];let r="";for(const m of this.lines)this.offsets.push(r.length),r+=m;const i=e.text,u=r.length,o=i.length;if(this.map=new Int32Array(u).fill(-1),this.matched=this.lines.map(()=>0),this.takeHits=new Uint8Array(e.text.length),u===0||o===0)return;const a=Math.max(64,Math.ceil(.25*Math.max(u,o))),s=2*a+1,d=new Int32Array(u+1),c=new Uint8Array((u+1)*s),l=1<<29,f=m=>Math.round(m*o/u);let h=new Int32Array(s).fill(l),p=0;for(let m=0;m<=u;m++){const y=Math.max(0,f(m)-a),E=Math.min(o,f(m)+a);d[m]=y;const D=new Int32Array(s).fill(l);for(let b=y;b<=E;b++){const _=b-y;if(m===0){D[_]=b,c[_]=2;continue}if(b===0){D[_]=m,c[m*s+_]=1;continue}const w=k=>{const j=k-p;return j>=0&&j<s?h[j]??l:l},B=w(b-1)+(r[m-1]===i[b-1]?0:1),F=w(b)+1,$=_>0?(D[_-1]??l)+1:l;let L=B,O=0;F<L&&(L=F,O=1),$<L&&(L=$,O=2),D[_]=L,c[m*s+_]=O}h=D,p=y}const g=new Uint8Array(u);let v=u,x=o;for(;v>0&&x>0;){const m=c[v*s+(x-(d[v]??0))];m===0?(r[v-1]===i[x-1]&&(g[v-1]=1,this.takeHits[x-1]=1),this.map[v-1]=x-1,v--,x--):m===1?v--:x--}let A=0;for(let m=0;m<u;){let y=m;for(;y+1<u&&g[m]===1&&g[y+1]===1&&(this.map[y+1]??-1)===(this.map[y]??-1)+1;)y++;if(g[m]===1&&y-m+1>=3)for(let E=m;E<=y;E++){for(;A+1<this.offsets.length&&(this.offsets[A+1]??u)<=E;)A++;this.matched[A]=(this.matched[A]??0)+1}m=y+1}this.lines.forEach((m,y)=>{if(m.length===0||m.length>=3)return;const E=this.offsets[y]??0;let D=!0;for(let b=E;b<E+m.length;b++)g[b]!==1&&(D=!1);D&&(this.matched[y]=m.length)})}textPos(e){const t=this.map.length,r=this.map[e]??-1;if(r>=0)return r;let i=e-1;for(;i>=0&&(this.map[i]??-1)<0;)i--;let u=e+1;for(;u<t&&(this.map[u]??-1)<0;)u++;const o=i>=0?this.map[i]??0:0,a=u<t?this.map[u]??0:this.stream.text.length-1,s=i>=0?i:-1,d=u<t?u:t;return Math.round(o+(e-s)*(a-o)/(d-s))}wordAtChar(e,t){const r=this.lines[e]??"",i=Math.max(0,Math.min(t,Math.max(0,r.length-1)));return this.stream.wordAt(this.textPos((this.offsets[e]??0)+i))}lineStart(e){return this.stream.wordAt(this.textPos(this.offsets[e]??0))}wordFor(e,t,r=1){const i=normText(t),u=this.lines[e]??"";if(!i)return-1;let o=-1;for(let a=0;a<r;a++)if(o=u.indexOf(i,o+1),o<0)return-1;return this.stream.wordAt(this.textPos((this.offsets[e]??0)+o))}};function runsMatched(e,t,r){let i=0;for(let u=0;u<r;){let o=u;for(;o+1<r&&e[u]===1&&e[o+1]===1&&(t[o+1]??-1)===(t[o]??-1)+1;)o++;e[u]===1&&o-u+1>=3&&(i+=o-u+1),u=o+1}return r>0&&r<3&&e.every(u=>u===1)?r:i}var LINE_FOUND=.4,LINE_CELLS=4e7;function findLine(e,t,r=0){const i=normText(t),u=e.charOf(r),o=i.length,a=Math.min(e.text.length-u,Math.max(1,Math.floor(LINE_CELLS/(o+1))));if(o===0||a<=0)return;const s=e.text.slice(u,u+a),d=a+1,c=new Uint8Array((o+1)*d);let l=new Int32Array(d);for(let m=1;m<=o;m++){const y=new Int32Array(d);y[0]=m,c[m*d]=1;for(let E=1;E<=a;E++){const D=(l[E-1]??0)+(i[m-1]===s[E-1]?0:1),b=(l[E]??0)+1,_=(y[E-1]??0)+1;let w=D,B=0;b<w&&(w=b,B=1),_<w&&(w=_,B=2),y[E]=w,c[m*d+E]=B}l=y}let f=0;for(let m=1;m<=a;m++)(l[m]??0)<(l[f]??0)&&(f=m);const h=new Int32Array(o).fill(-1),p=new Uint8Array(o);let g=o,v=f;for(;g>0&&v>0;){const m=c[g*d+v];m===0?(i[g-1]===s[v-1]&&(p[g-1]=1),h[g-1]=v-1,g--,v--):m===1?g--:v--}let x=-1,A=-1;for(let m=0;m<o;m++){const y=h[m]??-1;y<0||(x<0&&(x=y),A=y)}return x<0?{first:r,last:r,score:0}:{first:e.wordAt(u+x),last:e.wordAt(u+A),score:runsMatched(p,h,o)/o}}function distance2(e,t){let r=Array.from({length:t.length+1},(i,u)=>u);for(let i=1;i<=e.length;i++){const u=[i];for(let o=1;o<=t.length;o++)u[o]=Math.min((r[o-1]??0)+(e[i-1]===t[o-1]?0:1),(r[o]??0)+1,(u[o-1]??0)+1);r=u}return r[t.length]??0}function nearestPhrases(e,t,r=3){const i=normText(t);if(!i||e.length===0)return[];const u=Math.max(1,CJK.test(t)?1:t.trim().split(/\s+/u).length),o=[];for(let s=0;s+u<=e.length;s++){const d=joinWords(e.slice(s,s+u));o.push({text:d,d:distance2(i,normText(d))})}o.sort((s,d)=>s.d-d.d);const a=[];for(const s of o)if(a.includes(s.text)||a.push(s.text),a.length>=r)break;return a}function joinWords(e){let t="";for(const r of e){const i=r.text.trim();if(!i)continue;const u=t===""||CJK.test(t.slice(-1))&&CJK.test(i.charAt(0))?"":" ";t+=u+i}return t}function parseWordRef(e){const t=/^(.+?)(?:@(\d+))?([+-]\d*\.?\d+)?$/su.exec(e.trim());return t?{text:t[1]??e,nth:t[2]===void 0?1:Number(t[2]),shift:t[3]===void 0?0:Number(t[3])}:{text:e,nth:1,shift:0}}function numericRef(e){if(typeof e=="number"&&Number.isFinite(e))return e;if(typeof e=="string"&&/^\s*-?\d*\.?\d+\s*$/.test(e))return Number(e)}function cutOnFrame(e,t,r,i){const u=d=>Math.min(Math.max(d,0),i),o=d=>r.find(c=>c.start<d-1e-6&&c.end>d+1e-6),a=u(Math.round(e*t)/t),s=o(a);return!s||o(e)===s?a:u(e<=s.start+1e-6?Math.floor(s.start*t+1e-6)/t:Math.ceil(s.end*t-1e-6)/t)}var PIECE=/\s+|[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]|[\p{L}\p{N}]+|./gsu,COMPARE_CELLS=4e5;function changesOf(e,t){const r=e.match(PIECE)??[],i=t.match(PIECE)??[];let u=0;for(;u<r.length&&u<i.length&&r[u]===i[u];)u++;let o=0;for(;o<r.length-u&&o<i.length-u&&r[r.length-1-o]===i[i.length-1-o];)o++;const a=r.length-u-o,s=i.length-u-o,d=(m,y,E)=>{let D=0;for(let b=y;b<E;b++)D+=(m[b]??"").length;return D},c=d(r,0,u);if(a===0&&s===0)return[];if(a===0||s===0||a*s>COMPARE_CELLS)return[{at:c,removed:d(r,u,u+a),into:c,inserted:d(i,u,u+s)}];const l=s+1,f=new Int32Array((a+1)*l);for(let m=a-1;m>=0;m--)for(let y=s-1;y>=0;y--)f[m*l+y]=r[u+m]===i[u+y]?(f[(m+1)*l+y+1]??0)+1:Math.max(f[(m+1)*l+y]??0,f[m*l+y+1]??0);const h=[];let p=c,g=c,v,x=0,A=0;for(;x<a||A<s;){const m=r[u+x],y=i[u+A];if(x<a&&A<s&&m===y){v=void 0,p+=(m??"").length,g+=(y??"").length,x++,A++;continue}v||(v={at:p,removed:0,into:g,inserted:0},h.push(v)),A>=s||x<a&&(f[(x+1)*l+A]??0)>=(f[x*l+A+1]??0)?(v.removed+=(m??"").length,p+=(m??"").length,x++):(v.inserted+=(y??"").length,g+=(y??"").length,A++)}return h}function lineAnchors(e,t,r=i=>i){const i=u=>normText(r(e.slice(0,u))).length;return t.map(u=>({name:u.name,at:i(u.at),...u.end===void 0?{}:{end:i(u.end)}}))}function parseAnchorRef(e,t=new Set){const r=/^@(\/?)(.+)$/su.exec(e.trim());if(!r?.[2])return;const i=r[1]==="/",u=r[2];if(t.has(u))return{name:u,end:i,shift:0};const o=/^(.+?)([+-]\d*\.?\d+)$/su.exec(u);return o?.[1]&&o[2]?{name:o[1],end:i,shift:Number(o[2])}:{name:u,end:i,shift:0}}var PIECE_BRAND="__allyhubPiece",PART_BRAND="__allyhubPart",LAYER_BRAND="__allyhubLayer",SPEECH_BRAND="__allyhubSpeech";function partAnchorList(e){return Object.entries(e??{}).map(([t,r])=>typeof r=="number"?{name:t,at:r}:{name:t,at:r[0],end:r[1]})}function isSpeechSpec(e){return typeof e=="object"&&e!==null&&SPEECH_BRAND in e}function isPerOrient(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function forOrient(e,t){return isPerOrient(e)?e[t]??e.default:e}function isLayerSpec(e){return typeof e=="object"&&e!==null&&LAYER_BRAND in e}function isPartSpec(e){return typeof e=="object"&&e!==null&&PART_BRAND in e}var PART_DEFAULTS={dur:4,lead:.2,tail:.3};function partDefaults(...e){const t={...PART_DEFAULTS};for(const r of e)r?.dur!==void 0&&(t.dur=r.dur),r?.lead!==void 0&&(t.lead=r.lead),r?.tail!==void 0&&(t.tail=r.tail);return t}function isPieceDefinition(e){return typeof e=="object"&&e!==null&&PIECE_BRAND in e}var outputName=e=>e;function outputOf(e){const t={};for(const[r,i]of Object.entries(e))PIECE_KEYS.has(r)||(t[r]=i);return{kind:"video",build:e.parts,options:t}}var PIECE_KEYS=new Set([PIECE_BRAND,"kind","parts","id","base","title","format","matrix","meta","written"]);function messagePrefix(e){return e.replace(/\//g,".")}var LAYER_OFF="data-ak-off";function showLayer(e,t){e.toggleAttribute(LAYER_OFF,!t)}function layerShown(e){return!e.hasAttribute(LAYER_OFF)}function addLayerRule(e){if(e.adoptedStyleSheets.some(r=>r.allyhubLayers))return;const t=new CSSStyleSheet;t.replaceSync(`[${LAYER_OFF}] { display: none !important; }`),Object.assign(t,{allyhubLayers:!0}),e.adoptedStyleSheets=[...e.adoptedStyleSheets,t]}var isMade=e=>typeof e=="function"&&typeof e.info=="object"&&e.info!==null,isGraphicLayer=e=>typeof e=="object"&&e!==null&&e[LAYER_BRAND]==="graphic";function framedComponent(e,t){if(isMade(t)){const{info:r}=t,i=t.layersIn;return{name:e,...r.label===void 0?{}:{label:r.label},props:r.props,layers:i??(u=>[t(u)])}}if(typeof t=="object"&&t!==null&&typeof t.layers=="function"){const r=t;return{name:e,...r.label===void 0?{}:{label:r.label},props:r.props??{},layers:r.layers}}}function readPropText(e,t){switch(e.type){case"number":{const r=t.trim()===""?NaN:Number(t);return Number.isFinite(r)?e.min!==void 0&&r<e.min?{ok:!1,why:`is under its least, ${String(e.min)}`}:e.max!==void 0&&r>e.max?{ok:!1,why:`is over its most, ${String(e.max)}`}:{ok:!0,value:r}:{ok:!1,why:"is not a number"}}case"boolean":return t==="true"?{ok:!0,value:!0}:t==="false"?{ok:!0,value:!1}:{ok:!1,why:"is not true or false"};case"time":{const r=Number(t);return Number.isFinite(r)&&t.trim()!==""?{ok:!0,value:r}:{ok:!0,value:t}}case"list":case"object":{let r;try{r=JSON.parse(t)}catch{return{ok:!1,why:`is not JSON (a ${e.type} is written as JSON)`}}return(e.type==="list"?Array.isArray(r):typeof r=="object"&&r!==null&&!Array.isArray(r))?{ok:!0,value:r}:{ok:!1,why:`is not a JSON ${e.type==="list"?"array":"object"}`}}default:return{ok:!0,value:t}}}function readPropsText(e,t){const r={},i=[];for(const[u,o]of Object.entries(t)){const a=e.props[u];if(a===void 0){const d=Object.keys(e.props);i.push(`${e.name} has no prop ${u} (${d.length>0?`it has ${d.join(", ")}`:"it has none"})`);continue}const s=readPropText(a,o);s.ok?r[u]=s.value:i.push(`${e.name}'s ${u} "${o}" ${s.why}`)}return{props:r,problems:i}}function momentOf(e,t){const r=new Set(e.parts.flatMap(o=>(o.anchors??[]).map(a=>a.name))),i=parseAnchorRef(t,r);if(i){for(const o of e.parts){const a=o.anchors?.find(s=>s.name===i.name);if(a){if(i.end&&a.end===void 0)throw new Error(`The anchor "${i.name}" of part ${o.key} is a place, not a stretch: "@/${i.name}" has no end. Use "@${i.name}".`);return(i.end?a.end??a.at:a.at)+i.shift}}throw new Error(`No part of the video has the anchor "${i.name}"; it has ${r.size>0?[...r].map(o=>`@${o}`).join(", "):"no anchors"}.`)}const u=e.parts.find(o=>o.key===t);if(u)return u.start;throw new Error(`"${t}" is not an anchor ("@name") or a part of the video; its parts are ${e.parts.map(o=>o.key).join(", ")}.`)}var at=(e,t)=>e===""?e:new URL(e,t).href;function resolveMedia(e,t){return Object.fromEntries(Object.entries(e).map(([r,i])=>[r,{...i,url:at(i.url,t),...i.matteUrl===void 0?{}:{matteUrl:at(i.matteUrl,t)},...i.denoisedUrl===void 0?{}:{denoisedUrl:at(i.denoisedUrl,t)}}]))}function resolveSource(e,t){return{...e,module:at(e.module,t),...e.styles===void 0?{}:{styles:e.styles.map(r=>at(r,t))},media:resolveMedia(e.media,t)}}var BUILTIN_SFX=["whoosh","tick","pop"];function isBuiltinSfx(e){return BUILTIN_SFX.includes(e)}var CLEAN_LOOK={name:"clean",color:{bg:"#ffffff",fg:"#16181d",accent:"#2f5bea",muted:"#5d6470",surface:"#f3f4f6"},font:{display:'"Inter Variable", "Noto Sans SC", "Noto Sans CJK SC", sans-serif',body:'"Inter Variable", "Noto Sans SC", "Noto Sans CJK SC", sans-serif',mono:'ui-monospace, "SF Mono", Menlo, monospace',emoji:'"Noto Color Emoji"'},motion:{beat:.5},sfx:{}};function lookCss(e){const t={};for(const[r,i]of Object.entries(e.color))t[`--ak-color-${r}`]=i;for(const[r,i]of Object.entries(e.font))t[`--ak-font-${r}`]=i;return t["--ak-motion-beat"]=`${String(e.motion.beat)}s`,t}var PRESETS=["16x9","9x16","1x1","4x5"];function isPreset(e){return typeof e=="string"&&PRESETS.includes(e)}var INFO={"16x9":{width:1920,height:1080,orient:"landscape",safe:{top:60,bottom:90,left:80,right:80}},"9x16":{width:1080,height:1920,orient:"portrait",safe:{top:150,bottom:400,left:40,right:140}},"1x1":{width:1080,height:1080,orient:"square",safe:{top:50,bottom:90,left:40,right:40}},"4x5":{width:1080,height:1350,orient:"portrait",safe:{top:60,bottom:120,left:40,right:40}}};function contentEdges(e,t={}){const{width:r,height:i,orient:u,safe:o}=e,a=Math.min(r,i)/1080,s=t.margin??(u==="landscape"?120:84)*a,d=Math.max(s,o.left,o.right),c=Math.max(d,o.top+(t.topGap??30*a)),l=i-Math.max(d,o.bottom+(t.bottomGap??20*a));return{k:a,pad:d,top:c,bottom:l,left:d,right:r-d}}function presetInfo(e){return INFO[e]}var PROFILES=["tiktok","reels","shorts","meta-feed","amazon","linkedin"];function isProfile(e){return typeof e=="string"&&PROFILES.includes(e)}var PROFILE_INFO={tiktok:{name:"tiktok",label:"TikTok",width:1080,height:1920,safe:{top:240,bottom:660,left:120,right:180},maxDuration:600,loudness:-14,file:{container:"mp4",video:"h264",audio:"aac",cover:{width:1080,height:1920},maxBytes:5e8,encode:{crf:20,maxKbps:6e3}}},reels:{name:"reels",label:"Instagram Reels",width:1080,height:1920,safe:{top:269,bottom:672,left:65,right:65},maxDuration:180,loudness:-14,file:{container:"mp4",video:"h264",audio:"aac",cover:{width:1080,height:1920},maxBytes:4e9,encode:{crf:20,maxKbps:6e3}}},shorts:{name:"shorts",label:"YouTube Shorts",width:1080,height:1920,safe:{top:288,bottom:672,left:48,right:192},maxDuration:180,loudness:-14,file:{container:"mp4",video:"h264",audio:"aac",cover:{width:1080,height:1920},maxBytes:256e9,encode:{crf:20,maxKbps:8e3}}},"meta-feed":{name:"meta-feed",label:"Facebook and Instagram feed",width:1080,height:1350,safe:{top:60,bottom:120,left:40,right:40},maxDuration:14460,loudness:-14,file:{container:"mp4",video:"h264",audio:"aac",cover:{width:1080,height:1350},maxBytes:4e9,encode:{crf:20,maxKbps:6e3}}},amazon:{name:"amazon",label:"Amazon Sponsored Brands video",width:1920,height:1080,safe:{top:60,bottom:90,left:80,right:80},maxDuration:45,loudness:-14,file:{container:"mp4",video:"h264",audio:"aac",cover:{width:1920,height:1080},maxBytes:5e8,encode:{crf:20,maxKbps:8e3}}},linkedin:{name:"linkedin",label:"LinkedIn",width:1080,height:1080,safe:{top:50,bottom:90,left:40,right:40},maxDuration:1800,loudness:-14,file:{container:"mp4",video:"h264",audio:"aac",cover:{width:1080,height:1080},maxBytes:2e8,encode:{crf:20,maxKbps:6e3}}}},FPS=30,LOAD_LIMIT=10,SEEK_LIMIT=30,LOAD_WAITS=4,MAX_FPS=120,NTSC=[24,30,48,60,120];function parseFps(e){if(typeof e=="number"){if(!Number.isFinite(e))return;if(Number.isInteger(e))return e>=1&&e<=MAX_FPS?e:void 0;for(const i of NTSC){const u=i*1e3/1001;if(Math.abs(e-u)<.005)return u}return}if(typeof e!="string")return;const t=e.trim(),r=/^(\d+)\s*\/\s*(\d+)$/.exec(t);if(r){const i=Number(r[1]),u=Number(r[2]);return u===1?parseFps(i):u===1001&&NTSC.some(o=>o*1e3===i)?i/u:void 0}return t!==""&&Number.isFinite(Number(t))?parseFps(Number(t)):void 0}function toFrame(e,t=FPS){return Math.floor(e*t+1e-9)/t}var CUSTOM=/^([1-9]\d{1,3})x([1-9]\d{1,3})$/,NO_SAFE={top:0,bottom:0,left:0,right:0},orientOf=(e,t)=>e>t?"landscape":e<t?"portrait":"square";function formatName(e){return typeof e=="string"?e:e.format}function formatEntry(e,t){return e.find(r=>formatName(r)===t)}function withSpec(e,t){const r={...e.safe,...definedOf(t.safe??{})},i=e.profile;return{...e,safe:r,...i?{profile:{...i,safe:r,...t.maxDuration===void 0?{}:{maxDuration:t.maxDuration},...t.loudness===void 0?{}:{loudness:t.loudness}}}:{}}}function definedOf(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}function formatInfo(e){if(typeof e!="string"){const u=formatInfo(e.format);return u&&withSpec(u,e)}if(isPreset(e))return INFO[e];if(isProfile(e)){const u=PROFILE_INFO[e];return{width:u.width,height:u.height,orient:orientOf(u.width,u.height),safe:u.safe,profile:u}}const t=CUSTOM.exec(e);if(!t)return;const r=Number(t[1]),i=Number(t[2]);if(!(r<64||i<64||r>8192||i>8192))return{width:r,height:i,orient:orientOf(r,i),safe:NO_SAFE}}function isVideoFormat(e){if(isPreset(e)||isProfile(e))return!0;if(typeof e!="string")return!1;const t=formatInfo(e);return t!==void 0&&t.width%2===0&&t.height%2===0}var VIDEO_FORMAT_HELP=`one of ${PRESETS.join(", ")}, a platform profile (${PROFILES.join(", ")}), or WIDTHxHEIGHT in pixels with even sides from 64 to 8192, such as 1280x720`,clamp01=e=>Math.min(Math.max(e,0),1);function pixelRect(e,t,r){const i=Math.round(clamp01(e[0])*t),u=Math.round(clamp01(e[1])*r),o=Math.round(clamp01(e[0]+e[2])*t),a=Math.round(clamp01(e[1]+e[3])*r);return[Math.min(i,t-1),Math.min(u,r-1),Math.max(1,o-i),Math.max(1,a-u)]}function placeFootage(e){const{frame:t}=e,r=e.box==="full"?[0,0,t.width,t.height]:pixelRect(e.box,t.width,t.height),i=e.source;if(!i||i.width<=0||i.height<=0)return{box:r,picture:[...r]};const u=e.crop?pixelRect(e.crop,i.width,i.height):[0,0,i.width,i.height],[o,a,s,d]=r,c=s/u[2],l=d/u[3],f=e.fit==="cover"?Math.max(c,l):Math.min(c,l),h=e.fit==="cover"?Math.ceil:Math.round,p=Math.max(1,h(u[2]*f-1e-6)),g=Math.max(1,h(u[3]*f-1e-6)),v=[o+Math.round((s-p)/2),a+Math.round((d-g)/2),p,g];return{box:r,crop:u,picture:v}}function intersect(e,t){const r=Math.max(e[0],t[0]),i=Math.max(e[1],t[1]),u=Math.min(e[0]+e[2],t[0]+t[2]),o=Math.min(e[1]+e[3],t[1]+t[3]);return u>r&&o>i?[r,i,u-r,o-i]:void 0}function asUrlString(e){return Object.prototype.hasOwnProperty.call(e,"toString")||Object.defineProperty(e,"toString",{value(){return this.url},enumerable:!1,configurable:!0,writable:!0}),e}var INDEX_DIR=`${CACHE_DIR}/index`;function boxAt(e,t,r){const i=e[0],u=e.at(-1);if(!i||!u)return;const o=1/Math.max(1,t);if(r<i.t-o||r>u.t+o)return;if(r<=i.t)return i.box;if(r>=u.t)return u.box;let a=0,s=e.length-1;for(;s-a>1;){const f=a+s>>1;(e[f]?.t??0)<=r?a=f:s=f}const d=e[a]??i,c=e[s]??u,l=c.t===d.t?0:(r-d.t)/(c.t-d.t);return[0,1,2,3].map(f=>(d.box[f]??0)+((c.box[f]??0)-(d.box[f]??0))*l)}function faceAt(e,t,r=e.speaker){if(r===void 0)return;const i=e.faces.find(u=>u.id===r);return i?boxAt(i.samples,e.fps,t):void 0}function facesAt(e,t){return e.faces.flatMap(r=>{const i=boxAt(r.samples,e.fps,t);return i?[{id:r.id,box:i}]:[]})}function hasFace(e,t){return e.faces.some(r=>r.id===t)}var EXT={png:"image",jpg:"image",jpeg:"image",webp:"image",gif:"image",svg:"image",avif:"image",mp3:"audio",wav:"audio",m4a:"audio",ogg:"audio",aac:"audio",flac:"audio",mp4:"video",webm:"video",mov:"video",m4v:"video",qt:"video",woff2:"font",woff:"font",ttf:"font",otf:"font",glb:"model",gltf:"model",bin:"model",ktx2:"model",hdr:"environment",exr:"environment"},MEDIA_EXTENSIONS=Object.keys(EXT);function repoPath(e,t){return pathIn(e.split("/").slice(0,-1).join("/"),t)}function pathIn(e,t){const r=t.startsWith("/")||e===""?[]:e.split("/");for(const i of t.split("/"))if(!(i==="."||i===""))if(i===".."){if(r.length===0)return;r.pop()}else r.push(i);return r.join("/")}function isSpoken(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&typeof e.display=="string"&&typeof e.speak=="string"}function isVariants(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&typeof e.match=="object"}function displayOf(e,t={},r){return isVariants(e)?selectVariant(e,t,r):isSpoken(e)?e.display:e}function speakOf(e,t={},r){return isVariants(e)?selectVariant(e,t,r):isSpoken(e)?e.speak:e}function textsOf(e){if(isVariants(e))return[...new Set(Object.values(e.match))];const t=displayOf(e);return t===void 0?[]:[t]}var INPUT_DECL=/^input\s+([A-Za-z_][A-Za-z0-9_]*)$/,LOCAL_DECL=/^local\s+([A-Za-z_][A-Za-z0-9_]*)\s*=\s*([A-Za-z_][A-Za-z0-9_]*)\s*:\s*([A-Za-z]+)((?:\s+[A-Za-z]+\s*=\s*[A-Za-z]+)*)$/;function parseDeclaration(e){const t=e.trim(),r=INPUT_DECL.exec(t);if(r?.[1])return{kind:"input",name:r[1]};const i=LOCAL_DECL.exec(t);if(i?.[1]&&i[2]&&i[3]){if(i[3]!=="plural")return`"${t}": only plural is supported, not ${i[3]}`;const o=new Map([...(i[4]??"").matchAll(/([A-Za-z]+)\s*=\s*([A-Za-z]+)/g)].map(a=>[a[1]??"",a[2]??""])).get("type")??"cardinal";return o!=="cardinal"&&o!=="ordinal"?`"${t}": type must be cardinal or ordinal`:{kind:"plural",name:i[1],of:i[2],ordinal:o==="ordinal"}}return`cannot read "${t}": write "input name" or "local name = input: plural"`}function parseMatchKey(e){const t=new Map;for(const r of e.split(",")){const i=/^\s*([A-Za-z_][A-Za-z0-9_]*)\s*=\s*([^,=\s]+)\s*$/.exec(r);if(!i?.[1]||!i[2])return;t.set(i[1],i[2])}return t}function selectorsOf(e){if(e.selectors.length>0)return e.selectors;const t=Object.keys(e.match)[0];return t===void 0?[]:[...parseMatchKey(t)?.keys()??[]]}function declarations(e){return e.declarations.map(parseDeclaration).filter(t=>typeof t!="string")}var pluralRules=new Map;function pluralCategory(e,t,r){if(!Number.isFinite(e))return;const i=`${t??""}|${String(r)}`;let u=pluralRules.get(i);if(!u){const o=r?"ordinal":"cardinal";try{u=new Intl.PluralRules(t,{type:o})}catch{u=new Intl.PluralRules(void 0,{type:o})}pluralRules.set(i,u)}return u.select(e)}function selectVariant(e,t,r){const i=new Map;for(const d of declarations(e))d.kind==="plural"&&i.set(d.name,{of:d.of,ordinal:d.ordinal});const u=selectorsOf(e),o=u.map(d=>{const c=i.get(d);if(c){const f=t[c.of],h=f===void 0||f===""?NaN:Number(f);return{exact:Number.isFinite(h)?String(h):void 0,category:pluralCategory(h,r,c.ordinal)}}const l=t[d];return{exact:l===void 0?void 0:String(l),category:void 0}});let a,s=-1;for(const[d,c]of Object.entries(e.match)){const l=parseMatchKey(d);if(!l)continue;let f=0;for(const[h,p]of u.entries()){const g=l.get(p),v=o[h];if(g==="*")f+=1;else if(v?.exact!==void 0&&g===v.exact)f+=3;else if(v?.category!==void 0&&g===v.category)f+=2;else{f=-1;break}}f>s&&(a=c,s=f)}if(a!==void 0)return a;if(i.size>0)for(const[d,c]of Object.entries(e.match)){const l=parseMatchKey(d);if(l&&[...i.keys()].every(f=>l.get(f)==="other"))return c}return Object.values(e.match)[0]??""}function fillMessage(e,t){return e.replace(/\{([A-Za-z_][A-Za-z0-9_]*)\}/g,(r,i)=>{const u=t[i];return u===void 0?r:String(u)})}function messageList(e,t,r,i=[]){const u=`${r}.`,o=[...t].filter(d=>d.startsWith(u)),a=d=>{const c=e(d);if(c!==void 0&&!o.some(p=>p.startsWith(`${d}.`)))return i.push(d),c;const l=new Set;for(const p of o){if(!p.startsWith(`${d}.`))continue;const g=p.slice(d.length+1).split(".")[0];g&&l.add(g)}if(l.size===0)return;if([...l].every(p=>/^\d+$/.test(p))){const p=[];for(let g=0;l.has(String(g));g++){const v=a(`${d}.${String(g)}`);v!==void 0&&p.push(v)}return p}const h={};for(const p of[...l].sort()){const g=a(`${d}.${p}`);g!==void 0&&(h[p]=g)}return h},s=a(r);return Array.isArray(s)?s:[]}var TOKEN=/\\([\\*~`])|\*+|~~|`/g,SPACE=/\s/u;function tokens(e){const t=[];let r=0;for(const i of e.matchAll(TOKEN)){if(i.index>r&&t.push({kind:"text",text:e.slice(r,i.index)}),r=i.index+i[0].length,i[1]!==void 0){t.push({kind:"escape",text:i[1]});continue}if(i[0]==="`"){t.push({kind:"tick"});continue}const u=e[i.index-1],o=e[r];t.push({kind:"run",char:i[0][0]??"*",length:i[0].length,left:i[0].length,opens:o!==void 0&&!SPACE.test(o),closes:u!==void 0&&!SPACE.test(u),closing:[],opening:[],closingIds:[]})}return r<e.length&&t.push({kind:"text",text:e.slice(r)}),t}var hasMarks=e=>/[*~`\\]/.test(e);function matchRuns(e,t,r,i){const u=[];for(let o=t;o<r;o++){const a=e[o];if(a?.kind==="run"){if(a.closes)for(let s=u.length-1;s>=0&&a.left>0;s--){const d=u[s]??-1,c=e[d];if(c?.char!==a.char||c.left===0||a.char==="*"&&(c.closes||a.opens)&&(c.length+a.length)%3===0&&!(c.length%3===0&&a.length%3===0))continue;const l=a.char==="~"||a.left>=2&&c.left>=2?2:1;if(a.char==="~"&&(a.left<2||c.left<2))continue;const f=a.char==="~"?"strike":l===2?"strong":"em",h=i();c.opening.push({kind:f,id:h}),a.closing.push(f),a.closingIds.push(h),c.left-=l,a.left-=l,u.length=c.left>0?s+1:s,s=u.length}a.left>0&&a.opens&&u.push(o)}}}function readMarks(e){if(!hasMarks(e))return{text:e,marks:[]};const t=tokens(e);for(let d=0;d<t.length;d++){const c=t[d];if(c?.kind!=="tick")continue;const l=t.findIndex((f,h)=>h>d&&f.kind==="tick");l<0||(c.pair=l,d=l)}let r=0;const i=()=>r++;let u=0;for(let d=0;d<=t.length;d++){const c=t[d];(c===void 0||c.kind==="tick"&&c.pair!==void 0)&&(matchRuns(t,u,d,i),c?.kind==="tick"&&c.pair!==void 0&&(d=c.pair,u=d+1))}let o="";const a=[],s=new Map;for(let d=0;d<t.length;d++){const c=t[d];if(c){if(c.kind==="text"||c.kind==="escape"){o+=c.text;continue}if(c.kind==="tick"){if(c.pair===void 0){o+="`";continue}const l=o.length;for(let f=d+1;f<c.pair;f++){const h=t[f];h&&(o+=h.kind==="escape"?`\\${h.text}`:h.kind==="text"?h.text:h.kind==="tick"?"`":h.char.repeat(h.length))}o.length>l&&a.push({at:l,end:o.length,kind:"code"}),d=c.pair;continue}c.closingIds.forEach((l,f)=>{const h=s.get(l),p=c.closing[f];h!==void 0&&p!==void 0&&o.length>h&&a.push({at:h,end:o.length,kind:p})}),o+=c.char.repeat(c.left);for(const l of c.opening)s.set(l.id,o.length)}}return a.sort((d,c)=>d.at-c.at||c.end-d.end),{text:o,marks:a}}var withoutMarks=e=>readMarks(e).text,ORDER=["strong","em","strike","code"];function markRuns(e,t=[]){const r=[...new Set([0,e.length,...t.flatMap(u=>[u.at,u.end])])].filter(u=>u>=0&&u<=e.length).sort((u,o)=>u-o),i=[];return r.forEach((u,o)=>{const a=r[o+1];if(a===void 0||a<=u)return;const s=t.filter(d=>d.at<=u&&a<=d.end);i.push({text:e.slice(u,a),kinds:ORDER.filter(d=>s.some(c=>c.kind===d))})}),i}var RULES={"AK-M001":{level:"error",rule:"The fields of video(), presentation() or defineComponent do not match the format"},"AK-M002":{level:"error",rule:"A piece is not the entry file of an item folder"},"AK-M003":{level:"error",rule:"An item's entry file does not match its folder or its kind"},"AK-M004":{level:"error",rule:"The project has no pieces"},"AK-M006":{level:"error",rule:"A messages file does not match the format"},"AK-M007":{level:"error",rule:"A script file does not match the format"},"AK-M008":{level:"error",rule:"A doc's file is not MDX, holds what a doc does not draw, or is not an item of its own"},"AK-M009":{level:"error",rule:"A sheet is wrong whatever the taste: its files cannot be read, a formula does not parse or names what is not there, a reference is circular, or a check does not hold"},"AK-M010":{level:"error",rule:"A video item reaches itself through the videos it shows (a screen, a video take, a footage of a video item)"},"AK-M011":{level:"error",rule:"A deck's slides.yaml does not match the format, or names a layout, a prop, a file or a video item the deck does not have"},"AK-M012":{level:"error",rule:"A sheet's sheet.ts reads the clock or a random number, reaches outside the project, or does not make the same sheets twice"},"AK-M013":{level:"error",rule:"A website's website.json is not JSON or does not match the format"},"AK-B001":{level:"error",rule:"Two pieces have the same id"},"AK-B003":{level:"error",rule:"The build made a network request"},"AK-B004":{level:"error",rule:"The build timed out, or its result is over the size limit"},"AK-B005":{level:"error",rule:"An import of a file outside the project, or of a package not declared in package.json"},"AK-B006":{level:"error",rule:"An import of an @allyhub/sdk entry point that does not exist"},"AK-B008":{level:"error",rule:"The project's @allyhub/sdk is another version than the allyhub that builds it"},"AK-B009":{level:"error",rule:"The project's package.json declares AllyHub, but its packages are not installed"},"AK-B010":{level:"error",rule:"A 3D model does not build"},"AK-K001":{level:"error",rule:"Two parts have the same key"},"AK-K003":{level:"error",rule:"The output has no parts"},"AK-D002":{level:"error",rule:"The same frame has different pixels when drawn in order and out of order"},"AK-N003":{level:"error",rule:"The sandbox blocked a request at run time"},"AK-S001":{level:"error",rule:"The code reads a key that is missing in the default language too"},"AK-T001":{level:"error",rule:"A take has no word times beside it (<name>.words.json)"},"AK-T002":{level:"error",rule:"A say part has no generated file for its text, voice and tool"},"AK-T003":{level:"error",rule:"A take's range phrase, or the line a part is saying, is not found in the take"},"AK-T004":{level:"error",rule:"A word reference is not in its part's words, or an anchor is not in its line"},"AK-T005":{level:"error",rule:"A take's edits file is missing or does not match the format, or an edit's words are no longer in the take"},"AK-T006":{level:"error",rule:"A take's range phrase, or the line a part is saying, is said in words the take's edits remove"},"AK-T007":{level:"error",rule:"A part says a line its generated voice was not made from"},"AK-F001":{level:"error",rule:"The video is longer than its platform profile takes"},"AK-A001":{level:"error",rule:"A referenced media or data file does not exist"},"AK-A003":{level:"error",rule:"Wrong media type"},"AK-A005":{level:"error",rule:"A layer draws a picture that does not load: its source is not a file the stage serves, or not a picture"},"AK-P002":{level:"error",rule:"Loading took longer than the piece's loadLimit (default 10 seconds)"},"AK-P003":{level:"error",rule:"A moment did not finish drawing within the piece's seekLimit (default 30 seconds): work a layer waits for (ctx.wait) or a picture it shows never settled"},"AK-R001":{level:"error",rule:"An unhandled exception was thrown at run time"},"AK-R003":{level:"error",rule:"The page was changed outside the stage"},"AK-R004":{level:"error",rule:"The code sets a style value the browser does not accept, so the style does not apply"},"AK-G001":{level:"error",rule:"Unknown format: not one of the four presets, a platform profile or WIDTHxHEIGHT with even sides"},"AK-X001":{level:"error",rule:"The matrix's slots, structures, rules or combos name something that does not exist, or a combo lacks a slot of its structure"},"AK-X002":{level:"error",rule:"The matrix's rules leave no combination to make, or rule out a combo matrix.combos names"},"AK-X004":{level:"error",rule:"Two chosen combos are the same, or more alike than the matrix's differ allows"},"AK-X005":{level:"error",rule:"A part reads another slot's pick, so one render of it cannot serve every combo"},"AK-X006":{level:"error",rule:"A combo is longer than its output's maxDuration"},"AK-W001":{level:"error",rule:"A scenery does not build: its module's export is not a scenery, its build throws or does not finish, or its update throws"},"AK-W002":{level:"error",rule:"WebGL cannot be made or is lost, or draws on something other than SwiftShader where the CPU was asked for (--cpu, ALLYHUB_GPU=0, or the default off macOS)"},"AK-W003":{level:"error",rule:"A model, texture, environment or splat file does not load, names a file that is not there, or needs a decoder AllyHub does not lend"},"AK-W004":{level:"error",rule:"A camera cannot be drawn: a number that is not finite, a target at its position, a view along its up, a field of view outside (0°, 180°), or near and far planes out of order"},"AK-W005":{level:"error",rule:"A name a camera, a move or a measurement refers to names no object in the scenery, or names two"},"AK-W006":{level:"error",rule:"A material's shader does not compile or link on this renderer, or needs more texture units than the renderer has, so what uses it draws nothing (warn: more than the 16 a GPU may have)"},"AK-W008":{level:"error",rule:"A screen drawn in the scenery cannot show its element as it is: an element of it is in the browser's top layer (a modal dialog, a popover), planes of a preserve-3d context overlap, its element is larger than the largest texture, or its picture could not be copied"},"AK-S002":{level:"warn",rule:"Missing translation"},"AK-L002":{level:"warn",rule:"Text overflows the frame or is clipped"},"AK-L003":{level:"warn",rule:"Missing glyphs"},"AK-L006":{level:"warn",rule:"Text is drawn in a fallback font, or in a bold or italic the font does not have"},"AK-W007":{level:"warn",rule:"A screen asked to be drawn in the scenery is drawn over it, unlit and untoned: this browser cannot draw an element into a canvas (Chrome's HTML-in-Canvas), or ALLYHUB_HTML_IN_CANVAS=0"}};function problem(e,t,r={}){const{level:i,...u}=r;return{code:e,level:i??RULES[e].level,message:t,...u}}var round3=e=>Math.round(e*1e3)/1e3;function frameStarts(e,t,r){const i=a=>Math.round(a*r)/r,u=e.map(i);for(let a=1;a<u.length;a++){const s=u[a-1]??0;(u[a]??0)<=s&&(u[a]=s+1/r)}const o=u.at(-1)??0;return{starts:u,end:Math.max(i(t),o+1/r)}}var voiced=e=>e.speechDur!==void 0&&e.speechDur>0;function overlapOf(e,t){const r=e[t]??0;if(!voiced(e)||!Number.isFinite(r)||r<=0)return 0;const i=(e.speechDur??0)/2+(t==="before"?e.lead:e.tail);return Math.min(r,i)}function timeParts(e,t={}){const r=e.map((x,A)=>({...x,before:A===0?0:x.before??0,after:A===e.length-1?0:x.after??0})),i=t.fps??FPS,u=t.beat??0,o=[];for(const x of r){const A=new Set((x.placed??[]).map(m=>m.name));for(const m of x.anchors??[])A.has(m.name)&&o.push(problem("AK-T004",`The anchor ${m.name} of part ${x.key} is both in the line it says (@{${m.name}}) and in the part's own anchors; "@${m.name}" is the part's own. Rename one of them.`,{part:x.key}))}const a=[];let s=0;for(const x of r){a.push(s);let A;if(voiced(x))A=x.lead+(x.speechDur??0)+x.tail-overlapOf(x,"before")-overlapOf(x,"after");else{A=x.dur;const m=t.snap?.(s+A,s);if(m!==void 0)A=m-s;else if(u>0&&!t.snap){const y=t.beatPhase??0;let E=y+Math.round((s+A-y)/u)*u;E<=s+1e-9&&(E+=u),A=E-s}}s+=Math.max(A,1/i)}const{starts:d,end:c}=frameStarts(a,s,i),l=r.map((x,A)=>{const m=d[A]??0;return{key:x.key,start:m,end:d[A+1]??c,...voiced(x)?{speechAt:round3(m+x.lead-overlapOf(x,"before"))}:{}}}),f=new Map,h=x=>{if(f.has(x))return f.get(x);const A=r[x],m=A?.script&&A.words?.length?new ScriptAlignment(new WordStream(A.words),[A.script]):void 0;return f.set(x,m),m};function p(x,A){const m=l[x],y=r[x];if(!m||!y)return;const E=y.anchors??[],D=y.placed??[],b=parseAnchorRef(A,new Set([...E,...D].map(M=>M.name)));if(!b)return;const _=m.end-m.start,w=M=>(o.push(problem("AK-T004",M,{part:y.key})),round3(_/2)),B=M=>round3(Math.min(_,Math.max(0,M))),F=D.find(M=>M.name===b.name);if(F)return b.end&&F.end===void 0?w(`"${A}" asks for the end of the anchor ${F.name} of part ${y.key}, which is a point. Give it as a stretch (anchors: { ${F.name}: [from, to] }), or use "@${F.name}".`):B((b.end?F.end??F.at:F.at)+b.shift);const $=E.find(M=>M.name===b.name);if(!$){const M=[...E,...D].map(P=>`@${P.name}`);return w(`The anchor "${A}" is not in the line part ${y.key} says, nor in the part's own anchors${M.length>0?` (its anchors: ${M.join(", ")})`:""}. Write @{${b.name}} before the word it is for, in the part's say in the item's script, in every language (the part must say that line, s("….say")); or give its seconds in the part: anchors: { ${b.name}: 1.2 }.`)}if(b.end&&$.end===void 0)return w(`"${A}" asks for the end of the anchor ${$.name} of part ${y.key}, which is a point. Write @{${$.name}}…@{/${$.name}} around the words in the script, or use "@${$.name}".`);const L=b.end?$.end??$.at:$.at,O=normText(y.script??"");if(y.pending===!0&&m.speechAt===void 0)return O.length===0?round3(_/2):B(L/O.length*_+b.shift);const k=y.words??[],j=h(x);if(m.speechAt===void 0||!j||k.length===0)return w(`The anchor "${A}" is in part ${y.key}, which has no speech. Give its seconds in the part instead: anchors: { ${b.name}: 1.2 }.`);const T=k.at(-1),I=b.end?k[j.wordAtChar(0,Math.max(0,L-1))]?.end:L>=O.length?T?.end:k[j.wordAtChar(0,L)]?.start;return B(m.speechAt+(I??0)+b.shift-m.start)}function g(x,A){const m=numericRef(A);if(m!==void 0)return m;const y=typeof A=="string"?p(x,A):void 0;if(y!==void 0)return y;const E=l[x],D=r[x];if(!E||!D)return 0;const b=E.end-E.start,_=D.words??[],{text:w,nth:B,shift:F}=parseWordRef(String(A));let $=-1;_.length>0&&($=h(x)?.wordFor(0,w,B)??-1,$<0&&($=new WordStream(_).find(normText(w),0,_.length-1,B)));const L=_[$];if(D.pending===!0&&E.speechAt===void 0){const k=normText(D.script??"");let j=-1;for(let T=0;T<B;T++)j=k.indexOf(normText(w),j+1);return j<0||k.length===0?round3(b/2):round3(Math.min(b,Math.max(0,j/k.length*b+F)))}if($<0||!L||E.speechAt===void 0){const k=D.script??joinWords(_);return o.push(problem("AK-T004",E.speechAt===void 0?`The word reference "${String(A)}" is in part ${D.key}, which has no speech. Give it in seconds from the part's start instead.`:`The word reference "${String(A)}" is not in the words of part ${D.key}${k?` (it says: "${k.length>160?`${k.slice(0,160)}…`:k}")`:""}. Use a word the part says, as "word", "word@2" or "word+0.2".`,{part:D.key})),round3(b/2)}const O=E.speechAt+L.start+F;return round3(Math.min(b,Math.max(0,O-E.start)))}function v(x){const A=l[x],m=r[x];if(!A||!m||A.speechAt===void 0)return[];const y=A.speechAt-A.start;return(m.words??[]).map(E=>({text:E.text,start:round3(E.start+y),end:round3(E.end+y)}))}return{parts:l,duration:c,problems:o,at:g,words:v}}var MUSIC_DEFAULTS={seam:.03,meter:4,loopSeam:.25};function musicGrid(e,t={}){if(!e||!(e.bpm>0))return;const r=e.beat??0;return{beat:60/e.bpm,first:t.downbeat??r,meter:t.meter??MUSIC_DEFAULTS.meter,downbeat:t.downbeat??r}}function musicSeconds(e,t){if(typeof e=="number")return e;if(t)return"beat"in e?t.first+e.beat*t.beat:t.downbeat+e.bar*t.meter*t.beat}var onGrid=e=>typeof e!="number";function placeStretches(e,t,r,i){const u=[];let o=0;const a=s=>{const d=Math.max(0,s.from),c=Math.min(r,s.to);return c-d<.001?!1:(u.push({at:o,from:d,to:c}),o+=c-d,!0)};for(const s of e){if(o>=i)return u;a(s)}if(t)for(;o<i&&a(t););return u}function wholeLoop(e,t,r,i=MUSIC_DEFAULTS.loopSeam){const u=t>1?i:0,o=t-u;if(o<=0)return[];const a=[];let s=0,d=Math.max(0,e)%o;for(;s<r;)a.push({at:s,from:d,to:o}),s+=o-d,d=0;return a}function musicSegments(e,t,r,i="before",u=!0){const o=e.map(a=>({at:a.at,from:a.from,dur:a.to-a.from,fadeIn:0,fadeOut:0}));for(let a=0;a<o.length;a++){const s=o[a],d=e[a];if(!s||!d||t<=0)continue;const c=e[a+1],l=o[a+1],f=p=>Math.min(t,p.dur/2);if(!c||!l){u&&r-d.to>.001&&(s.fadeOut=f(s));continue}if(i==="after"){const p=Math.min(t,r-d.to);s.dur+=p,s.fadeOut=p,l.fadeIn=p;continue}s.fadeOut=f(s);const h=Math.min(t,c.from);l.at-=h,l.from-=h,l.dur+=h,l.fadeIn=h}return o}function filmBeats(e,t,r="beat"){const i=r==="bar"?t.beat*t.meter:t.beat,u=r==="bar"?t.downbeat:t.first,o=[];for(const a of e){let s=Math.ceil((a.from-u)/i-1e-9);for(;;){const d=u+s*i;if(d>=a.to-1e-9)break;d>=a.from-1e-9&&o.push(a.at+(d-a.from)),s++}}return o.sort((a,s)=>a-s)}function beatNear(e,t,r,i){const u=e.at(-1);if(u===void 0||!(t>0))return;let o;const a=s=>{s<=i+1e-9||(o===void 0||Math.abs(s-r)<Math.abs(o-r))&&(o=s)};for(const s of e)a(s);if(r+t>u){const s=Math.max(1,Math.round((r-u)/t));for(const d of[s-1,s,s+1])d>=1&&a(u+d*t)}if(o===void 0){const s=Math.max(1,Math.ceil((i-u)/t+1e-9));o=u+s*t}return o}var SAY_DIR=`${MEDIA_DIR}/gen/say`,DEFAULT_VOICE_TOOL="speech-elevenlabs-multilingual-v2";function hash64(e){let t=0xcbf29ce484222325n;const r=0x100000001b3n;for(const i of new TextEncoder().encode(e))t^=BigInt(i),t=t*r&0xffffffffffffffffn;return t.toString(16).padStart(16,"0")}function canonicalJson(e){if(Array.isArray(e))return`[${e.map(canonicalJson).join(",")}]`;if(typeof e=="object"&&e!==null){const t=e;return`{${Object.keys(t).sort().map(r=>`${JSON.stringify(r)}:${canonicalJson(t[r])}`).join(",")}}`}return JSON.stringify(e)}function sayStem(e){const t=e.tool??DEFAULT_VOICE_TOOL,r=e.params&&Object.keys(e.params).length>0?`
|
|
67
|
+
${canonicalJson(e.params)}`:"";return`${SAY_DIR}/${hash64(`${t}
|
|
68
|
+
${e.voice??""}
|
|
69
|
+
${e.text}${r}`)}`}function mediaByStem(e,t){for(const[r,i]of Object.entries(e))if(i.kind==="audio"&&r.startsWith(`${t}.`)){const u=r.slice(t.length+1);if(!u.includes("/")&&!u.includes("."))return i}}function wordsIn(e,t,r,i,u=1){const o=c=>Math.round(c*1e3)/1e3,a=t+r*u,s=i-t,d=c=>o(u===1?c+s:i+(c-t)/u);return e.filter(c=>c.start>=t-1e-6&&c.start<a-1e-6).map(c=>({text:c.text,start:d(c.start),end:d(Math.min(c.end,a))}))}var CJK_CHAR=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/gu,SPEECH_RATE_DEFAULTS={word:.38,cjk:.22};function speechUnits(e){const t=e.match(CJK_CHAR)?.length??0;return{words:e.replace(CJK_CHAR," ").split(/\s+/u).filter(i=>/[\p{L}\p{N}]/u.test(i)).length,cjk:t}}var unitSeconds=(e,t)=>{const{words:r,cjk:i}=speechUnits(e);return r*(t.word??SPEECH_RATE_DEFAULTS.word)+i*(t.cjk??SPEECH_RATE_DEFAULTS.cjk)};function estimateSpeech(e,t={}){return Math.max(1,Math.round(unitSeconds(e,t)*10)/10)}var VOICE_HOP=.01;function frameDb(e,t){const r=e.db[t];return r===void 0?-120:-r}function envelopeFrames(e){return{hop:VOICE_HOP,db:Uint8Array.from(atob(e),t=>t.charCodeAt(0))}}function quietest(e,t,r,i){const u=c=>Math.min(Math.max(c,r),i);if(!(i>=r))return t;const o=Math.ceil(r/e.hop-1e-9),a=Math.floor(i/e.hop+1e-9);let s,d=1/0;for(let c=Math.max(0,o);c<=a&&c<e.db.length;c++){const l=frameDb(e,c),f=c*e.hop;(l<d||l===d&&s!==void 0&&Math.abs(f-t)<Math.abs(s-t))&&(s=f,d=l)}return u(s===void 0?t:Math.round(s*1e3)/1e3)}var r3=e=>Math.round(e*1e3)/1e3,r1=e=>Math.round(e*10)/10,FLOOR_SHARE=.25,FLOOR_FRAMES=3;function floorLevel(e,t,r,i=FLOOR_FRAMES){const u=Math.max(0,Math.ceil(t/e.hop-1e-9)),o=Math.min(e.db.length,Math.ceil(r/e.hop-1e-9)),a=[];for(let c=u;c<o;c++)a.push(frameDb(e,c));if(a.length<Math.max(FLOOR_FRAMES,i))return;a.sort((c,l)=>c-l);const s=a.slice(0,Math.max(FLOOR_FRAMES,Math.ceil(a.length*FLOOR_SHARE))),d=s.reduce((c,l)=>c+10**(l/10),0)/s.length;return r1(10*Math.log10(d+1e-12))}var ROOM_MATCH={near:.3,least:.1,fade:.04,limitDb:6};function matchRoom(e,t,r,i=ROOM_MATCH.limitDb){const u=e?floorLevel(e,t.from,t.to):void 0,o=e?floorLevel(e,r.from,r.to,Math.round(ROOM_MATCH.least/e.hop)):void 0;if(u===void 0||o===void 0)return{level:u??null,floor:o??null,gainDb:0,from:"unmeasured"};const a=o-u,s=r1(Math.min(i,Math.max(-i,a)));return{level:u,floor:o,gainDb:s,from:"matched",...s===r1(a)?{}:{limited:!0}}}var ROOM_DB=6;function roomTone(e){const t=e.db.length;if(t===0)return;const i=Array.from(e.db,a=>-a).sort((a,s)=>a-s)[Math.floor(t*.1)]??-120;let u,o=-1;for(let a=0;a<=t;a++){const s=a<t&&frameDb(e,a)<=i+ROOM_DB;s&&o<0&&(o=a),!s&&o>=0&&((!u||a-o>u[1]-u[0])&&(u=[o,a]),o=-1)}if(!(!u||(u[1]-u[0])*e.hop<.2))return{from:r3((u[0]+1)*e.hop),to:r3((u[1]-1)*e.hop)}}var PAD_BEFORE=.12,PAD_AFTER=.08,SNAP=.04,JOIN=.04,round32=e=>Math.round(e*1e3)/1e3,isTime=e=>typeof e=="number"&&Number.isFinite(e)&&e>=0;function parseEditList(e){if(typeof e!="object"||e===null||Array.isArray(e))return"an edits file is a JSON object: { version: 1, remove, sounds, inWord, maxPause, pad }";const t=e;if(t.version!==1)return"version is 1";for(const a of["take","$schema"])if(t[a]!==void 0&&typeof t[a]!="string")return`${a} is a string`;const r=Object.keys(t).filter(a=>!["version","remove","sounds","inWord","maxPause","pad","take","$schema"].includes(a));if(r.length>0)return`unknown field${r.length>1?"s":""} ${r.join(", ")} (an edits file has version, remove, sounds, inWord, maxPause, pad and take)`;const i={};if(t.remove!==void 0){if(!Array.isArray(t.remove))return"remove is a list of { from, to, text }";const a=[];for(const[s,d]of t.remove.entries()){const c=d,l=c?.from,f=c?.to,h=c?.text;if(typeof l!="number"||typeof f!="number"||!Number.isInteger(l)||!Number.isInteger(f)||l<0||f<l||h!==void 0&&typeof h!="string")return`remove[${String(s)}] is not { from, to, text } with word indices from ≤ to`;a.push({from:l,to:f,...h===void 0?{}:{text:h}})}i.remove=a}for(const a of["sounds","inWord"]){if(t[a]===void 0)continue;if(!Array.isArray(t[a]))return`${a} is a list of { from, to } in seconds of the take`;const s=[];for(const[d,c]of t[a].entries()){const l=c,f=l?.from,h=l?.to;if(!isTime(f)||!isTime(h)||h<=f)return`${a}[${String(d)}] is not { from, to } in seconds with from < to`;s.push({from:f,to:h})}i[a]=s}const u=t.maxPause;if(u!==void 0){if(typeof u!="number"||!Number.isFinite(u)||u<.05||u>10)return"maxPause is seconds, from 0.05 to 10";i.maxPause=u}const o=t.pad;if(o!==void 0){const a=o,s=typeof o=="object"&&a!==null&&!Array.isArray(o),d=s?Object.keys(a).filter(h=>h!=="before"&&h!=="after"):[],c=h=>h===void 0||isTime(h)&&h<=PAD_MAX;if(!s||d.length>0||!c(a.before)||!c(a.after))return`pad is { before, after }: seconds of silence kept before and after each cut, each from 0 to ${String(PAD_MAX)}`;const l=a.before,f=a.after;i.pad={...l===void 0?{}:{before:l},...f===void 0?{}:{after:f}}}return i}function rangeText(e,t,r){return joinWords(e.slice(t,r+1))}function locateRange(e,t,r=new WordStream(e)){const i=t.from>=0&&t.to<e.length&&t.to>=t.from;if(t.text===void 0)return i?{from:t.from,to:t.to}:void 0;const u=normText(t.text);if(u==="")return i?{from:t.from,to:t.to}:void 0;if(i&&normText(rangeText(e,t.from,t.to))===u)return{from:t.from,to:t.to};let o;for(let a=1;;a++){const s=r.span(u,0,e.length-1,a);if(!s)break;normText(rangeText(e,s.first,s.last))===u&&(!o||Math.abs(s.first-t.from)<Math.abs(o.from-t.from))&&(o={from:s.first,to:s.last})}return o}function removedWords(e,t,r=new WordStream(e)){const i=new Set,u=[];for(const o of t?.remove??[]){const a=locateRange(e,o,r);if(!a){u.push(o);continue}for(let s=a.from;s<=a.to;s++)i.add(s)}return{cut:i,lost:u}}function snapCut(e,t,r,i){const u=Math.min(Math.max(t,r),i);return e?quietest(e,u,Math.max(r,u-SNAP),Math.min(i,u+SNAP)):u}var ROOM_IN=.5,ROOM_OUT=.6;function speechPads(e,t,r,i,u){const o=e[t],a=e[r]??o;if(!o||!a)return{padIn:0,padOut:0};const s=o.start,d=e[t-1]?.end??0,c=e[r+1]?.start??i??a.end+.4,l=Math.max(0,Math.min((s-d)/2,s)),f=Math.max(0,(c-a.end)/2),h=snapCut(u,s-Math.min(ROOM_IN,l),s-l,s),p=snapCut(u,a.end+Math.min(ROOM_OUT,f),a.end,a.end+f);return{padIn:round32(Math.max(0,s-h)),padOut:round32(Math.max(0,p-a.end))}}function applyEdits(e,t,r=0,i=e.length-1,u={}){const{levels:o,fps:a}=u,{cut:s,lost:d}=removedWords(e,t),c=[];for(let k=r;k<=i;k++)s.has(k)||c.push(k);const l=[...s].filter(k=>k>=r&&k<=i).sort((k,j)=>k-j),f=t?.maxPause,h=[],p=[],g=k=>e[k]??{text:"",start:0,end:0};if(c.length===0)return{ranges:[],words:[],kept:c,removed:l,sounds:[],inWord:[],pauses:h,lost:d};const v=[],x=new Map;for(const k of t?.sounds??[])for(let j=0;j<c.length-1;j++){const T=g(c[j]??0),I=g(c[j+1]??0),M=Math.max(k.from,T.end),P=Math.min(k.to,I.start);if(P-M<.01)continue;const R=x.get(j)??[];R.push({start:M,end:P}),x.set(j,R),v.push({from:round32(M),to:round32(P)})}const A=g(c[0]??0);let m=A.start,y=A.start;const E=t?.pad?.before??PAD_BEFORE,D=t?.pad?.after??PAD_AFTER,b=f===void 0?E:Math.min(E,f/2),_=f===void 0?D:Math.min(D,f/2);for(let k=0;k<c.length-1;k++){const j=c[k]??0,T=c[k+1]??0,I=g(j),M=g(T),P=[];for(let re=j+1;re<T;re++)P.push({start:g(re).start,end:g(re).end});P.push(...x.get(k)??[]),P.sort((re,ie)=>re.start-ie.start);const R=P[0],N=P.at(-1);if(!R||!N){const re=M.start-I.end;if(f!==void 0&&re>f){const ie=snapCut(o,I.end+f/2,I.end,M.start),se=snapCut(o,M.start-f/2,ie,M.start);se-ie>=JOIN&&(h.push({after:j,was:round32(re),now:f}),p.push({from:m,to:ie,lo:y,hi:se}),m=se,y=ie)}continue}const W=Math.max(0,R.start-I.end),U=Math.max(0,M.start-N.end),Y=snapCut(o,I.end+Math.min(b,W/2),I.end,I.end+W/2),ae=snapCut(o,M.start-Math.min(_,U/2),M.start-U/2,M.start);p.push({from:m,to:Y,lo:y,hi:R.start}),m=Math.max(ae,Y),y=Math.min(m,N.end)}const w=g(c.at(-1)??0);p.push({from:m,to:w.end,lo:y,hi:w.end});const B=[];for(const k of t?.inWord??[]){const j=(k.from+k.to)/2,T=snapCut(o,k.from,k.from-SNAP,j),I=snapCut(o,k.to,j,k.to+SNAP);if(I-T<JOIN)continue;let M=!1;for(let P=0;P<p.length;P++){const R=p[P];!R||T>=R.to||I<=R.from||(M=!0,T>R.from&&I<R.to?(p.splice(P,1,{from:R.from,to:T,lo:R.lo,hi:T},{from:I,to:R.to,lo:I,hi:R.hi}),P++):T<=R.from&&I>=R.to?(p.splice(P,1),P--):T<=R.from?(R.from=I,R.lo=I):(R.to=T,R.hi=T))}M&&B.push({from:round32(T),to:round32(I),words:c.filter(P=>g(P).start<I&&g(P).end>T)})}a!==void 0&&a>0&&p.forEach((k,j)=>{if(j>0){const T=Math.floor(k.from*a+1e-6)/a;T>=k.lo-1e-9&&(k.from=T)}if(j<p.length-1){const T=Math.ceil(k.to*a-1e-6)/a;T<=k.hi+1e-9&&(k.to=T)}});const F=[];for(const k of p){const j=F.at(-1);j&&k.from-j.to<JOIN?j.to=Math.max(j.to,k.to):F.push({from:k.from,to:k.to})}const $=F.map(k=>({from:round32(k.from),to:round32(k.to)})),L=editedLength($),O=k=>round32(Math.min(L,Math.max(0,toEdited($,k))));return{ranges:$,words:c.map(k=>{const j=g(k);return{text:j.text,start:O(j.start),end:O(j.end)}}),kept:c,removed:l,sounds:v,inWord:B,pauses:h,lost:d}}function editedLength(e){return e.reduce((t,r)=>t+(r.to-r.from),0)}function toEdited(e,t){let r=0;const i=e[0];if(!i)return t;if(t<=i.from)return t-i.from;for(const o of e){if(t<o.from)return r;if(t<=o.to)return r+(t-o.from);r+=o.to-o.from}const u=e.at(-1)??i;return r+(t-u.to)}function fromEdited(e,t){const r=e[0];if(!r)return t;if(t<=0)return r.from+t;let i=0;for(const o of e){const a=o.to-o.from;if(t<i+a)return o.from+(t-i);i+=a}return(e.at(-1)??r).to+(t-i)}var CAPTION_CUE_DEFAULTS={maxChars:42,maxCharsCjk:16,minSeconds:.8,maxSeconds:6,gapFrames:2};function shownToSpoken(e,t){const r=(u,o)=>normText(u.slice(0,o)).length,i=[[0,0]];for(const u of changesOf(e,t))i.push([r(e,u.at),r(t,u.into)]),i.push([r(e,u.at+u.removed),r(t,u.into+u.inserted)]);return i.push([normText(e).length,normText(t).length]),u=>{for(let o=1;o<i.length;o++){const[a,s]=i[o-1]??[0,0],[d,c]=i[o]??[0,0];if(u>d&&o<i.length-1)continue;if(d<=a)return u<=a?s:c;const l=Math.max(0,Math.min(1,(u-a)/(d-a)));return s+(c-s)*l}return 0}}var CJK2=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u,SENTENCE=/[。!?!?…]|\.(?=\s|$)/u,CLAUSE=/[,、;:,;:—]/u,TRAILING=/[,、;:。,;:.\s]+$/u,inWord=(e,t)=>/[.,:;]/u.test(e[t]??"")&&/[0-9A-Za-z]/u.test(e[t+1]??"");function keptSpans(e,t){const r=[],i=shownWords(e).map(u=>({...u,n:normText(u.w)}));for(const u of t){const o=normText(u);if(!o)continue;if(CJK2.test(u)){const s=[];Array.from(e).reduce((c,l)=>(normText(l)&&s.push(c),c+l.length),0);const d=normText(e);for(let c=d.indexOf(o);c>=0;c=d.indexOf(o,c+1)){const l=s[c],f=s[c+o.length-1];l!==void 0&&f!==void 0&&r.push([l,f+1])}continue}const a=u.split(/\s+/u).map(normText).filter(Boolean);for(let s=0;s+a.length<=i.length;s++)if(a.every((d,c)=>i[s+c]?.n===d)){const d=i[s],c=i[s+a.length-1];d&&c&&r.push([d.from,c.to])}}return r}var inside=(e,t)=>e.some(([r,i])=>t>r&&t<i);function splitLine(e,t=CJK2.test(e)?CAPTION_CUE_DEFAULTS.maxCharsCjk:CAPTION_CUE_DEFAULTS.maxChars,r=[]){const i=[],u=(a,s)=>{const d=e.slice(a,s),c=d.length-d.trimStart().length,l=d.trim();l&&i.push({text:l,from:a+c,to:a+c+l.length})},o=(a,s,d)=>{const c=e.slice(a,s);if(Array.from(c.trim()).length<=t){u(a,s);return}const f=d===0?SENTENCE:d===1?CLAUSE:void 0;if(f){let v=-1;for(let x=1;x<c.length-1;x++)f.test(c[x]??"")&&!inWord(c,x)&&!inside(r,a+x+1)&&(v<0||Math.abs(x-c.length/2)<Math.abs(v-c.length/2))&&(v=x);if(v<0){o(a,s,d+1);return}o(a,a+v+1,d),o(a+v+1,s,d);return}const h=Math.floor(c.length/2),p=v=>v>0&&v<c.length&&!inside(r,a+v);let g=-1;if(!CJK2.test(c)){for(let v=h;v>0&&g<0;v--)c[v]===" "&&p(v)&&(g=v);for(let v=h;v<c.length&&g<0;v++)c[v]===" "&&p(v)&&(g=v)}for(let v=0;v<=c.length&&g<0;v++)p(h-v)?g=h-v:p(h+v)&&(g=h+v);if(g<0){u(a,s);return}o(a,a+g,d),o(a+g,s,d)};return o(0,e.length,0),i}function captionCues(e,t={}){const{lines:r,fps:i}=e,u={...CAPTION_CUE_DEFAULTS,...t},o=[];for(const c of r){if(c.words.length===0)continue;const l=c.words,f=new ScriptAlignment(new WordStream(l),[c.spoken]),h=(A,m)=>{const y=l[f.wordAtChar(0,A)];return y?m?y.end:y.start:0};if((f.lines[0]?.length??0)===0)continue;const v=normText(c.shown)===normText(c.spoken)?A=>A:shownToSpoken(c.shown,c.spoken),x=CJK2.test(c.shown)?u.maxCharsCjk:u.maxChars;for(const A of splitLine(c.shown,x)){const m=Math.round(v(normText(c.shown.slice(0,A.from)).length)),y=Math.round(v(normText(c.shown.slice(0,A.to)).length)),E=h(m,!1),D=h(Math.max(m,y-1),!0),b=CJK2.test(A.text)?A.text.replace(TRAILING,""):A.text.replace(/[,;:]+$/u,"");b&&o.push({start:E,end:Math.max(D,E),text:b,part:c.part})}}const a=1/i,s=c=>Math.round(c*i)/i,d=o.map(c=>({...c,start:s(c.start),end:s(c.end)}));for(let c=0;c<d.length;c++){const l=d[c];if(!l)continue;const f=d[c+1],h=f?f.start-u.gapFrames*a:1/0;l.end=Math.min(Math.max(l.end,l.start+u.minSeconds),l.start+u.maxSeconds,h),l.end<=l.start&&(l.end=l.start+a)}return d}function subtitleCues(e,t){return t===void 0?captionCues(e):wordCues(e.lines,{...t,fps:e.fps}).map(r=>({start:r.start,end:r.end,text:r.text,part:r.part}))}function shownWords(e){const t=[],r=/\S+/gu;for(let i=r.exec(e);i;i=r.exec(e))t.push({w:i[0],from:i.index,to:i.index+i[0].length});return t}function wordCues(e,t){const{fps:r}=t,i=[];for(const s of e){if(s.words.length===0)continue;const d=s.words,c=new ScriptAlignment(new WordStream(d),[s.spoken]);if((c.lines[0]?.length??0)===0)continue;const f=(m,y)=>{const E=d[c.wordAtChar(0,m)];return E?y?E.end:E.start:0},p=normText(s.shown)===normText(s.spoken)?m=>m:shownToSpoken(s.shown,s.spoken),g=(m,y)=>{const E=Math.round(p(normText(s.shown.slice(0,m)).length)),D=Math.round(p(normText(s.shown.slice(0,y)).length));return[f(E,!1),f(Math.max(E,D-1),!0)]},v=CJK2.test(s.shown),x=t.maxChars??(v?16:32),A=keptSpans(s.shown,t.keep??[]);for(const m of splitLine(s.shown,x,A)){const y=(v?[{w:m.text,from:m.from,to:m.to}]:shownWords(s.shown.slice(m.from,m.to)).map(F=>({w:F.w,from:F.from+m.from,to:F.to+m.from}))).filter(F=>normText(F.w)!=="");if(y.length===0)continue;const E=t.maxWords&&t.maxWords>0?t.maxWords:y.length,D=Math.ceil(y.length/E),b=Math.ceil(y.length/D),_=[];y.forEach((F,$)=>{const L=y[$-1],O=_.at(-1);O&&L&&inside(A,Math.ceil((L.to+F.from)/2))?O.push(F):_.push([F])});const w=[];let B=[];for(const F of _)B.length>0&&B.length+F.length>b&&(w.push(B),B=[]),B.push(...F);B.length>0&&w.push(B);for(const F of w){const $=F.map(j=>{const[T,I]=g(j.from,j.to);return{text:j.w,start:T,end:Math.max(I,T)}}),L=$[0],O=$.at(-1);if(!L||!O)continue;const k=F.map(j=>j.w).join(v?"":" ").replace(v?TRAILING:/[,;:]+$/u,"");i.push({start:L.start,end:O.end,text:k,part:s.part,words:$})}}}const u=s=>Math.round(s*r)/r,o=1/r,a=i.map(s=>({...s,start:u(s.start),end:u(s.end)}));for(let s=0;s<a.length;s++){const d=a[s];if(!d)continue;const c=a[s+1],l=c?.part===d.part;c&&l&&c.start-d.end<(t.close??.4)&&(d.end=c.start),d.end=Math.max(d.end,d.start+Math.min(.5,6*o)),c&&d.end>c.start&&(d.end=c.start),d.end<=d.start&&(d.end=d.start+o)}return a}function cuesIn(e,t,r){const i=u=>Math.round(u*1e6)/1e6;return e.filter(u=>u.end>t&&u.start<r).map(u=>({start:i(Math.max(u.start,t)-t),end:i(Math.min(u.end,r)-t),text:u.text,words:u.words.map(o=>({text:o.text,start:i(o.start-t),end:i(o.end-t)}))}))}function easeValue(e,t){const r=Math.min(Math.max(t,0),1);switch(e??"linear"){case"linear":return r;case"in":return r*r*r;case"out":return 1-(1-r)**3;case"in-out":return r<.5?4*r*r*r:1-(-2*r+2)**3/2}}function keyAt(e,t){const r=e[0];if(!r)return 0;if(t<=r.t)return r.v;for(let i=1;i<e.length;i++){const u=e[i-1],o=e[i];if(!(!u||!o)&&t<o.t){const a=o.t-u.t;return a<=0?o.v:u.v+(o.v-u.v)*easeValue(o.ease,(t-u.t)/a)}}return e.at(-1)?.v??r.v}function rectChannel(e,t){return e.map(r=>({t:r.t,v:r.rect[t],...r.ease?{ease:r.ease}:{}}))}function rectAt(e,t){return[keyAt(rectChannel(e,0),t),keyAt(rectChannel(e,1),t),keyAt(rectChannel(e,2),t),keyAt(rectChannel(e,3),t)]}function simplifyKeys(e,t){if(e.length<=2)return[...e];const r=new Uint8Array(e.length);r[0]=1,r[e.length-1]=1;const i=[[0,e.length-1]];for(;i.length>0;){const[u,o]=i.pop()??[0,0],a=e[u],s=e[o];if(!a||!s)continue;let d=-1,c=-1;for(let l=u+1;l<o;l++){const f=e[l];if(!f)continue;const h=s.t===a.t?0:(f.t-a.t)/(s.t-a.t);let p=0;f.v.forEach((g,v)=>{const x=(a.v[v]??0)+((s.v[v]??0)-(a.v[v]??0))*h;p=Math.max(p,Math.abs(g-x))}),p>d&&(d=p,c=l)}d>t&&c>0&&(r[c]=1,i.push([u,c],[c,o]))}return e.filter((u,o)=>r[o]===1)}var TRANSITION_TYPES=["fade","dip","slide","push","wipe","zoom","custom"],TRANSITION_DEFAULTS={dur:.4,split:.5,direction:"left",scale:1.2};function transitionEase(e){return e==="fade"||e==="dip"||e==="custom"?"linear":"in-out"}var isNumber=e=>typeof e=="number"&&Number.isFinite(e);function channelKeys(e){if(isNumber(e))return[{t:0,v:e},{t:1,v:e}];if(!Array.isArray(e)||e.length===0)return;const t=e;if(t.length===2&&isNumber(t[0])&&isNumber(t[1]))return[{t:0,v:t[0]},{t:1,v:t[1]}];const r=[];for(const i of t){if(typeof i!="object"||i===null)return;const{p:u,v:o}=i;if(!isNumber(u)||!isNumber(o)||u<0||u>1||r.length>0&&u<(r.at(-1)?.t??0))return;r.push({t:u,v:o})}return r}var CLIP_EDGES=["left","right","top","bottom"],TYPE_LIST=TRANSITION_TYPES.map(e=>`"${e}"`).join(", ");function transitionSpec(e){return typeof e=="string"?{type:e}:e}var line=(e,t)=>[{t:0,v:e},{t:1,v:t}],still=(e,t)=>e.every(r=>Math.abs(r.v-t)<1e-9);function customPicture(e){const t={};if(!e)return t;const r=(i,u,o)=>{const a=u===void 0?void 0:channelKeys(u);a&&!still(a,o)&&(t[i]=a)};r("x",e.x,0),r("y",e.y,0),r("scale",e.scale,1),r("opacity",e.opacity,1);for(const i of CLIP_EDGES)r(i,e.clip?.[i],0);return t}var isClear=e=>e==="transparent"||/^#[0-9a-f]{6}00$/i.test(e);function transitionKeys(e,t){const r=t.transparent?{add:!0}:{};switch(e.type){case"fade":return{out:{},in:{opacity:line(0,1)},...r};case"dip":{const i=t.color??t.background,u=[{t:0,v:0},{t:.5,v:0},{t:1,v:1}];return isClear(i)?{out:{opacity:[{t:0,v:1},{t:.5,v:0},{t:1,v:0}]},in:{opacity:u}}:{out:{},in:{opacity:u},color:{value:i,opacity:[{t:0,v:0},{t:.5,v:1},{t:1,v:1}]}}}case"slide":case"push":{const i=e.direction??TRANSITION_DEFAULTS.direction,u=i==="left"||i==="right",o=i==="left"||i==="up"?1:-1,a=s=>u?{x:s}:{y:s};return{out:e.type==="push"?a(line(0,-o)):{},in:a(line(o,0))}}case"wipe":{const i=e.direction??TRANSITION_DEFAULTS.direction,u=line(1,0);return{out:{},in:i==="left"?{left:u}:i==="right"?{right:u}:i==="up"?{top:u}:{bottom:u}}}case"zoom":{const i=e.scale??TRANSITION_DEFAULTS.scale,u=e.from??i;return{out:{scale:line(1,i)},in:{...Math.abs(u-1)<1e-9?{}:{scale:line(u,1)},opacity:line(0,1)},...r}}case"custom":{const i=e.color===void 0?void 0:channelKeys(e.color.opacity),u=t.color??t.background;return{out:customPicture(e.out),in:customPicture(e.in),...i&&!still(i,0)&&!isClear(u)?{color:{value:u,opacity:i}}:{}}}}}function transitionWindow(e,t,r,i){const u=Math.max(1,Math.round((e.dur??TRANSITION_DEFAULTS.dur)*t)),o=Math.min(Math.max(e.split??TRANSITION_DEFAULTS.split,0),1),a=Math.round(u*o);return{before:Math.max(0,Math.min(a,Math.floor(r/2))),after:Math.max(0,Math.min(u-a,Math.floor(i/2)))}}function windowFrames(e,t){const r=Math.round(e.start*t);return{first:r,frames:Math.round(e.end*t)-r,join:Math.round(e.at*t)}}function transitionAt(e,t,r){if(!e||e.length===0)return;const i=Math.floor(t*r+1e-6);return e.find(u=>i>=Math.round(u.start*r)&&i<Math.round(u.end*r))}function partOnScreen(e,t,r,i){const u=transitionAt(t,r,i);return u!==void 0?r<(u.start+u.end)/2?u.from:u.part:e.find(o=>r>=o.start&&r<o.end)?.key}var rawProgress=(e,t)=>Math.min(Math.max((e+1)/(t+1),0),1);function progressAt(e,t,r){const i=windowFrames(e,r);return easeValue(e.ease,rawProgress(t-i.first,i.frames))}var at2=(e,t,r)=>e?keyAt(e,r):t;function pictureAt(e,t){return{x:at2(e.x,0,t),y:at2(e.y,0,t),scale:at2(e.scale,1,t),opacity:at2(e.opacity,1,t),left:at2(e.left,0,t),right:at2(e.right,0,t),top:at2(e.top,0,t),bottom:at2(e.bottom,0,t)}}function stateAt(e,t){const r=pictureAt(e.in,t),i=pictureAt(e.out,t),u=e.add===!0;return{out:u?{...i,opacity:1-r.opacity}:i,in:r,...e.color?{color:{value:e.color.value,opacity:at2(e.color.opacity,0,t)}}:{},add:u}}function transitionState(e,t,r){return stateAt(e.keys,progressAt(e,t,r))}function pictureOffset(e,t,r){return[Math.floor(e.x*t+.5),Math.floor(e.y*r+.5)]}var fixed=e=>{const t=(Math.round(e*1e4)/1e4).toString();return t==="-0"?"0":t};function pictureCss(e,t,r){const[i,u]=pictureOffset(e,t,r),o=i!==0||u!==0,a=Math.abs(e.scale-1)>1e-9,s=e.left>0||e.right>0||e.top>0||e.bottom>0;return{transform:`${o?`translate(${String(i)}px, ${String(u)}px)`:""}${o&&a?" ":""}${a?`scale(${fixed(e.scale)})`:""}`,opacity:e.opacity>=1?"":fixed(Math.max(0,e.opacity)),clipPath:s?`inset(${fixed(e.top*r)}px ${fixed(e.right*t)}px ${fixed(e.bottom*r)}px ${fixed(e.left*t)}px)`:""}}function heldTime(e,t,r){if(t>=e.start&&t<e.end-.5/r)return t;const i=Math.round(e.start*r),u=Math.max(i,Math.round(e.end*r)-1),o=Math.min(Math.max(Math.round(t*r),i),u);return o===i?e.start:o/r}function extendFootage(e,t,r){const i=e.cuts?.[0],u=i?Math.max(t,e.start-Math.max(0,i.from)):t;if(u===e.start&&r===e.end)return e;const o=e.start-u;return{...e,start:u,end:r,from:i?i.from-o:e.from-o*e.speed,...e.cuts&&i?{cuts:[{at:u,from:i.from-o},...e.cuts.slice(1)]}:{}}}function withHandles(e,t,r,i){if(!r||r.length===0)return[...e];const u=(o,a)=>Math.round(o*i)===Math.round(a*i);return e.map(o=>{const a=t.find(f=>f.key===o.part);if(!a)return o;const s=r.find(f=>f.part===o.part),d=r.find(f=>f.from===o.part),c=s&&u(o.start,a.start)&&s.start<o.start?s.start:o.start,l=d&&u(o.end,a.end)&&d.end>o.end?d.end:o.end;return extendFootage(o,c,l)})}function sourceAt(e,t){const r=e.cuts;if(r&&r.length>0){let i=r[0]??{at:e.start,from:e.from};for(const u of r)u.at<=t+1e-9&&(i=u);return i.from+(t-i.at)}return e.from+(t-e.start)*e.speed}function zoomRect(e,t,r,i){if(t===1)return e;const u=1-1/t;return[e[0]+r*e[2]*u,e[1]+i*e[3]*u,e[2]/t,e[3]/t]}function zoomChannel(e,t){return e.map(r=>({t:r.t,v:r[t],...r.ease?{ease:r.ease}:{}}))}function placementAt(e,t){let r=e.box,i=e.picture;if(e.boxes&&e.boxes.length>0){const o=e.boxes[0]?.box??e.box,a=rectAt(e.boxes.map(g=>({t:g.t,rect:g.box,...g.ease?{ease:g.ease}:{}})),t),s=boxFit(e,o,a),[d,c,l,f]=e.picture,h=a[0]+a[2]/2+(d+l/2-(o[0]+o[2]/2))*s,p=a[1]+a[3]/2+(c+f/2-(o[1]+o[3]/2))*s;i=[h-l*s/2,p-f*s/2,l*s,f*s],r=a}let u=e.crop;if(u&&e.pan&&e.pan.length>0){const o=keyAt(e.pan.map(s=>({t:s.t,v:s.x})),t),a=keyAt(e.pan.map(s=>({t:s.t,v:s.y})),t);u=[o,a,u[2],u[3]]}return u&&e.zoom&&e.zoom.length>0&&(u=zoomRect(u,keyAt(zoomChannel(e.zoom,"z"),t),keyAt(zoomChannel(e.zoom,"cx"),t),keyAt(zoomChannel(e.zoom,"cy"),t))),{box:r,picture:i,...u?{crop:u}:{}}}function boxFit(e,t,r){const[,,i,u]=e.picture;if(i<=0||u<=0||t[2]<=0||t[3]<=0)return 1;const o=e.fit==="cover"?Math.max:Math.min,a=o(t[2]/i,t[3]/u);return o(r[2]/i,r[3]/u)/a}function sourceToFrame(e,t){const r=e.crop;if(!r)return t;const i=e.picture[2]/r[2],u=e.picture[3]/r[3];return[e.picture[0]+(t[0]-r[0])*i,e.picture[1]+(t[1]-r[1])*u,t[2]*i,t[3]*u]}function overlap(e,t){const r=Math.max(e[0],t[0]),i=Math.max(e[1],t[1]),u=Math.min(e[0]+e[2],t[0]+t[2]),o=Math.min(e[1]+e[3],t[1]+t[3]);return u>r&&o>i?[r,i,u-r,o-i]:void 0}function faceOnFrame(e,t,r,i=e.speaker??t.speaker){if(r<e.start||r>=e.end)return;const u=faceAt(t,sourceAt(e,r),i);if(!u)return;const o=placementAt(e,r);return overlap(sourceToFrame(o,u),o.box)}function facesOnFrame(e,t,r){if(r<e.start||r>=e.end)return[];const i=placementAt(e,r);return facesAt(t,sourceAt(e,r)).flatMap(u=>{const o=overlap(sourceToFrame(i,u.box),i.box);return o?[{id:u.id,box:o}]:[]})}function reframeWindow(e,t){const r=t.w/t.h,i=Math.min(e.width,e.height*r);return{w:Math.min(e.width,Math.round(i)),h:Math.min(e.height,Math.round(i/r))}}var REFRAME_FACE_Y=.4,REFRAME_FALLBACK={x:.5,y:.4};function reframePath(e){const{window:t,source:r,layer:i}=e,u=h=>Math.min(Math.max(h,0),r.width-t.w),o=h=>Math.min(Math.max(h,0),r.height-t.h),a=e.faceY??REFRAME_FACE_Y,s=h=>{const p=e.track?faceAt(e.track,sourceAt(i,h),e.speaker??e.track.speaker):void 0,g=p?p[0]+p[2]/2:(e.focus?.x??.5)*r.width,v=p?p[1]+p[3]/2:(e.focus?.y??.4)*r.height;return[u(g-t.w/2),o(v-t.h*a)]},d=(i.cuts??[]).map(h=>h.at).filter(h=>h>i.start&&h<i.end),c=[i.start,...d,i.end],l=[];for(let h=0;h<c.length-1;h++){const p=c[h]??0,g=c[h+1]??p,v=[];for(let A=p;A<g-1e-6;A+=.1)v.push({t:A,v:s(A)});const x=Math.max(p,g-.001);v.push({t:x,v:s(x)});for(const A of simplifyKeys(v,1.5))l.push({t:Math.round(A.t*1e6)/1e6,x:Math.round((A.v[0]??0)*100)/100,y:Math.round((A.v[1]??0)*100)/100})}const f=l[0];return f&&l.every(h=>h.x===f.x&&h.y===f.y)?[f]:l}var PUNCH_IN=.2,PUNCH_OUT=.25,PUNCH_SCALE=1.12,PUNCH_EASE="in-out",PUNCH_CENTER={x:.5,y:.42};function punchKeys(e){const t=[...e].sort((o,a)=>o.start-a.start),r=[],i=o=>Math.round(o*1e6)/1e6;let u=PUNCH_OUT;for(const o of t){const a=o.in??PUNCH_IN,s=o.out??PUNCH_OUT,d=o.ease??PUNCH_EASE,c=o.start-a/2,l=o.start+a/2,f=r.at(-1);f&&f.t>c?(r.pop(),r.push({t:i(Math.max(f.t-u,l)),z:o.scale,cx:o.cx,cy:o.cy,ease:d})):(r.push({t:i(Math.max(0,c)),z:1,cx:o.cx,cy:o.cy}),r.push({t:i(l),z:o.scale,cx:o.cx,cy:o.cy,ease:d}));const h=Math.max(o.end,l);r.push({t:i(h),z:o.scale,cx:o.cx,cy:o.cy}),r.push({t:i(h+s),z:1,cx:o.cx,cy:o.cy,ease:d}),u=s}return r}var PULLBACK_SCALE=1.12,PULLBACK_DUR=.6,PULLBACK_EASE="out";function pullbackKeys(e,t,r=[]){const i=s=>Math.round(s*1e6)/1e6,u=r[0],o=Math.min(e+t.dur,u?.t??1/0);if(o<=e+1e-6)return[...r];const a=u&&u.t<=o+1e-9&&u.z===1?r.slice(1):r;return[{t:i(e),z:t.scale,cx:t.cx,cy:t.cy},{t:i(o),z:1,cx:t.cx,cy:t.cy,ease:t.ease??PULLBACK_EASE},...a]}function parsePunch(e){const t=/^(.*\S)@(\d*\.\d+)$/u.exec(e.trim());return!t?.[1]||t[2]===void 0?{ref:e}:{ref:t[1],scale:Number(t[2])}}var MATTE_FEATHER=2,MATTE_SHRINK=4;function backdropUnit(e,t){return Math.min(e,t)/1080}var MATTE_FIRM=[.25,.75];function firmLevels(){const e=new Uint8ClampedArray(256),[t,r]=MATTE_FIRM;for(let i=0;i<256;i++)e[i]=Math.round((i/255-t)/(r-t)*255);return e}var MATTE_FLOOR=6;function matteEdge(e,t,r){const i=.2*Math.max(0,r),u=Math.max(Math.hypot(e,i),Math.abs(t)/1.5,.001),o=Math.sqrt(Math.max(0,u*u-i*i)),a=s=>Math.round(s*1e4)/1e4;return{sigma:a(o),gain:a(Math.exp(1.702*t/u))}}function edgeLevels(e){const t=new Uint8ClampedArray(256);for(let r=0;r<256;r++){const i=Math.min(Math.max((r-MATTE_FLOOR)/(255-2*MATTE_FLOOR),0),1);t[r]=Math.round(255*i/(i+e.gain*(1-i)))}return t}var READ_DEFAULTS={every:.2,opacity:.9,shown:.9,phone:[390,844]};function phoneScale(e,t){return Math.min(t[0]/e[0],t[1]/e[1])}function countWords(e){let t=0;for(const i of new Intl.Segmenter(void 0,{granularity:"word"}).segment(e))i.isWordLike&&t++;let r=0;for(const i of new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(e))i.segment.trim()!==""&&r++;return{words:t,chars:r}}function textTime(e,t,r=READ_DEFAULTS){const i=new Map;for(const y of e)i.set(y.text,(i.get(y.text)??0)+1);let u,o=0;for(const y of e){const E=i.get(y.text)??0;E>=o&&(o=E,u=y.text)}if(u===void 0)return;const a=e.filter(y=>y.text===u),s=y=>y.opacity>=r.opacity-1e-9&&y.shown>=r.shown-1e-9,d=r.every,c=y=>r32(Math.min(y+d,t.end)),l=[];for(const y of a){if(!s(y))continue;const E=l.at(-1);E&&y.t-E[1]<d*.5?E[1]=c(y.t):l.push([r32(y.t),c(y.t)])}const f=a.find(s)??a[0];if(!f)return;const h=(a.some(s)?a.filter(s):a).flatMap(y=>y.size===void 0?[]:[y.size]),p=h.length>0?Math.min(...h):void 0,g=(a.some(s)?a.filter(s):a).flatMap(y=>y.xHeight===void 0?[]:[y.xHeight]),v=g.length>0?Math.min(...g):void 0,x=phoneScale(t.frame,r.phone),A=y=>r32(y.reduce((E,[D,b])=>E+Math.max(0,b-D),0)),m=[];for(const y of a){const E=m.at(-1);E&&y.t-E[1]<d*.5?E[1]=c(y.t):m.push([r32(y.t),c(y.t)])}return{part:t.part,text:{layer:t.layer,z:t.z,text:u,box:f.box},...countWords(u),seconds:A(l),spans:l,onScreen:A(m),first:r32(f.t),...p===void 0?{}:{size:{px:r12(p),phone:r12(p*x),...v===void 0?{}:{lowercase:{px:r12(v),phone:r12(v*x)}}}}}}var area=e=>Math.max(0,e[2])*Math.max(0,e[3]);function overlapArea(e,t){const r=Math.min(e[0]+e[2],t[0]+t[2])-Math.max(e[0],t[0]),i=Math.min(e[1]+e[3],t[1]+t[3])-Math.max(e[1],t[1]);return r>0&&i>0?r*i:0}var r32=e=>Math.round(e*1e3)/1e3,r12=e=>Math.round(e*10)/10;function boxOverlap(e,t){const r=overlapArea(e,t);if(r<=0)return;const i=Math.min(area(e),area(t));return{area:Math.round(r),share:i>0?r32(r/i):0}}function safeEdges(e,t,r,i){const[u,o,a,s]=e;return[["top",t.top>0?t.top-o:0],["bottom",t.bottom>0?o+s-(i-t.bottom):0],["left",t.left>0?t.left-u:0],["right",t.right>0?u+a-(r-t.right):0]].filter(([,c])=>c>=1).map(([c,l])=>({side:c,px:Math.round(l)}))}function outsideEdges(e,t){return[["top",t[1]-e[1]],["bottom",e[1]+e[3]-(t[1]+t[3])],["left",t[0]-e[0]],["right",e[0]+e[2]-(t[0]+t[2])]].filter(([,i])=>i>=1).map(([i,u])=>({side:i,px:Math.round(u)}))}function offFrame(e,t,r){let i=0,u=0;const o={top:0,bottom:0,left:0,right:0};let[a,s,d,c]=[1/0,1/0,-1/0,-1/0];for(const g of e)g[2]<=0||g[3]<=0||(a=Math.min(a,g[0]),s=Math.min(s,g[1]),d=Math.max(d,g[0]+g[2]),c=Math.max(c,g[1]+g[3]),i+=area(g),u+=overlapArea(g,[0,0,t,r]),o.top=Math.max(o.top,-g[1]),o.bottom=Math.max(o.bottom,g[1]+g[3]-r),o.left=Math.max(o.left,-g[0]),o.right=Math.max(o.right,g[0]+g[2]-t));if(i<=0)return;const l=["top","bottom","left","right"].filter(g=>o[g]>=1).map(g=>({side:g,px:Math.round(o[g])}));if(l.length===0)return;const f=Math.max(0,i-u),h=Math.round(a),p=Math.round(s);return{outside:Math.round(f),share:r32(f/i),edges:l,glyphs:[h,p,Math.round(d)-h,Math.round(c)-p]}}function measureMoment(e){const t=[],r=[],i=c=>e.seen?.[c]??e.texts[c]?.box;for(let c=0;c<e.texts.length;c++)for(let l=c+1;l<e.texts.length;l++){const f=e.texts[c],h=e.texts[l];if(!f||!h)continue;if(e.owner[c]===e.owner[l]){const g=i(c),v=i(l),x=g&&v?boxOverlap(g,v):void 0;x&&r.push({a:c,b:l,...x});continue}const p=boxOverlap(f.box,h.box);p&&t.push({a:c,b:l,...p})}const u=[];e.texts.forEach((c,l)=>{const f=i(l);if(!(!f||c.viewport))for(const h of e.containers?.[l]??[]){const p=outsideEdges(f,h.box);if(p.length!==0){u.push({text:l,container:h,edges:p});break}}});const o=[],a=e.face;a&&e.texts.forEach((c,l)=>{const f=overlapArea(c.box,a);f<=0||o.push({text:l,area:Math.round(f),ofText:r32(f/Math.max(1,area(c.box))),ofFace:r32(f/Math.max(1,area(a)))})});const s=[];e.texts.forEach((c,l)=>{if(c.viewport)return;const f=safeEdges(c.box,e.safe,e.width,e.height);f.length>0&&s.push({text:l,edges:f})});const d=[];return e.texts.forEach((c,l)=>{if(c.viewport)return;const f=i(l),h=offFrame(e.glyphs?.[l]??(f?[f]:[]),e.width,e.height);h&&d.push({text:l,...h})}),{t:e.t,part:e.part,texts:e.texts,...a?{face:a}:{},overlaps:t,ownOverlaps:r,outside:u,faceOverlaps:o,safeOverlaps:s,offFrame:d}}function footageScale(e,t=1,r){const i=e.crop;if(!i||!e.source||i[2]<=0||i[3]<=0)return;const u=e.picture,o=e.zoom&&e.zoom.length>0?zoomChannel(e.zoom,"z"):[],a=e.boxes&&e.boxes.length>1?e.boxes:void 0,s=a?.[0]?.box,d=a?.map(g=>({t:g.t,rect:g.box,...g.ease?{ease:g.ease}:{}})),c=Math.max(e.start,r?e.end-1/r:e.end),l=[e.start,...o.map(g=>g.t),...(a??[]).map(g=>g.t),c].map(g=>Math.min(Math.max(g,e.start),c)).sort((g,v)=>g-v),f=g=>{const v=o.length>0?keyAt(o,g):1,x=d&&s?boxFit(e,s,rectAt(d,g)):1,A=Math.max(u[2]*x/i[2],u[3]*x/i[3])*v*t,m=[e.fit];return Math.abs(v-1)>1e-6&&m.push(`zoom ${String(r32(v))}×`),d&&Math.abs(x-1)>1e-6&&m.push(`box key ${String(r32(x))}×`),{scale:r32(A),t:r32(g),from:m}};let h=f(e.start),p=h;for(const g of l){const v=f(g);v.scale>h.scale&&(h=v),v.scale<p.scale&&(p=v)}return{part:e.part,file:e.file,source:[e.source.width,e.source.height],shown:[Math.round(i[2]),Math.round(i[3])],max:h,min:p}}var STRUCTURE="structure";function comboKey(e){const t=Object.keys(e).sort();return t.length===0?"default":t.map(r=>`${r}=${e[r]??""}`).join(",")}function seedKey(e,t){return comboKey({...e,size:t})}var hasSlots=e=>e!==void 0&&Object.keys(e.slots).length>0;function structureOf(e,t){return e.declared?t[STRUCTURE]:Object.keys(e.structures)[0]}function slotsOf(e,t){const r=structureOf(e,t);return r===void 0?[]:e.structures[r]??[]}function dimsCombo(e,t){const r={};for(const i of Object.keys(e)){const u=t[i];u!==void 0&&(r[i]=u)}return r}var listOf=e=>typeof e=="string"?[e]:e;function valueMatches(e,t,r){return listOf(e).some(i=>i.startsWith("#")?r?.tags.includes(i.slice(1))??!1:i===t)}function holds(e,t,r,i,u){if(i===STRUCTURE){const o=structureOf(e,r);return o!==void 0&&valueMatches(u,o,void 0)?"yes":"no"}if(i in e.slots){if(!slotsOf(e,r).includes(i))return"no";const o=r[i];if(o===void 0)return"no";const a=e.slots[i]?.find(s=>s.name===o);return valueMatches(u,o,a)?"yes":"no"}if(i in t){const o=r[i];return o===void 0?"unknown":valueMatches(u,o,void 0)?"yes":"no"}return"no"}var all=e=>e.includes("no")?"no":e.includes("unknown")?"unknown":"yes";function keepsRule(e,t,r,i){const u=all(Object.entries(r.if??{}).map(([d,c])=>holds(e,t,i,d,c)));if(u==="no")return"yes";const o=Object.entries(r.require??{}).map(([d,c])=>holds(e,t,i,d,c)),a=Object.entries(r.exclude??{}).map(([d,c])=>{const l=holds(e,t,i,d,c);return l==="yes"?"no":l==="no"?"yes":"unknown"}),s=all([...o,...a]);return s==="yes"?"yes":u==="unknown"||s==="unknown"?"unknown":"no"}function keepsRules(e,t,r,i){return r.every(u=>keepsRule(e,t,u,i)!=="no")}function validCombo(e,t,r,i){const u=new Set(Object.keys(i));for(const[a,s]of Object.entries(t)){if(!s.includes(i[a]??""))return!1;u.delete(a)}if(!hasSlots(e))return u.size===0;const o=structureOf(e,i);if(o===void 0||!(o in e.structures))return!1;e.declared&&u.delete(STRUCTURE);for(const a of slotsOf(e,i)){if(!e.slots[a]?.some(s=>s.name===i[a]))return!1;u.delete(a)}return u.size===0&&keepsRules(e,t,r,i)}function fact(e,t,r){return{kind:e,...t,data:r}}var CONSOLE_LEVELS=["log","info","warn","error","debug"],PHASE_ORDER={module:0,build:1,mount:2,render:3,cover:4,other:5},CONSOLE_LIMIT=200,CONSOLE_TEXT_MAX=4e3,keyOf=e=>[e.level,e.phase,e.part??"",e.layer??"",e.index??"",e.text].join("\0"),ConsoleCollector=class{limit;kept=new Map;droppedCalls=0;constructor(e=CONSOLE_LIMIT){this.limit=Math.max(0,e)}add(e){const t=e.count??1,r=keyOf(e),i=this.kept.get(r);if(i){i.count+=t;const u=[i.t,e.t].filter(a=>a!==void 0),o=[i.until??i.t,e.until??e.t].filter(a=>a!==void 0);if(u.length>0){const a=Math.min(...u),s=Math.max(...o);i.t=a,s>a&&(i.until=s)}return}if(this.kept.size>=this.limit){this.droppedCalls+=t;return}this.kept.set(r,{level:e.level,text:e.text,phase:e.phase,...e.part===void 0?{}:{part:e.part},...e.layer===void 0?{}:{layer:e.layer},...e.index===void 0?{}:{index:e.index},...e.t===void 0?{}:{t:e.t},...e.until!==void 0&&e.t!==void 0&&e.until>e.t?{until:e.until}:{},count:t})}merge(e){for(const t of e.messages)this.add(t);this.droppedCalls+=e.dropped}log(e=[]){const t=new Map(e.map((i,u)=>[i,u]));return{messages:[...this.kept.values()].map((i,u)=>({m:i,i:u})).sort((i,u)=>PHASE_ORDER[i.m.phase]-PHASE_ORDER[u.m.phase]||(t.get(i.m.part??"")??-1)-(t.get(u.m.part??"")??-1)||(i.m.t??-1)-(u.m.t??-1)||i.i-u.i).map(({m:i})=>({...i})),dropped:this.droppedCalls}}};function nodeText(e){const t=globalThis.Node;if(!t||!(e instanceof t))return;const r=e;if(r.nodeType===1){const i=[...r.classList??[]].map(u=>`.${u}`).join("");return`<${r.nodeName.toLowerCase()}${i}${r.id?`#${r.id}`:""}>`}return JSON.stringify(r.textContent??"")}function shown(e){if(typeof e=="bigint")return`${String(e)}n`;if(typeof e=="function")return`[Function${e.name?` ${e.name}`:""}]`;if(typeof e=="number"&&!Number.isFinite(e))return String(e);if(typeof e!="object"||e===null)return e;if(e instanceof Error)return`${e.name}: ${e.message}`;const t=nodeText(e);return t!==void 0?t:e instanceof Map?{Map:[...e]}:e instanceof Set?{Set:[...e]}:ArrayBuffer.isView(e)&&!(e instanceof DataView)?Array.from(e):e}function jsonOf(e){const t=[];try{return JSON.stringify(e,function(r,i){for(;t.length>0&&t[t.length-1]!==this;)t.pop();if(typeof i!="object"||i===null)return shown(i);if(t.includes(i))return"[Circular]";t.push(i);const u=shown(i);return u!==i&&typeof u=="object"&&u!==null&&t.push(u),u})}catch{return Object.prototype.toString.call(e)}}function consoleValue(e){switch(typeof e){case"string":return e;case"number":case"boolean":case"undefined":return String(e);case"bigint":return`${String(e)}n`;case"symbol":return e.toString();case"function":return`[Function${e.name?` ${e.name}`:""}]`;case"object":{if(e===null)return"null";if(e instanceof Error)return`${e.name}: ${e.message}`;const t=nodeText(e);return t!==void 0?t:jsonOf(e)}}}function consoleText(e){const t=[...e],r=[],i=t[0];typeof i=="string"&&i.includes("%")&&(t.shift(),r.push(i.replace(/%([sdifoOjc%])/g,(o,a)=>{if(a==="%")return"%";if(t.length===0)return o;const s=t.shift();if(a==="c")return"";if(a==="d"||a==="i"||a==="f"){const d=typeof s=="symbol"?NaN:Number(s);return String(a==="f"?d:Math.trunc(d))}return consoleValue(s)}))),r.push(...t.map(consoleValue));const u=r.join(" ");return u.length<=CONSOLE_TEXT_MAX?u:`${u.slice(0,CONSOLE_TEXT_MAX)}… (${String(u.length-CONSOLE_TEXT_MAX)} more characters)`}var round33=e=>Math.round(e*1e3)/1e3,round6=e=>Math.round(e*1e6)/1e6;function captionTrack(e,t,r){const{specs:i,videoTakes:u,results:o}=e,{timing:a}=t,s=i.flatMap((h,p)=>{const g=a.parts[p],v=u[p];if(v&&g)return v.captionWords.length===0?[]:[{part:h.key,shown:v.line.shown||joinWords(v.captionWords),spoken:v.line.spoken||joinWords(v.captionWords),words:v.captionWords.map(D=>({text:D.text,start:round33(D.start+g.start),end:round33(D.end+g.start)}))}];const x=o[p]?.speech,A=g?.speechAt;if(A===void 0||!x||x.words.length===0)return[];const m=x.words.map(D=>({text:D.text,start:round33(D.start+A),end:round33(D.end+A)})),y=x.ranges?joinWords(x.words):o[p]?.shown??joinWords(x.words),E=x.ranges?y:x.script??y;return[{part:h.key,shown:y,spoken:E,words:m}]}),d=new Map,c=(h={})=>{const p=JSON.stringify([h.maxChars,h.maxWords,h.keep,h.close]);let g=d.get(p);return g||(g=wordCues(s,{fps:r,...h.maxChars===void 0?{}:{maxChars:h.maxChars},...h.maxWords===void 0?{}:{maxWords:h.maxWords},...h.keep===void 0?{}:{keep:h.keep},...h.close===void 0?{}:{close:h.close}}),d.set(p,g)),g},l=new Map(i.map((h,p)=>[h.key,a.words(p)]));let f;return{lines:s,get asked(){return f},cues:c,partCues(h,p,g){f??=g??{};const v=cuesIn(c(g),h,p);return g?.edges!==!0?v:v.map((x,A)=>({...x,...A===0?{start:0}:{},...A===v.length-1?{end:round6(p-h)}:{}}))},partWords:h=>l.get(h)??[],wordEnd(h,p){let g;for(const v of l.get(h)??[])(!g||Math.abs(v.start-p)<Math.abs(g.start-p))&&(g=v);return g&&Math.abs(g.start-p)<.05?g.end:p+.4}}}var LoadFailure=class extends Error{code;text;constructor(e,t){super(`${e}: ${t}`),this.name="LoadFailure",this.code=e,this.text=t}};function codeOf(e){const t=e??{};if(typeof t.code=="string"&&t.code in RULES)return t.code;if(t.code==="video_cycle")return"AK-M010";const r=typeof t.message=="string"?t.message:"",i=/\bAK-[A-Z]\d{3}\b/.exec(r)?.[0];return i!==void 0&&i in RULES?i:"AK-R001"}var messageOf=e=>e instanceof Error?e.message:String(e),round62=e=>Math.round(e*1e6)/1e6;function timeFilm(e,t,r,i){const{source:u,ledger:o}=e,{fps:a,dims:s,options:d,format:c}=t,{specs:l,inputs:f}=r,h=i?.snapTo(f),p=timeParts([...f],{fps:a,beat:i?.beat??0,beatPhase:i?.beatPhase??0,...h?{snap:h}:{}});r.videoTakes.forEach((m,y)=>{const E=p.parts[y];!m||!E||(m.shown.start=E.start,m.shown.partStart=E.start)});const g=l.map((m,y)=>{const E=p.parts[y],D=f[y]?.placed??[],b=[...D,...(f[y]?.anchors??[]).filter(_=>!D.some(w=>w.name===_.name))];return{key:m.key,start:E?.start??0,anchors:E?b.map(_=>({name:_.name,at:round62(E.start+p.at(y,`@${_.name}`)),..._.end===void 0?{}:{end:round62(E.start+p.at(y,`@/${_.name}`))}})):[]}}),v=m=>momentOf({parts:g},m),x=(m,y)=>{try{if(typeof m=="number")return m;if(typeof m=="string")return v(m);const E=l.findIndex(b=>b.key===m.part),D=p.parts[E];if(E<0||!D)throw new Error(`The video has no part ${m.part}; its parts are ${l.map(b=>b.key).join(", ")}.`);return D.start+p.at(E,m.at)}catch(E){o.problems.push(problem("AK-T004",`${y}: ${messageOf(E)}`,{where:{file:u.file}}));return}},A=new Map;{const m=y=>Math.round((y.end-y.start)*a);l.forEach((y,E)=>{const D=p.parts[E-1],b=p.parts[E];if(y.transition===void 0||!D||!b)return;const _=transitionWindow(transitionSpec(y.transition),a,m(D),m(b));_.before+_.after>0&&A.set(E,_)})}return{timing:p,duration:p.duration,parts:g,filmAt:v,momentAt:x,windows:A,checkLimit(){const m=s.profile,y=d.maxDuration;m&&p.duration>m.maxDuration+1e-6&&!(y!==void 0&&y<=m.maxDuration)&&o.problems.push(problem("AK-F001",`This video lasts ${p.duration.toFixed(1)} s, and ${m.label} (${c}) takes at most ${String(m.maxDuration)} s. Cut ${(p.duration-m.maxDuration).toFixed(1)} s: shorter parts, an edits file on the take, or fewer parts.`,{where:{file:u.file}}))}}}var EPOCH_MS=Date.UTC(2026,0,1);function hashString(e){let t=2166136261;for(let r=0;r<e.length;r++)t^=e.charCodeAt(r),t=Math.imul(t,16777619);return t>>>0}function mulberry32(e){let t=e>>>0;return()=>{t=t+1831565813|0;let r=Math.imul(t^t>>>15,1|t);return r=r+Math.imul(r^r>>>7,61|r)^r,((r^r>>>14)>>>0)/4294967296}}var realNow=performance.now.bind(performance),realTimeout=setTimeout.bind(globalThis),nativeClearTimeout=clearTimeout.bind(globalThis),realClearTimeout=e=>{nativeClearTimeout(e)};function within2(e,t){const r=e.map(()=>{});return e.length===0?Promise.resolve(r):new Promise(i=>{let u=e.length;const o=realTimeout(()=>{i([...r])},Math.max(0,t));e.forEach((a,s)=>{a.then(d=>{r[s]={status:"fulfilled",value:d}},d=>{r[s]={status:"rejected",reason:d}}).finally(()=>{u--,u===0&&(realClearTimeout(o),i([...r]))})})})}var realRaf=typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(globalThis):e=>Number(setTimeout(()=>{e(realNow())},16)),realTimers={now:realNow,setTimeout:realTimeout,clearTimeout:realClearTimeout},installed;function installGuards(){if(installed)return installed;const e=globalThis,t=Date;let r=0,i=mulberry32(1);class u extends t{constructor(...c){c.length===0?super(EPOCH_MS+r):super(...c)}static now(){return EPOCH_MS+r}}e.Date=u,Math.random=()=>i(),performance.now=()=>r;const o=d=>{if(d){const c=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);for(let l=0;l<c.length;l++)c[l]=Math.floor(i()*256)}return d};crypto.getRandomValues=o;let a=[],s=1;return e.requestAnimationFrame=d=>{const c=s++;return a.push([c,d]),c},e.cancelAnimationFrame=d=>{a=a.filter(([c])=>c!==d)},e.setTimeout=()=>0,e.setInterval=()=>0,installed={setMoment(d,c){r=d*1e3,i=mulberry32(hashString(c))},flushFrames(){const d=a;a=[];for(const[,c]of d)c(r)}},installed}var isFootage=e=>e.__allyhubLayer==="footage",zOf=e=>e.z==="behind-person"||e.z==="overlay"?e.z:"front",layerNames=e=>e.map(t=>isFootage(t)?"footage":t.component);function resolveTimes(e,t,r){if(Array.isArray(e))return e.map(u=>resolveTimes(u,t,r));if(t===!0)return typeof e=="string"||typeof e=="number"?r(e):e;if(typeof e!="object"||e===null)return e;const i={...e};for(const[u,o]of Object.entries(t))u in i&&i[u]!==void 0&&(i[u]=resolveTimes(i[u],o,r));return i}function windowOf(e,t,r){const i=a=>Math.min(Math.max(a,0),t),u=i(e.at===void 0?0:r(e.at)),o=e.until!==void 0?i(r(e.until)):e.dur!==void 0?i(u+e.dur):t;return[u,o]}function planStack(e){const t=e.some(l=>!isFootage(l)&&zOf(l)==="behind-person"),r=t?e.findIndex(l=>isFootage(l)&&l.file===void 0):-1,i=l=>r>=0&&!isFootage(l)&&zOf(l)==="behind-person",u=l=>l!==void 0&&!isFootage(l)&&zOf(l)==="overlay",o=[];e.forEach((l,f)=>{isFootage(l)?(o.push(f),f===r&&e.forEach((h,p)=>{i(h)&&o.push(p)})):!i(l)&&!u(l)&&o.push(f)}),e.forEach((l,f)=>{u(l)&&o.push(f)});const a=[],s=new Map,d=new Map;let c;for(const l of o){const f=e[l];if(!f)continue;if(isFootage(f)){c=void 0,d.set(l,a.length);continue}const h=i(f)?"behind":u(f)?"overlay":"front";c!==h&&(a.push({layers:[],...h==="behind"?{behindPerson:!0}:{},...h==="overlay"?{overlay:!0}:{}}),c=h),s.set(l,a.length-1)}return{takeAt:r,hasBehind:t,order:o,planes:a,planeOf:s,overOf:d,overlaid:l=>u(e[l])}}var noReads={captions:()=>[],face:()=>{},faces:()=>[],texts:()=>[]};function layerContexts(e,t,r,i,u){const{log:o,ledger:a,embed:s,combo:d}=e,{look:c,format:l,dims:f}=t,h=[[0,0,f.width,f.safe.top],[0,f.height-f.safe.bottom,f.width,f.safe.bottom],[0,0,f.safe.left,f.height],[f.width-f.safe.right,0,f.safe.right,f.height]].filter(x=>x[2]>0&&x[3]>0),p=contentEdges(f),g=[p.left,p.top,p.right-p.left,p.bottom-p.top],v=x=>{if(!u)throw new Error(`"${x}": a page has no film to find it in.`);return u.filmAt(x)};return x=>{const A=x.reads??noReads,m=x.record??(()=>{}),y=x.place,E=x.answers,D={look:c,format:l,dims:f,combo:x.combo??d,dur:x.dur,asset:b=>o.asset(b),optionalAsset:b=>o.optionalAsset(b),words:x.words,at:x.at,layer:{start:x.start,end:x.end},wait:b=>{a.wait(b)},report:b=>{const _=a.running,w=b.code in RULES?b.code:"AK-R001",B=_?.part??y?.part;a.ran(problem(w,b.message,{...b.level?{level:b.level}:{},...B?{part:B}:{},..._?.t===void 0?{}:{t:_.t}}))},captions:b=>A.captions(b),face:(b,_)=>A.face(b,_),faces:b=>A.faces(b),texts:b=>A.texts(b),covered:h,content:g,video:(b,_)=>r.video(b,_,m),cameraFor:b=>s?.cameras?.[b]??s?.cameras?.["*"],...s?.sceneryScale===void 0?{}:{sceneryScale:s.sceneryScale},embedded:s!==void 0,get layoutOnly(){return i.mode==="layout"},realTimers,...E?{answer:(b,_)=>{E.set(b,_)}}:{}};return y&&Object.defineProperty(D,"film",{enumerable:!0,get:()=>(m("film",String(y.start)),{start:y.start,part:y.part,at:v,...s?.shown?{outer:s.shown}:{}})}),D}}var settled=e=>Math.max(0,e-.4),round34=e=>Math.round(e*1e3)/1e3,round63=e=>Math.round(e*1e6)/1e6;function compose(e){const{env:t,piece:r,stage:i,takes:u,film:o,captions:a,footage:s,sound:d}=e,{source:c,options:l,combo:f,picked:h,ledger:p}=t,{fps:g,format:v,dims:x}=r,{specs:A}=u,{timing:m,windows:y}=o,E=[],D=[],b=[],_=l.purpose==="play",w=new Set,B=(F,$)=>{const L={};for(const[O,k]of Object.entries(f)){if(!h.has(O)||O===$){L[O]=k;continue}Object.defineProperty(L,O,{enumerable:!0,get:()=>(w.has(`${F}:${O}`)||(w.add(`${F}:${O}`),p.problems.push(problem("AK-X005",`A layer of part ${F} reads ctx.combo.${O}, ${O===STRUCTURE?"the combo's structure":`the pick of the slot ${O}`}. A part is rendered once and reused in every combo that has it, so it may read only the dimensions${$===void 0?"":` and its own slot (${$})`}. Choose in the output's function instead, and pass the result as a prop.`,{part:F,where:{file:c.file}}))),k)})}return L};for(const[F,$]of A.entries()){const L=m.parts[F];if(!L)continue;const O=L.end-L.start,k=ne=>m.at(F,ne),j=a.partWords($.key),T=u.results[F]?.speech,I=u.inputs[F],M=I?.placed??[],P=[...M,...(I?.anchors??[]).filter(ne=>!M.some(S=>S.name===ne.name))],R=u.speechFor(F,L);let N;if(typeof $.still=="function")N=$.still(O);else if($.still===void 0){N=settled(O);const ne=y.get(F),S=y.get(F+1);if(ne||S){const Z=(ne?.after??0)/g,q=O-((S?.before??0)+1)/g;N=Math.max(Z,Math.min(N,q))}}else N=k($.still);let W=toFrame(L.start+N,g);(W<L.start||W>=L.end)&&(W=L.start);const U=$.slot??(h.has($.key)&&$.key!==STRUCTURE?$.key:void 0),Y=h.size>0?B($.key,U):f,ae={reads:new Map,captioned:!1},re=planStack($.layers),{takeAt:ie,planes:se,planeOf:we,overOf:xe,order:oe}=re,he=$.layers,ye=$.post??he.map(ne=>"props"in ne?ne.props.sensor?.grade:void 0).find(Boolean),X=u.videoTakes[F],H={key:$.key,...$.title===void 0?{}:{title:$.title},...U===void 0?{}:{slot:U},layers:layerNames(he),start:L.start,end:L.end,planes:se,still:W,...R.speech?{speech:R.speech}:{},...P.length>0?{anchors:P.map(ne=>({name:ne.name,at:round34(L.start+k(`@${ne.name}`)),...ne.end===void 0?{}:{end:round34(L.start+k(`@/${ne.name}`))}}))}:{},...$.tags?.length?{tags:[...$.tags]}:{},...ye?{post:{filter:ye.filter}}:{},...$.speechGainDb!==void 0&&$.speechGainDb!==0?{speechGainDb:$.speechGainDb}:{},...X?{plays:{video:X.id,from:X.from,to:X.to}}:{}};E.push(H),d.addSpeech(R.clips,R.room);const Q=document.createElement("section");Q.className="ak-part",Q.dataset.key=$.key,Q.dataset.format=v,Object.assign(Q.style,{position:"absolute",inset:"0",overflow:"hidden"}),showLayer(Q,!1),i.el.append(Q);const ee=new Map;_&&he.forEach((ne,S)=>{if(!isFootage(ne))return;const Z=document.createElement("div");Z.className="ak-footage-plane",Object.assign(Z.style,{position:"absolute",inset:"0",...(xe.get(S)??0)>0?{pointerEvents:"none"}:{}}),ee.set(S,Z)});let ce;ee.size>0&&ie>=0&&(ce=document.createElement("div"),ce.className="ak-cutout-plane",Object.assign(ce.style,{position:"absolute",inset:"0",pointerEvents:"none"}));const Ae={captions:ne=>(ae.captioned=!0,a.partCues(L.start,L.end,ne)),face:(ne,S)=>s.faceAt($.key,L.start+ne,S),faces:ne=>s.facesAt($.key,L.start+ne)},pe=[],ge=new Map;for(const[ne,S]of he.entries()){const[Z,q]=windowOf(S,O,k);if(isFootage(S)){const me=ne===ie,ue=s.plan(S,H,T,L.speechAt,Z,q,{at:k,cutout:me,over:xe.get(ne)??0,person:me&&ce!==void 0});if(ue&&_){const $e=ee.get(ne)??Q,{matteUrl:De,personOver:ke,...Se}=ue;b.push({...Se,host:$e,...De===void 0?{}:{cutoutIn:{host:ke&&ce?ce:$e,matte:De}}})}continue}const K=zOf(S),G=we.get(ne)??0;se[G]?.layers.push({component:S.component,start:round63(H.start+Z),end:round63(H.start+Math.max(Z,q))});const J=document.createElement("div");J.className="ak-layer",J.dataset.component=S.component,Object.assign(J.style,{position:"absolute",inset:"0"}),showLayer(J,!1),ge.set(ne,J);const te=S.times?resolveTimes(S.props,S.times,k):S.props,de=pe.slice(),be=new Map,fe=e.contexts({dur:O,words:()=>j,at:k,start:Z,end:q,combo:Y,reads:{...Ae,texts:me=>e.texts({part:H,el:Q},de,me)},record:(me,ue)=>ae.reads.set(me,ue),place:{start:H.start,part:$.key},answers:be});pe.push({spec:S,index:ne,props:te,el:J,ctx:fe,start:Z,end:q,z:K,plane:G,answers:be})}let ve=Q,Ce;if(se.some(ne=>ne.overlay===!0)){ve=document.createElement("div"),Ce=document.createElement("div"),ve.className="ak-picture",Ce.className="ak-overlays";for(const ne of[ve,Ce])Object.assign(ne.style,{position:"absolute",inset:"0",overflow:"hidden"}),Q.append(ne)}oe.forEach((ne,S)=>{const Z=ee.get(ne)??ge.get(ne);Z&&(Ce&&re.overlaid(ne)?Ce:ve).append(Z);const q=we.get(ne),K=oe[S+1];ce&&q!==void 0&&se[q]?.behindPerson===!0&&(K===void 0||we.get(K)!==q)&&ve.append(ce)}),d.sfx($,H,k),X&&d.carry(X.inner,X.from,X.to,H.start,H.key,0);for(const ne of pe){const S=u.shownBy.get(ne.spec);S&&(S.shown.start=H.start+ne.start,S.shown.partStart=H.start,S.shown.from=S.from,S.shown.to=S.from+(ne.end-ne.start)*S.speed,S.shown.speed=S.speed,S.audio!==void 0&&S.speed===1&&d.carry(S.inner,S.from,S.shown.to,H.start+ne.start,H.key,S.audio))}se.forEach((ne,S)=>{const Z=ne.layers.filter(K=>K.end>K.start),q=s.placed.flatMap(K=>{if(K.part!==H.key||(K.over??0)<=S)return[];if(!Z.some(J=>J.end>K.start&&J.start<K.end))return[];let G;for(const J of K.boxes?K.boxes.map(te=>te.box):[K.box]){const te=intersect(J,[0,0,x.width,x.height]),de=te?round34(te[2]*te[3]/(x.width*x.height)):0;(!G||de>G.frame)&&(G={box:J,frame:de})}return G?[{file:K.file,start:K.start,end:K.end,...G}]:[]});q.length!==0&&p.facts.push(fact("graphics-under-footage",{piece:c.piece,part:$.key,t:H.start},{layers:Z,footage:q,covered:Math.max(...q.map(K=>K.frame))}))}),re.hasBehind&&ie<0&&p.facts.push(fact("fallback",{piece:c.piece,part:$.key},{missing:"own-footage",for:"behind-person",fallback:"in-front"})),D.push({part:H,spec:$,n:F,el:Q,picture:ve,...Ce?{overlays:Ce}:{},layers:pe,record:ae})}return{parts:E,mounted:D,clips:b}}var momentIn=(e,t)=>typeof t=="number"?t:momentOf(e.timeline,t),camerasOf=e=>e?.cameras??(e?.camera===void 0?void 0:{"*":e.camera});function pieceEntry(e,t){const r=t.written?.file;if(!(r===void 0||r===""))return Object.entries(e.pieces??{}).find(([,i])=>i.file===r)}function createEmbedder(e,t,r){const{source:i,options:u,embed:o,combo:a}=e,s=[],d=[...o?.chain??[],i.piece],c={loaded:s,async load(l,f,h={}){const p=isPieceDefinition(l)?pieceEntry(i,l):void 0;if(!isPieceDefinition(l)||!p)throw new LoadFailure("bad_video",'A video item of the project is shown by its piece, imported (import demo from "../demo/video") and passed as it is.');const[g,v]=p;if(d.includes(g))throw new LoadFailure("video_cycle",`${[...d,g].join(" → ")}: a video item that shows itself, through the videos it shows (AK-M010). A source cannot reach itself.`);const x=outputName(l.kind),A=h.frame===!0?i.format:v.format,m=Object.fromEntries(Object.entries(v.dims).map(([w,B])=>{const F=a[w];return[w,F!==void 0&&B.includes(F)?F:B[0]??""]})),y=f.parentNode,E=f.nextSibling,D=document.createElement("div");D.dataset.akHolder="",Object.assign(D.style,{position:"absolute",left:"0px",top:"0px",visibility:"hidden",pointerEvents:"none"}),t.el.append(D),D.append(f);let b;try{b=await r({...i,piece:g,file:v.file,module:"",styles:[],dims:v.dims,format:A,...v.matrix?{matrix:v.matrix}:{}},{combo:m,purpose:u.purpose},f,{def:l,chain:d,...h.cameras?{cameras:h.cameras}:{},...h.shown?{shown:h.shown}:{},...h.sceneryScale===void 0?{}:{sceneryScale:h.sceneryScale}}),await b.ready()}finally{t.takeOutside(),y?y.insertBefore(f,E):f.remove(),t.takeOutside(),D.remove()}const _={id:g,output:x,format:A,inner:b};return s.push(_),_},async video(l,f,h){const{id:p,output:g,format:v,inner:x}=await c.load(l,f);return h(`video:${p}:${g}:${v}`,JSON.stringify(x.signs())),{id:p,duration:x.timeline.duration,width:x.timeline.width,height:x.timeline.height,seek:(A,m)=>x.seek(A,{mode:m===!0?"layout":"picture"}),at:A=>momentOf(x.timeline,A)}}};return c}var isBoxKeys=e=>Array.isArray(e)&&e.length>0&&typeof e[0]=="object";function videoLayer(e,t,r,i,u){const{inner:o,host:a}=r,s=o.timeline.width,d=o.timeline.height,c=forOrient(t.box,e.orient);if(isBoxKeys(c))throw new LoadFailure("bad_footage",'footage() of a video item takes one box (or "full"), not keyframes.');const[l,f,h,p]=c===void 0||c==="full"?[0,0,1,1]:c,g=t.fit??"cover",v=t.cameras??(t.camera===void 0?void 0:t.camera);return{[LAYER_BRAND]:"graphic",component:"video",...t.at===void 0?{}:{at:t.at},...t.until===void 0?{}:{until:t.until},...t.dur===void 0?{}:{dur:t.dur},props:{...u,box:[l,f,h,p],fit:g,...v===void 0?{}:{camera:v},...t.quality?{quality:t.quality}:{},parts:o.signs()},mount(x){const A={x:l*e.width,y:f*e.height,w:h*e.width,h:p*e.height},m=g==="contain"?Math.min(A.w/s,A.h/d):Math.max(A.w/s,A.h/d),y=document.createElement("div");Object.assign(y.style,{position:"absolute",left:`${String(A.x)}px`,top:`${String(A.y)}px`,width:`${String(A.w)}px`,height:`${String(A.h)}px`,overflow:"hidden"}),Object.assign(a.style,{position:"absolute",left:`${String((A.w-s*m)/2)}px`,top:`${String((A.h-d*m)/2)}px`,width:`${String(s)}px`,height:`${String(d)}px`,transformOrigin:"0 0",transform:`scale(${String(m)})`}),y.appendChild(a),x.appendChild(y)},render(x,A,m,y){const E=Math.min(Math.max(i(A,y),0),Math.max(0,o.timeline.duration-.001)),D=y.layoutOnly===!0?"layout":"picture";y.wait(Promise.resolve().then(()=>o.seek(E,{mode:D})))}}}var where={phase:"other"},collector=new ConsoleCollector,passThrough=!0,parts=[],installed2=!1;function installConsole(){if(installed2)return;installed2=!0;const e=console;for(const t of CONSOLE_LEVELS){const r=e[t]?.bind(console);e[t]=(...i)=>{try{collector.add({level:t,text:consoleText(i),...where})}catch{}passThrough&&r?.(...i)}}}function resetConsole(e){collector=new ConsoleCollector(e.limit??CONSOLE_LIMIT),passThrough=e.passThrough,parts=[],where={phase:"other"}}function consoleParts(e){parts=e}function consoleAt(e,t){const r=where;where=e;try{return t()}finally{where=r}}async function consoleAtAsync(e,t){const r=where;where=e;try{return await t()}finally{where=r}}function consoleLog(){return collector.log(parts)}var PLACEHOLDER="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",KEY_PART_MIN=3,ReadLog=class{messages=new Map;media=new Map;data=new Map;keyByText=new Map;missingReads=new Set;missingMedia=new Set;problems=[];texts=new Set;tap;opts;fileOf;constructor(e){this.opts=e,this.fileOf=t=>`${e.text??TEXT_DIR}/${t??"en"}.json`}value(e){const{own:t,fallback:r,lang:i,defaultLang:u}=this.opts;return Object.hasOwn(t,e)?{value:t[e],fellBack:!1}:Object.hasOwn(r,e)?{value:r[e],fellBack:i!==u}:{value:void 0,fellBack:!1}}record(e,t,r){if(this.messages.has(e))return;const{value:i,fellBack:u}=this.value(e);if(this.messages.set(e,{key:e,kind:t,fallback:u,...r?{hint:r}:{}}),t!=="list"&&i===void 0){const o=e.slice(e.indexOf(".")+1),a=Object.keys(this.opts.fallback).find(s=>s.endsWith(`.${o}`));this.problems.push(problem("AK-S001",`The code reads ${e}, but the default language ${this.opts.defaultLang??"(no messages)"} does not have it. ${a===void 0?`Add it to ${this.fileOf(this.opts.defaultLang)}.`:`It has ${a}: read that, or give the piece the id "${e.slice(0,e.indexOf("."))}".`}`,{where:{file:this.fileOf(this.opts.defaultLang)}}))}}locale(e){return Object.hasOwn(this.opts.own,e)?this.opts.lang:this.opts.defaultLang}text(e,t,r){this.record(e,"text",t);const{value:i}=this.value(e);this.tap?.(`m:${e}`,JSON.stringify(i??null));for(const u of textsOf(i))this.texts.add(u);return displayOf(i,r,this.locale(e))??""}s(e,t){const r=this.text(e,t,{});return r&&this.keyByText.set(r,{key:e,inputs:{}}),r}with(e,t,r){const i=fillMessage(this.text(e,r,t),t);return this.texts.add(i),i&&this.keyByText.set(i,{key:e,inputs:t}),i}spokenOf(e){const t=this.keyByText.get(e);if(!t)return;const r=speakOf(this.value(t.key).value,t.inputs,this.locale(t.key)),i=(Object.hasOwn(this.opts.own,t.key)?this.opts.anchors?.own:this.opts.anchors?.fallback)?.[t.key];return{key:t.key,speak:r===void 0?e:fillMessage(r,t.inputs),...i&&r!==void 0?{anchors:lineAnchors(r,i,u=>fillMessage(u,t.inputs))}:{}}}list(e,t){const r=[],i=new Set([...Object.keys(this.opts.own),...Object.keys(this.opts.fallback)]),u=messageList(o=>displayOf(this.value(o).value,{},this.locale(o)),i,e,r);this.record(e,"list",t),r.length===0&&this.problems.push(problem("AK-S001",`The code reads the list ${e}, but the default language has no keys like ${e}.0, ${e}.1. Add them to ${this.fileOf(this.opts.defaultLang)}.`,{where:{file:this.fileOf(this.opts.defaultLang)}}));for(const o of r)this.text(o,void 0,{});return u}keysUnder(e){const t=`${e}.`;return[...new Set([...Object.keys(this.opts.own),...Object.keys(this.opts.fallback)])].filter(r=>r.startsWith(t))}peek(e){return this.value(e).value}touch(e){const{value:t,fellBack:r}=this.value(e);return this.tap?.(`m:${e}`,JSON.stringify(t??null)),t!==void 0&&!this.messages.has(e)&&this.messages.set(e,{key:e,kind:"text",fallback:r}),t}mediaAt(e){const t=this.opts.media[e];return t&&this.media.set(e,asUrlString(t)),this.tap?.(`f:${e}`,t?.sha256??""),t}missing(e){this.missingReads.add(e)}report(e){this.problems.some(t=>t.code===e.code&&t.message===e.message)||this.problems.push(e)}relativeTo(e){this.base=e}base;get pathBase(){return this.base??this.opts.file}baseOf(e){return e===void 0?this.pathBase:e===""?"the project's root":e}resolve(e,t){return t===void 0?repoPath(this.pathBase,e):pathIn(t,e)}asset(e,t){const r=this.baseOf(t),i=this.resolve(e,t),u=i===void 0?void 0:this.mediaAt(i);if(u)return u;const o=i??e;return this.missingMedia.has(o)||(this.missingMedia.add(o),this.problems.push(problem("AK-A001",i===void 0?`"${e}" points outside the project. Put media in the project, with a path relative to ${r}.`:`"${e}" (named in ${r}) cannot find ${i}: the path is wrong, or the file is not in the project yet.`,{where:{file:r}}))),asUrlString({path:i??e,sha256:"",kind:"image",url:PLACEHOLDER,width:1,height:1})}optionalAsset(e){const t=repoPath(this.pathBase,e);if(t===void 0)return;const r=this.mediaAt(t);return r||this.missing(t),r?asUrlString(r):void 0}optionalData(e,t){const r=this.resolve(e,t);if(r===void 0)return{found:!1};const i=this.opts.data?.[r];return this.data.set(r,i?.sha256??""),i?i.error===void 0?{full:r,found:!0,value:i.value}:{full:r,found:!0,error:i.error}:{full:r,found:!1}}readData(e){const t=repoPath(this.pathBase,e),r=t===void 0?void 0:this.opts.data?.[t];if(t!==void 0&&r){if(this.data.set(t,r.sha256),this.tap?.(`d:${t}`,r.sha256),r.error===void 0)return r.value;this.missingMedia.has(t)||(this.missingMedia.add(t),this.problems.push(problem("AK-R001",`Cannot read the data file ${t}: ${r.error}`,{where:{file:t}})));return}this.missingMedia.has(e)||(this.missingMedia.add(e),this.problems.push(problem("AK-A001",t===void 0?`ctx.data("${e}") points outside the project. Put data files in the project, with a path relative to ${this.pathBase}.`:`ctx.data("${e}") cannot find ${t}: the path is wrong, or the file is not CSV, YAML or JSON.`,{where:{file:this.pathBase}})))}reads(e,t){const r=i=>{if(!i.startsWith(`${e}.`))return;const u=i.slice(e.length+1).split(".")[0]??"";return t.includes(u)?u:void 0};return{messages:[...this.messages.values()].map(i=>{const u=r(i.key);return u===void 0?i:{...i,part:u}}).sort((i,u)=>i.key<u.key?-1:i.key>u.key?1:0),media:[...[...this.media.values()].map(i=>({path:i.path,sha256:i.sha256,kind:i.kind})),...[...this.missingReads].filter(i=>!this.media.has(i)).map(i=>({path:i,sha256:"",kind:"audio"}))].sort((i,u)=>i.path<u.path?-1:1),data:[...this.data.entries()].map(([i,u])=>({path:i,sha256:u})).sort((i,u)=>i.path<u.path?-1:1)}}translationProblems(){const e=[];for(const t of this.messages.values())t.fallback&&t.kind==="text"&&e.push(problem("AK-S002",`${this.opts.lang??""} is missing a translation: ${t.key}. The ${this.opts.defaultLang??""} text was used.`,{where:{file:this.fileOf(this.opts.lang)}}));return e}keysShowing(e){const t=a=>a.replace(/[\s\p{Cf}]+/gu,""),r=t(e);if(r==="")return[];const i=[],u=[];for(const a of this.messages.values()){const s=textsOf(this.peek(a.key)).flatMap(d=>hasMarks(d)?[d,withoutMarks(d)]:[d]).map(t);s.includes(r)?i.push(a.key):s.some(d=>d.includes(r))&&u.push(a.key)}return i.length>0?i:(r.match(/[\p{L}\p{N}]/gu)?.length??0)>=KEY_PART_MIN?u:[]}get file(){return this.fileOf(this.opts.lang)}},RUN_PROBLEMS=200,Ledger=class{problems=[];facts=[];run=[];times=[];running;loading=!0;doing;waiting=[];ran(e){this.run.length>=RUN_PROBLEMS||this.run.some(t=>t.code===e.code&&t.message===e.message&&t.part===e.part)||this.run.push(e)}async timed(e,t){const r=realNow();try{return await t()}finally{this.times.push({what:e,ms:realNow()-r})}}wait(e){const t=this.running;if(!this.loading){this.waiting.push({work:e,who:t});return}const r=this.doing??"a layer",i=realNow();this.waiting.push({work:e.finally(()=>{this.times.push({what:`the work ${r} waited for (ctx.wait)`,ms:realNow()-i})}),who:t})}async settle(e){const t=realNow()+e,r=[];for(;this.waiting.length>0;){const i=this.waiting.splice(0);if((await within2(i.map(o=>o.work),t-realNow())).forEach((o,a)=>{const s=i[a]?.who;if(o===void 0){r.push(`the work ${whoText(s)} waits for (ctx.wait)`);return}if(o.status==="fulfilled")return;const d=o.reason;this.ran(problem(codeOf(o.reason),`${whoText(s)}: the work it waits for (ctx.wait) failed: ${String(d.message??o.reason)}`,{...s?.part===void 0?{}:{part:s.part},...s?.t===void 0?{}:{t:s.t}}))}),r.length>0)break}return r}},whoText=e=>e?.what??"A layer";function checkCombo(e,t){const r=e.dims,i=e.matrix?.space;if(validCombo(i,r,e.matrix?.rules??[],t.combo))return;const u=i?`; slots: ${Object.entries(i.slots).map(([o,a])=>`${o}=${a.map(s=>s.name).join("|")}`).join(", ")}${i.declared?`; structures: ${Object.keys(i.structures).join("|")}`:""}; and the matrix's rules`:"";throw new LoadFailure("bad_combo",`Piece ${e.piece} has no combo ${comboKey(t.combo)} (dimensions: ${Object.entries(r).map(([o,a])=>`${o}=${a.join("|")}`).join(", ")||"none"}${u}).`)}function createEnv(e,t,r){const i=realNow();checkCombo(e,t);const u={...t.combo},o=u.lang,a=e.locales[0],s=!r&&entryKind(e.file)==="slides"?"slides":"video",d=`${e.piece}:${s}:${seedKey(u,e.format)}`,c=seedKey(dimsCombo(e.dims,u),e.format),l=e.matrix?.space,f=new Set(l?[...Object.keys(l.slots),...l.declared?[STRUCTURE]:[]]:[]),h=installGuards();h.setMoment(0,`${d}:load`),r||(installConsole(),resetConsole({...t.consoleLimit===void 0?{}:{limit:t.consoleLimit},passThrough:t.purpose==="play"}));const p=new ReadLog({lang:o,defaultLang:a,...e.text===void 0?{}:{text:e.text},own:o===void 0?{}:e.messages[o]??{},fallback:a===void 0?{}:e.messages[a]??{},...e.anchors?{anchors:{...o!==void 0&&e.anchors[o]?{own:e.anchors[o]}:{},...a!==void 0&&e.anchors[a]?{fallback:e.anchors[a]}:{}}}:{},media:e.media,file:e.file,...e.data?{data:e.data}:{}});return{source:e,options:t,embed:r,combo:u,lang:o,defaultLang:a,output:s,seedBase:d,partSeed:(g,v)=>`${e.piece}:${s}:${c}:${g}:${String(v)}`,picked:f,space:l,guards:h,log:p,ledger:new Ledger,start:i,mediaOf:(g,v)=>typeof g=="string"?p.asset(g,v):p.mediaAt(g.path)??p.asset(`/${g.path}`)}}var BACKDROP_IMAGE=/\.(png|jpe?g|webp)$/i,treats=e=>(e.blur??0)>0||(e.dim??0)>0||(e.desaturate??0)>0||e.color!==void 0||e.image!==void 0,round35=e=>Math.round(e*1e3)/1e3;function footagePlanner(e,t,r,i){const{source:u,ledger:o,embed:a}=e,{dims:s,fps:d}=t,c=[],l=new Map,f=new Set,h=new Map,p=(A,m)=>{const y=h.get(A)??{file:A};y[m]=!0,h.set(A,y)},g=(A,m)=>{o.facts.push(fact("fallback",{piece:u.piece,part:A},m))},v=(A,m,y)=>{const E=backdropUnit(s.width,s.height),D=w=>Math.round(w*E*1e3)/1e3;let b;if(A.image!==void 0){if(b=e.mediaOf(A.image,y),b.sha256==="")return;if(b.kind!=="image"||!BACKDROP_IMAGE.test(b.path)){o.problems.push(problem("AK-A003",`The background image ${b.path} of footage() in part ${m} is not a PNG, JPEG or WebP image.`,{part:m,where:{file:u.file}}));return}}let _;if(A.color!==void 0){const w=CSS.supports("color",A.color)?i(A.color):void 0;if(w===void 0)throw new Error(`footage() background color ${JSON.stringify(A.color)} in part ${m} is not a CSS color.`);_=w.length===9&&w.endsWith("00")?"transparent":w}return{backdrop:{...A.blur?{blur:D(A.blur)}:{},...A.dim?{dim:A.dim}:{},...A.desaturate?{desaturate:A.desaturate}:{},..._===void 0?{}:{color:_},...b?{image:b.path}:{},feather:D(A.feather??MATTE_FEATHER),shrink:D(A.shrink??MATTE_SHRINK)},...b?{imageUrl:b.url}:{}}};return{plan:(A,m,y,E,D,b,_)=>{const w=A.file,B=w===void 0;let F;if(B){if(!y){o.problems.push(problem("AK-A001",`footage() in part ${m.key} names no file, so it shows the part's take, and the part has no take. Give footage a file, or give the part speech: take("./clip.mp4").`,{part:m.key,where:{file:u.file}}));return}F=y.media}else F=e.mediaOf(w,A.base);if(F.sha256==="")return;if(F.kind!=="video"){o.problems.push(problem("AK-A003",B?`footage() in part ${m.key} shows the part's take, and ${F.path} is not a video. Give footage a file, or take a video.`:`The footage ${F.path} in part ${m.key} is not a video (mp4, webm or mov).`,{part:m.key,where:{file:u.file}}));return}const $=toFrame(m.start+D,d),L=toFrame(m.start+b,d);if(L<=$)return;F.faces&&l.set(F.path,F.faces),F.matte===!0&&f.add(F.path);let O,k;if(B&&y&&E!==void 0){const H=y.ranges??[{from:y.from,to:y.from+y.dur}];if(O=round35(fromEdited(H,$-E)),y.ranges&&y.ranges.length>1){const Q=[{at:$,from:O}];let ee=0;for(const ce of y.ranges){const Ae=round35(E+ee);ee>0&&Ae>$+1e-6&&Ae<L&&Q.push({at:Ae,from:ce.from}),ee+=ce.to-ce.from}Q.length>1&&(k=Q)}}else O=Math.max(0,typeof A.from=="number"?A.from:0);const j=F.width!==void 0&&F.height!==void 0?{width:F.width,height:F.height}:void 0,T=A.fit??"cover",I=forOrient(A.box,s.orient),M=forOrient(A.crop,s.orient),P=isBoxKeys(I)?I:void 0,R=P?.map(H=>({t:toFrame(m.start+Math.min(Math.max(_.at(H.t),D),b),d),box:H.box==="full"?[0,0,s.width,s.height]:pixelRect(H.box,s.width,s.height),...H.ease?{ease:H.ease}:{}})).sort((H,Q)=>H.t-Q.t),N=P?"full":I??"full",W=R?.[0],U=placeFootage({box:W?[W.box[0]/s.width,W.box[1]/s.height,W.box[2]/s.width,W.box[3]/s.height]:N,fit:T,...M?{crop:M}:{},...j?{source:j}:{},frame:s}),Y=A.shape==="circle"||!A.radius?0:round35(Math.min(A.radius*backdropUnit(s.width,s.height),U.box[2]/2,U.box[3]/2));let ae=U.crop,re=U.picture,ie,se;const we=A.punchIn??[],xe=A.pullback===void 0||A.pullback===!1?void 0:A.pullback===!0?{}:A.pullback;if((A.reframe!==void 0||we.length>0||xe)&&j){const H=U.box,Q=reframeWindow(j,{w:H[2],h:H[3]}),ee=typeof A.reframe=="object"&&"face"in A.reframe?A.reframe:void 0,ce=A.reframe==="face"||ee!==void 0;ce&&!F.faces&&(p(F.path,"faces"),g(m.key,{file:F.path,missing:"face-track",for:"reframe",fallback:"centred"}));const Ae=F.faces,pe=A.speaker??Ae?.speaker;Ae&&A.speaker!==void 0&&!hasFace(Ae,A.speaker)&&g(m.key,{file:F.path,missing:"face",face:A.speaker,for:"speaker",fallback:"centred"});const ge=typeof A.reframe=="object"&&"x"in A.reframe?A.reframe:ce?REFRAME_FALLBACK:{x:.5,y:.5},ve={start:$,end:L,from:O,speed:B?1:A.speed??1,...k?{cuts:k}:{}};ie=reframePath({track:ce?Ae:void 0,speaker:pe,faceY:ee?.faceY,focus:ge,window:Q,source:j,layer:ve});const Ce=ie[0]??{x:0,y:0};ae=[Ce.x,Ce.y,Q.w,Q.h],re=[...H],ie.length<=1&&(ie=void 0);const ne=ie,S=(G,J)=>{if(J)return{cx:J.x,cy:J.y};const te=Ae?faceAt(Ae,sourceAt(ve,G),pe):void 0;if(!te)return{cx:PUNCH_CENTER.x,cy:PUNCH_CENTER.y};const de=ne?keyAt(ne.map(ue=>({t:ue.t,v:ue.x})),G):Ce.x,be=ne?keyAt(ne.map(ue=>({t:ue.t,v:ue.y})),G):Ce.y,fe=(te[0]+te[2]/2-de)/Q.w,me=(te[1]+te[3]/2-be)/Q.h;return{cx:round35(Math.min(Math.max(fe,0),1)),cy:round35(Math.min(Math.max(me,0),1))}},Z=[];for(const G of we){const J=typeof G=="object"?{...G,ref:G.at}:{...parsePunch(String(G)),until:void 0},te=_.at(J.ref),de=J.until!==void 0?_.at(J.until):r.wordEnd(m.key,te),be=m.start+te;Z.push({start:be,end:m.start+Math.max(de,te),scale:J.scale??PUNCH_SCALE,...S(be,typeof G=="object"?G.center:void 0),...typeof G=="object"&&G.in!==void 0?{in:G.in}:{},...typeof G=="object"&&G.out!==void 0?{out:G.out}:{},...typeof G=="object"&&G.ease!==void 0?{ease:G.ease}:{}})}const q=Z.length>0?punchKeys(Z):[],K=xe?pullbackKeys($,{scale:xe.scale??PULLBACK_SCALE,dur:xe.dur??PULLBACK_DUR,...S($,xe.center),...xe.ease?{ease:xe.ease}:{}},q):q;K.length>0&&(se=K)}let oe=!1;_.cutout&&(F.matte===!0?oe=!0:(p(F.path,"matte"),g(m.key,{file:F.path,missing:"person-matte",for:"behind-person",fallback:"in-front"})));let he;if(A.background&&treats(A.background)){const H=v(A.background,m.key,A.base);H&&F.matte===!0?he=H:H&&(p(F.path,"matte"),g(m.key,{file:F.path,missing:"person-matte",for:"background",fallback:"unprocessed"}))}if(a)throw new LoadFailure("embedded_footage",`${u.piece}'s part ${m.key} plays ${F.path}: a video shown inside another (a scenery's screen, a part's video take, a footage of a video item) draws its graphic layers only, not footage yet.`);const ye=oe&&_.person,X={part:m.key,file:F.path,start:$,end:L,from:O,speed:B?1:A.speed??1,gainDb:A.gainDb??0,audio:(A.audio??!1)&&F.audio===!0,...B?{take:!0}:{},fit:T,box:U.box,...ae?{crop:ae}:{},picture:re,...k?{cuts:k}:{},...ie?{pan:ie}:{},...se?{zoom:se}:{},...R&&R.length>1?{boxes:R}:{},..._.over>0?{over:_.over}:{},...oe?{cutout:!0}:{},...A.sharpen?{sharpen:A.sharpen}:{},...he?{background:he.backdrop}:{},...he?.imageUrl?{imageUrl:he.imageUrl}:{},...(ye||he)&&F.matteUrl?{matteUrl:F.matteUrl}:{},...ye?{personOver:!0}:{},...A.shape==="circle"?{shape:"circle"}:{},...Y>0?{radius:Y}:{},...A.speaker===void 0?{}:{speaker:A.speaker},url:F.url,...F.duration===void 0?{}:{duration:F.duration},...j?{source:j}:{}};return c.push(X),X},placed:c,needs:()=>[...h.values()],speakerIn:A=>c.some(m=>m.part===A&&(l.has(m.file)||f.has(m.file))),faceAt(A,m,y){for(let E=c.length-1;E>=0;E--){const D=c[E];if(D?.part!==A||m<D.start||m>=D.end)continue;const b=l.get(D.file);if(!b)continue;const _=y===void 0?faceOnFrame(D,b,m):faceOnFrame(D,b,m,y);if(_)return _}},facesAt(A,m){for(let y=c.length-1;y>=0;y--){const E=c[y];if(E?.part!==A||m<E.start||m>=E.end)continue;const D=l.get(E.file);if(!D)continue;const b=facesOnFrame(E,D,m);if(b.length>0)return b}return[]}}}function timelineFootage(e){return{part:e.part,file:e.file,start:e.start,end:e.end,from:e.from,speed:e.speed,gainDb:e.gainDb,audio:e.audio,...e.take?{take:!0}:{},fit:e.fit,box:e.box,...e.crop?{crop:e.crop}:{},picture:e.picture,...e.cuts?{cuts:e.cuts}:{},...e.pan?{pan:e.pan}:{},...e.zoom?{zoom:e.zoom}:{},...e.boxes?{boxes:e.boxes}:{},...e.over?{over:e.over}:{},...e.cutout?{cutout:!0}:{},...e.sharpen?{sharpen:e.sharpen}:{},...e.background?{background:e.background}:{},...e.shape?{shape:e.shape}:{},...e.radius?{radius:e.radius}:{},...e.speaker===void 0?{}:{speaker:e.speaker}}}var MIX_DEFAULTS={speech:-16,music:-20,musicAlone:-16,sfx:-22,footage:-16,footageUnderSpeech:-22,duck:{db:-8,attack:.3,release:1,hold:2},musicFade:{in:.3,out:1.5}};function resolveMix(e){const t=MIX_DEFAULTS;return{speech:e?.speech??t.speech,music:e?.music??t.music,musicAlone:e?.musicAlone??t.musicAlone,sfx:e?.sfx??t.sfx,footage:e?.footage??t.footage,footageUnderSpeech:e?.footageUnderSpeech??t.footageUnderSpeech,duck:{...t.duck,...e?.duck},musicFade:{...t.musicFade,...e?.musicFade}}}var MASTER_DEFAULTS={lufs:-14,truePeak:-3},MASTER_MECHANICS={attack:.002,release:.04,oversample:4,rounds:4,tolerance:.1};function resolveMaster(e,t){const r=t??MASTER_DEFAULTS.lufs;return e===!1?{lufs:!1,truePeak:MASTER_DEFAULTS.truePeak}:typeof e=="number"?{lufs:e,truePeak:MASTER_DEFAULTS.truePeak}:{lufs:e?.lufs??r,truePeak:e?.truePeak??MASTER_DEFAULTS.truePeak}}function merge2(e,t){const r=[];for(const i of[...e].sort((u,o)=>u.start-o.start)){const u=r.at(-1);u&&i.start-u.end<t?u.end=Math.max(u.end,i.end):r.push({start:i.start,end:i.end})}return r}function spansEnvelope(e,t,r,i){const u=[];for(const o of e)u.push({t:Math.max(0,o.start-r),db:0},{t:o.start,db:t},{t:o.end,db:t},{t:o.end+i,db:0});return u}function duckEnvelope(e,t=MIX_DEFAULTS.duck){return t.db>=0||e.length===0?[]:spansEnvelope(merge2(e,t.hold+t.attack+t.release),t.db,t.attack,t.release)}function speechSpans(e,t=MIX_DEFAULTS.duck){return merge2(e.filter(r=>r.dur>0).map(r=>({start:r.at,end:r.at+r.dur})),t.attack+t.release)}function speechEnvelope(e,t,r=MIX_DEFAULTS.duck){return t===0||e.length===0?[]:spansEnvelope(e,t,r.attack,r.release)}function addEnvelopes(e,t){return e.length===0?[...t]:t.length===0?[...e]:[...new Set([...e,...t].map(i=>i.t))].sort((i,u)=>i-u).map(i=>({t:i,db:gainAt(e,i)+gainAt(t,i)}))}var equalPower=e=>Math.sin(Math.PI/2*Math.min(1,Math.max(0,e)));function gainAt(e,t){if(e.length===0)return 0;const r=e[0];if(!r||t<=r.t)return r?.db??0;for(let i=1;i<e.length;i++){const u=e[i-1],o=e[i];if(!(!u||!o)&&t<=o.t)return o.t===u.t?o.db:u.db+(o.db-u.db)*(t-u.t)/(o.t-u.t)}return e.at(-1)?.db??0}var decodeKey=(e,t)=>`${e}\0${String(t.denoise??0)}\0${String(t.speed??1)}\0${t.filter??""}`,speechHow=e=>({...e.denoise?{denoise:e.denoise}:{},...e.speed!==void 0&&e.speed!==1?{speed:e.speed}:{}});function decodings(e){const t=new Map,r=(i,u)=>t.set(decodeKey(i,u),{file:i,how:u});for(const i of e.speech)r(i.file,speechHow(i));for(const i of e.footage)r(i.file,{});e.music&&r(e.music.file,e.music.shape?.filter?{filter:e.music.shape.filter}:{});for(const i of e.sfx)i.file!==void 0&&r(i.file,i.shape?.filter?{filter:i.shape.filter}:{});return[...t.values()]}function clipSource(e){return t=>{const r=e(t.file,speechHow(t));if(!r)return;const i=t.speed!==void 0&&t.speed!==1?t.speed:void 0;return i!==void 0&&r.made.speed===i?{src:r.src,stretched:i}:{src:r.src}}}var BUTTERWORTH_Q=Math.SQRT1_2;function biquad(e,t){const r=Math.min(Math.max(e.hz,1),t*.49),i=2*Math.PI*r/t,u=Math.cos(i),o=Math.sin(i);let a,s,d,c,l,f;switch(e.type){case"lowpass":case"highpass":case"bandpass":{const h=e.q??BUTTERWORTH_Q,p=o/(2*h);c=1+p,l=-2*u,f=1-p,e.type==="lowpass"?(a=(1-u)/2,s=1-u,d=(1-u)/2):e.type==="highpass"?(a=(1+u)/2,s=-(1+u),d=(1+u)/2):(a=p,s=0,d=-p);break}case"peak":{const h=10**(e.db/40),p=o/(2*(e.q??1));a=1+p*h,s=-2*u,d=1-p*h,c=1+p/h,l=-2*u,f=1-p/h;break}case"lowshelf":case"highshelf":{const h=10**(e.db/40),p=e.slope??1,g=o/2*Math.sqrt((h+1/h)*(1/p-1)+2),v=2*Math.sqrt(h)*g;e.type==="lowshelf"?(a=h*(h+1-(h-1)*u+v),s=2*h*(h-1-(h+1)*u),d=h*(h+1-(h-1)*u-v),c=h+1+(h-1)*u+v,l=-2*(h-1+(h+1)*u),f=h+1+(h-1)*u-v):(a=h*(h+1+(h-1)*u+v),s=-2*h*(h-1+(h+1)*u),d=h*(h+1+(h-1)*u-v),c=h+1-(h-1)*u+v,l=2*(h-1-(h+1)*u),f=h+1-(h-1)*u-v);break}}return{b0:a/c,b1:s/c,b2:d/c,a1:l/c,a2:f/c}}function biquadGain(e,t,r){const i=2*Math.PI*t/r,u=Math.cos(i),o=Math.sin(i),a=Math.cos(2*i),s=Math.sin(2*i),d=e.b0+e.b1*u+e.b2*a,c=-(e.b1*o+e.b2*s),l=1+e.a1*u+e.a2*a,f=-(e.a1*o+e.a2*s);return Math.hypot(d,c)/Math.hypot(l,f)}function runBiquads(e,t){for(const r of t){let i=0,u=0;for(let o=0;o<e.length;o++){const a=e[o]??0,s=r.b0*a+i;i=r.b1*a-r.a1*s+u,u=r.b2*a-r.a2*s,e[o]=s}}}var fromDb=e=>10**(e/20);function gainComputer(e,t){const r=e-t.threshold,i=t.knee;let u;return 2*r<-i?u=e:i>0&&2*Math.abs(r)<=i?u=e+(1/t.ratio-1)*(r+i/2)**2/(2*i):u=t.threshold+r/t.ratio,u-e}function levels(e,t,r){const i=e[0]?.length??0,u=new Float32Array(i);if(t<=0){for(let s=0;s<i;s++){let d=0;for(const c of e)d=Math.max(d,Math.abs(c[s]??0));u[s]=20*Math.log10(Math.max(d,1e-9))}return u}const o=Math.exp(-1/(t*r));let a=0;for(let s=0;s<i;s++){let d=0;for(const c of e)d=Math.max(d,(c[s]??0)**2);a=o*a+(1-o)*d,u[s]=10*Math.log10(Math.max(a,1e-18))}return u}function smooth(e,t,r,i){const u=t>0?Math.exp(-1/(t*i)):0,o=r>0?Math.exp(-1/(r*i)):0,a=new Float32Array(e.length);let s=0;for(let d=0;d<e.length;d++){const c=e[d]??0,l=c<s?u:o;s=l*s+(1-l)*c,a[d]=s}return a}function compress(e,t,r){const i=levels(e,t.window,r),u=new Float32Array(i.length);for(let a=0;a<i.length;a++)u[a]=gainComputer(i[a]??-180,t);const o=smooth(u,t.attack,t.release,r);for(const a of e)for(let s=0;s<a.length;s++)a[s]=(a[s]??0)*fromDb(o[s]??0)}function deess(e,t,r){const i=biquad({type:"highpass",hz:t.hz},r),u=biquad({type:"lowpass",hz:t.hz},r),o=l=>{const f=Float32Array.from(l);runBiquads(f,[i,i]);const h=Float32Array.from(l);return runBiquads(h,[u,u]),{low:h,high:f}},a=e.map(o),s=levels(a.map(l=>l.high),.005,r),d=new Float32Array(s.length);for(let l=0;l<s.length;l++)d[l]=gainComputer(s[l]??-180,{...t,knee:6});const c=smooth(d,t.attack,t.release,r);e.forEach((l,f)=>{const h=a[f];if(h)for(let p=0;p<l.length;p++)l[p]=(h.low[p]??0)+(h.high[p]??0)*fromDb(c[p]??0)})}function agc(e,t,r){const i=levels(e,.05,r),u=new Float32Array(i.length),o=Math.exp(-1/(Math.max(t.window,.001)*r));let a=-1;for(let d=0;d<i.length;d++){const c=i[d]??-180;if(t.gate===void 0||c>=t.gate){const l=10**(c/10);a=a<0?l:o*a+(1-o)*l}u[d]=a<0?0:Math.min(t.most,t.target-10*Math.log10(Math.max(a,1e-18)))}const s=smooth(u,t.attack,t.release,r);for(const d of e)for(let c=0;c<d.length;c++)d[c]=(d[c]??0)*fromDb(s[c]??0)}function kWeighting(e){const t=1681.974450955533,r=3.999843853973347,i=.7071752369554196,u=Math.tan(Math.PI*t/e),o=10**(r/20),a=o**.4996667741545416,s=1+u/i+u*u,d={b0:(o+a*u/i+u*u)/s,b1:2*(u*u-o)/s,b2:(o-a*u/i+u*u)/s,a1:2*(u*u-1)/s,a2:(1-u/i+u*u)/s},c=biquad({type:"highpass",hz:38.13547087602444,q:.5003270373238773},e),l={b0:1,b1:-2,b2:1,a1:c.a1,a2:c.a2};return[d,l]}function integratedLoudness(e,t){const r=e[0]?.length??0,i=Math.round(.4*t),u=Math.round(.1*t);if(r<i)return;const o=kWeighting(t),a=Math.floor(r/u),s=new Float64Array(a);for(const g of e){const v=Float32Array.from(g);runBiquads(v,o);for(let x=0;x<a;x++){let A=0;for(let m=x*u;m<(x+1)*u;m++)A+=(v[m]??0)**2;s[x]=(s[x]??0)+A}}const d=[],c=Math.round(i/u);for(let g=0;g+c<=a;g++){let v=0;for(let x=0;x<c;x++)v+=s[g+x]??0;d.push(v/(c*u))}const l=g=>-.691+10*Math.log10(Math.max(g,1e-20)),f=d.filter(g=>l(g)>-70);if(f.length===0)return;const h=f.reduce((g,v)=>g+v,0)/f.length,p=f.filter(g=>l(g)>l(h)-10);if(p.length!==0)return l(p.reduce((g,v)=>g+v,0)/p.length)}function steadyLoudness(e,t){const r=kWeighting(t);let i=0,u=0;for(const o of e){const a=Float32Array.from(o);runBiquads(a,r);let s=0;for(const d of a)s+=d*d;i+=s/Math.max(1,a.length),u=Math.max(u,a.length)}if(!(u===0||i<=1e-20))return-.691+10*Math.log10(i)}var COMPRESS_DEFAULTS={ratio:2,knee:6,attack:.01,release:.15,window:.01};function bandAt(e,t){const r=e.keys??[];let i=e.hz,u=e.db??0,o=e.q;if(r.length>0){const a=[...r].sort((h,p)=>h.at-p.at),s=(h,p)=>h[p]??(p==="hz"?e.hz:p==="db"?e.db??0:e.q),d=a[0],c=a.at(-1);let l=d,f=d;if(d&&t<=d.at)l=d,f=d;else if(c&&t>=c.at)l=c,f=c;else for(let h=1;h<a.length;h++){const p=a[h];if(p&&t<p.at){l=a[h-1],f=p;break}}if(l&&f){const h=f.at===l.at?1:(t-l.at)/(f.at-l.at),p=s(l,"hz")??e.hz,g=s(f,"hz")??e.hz;i=p===g||h<=0?p:h>=1?g:Math.exp(Math.log(p)+(Math.log(g)-Math.log(p))*h);const v=s(l,"db")??0,x=s(f,"db")??0;u=v+(x-v)*h;const A=s(l,"q"),m=s(f,"q");o=A===void 0||m===void 0?A??m:A+(m-A)*h}}switch(e.type){case"peak":return{type:"peak",hz:i,db:u,...o===void 0?{}:{q:o}};case"lowshelf":case"highshelf":return{type:e.type,hz:i,db:u,...o===void 0?{}:{slope:o}};default:return{type:e.type,hz:i,...o===void 0?{}:{q:o}}}}var BLOCK=32;function runBand(e,t,r,i){if(!t.keys||t.keys.length===0){runBiquads(e,[biquad(bandAt(t,0),r)]);return}let u=0,o=0,a=biquad(bandAt(t,i),r);for(let s=0;s<e.length;s++){s%BLOCK===0&&(a=biquad(bandAt(t,i+(s+BLOCK/2)/r),r));const d=e[s]??0,c=a.b0*d+u;u=a.b1*d-a.a1*c+o,o=a.b2*d-a.a2*c,e[s]=c}}function shapeSound(e,t,r,i=0){if(!t)return;for(const o of t.eq??[])for(const a of e)runBand(a,o,r,i);const u=t.compress;if(u){const o=soundLevel(e,r)?.lufs;if(o===void 0)return;const a={threshold:o+u.threshold,ratio:u.ratio??COMPRESS_DEFAULTS.ratio,knee:u.knee??COMPRESS_DEFAULTS.knee,attack:u.attack??COMPRESS_DEFAULTS.attack,release:u.release??COMPRESS_DEFAULTS.release,window:u.window??COMPRESS_DEFAULTS.window};compress(e,a,r)}}function soundLevel(e,t){const r=integratedLoudness(e,t);if(r!==void 0&&r>-70)return{lufs:r,by:"integrated"};const i=steadyLoudness(e,t);return i===void 0?void 0:{lufs:i,by:"level"}}var shapes=e=>(e?.eq?.length??0)>0||e?.compress!==void 0;function playMusic(e,t,r,i){const u=Math.round(r*i),o=[new Float32Array(u),new Float32Array(u)],a=t[0].length;if(a===0)return o;for(const f of e.segments){const h=Math.round(f.at*i),p=Math.round(f.from*i),g=Math.round(f.dur*i),v=Math.round(f.fadeIn*i),x=Math.round(f.fadeOut*i);for(let A=0;A<g;A++){const m=h+A,y=p+A;if(m<0||m>=u||y<0||y>=a)continue;let E=1;v>0&&A<v&&(E*=equalPower(A/v)),x>0&&g-1-A<x&&(E*=equalPower((g-1-A)/x)),o[0][m]=(o[0][m]??0)+(t[0][y]??0)*E,o[1][m]=(o[1][m]??0)+(t[1][y]??0)*E}}let s=e.gainDb;if(e.shape&&(shapes(e.shape)||e.shape.filter!==void 0)){shapeSound(o,e.shape,i,0);const f=soundLevel(o,i);f&&(s=e.alone-f.lufs)}const d=Math.round(e.fadeIn*i),c=Math.round(e.fadeOut*i),l=Math.min(u,Math.round((e.until??r)*i));for(let f=0;f<u;f++){if(f>=l){o[0][f]=0,o[1][f]=0;continue}let h=10**((s+gainAt(e.duck,f/i))/20);f<d&&(h*=f/d),l-f<c&&(h*=(l-f)/c),o[0][f]=(o[0][f]??0)*h,o[1][f]=(o[1][f]??0)*h}return o}var SFX_HIT={whoosh:.18,tick:.004,pop:.01};function hashSeed(e){let t=2166136261;for(let r=0;r<e.length;r++)t^=e.charCodeAt(r),t=Math.imul(t,16777619)>>>0;return t}function rng(e){let t=e>>>0;return()=>{t=t+1831565813>>>0;let r=t;return r=Math.imul(r^r>>>15,r|1),r^=r+Math.imul(r^r>>>7,r|61),((r^r>>>14)>>>0)/4294967296}}function synthSfx(e,t,r){const i=rng(r),u=()=>i()*2-1,o=.2;if(e==="tick"){const h=Math.round(t*.06),p=new Float32Array(h);for(let g=0;g<h;g++){const v=g/t,x=Math.exp(-v*90);p[g]=(Math.sin(2*Math.PI*3200*v)*.8+u()*.2)*x}return normalize(p,o*.7)}if(e==="pop"){const h=Math.round(t*.12),p=new Float32Array(h);let g=0;for(let v=0;v<h;v++){const x=v/t,A=300+600*Math.exp(-x*40);g+=2*Math.PI*A/t;const m=Math.min(1,x/.002)*Math.exp(-x*35);p[v]=Math.sin(g)*m}return normalize(p,o)}const a=.55,s=Math.round(t*a),d=new Float32Array(s),c=SFX_HIT.whoosh??.18;let l=0,f=0;for(let h=0;h<s;h++){const p=h/t,g=400+2600*Math.exp(-(((p-c)/.12)**2)),v=2*Math.sin(Math.PI*g/t),x=u()-l-.7*f;f+=v*x,l+=v*f;const A=p<c?(p/c)**2:Math.exp(-((p-c)/(a-c))*4);d[h]=f*A}return normalize(d,o)}function normalize(e,t){let r=0;for(const i of e)r=Math.max(r,Math.abs(i));if(r>0)for(let i=0;i<e.length;i++)e[i]=(e[i]??0)/r*t;return e}var twiddles=new Map;function twiddlesOf(e){let t=twiddles.get(e);if(!t){const r=new Float64Array(e/2),i=new Float64Array(e/2);for(let u=0;u<e/2;u++)r[u]=Math.cos(2*Math.PI*u/e),i[u]=-Math.sin(2*Math.PI*u/e);t={cos:r,sin:i},twiddles.set(e,t)}return t}function nextPow2(e){let t=1;for(;t<e;)t*=2;return t}function fft(e,t,r=!1){const i=e.length;if(i<=1)return;for(let s=1,d=0;s<i;s++){let c=i>>1;for(;d&c;c>>=1)d^=c;if(d^=c,s<d){const l=e[s]??0;e[s]=e[d]??0,e[d]=l;const f=t[s]??0;t[s]=t[d]??0,t[d]=f}}const{cos:u,sin:o}=twiddlesOf(i),a=r?-1:1;for(let s=2;s<=i;s<<=1){const d=i/s,c=s/2;for(let l=0;l<i;l+=s)for(let f=0;f<c;f++){const h=u[f*d]??1,p=(o[f*d]??0)*a,g=l+f,v=g+c,x=e[v]??0,A=t[v]??0,m=x*h-A*p,y=x*p+A*h,E=e[g]??0,D=t[g]??0;e[v]=E-m,t[v]=D-y,e[g]=E+m,t[g]=D+y}}if(r)for(let s=0;s<i;s++)e[s]=(e[s]??0)/i,t[s]=(t[s]??0)/i}function convolve(e,t){const r=new Float32Array(e.length);if(t.length===0||e.length===0)return r;if(t.length<=64){for(let c=0;c<e.length;c++){let l=0;const f=Math.min(t.length,c+1);for(let h=0;h<f;h++)l+=(t[h]??0)*(e[c-h]??0);r[c]=l}return r}const i=nextPow2(2*t.length),u=i-t.length+1,o=new Float64Array(i),a=new Float64Array(i);for(let c=0;c<t.length;c++)o[c]=t[c]??0;fft(o,a);const s=new Float64Array(i),d=new Float64Array(i);for(let c=0;c<e.length;c+=2*u){s.fill(0),d.fill(0);const l=c+u;for(let f=0;f<u;f++)s[f]=e[c+f]??0,d[f]=e[l+f]??0;fft(s,d);for(let f=0;f<i;f++){const h=s[f]??0,p=d[f]??0,g=o[f]??0,v=a[f]??0;s[f]=h*g-p*v,d[f]=h*v+p*g}fft(s,d,!0);for(let f=0;f<i;f++){const h=c+f;h<r.length&&(r[h]=(r[h]??0)+(s[f]??0));const p=l+f;p<r.length&&(r[p]=(r[p]??0)+(d[f]??0))}}return r}function minimumPhase(e,t,r=4096){const i=nextPow2(r*4),u=new Float64Array(i),o=new Float64Array(i);for(let d=0;d<=i/2;d++){const c=Math.max(e(d*t/i),1e-6);u[d]=Math.log(c),d>0&&d<i/2&&(u[i-d]=u[d]??0)}fft(u,o,!0);for(let d=1;d<i/2;d++)u[d]=2*(u[d]??0),o[d]=0;o[0]=0,o[i/2]=0;for(let d=i/2+1;d<i;d++)u[d]=0,o[d]=0;fft(u,o);for(let d=0;d<i;d++){const c=Math.exp(u[d]??0),l=o[d]??0;u[d]=c*Math.cos(l),o[d]=c*Math.sin(l)}fft(u,o,!0);const a=new Float64Array(r),s=Math.max(1,Math.floor(r/4));for(let d=0;d<r;d++){const c=d-(r-s),l=c>0?.5*(1+Math.cos(Math.PI*c/s)):1;a[d]=(u[d]??0)*l}return a}var SOUND_SPEED=343,PATTERNS={omni:1,subcardioid:.75,cardioid:.5,supercardioid:.37,hypercardioid:.25,figure8:0};function patternGain(e,t){const r=PATTERNS[e];return r+(1-r)*t}function proximity(e,t,r){const i=PATTERNS[e],u=2*Math.PI*Math.max(r,1)*Math.max(t,.005)/SOUND_SPEED;return Math.hypot(1,(1-i)/u)}var TALKER_BEHIND=[[63,0],[125,-1],[250,-2],[500,-4],[1e3,-6],[2e3,-9],[4e3,-13],[8e3,-18],[16e3,-25]];function curveDb(e,t){const r=e[0],i=e[e.length-1];if(!r||!i)return 0;if(t<=r[0])return r[1];if(t>=i[0])return i[1];for(let u=1;u<e.length;u++){const o=e[u-1],a=e[u];if(!o||!a||t>a[0])continue;const s=Math.log(t/o[0])/Math.log(a[0]/o[0]);return o[1]+(a[1]-o[1])*s}return i[1]}function talkerDb(e,t){return curveDb(TALKER_BEHIND,e)*((1-t)/2)}function cosBetween(e,t){const r=Math.hypot(e[0],e[1],e[2]),i=Math.hypot(t[0],t[1],t[2]);return r===0||i===0?1:(e[0]*t[0]+e[1]*t[1]+e[2]*t[2])/(r*i)}function random(e){let t=e>>>0;return()=>{t=t+1831565813>>>0;let r=t;return r=Math.imul(r^r>>>15,r|1),r^=r+Math.imul(r^r>>>7,r|61),((r^r>>>14)>>>0)/4294967296}}function gaussian(e){const t=random(e);let r;return()=>{if(r!==void 0){const a=r;return r=void 0,a}const i=Math.max(t(),1e-12),u=t(),o=Math.sqrt(-2*Math.log(i));return r=o*Math.sin(2*Math.PI*u),o*Math.cos(2*Math.PI*u)}}function noiseGain(e,t){const r=Math.max(t,10);let i=e.tilt*Math.log2(r/1e3);return i+=e.rumble/(1+(r/120)**2),r>e.top&&(i-=48*Math.log2(r/e.top)),10**(i/20)}function roomTone2(e,t,r,i){const u=gaussian(i),o=new Float32Array(e+4096);for(let f=0;f<o.length;f++)o[f]=u();const a=minimumPhase(f=>noiseGain(r,f),t,2048),s=convolve(o,a).subarray(4096);let d=0;for(const f of s)d+=f*f;const c=Math.sqrt(d/Math.max(1,s.length)),l=new Float32Array(e);for(let f=0;f<e;f++)l[f]=(s[f]??0)/(c||1);if(r.hum){const f=10**(r.hum.db/20)*Math.SQRT2,h=random(i^2654435769);for(let p=1;p<=6;p++){const g=r.hum.hz*p;if(g>r.top)break;const v=f/2**(p-1),x=h()*2*Math.PI,A=2*Math.PI*g/t;for(let m=0;m<e;m++)l[m]=(l[m]??0)+v*Math.sin(A*m+x)}}return l}var ROOM_PRESETS={bedroom:{size:[3.4,2.6,4],walls:"plasterboard",floor:"carpet",ceiling:"plasterboard-ceiling",rt60:.4,talker:[1.5,1.2,1.5],order:3},"living-room":{size:[5,2.7,6],walls:"plasterboard",floor:"wood",ceiling:"plasterboard-ceiling",rt60:.55,talker:[2.2,1.2,2.5],order:3},office:{size:[4,2.8,5],walls:"plasterboard",floor:"carpet-thin",ceiling:"ceiling-tiles",rt60:.45,talker:[1.8,1.2,2],order:3},kitchen:{size:[3,2.6,4],walls:"tiles",floor:"tiles",ceiling:"plasterboard-ceiling",rt60:.75,talker:[1.4,1.6,1.6],order:3},treated:{size:[3,2.6,3.5],walls:"foam",floor:"carpet",ceiling:"foam",rt60:.2,talker:[1.4,1.2,1.4],order:3},car:{size:[1.4,1.15,1.9],walls:"glass",floor:"upholstery",ceiling:"upholstery",rt60:.08,talker:[.45,.85,.9],order:6},outdoor:{size:[60,30,60],walls:"hard",floor:"hard",ceiling:"hard",rt60:.4,talker:[30,1.6,30],open:!0,order:1}},DEESS={hz:5500,threshold:-12,ratio:3,attack:.002,release:.06},POST_PRESETS={finish:{highpass:70,eq:[],deess:DEESS,compress:{threshold:-3,ratio:4,knee:6,attack:.005,release:.3,window:.01}},"phone-app":{highpass:90,eq:[{type:"peak",hz:300,db:-2,q:1},{type:"peak",hz:4e3,db:3,q:.8},{type:"highshelf",hz:1e4,db:1}],deess:DEESS,compress:{threshold:0,ratio:3,knee:6,attack:.005,release:.12,window:.01}}},ROOM_TONE={tilt:-4,rumble:8,top:16e3},SETUP_PRESETS={studio:{pattern:"cardioid",distance:.2,angle:0,below:0,response:[[125,-3.5],[250,-3],[500,-.5],[1e3,0],[2e3,-2],[4e3,-1.5],[8e3,-4],[12500,-4]],band:[20,2e4],stereo:!1,room:!1,noise:!1,agc:!1,post:"finish"},phone:{pattern:"omni",distance:.35,angle:0,below:25,response:[[125,-8.5],[250,-3.5],[500,-.5],[1e3,0],[2e3,0],[4e3,0],[8e3,-3.5],[12500,-2.5]],band:[100,16e3],stereo:.1,room:{preset:"bedroom",rt60:.2},noise:{...ROOM_TONE,below:42},agc:{target:0,most:10,attack:.3,release:1.5,window:2,gate:-25},post:!1},lav:{pattern:"omni",distance:.22,angle:0,below:70,response:[[125,-2],[250,-3],[500,.5],[1e3,0],[2e3,-1],[4e3,-1],[8e3,-3.5],[12500,-4]],band:[70,18e3],stereo:!1,room:{preset:"bedroom",rt60:.13},noise:{tilt:-4,rumble:4,top:18e3,below:50},agc:!1,post:"finish"}},SOURCE_DEFAULTS={pattern:"cardioid",distance:.2};function bandCentres(e){const t=Math.floor(Math.log2(e/125));return Array.from({length:t},(r,i)=>125*2**i)}var MATERIALS={hard:[.02,.02,.03,.03,.04,.05,.05],plasterboard:[.15,.1,.06,.04,.04,.05,.05],"plasterboard-ceiling":[.2,.15,.1,.08,.04,.02,.02],tiles:[.01,.01,.01,.02,.02,.02,.02],concrete:[.01,.03,.05,.02,.02,.02,.02],wood:[.18,.12,.1,.09,.08,.07,.07],carpet:[.08,.08,.3,.6,.75,.8,.8],"carpet-thin":[.02,.04,.08,.2,.35,.4,.4],glass:[.1,.05,.04,.03,.03,.03,.03],curtains:[.05,.12,.35,.45,.38,.36,.36],"ceiling-tiles":[.49,.53,.53,.75,.92,.99,.99],foam:[.12,.33,.83,.97,.98,.95,.95],upholstery:[.44,.6,.77,.89,.82,.7,.7],grass:[.11,.26,.6,.69,.92,.99,.99]},AIR=[1e-4,3e-4,6e-4,.001,.0019,.0058,.0203];function atBands(e,t){return t.map(r=>{const i=Math.log2(r/125),u=Math.min(Math.max(Math.floor(i),0),e.length-2),o=e[u]??0,a=e[u+1]??o;return Math.min(1,Math.max(0,o+(a-o)*(i-u)))})}var C=343;function areas(e){const[t,r,i]=e;return[r*i,r*i,t*i,t*i,t*r,t*r]}function reverberation(e,t){const r=bandCentres(t),[i,u,o]=e.size,a=i*u*o,s=areas(e.size),d=s.reduce((l,f)=>l+f,0),c=atBands(AIR,r);return r.map((l,f)=>{let h=0;e.surfaces.forEach((g,v)=>{const x=e.open?.[v]===!0;h+=(s[v]??0)*(x?1:atBands(g,r)[f]??0)});const p=Math.min(h/d,.999);return 24*Math.LN10*a/(C*(-d*Math.log(1-p)+4*(c[f]??0)*a))})}function withReverberation(e,t,r){const i=s=>({...e,surfaces:e.surfaces.map(d=>d.map(c=>Math.min(.99,c*s)))}),u=s=>{const d=reverberation(s,r);return((d[2]??0)+(d[3]??0))/2};let o=.001,a=1e3;for(let s=0;s<60;s++){const d=Math.sqrt(o*a);u(i(d))>t?o=d:a=d}return i(Math.sqrt(o*a))}function bandShapes(e,t,r){const i=t/2+1,u=e.map(()=>new Float64Array(i)),o=e.map((d,c)=>c===0?0:Math.round(d/Math.SQRT2/r*t)),a=e.map(d=>Math.round(d/r*t)),s=e.map((d,c)=>c===e.length-1?i:Math.round(d*Math.SQRT2/r*t));e.forEach((d,c)=>{const l=u[c];if(l)for(let f=o[c]??0;f<Math.min(s[c]??i,i);f++)l[f]=1});for(let d=1;d<e.length;d++){const c=Math.max(1,Math.round(.5*((s[d]??0)-(a[d]??0)))),l=u[d-1],f=u[d];if(!(!l||!f))for(let h=-c;h<=c;h++){const p=(o[d]??0)+h;if(p<0||p>=i)continue;const g=(h/c+1)/2;l[p]=Math.cos(Math.PI*g/2),f[p]=Math.sin(Math.PI*g/2)}}return u}function addImpulse(e,t,r){const i=Math.floor(t),u=t-i;for(let o=0;o<81;o++){const a=i-40+o;if(a<0||a>=e.length)continue;const s=o-40-u,d=Math.abs(s)<1e-9?1:Math.sin(Math.PI*s)/(Math.PI*s),c=.5-.5*Math.cos(2*Math.PI*o/80);e[a]=(e[a]??0)+r*c*d}}function roomResponse(e,t,r){const i=bandCentres(t),u=i.length,[o,a,s]=e.size,d=[o,a,s],c=e.talker,l=e.mic,f=e.surfaces.map((P,R)=>e.open?.[R]===!0?i.map(()=>0):atBands(P,i).map(N=>Math.sqrt(1-N))),h=atBands(AIR,i),p=reverberation(e,t),g=[l[0]-c[0],l[1]-c[1],l[2]-c[2]],v=Math.hypot(...g),x=40,A=e.order,m=[];let y=1/0;for(let P=-(A+1);P<=A+1;P++)for(let R=-(A+1);R<=A+1;R++)for(let N=-(A+1);N<=A+1;N++){const W=Math.abs(P)+Math.abs(R)+Math.abs(N);if(W===0||W>A+1)continue;const U=[P,R,N],Y=(ye,X)=>{const H=d[X]??1,Q=c[X];return ye*H+(Math.abs(ye)%2===1?H-Q:Q)},ae=[Y(P,0)-l[0],Y(R,1)-l[1],Y(N,2)-l[2]],re=Math.hypot(...ae),ie=(re-v)/C;if(W===A+1){U.every((X,H)=>X===0||!(e.open?.[H*2]===!0&&e.open[H*2+1]===!0))&&(y=Math.min(y,ie));continue}let se=!1;const we=i.map((ye,X)=>{let H=1;return U.forEach((Q,ee)=>{const ce=Q>0?Math.floor(Q/2):Math.ceil(-Q/2),Ae=Q>0?Math.ceil(Q/2):Math.floor(-Q/2),pe=f[ee*2]?.[X]??0,ge=f[ee*2+1]?.[X]??0;(ce>0&&pe===0||Ae>0&&ge===0)&&(se=!0),H*=pe**ce*ge**Ae}),H});if(se)continue;const xe=[Math.abs(P)%2===1?ae[0]:-ae[0],Math.abs(R)%2===1?ae[1]:-ae[1],Math.abs(N)%2===1?ae[2]:-ae[2]],oe=patternGain(e.pattern,cosBetween(ae,e.axis)),he=cosBetween(xe,e.facing);m.push({t:ie,amp:we.map((ye,X)=>{const H=i[X]??1e3,Q=proximity(e.pattern,re,H)/proximity(e.source.pattern,e.source.distance,H);return ye*oe/re*Math.exp(-.5*(h[X]??0)*re)*10**(talkerDb(H,he)/20)*Q})})}Number.isFinite(y)||(y=.08);const E=Math.max(...p),D=Math.ceil((Math.min(Math.max(E,y+.05),3)+.01)*t)+2*x,b=nextPow2(2*D),_=bandShapes(i,b,t),w=new Float64Array(b),B=new Float64Array(b),F=new Float64Array(b),$=new Float64Array(b),L=Math.round(y*t),[O,k,j]=e.size,T=O*k*j,I=e.open?.some(Boolean)===!0,M=new Float64Array(D);if(!I){const P=random(r);let R=y;for(;R*t<D-x;){const Y=Math.floor(R*t)+x;M[Y]=(M[Y]??0)+(P()<.5?-1:1);const ae=Math.min(4*Math.PI*C**3*(R+v/C)**2/T,1e4);R+=Math.log(1/Math.max(P(),1e-12))/ae}const N=Math.max(1,Math.round(.004*t)),W=new Float64Array(D);let U=0;for(let Y=0;Y<D;Y++)U+=(M[Y]??0)**2,Y>=N&&(U-=(M[Y-N]??0)**2),W[Y]=U/N;for(let Y=0;Y<D;Y++){const ae=W[Math.min(D-1,Y+Math.floor(N/2))]??0;ae>0&&(M[Y]=(M[Y]??0)/Math.sqrt(ae))}}for(let P=0;P<u;P++){F.fill(0),$.fill(0);for(const N of m)!I&&N.t>y+.002||addImpulse(F,N.t*t+x,N.amp[P]??0);if(!I){const N=p[P]??.4,W=Math.round(.01*t);for(let U=L+x-Math.round(.002*t);U<D;U++){const Y=(U-x)/t,ae=Math.sqrt(4*Math.PI*C/T/t*Math.exp(-6*Math.LN10*(Y+v/C)/N)),re=U-(L+x-Math.round(.002*t)),ie=re<W?.5-.5*Math.cos(Math.PI*re/W):1;$[U]=(M[U]??0)*ae*ie}}fft(F,$);const R=_[P];if(R)for(let N=0;N<b;N++){const W=N<=b/2?N:b-N,U=(R[W]??0)**2,Y=(b-N)%b,ae=F[N]??0,re=$[N]??0,ie=F[Y]??0,se=$[Y]??0,we=(ae+ie)/2,xe=(re-se)/2,oe=(re+se)/2,he=(ie-ae)/2;w[N]=(w[N]??0)+U*(we+oe),B[N]=(B[N]??0)+U*(xe+he)}}return fft(w,B,!0),{reflections:w.slice(0,D),direct:{gain:patternGain(e.pattern,cosBetween([-g[0],-g[1],-g[2]],e.axis))/v,cos:cosBetween(g,e.facing),distance:v},lead:x,rt60:p,mixing:y}}var surface=(e,t)=>e===void 0?[...MATERIALS[t]??[]]:typeof e=="string"?[...MATERIALS[e]??[]]:[...e];function resolveRoom(e,t){if(e===!1||e===void 0&&t===!1)return!1;const r=t===!1?{preset:"bedroom"}:typeof t=="string"?{preset:t}:t,i=typeof e=="string"?{preset:e}:e===void 0?r:e.preset===void 0?{...r,...e}:e,u=ROOM_PRESETS[i.preset??"bedroom"];return{size:i.size??u.size,walls:surface(i.walls,u.walls),floor:surface(i.floor,u.floor),ceiling:surface(i.ceiling,u.ceiling),rt60:i.rt60??u.rt60,talker:i.talker??u.talker,...u.open?{open:!0}:{},order:u.order}}function resolvePickup(e,t,r){const i=SETUP_PRESETS[t],u=e.noise===!1?!1:e.noise===void 0?i.noise:{...i.noise||{tilt:-4,rumble:8,top:16e3,below:45},...e.noise},o=e.agc===!1?!1:e.agc===void 0?i.agc:{...i.agc||{target:0,most:10,attack:.3,release:1.5,window:1},...e.agc};return{pattern:e.pattern??i.pattern,distance:e.distance??i.distance,angle:e.angle??i.angle,below:e.below??i.below,response:(e.response??i.response).map(([a,s])=>[a,s]),band:e.band??i.band,stereo:e.stereo??i.stereo,room:resolveRoom(e.room,i.room),noise:u===!1?!1:{tilt:u.tilt,rumble:u.rumble,top:u.top,below:u.below,...u.hum?{hum:u.hum}:{}},agc:o===!1?!1:{target:o.target??0,most:o.most??10,attack:o.attack??.3,release:o.release??1.5,window:o.window??1,...o.gate===void 0?{}:{gate:o.gate}},gain:r,toneAt:i.distance}}function resolvePost(e,t){if(e===!1)return!1;const r=typeof e=="string"?e:e?.preset??(t===!1?void 0:t),i=r===void 0?void 0:POST_PRESETS[r],u=typeof e=="object"?e:{};if(!i&&typeof e!="object")return!1;const o=u.deess===!1?!1:u.deess===void 0?i?.deess??!1:{...i?.deess||POST_PRESETS.finish.deess||{hz:5500,threshold:-12,ratio:3,attack:.002,release:.06},...u.deess},a=u.compress===!1?!1:u.compress===void 0?i?.compress??!1:{...i?.compress||POST_PRESETS.finish.compress||{threshold:2,ratio:2,knee:6,attack:.01,release:.15,window:.01},...u.compress};return{highpass:u.highpass??i?.highpass??!1,eq:[...u.eq??i?.eq??[]],deess:o,compress:a}}function resolveVoice(e){if(e===!1)return!1;const t=typeof e=="string"?{setup:e}:e??{},r=t.setup??"studio",i=SETUP_PRESETS[r],u=resolvePickup(t,r,0);return{setup:r,source:{pattern:t.source?.pattern??SOURCE_DEFAULTS.pattern,distance:t.source?.distance??SOURCE_DEFAULTS.distance},pickups:[u,...(t.also??[]).map(o=>({...resolvePickup(o,o.setup??r,o.gain??-12),...o.room===void 0?{room:u.room}:{}}))],post:resolvePost(t.post,i.post)}}var impulses=new Map;function placement(e,t,r,i){const u=e.angle*Math.PI/180,o=e.below*Math.PI/180,a=[Math.sin(u)*Math.cos(o),-Math.sin(o),Math.cos(u)*Math.cos(o)],s=(c,l)=>Math.min(Math.max(c,.05),l-.05),d=[s(t[0]+a[0]*e.distance+i,r[0]),s(t[1]+a[1]*e.distance,r[1]),s(t[2]+a[2]*e.distance,r[2])];return{mic:d,axis:[t[0]-d[0],t[1]-d[1],t[2]-d[2]]}}function bandGain(e,t,r){let i=1;return e[0]>15&&(i*=biquadGain(biquad({type:"highpass",hz:e[0]},r),t,r)),e[1]<r*.45&&(i*=biquadGain(biquad({type:"lowpass",hz:e[1]},r),t,r)),i}var micFilters=new Map;function micFilter(e,t){const r=JSON.stringify([e.response,e.band,t]);let i=micFilters.get(r);return i||(i=minimumPhase(u=>fromDb(curveDb(e.response,u))*bandGain(e.band,u,t),t,2048),micFilters.set(r,i)),i}function pickupImpulses(e,t,r,i){const u=JSON.stringify([e.pattern,e.distance,e.angle,e.below,e.response,e.band,e.stereo,e.room,t,r,i]),o=impulses.get(u);if(o!==void 0)return o;const a=(g,v)=>proximity(e.pattern,v,g)/proximity(t.pattern,t.distance,g),s=Math.cos(e.angle*Math.PI/180)*Math.cos(e.below*Math.PI/180);if(e.room===!1&&e.response.every(([,g])=>Math.abs(g)<.01)&&e.band[0]<=20&&e.band[1]>=2e4&&Math.abs(a(100,e.distance)-1)<.001&&Math.abs(talkerDb(8e3,s))<.01)return impulses.set(u,null),null;const c=micFilter(e,r),l=[];let f=0;(e.stereo===!1?[0]:[-e.stereo/2,e.stereo/2]).forEach((g,v)=>{let x;if(e.room===!1)x=minimumPhase(y=>a(y,e.distance)*fromDb(talkerDb(y,s)),r,2048);else{const m=e.room,y=placement(e,m.talker,m.size,g);let E={size:m.size,surfaces:[m.walls,m.walls,m.floor,m.ceiling,m.walls,m.walls],...m.open?{open:[!0,!0,!1,!0,!0,!0]}:{},talker:m.talker,facing:[0,0,1],mic:y.mic,axis:y.axis,pattern:e.pattern,source:t,order:m.order};m.open||(E=withReverberation(E,m.rt60,r));const D=roomResponse(E,r,i+v*7919),b=D.direct.distance,_=minimumPhase(w=>a(w,b)*fromDb(talkerDb(w,D.direct.cos)),r,2048);x=Float64Array.from(D.reflections);for(let w=0;w<_.length&&D.lead+w<x.length;w++)x[D.lead+w]=(x[D.lead+w]??0)+D.direct.gain*(_[w]??0);f=D.lead}const A=convolve(Float32Array.from(x),c);l.push(Float64Array.from(A))});const p={channels:l,lead:f};return impulses.set(u,p),p}function distanceDrop(e,t,r,i){if(Math.abs(e.distance-e.toneAt)<1e-6)return 0;const u=s=>{const d=pickupImpulses(s,t,r,i)?.channels[0];if(!d)return;let c=0;for(const l of d)c+=l*l;return c},o=u(e),a=u({...e,distance:e.toneAt});return e.room===!1||o===void 0||a===void 0?20*Math.log10(e.distance/e.toneAt):10*Math.log10(a/o)}function recordVoice(e,t,r,i,u){const[o,a]=e,s=o.length,d=integratedLoudness([o,a],r);if(d===void 0)return;const c=new Float32Array(s);for(let v=0;v<s;v++)c[v]=((o[v]??0)+(a[v]??0))/2;const l=new Float32Array(s),f=new Float32Array(s);t.pickups.forEach((v,x)=>{const A=pickupImpulses(v,t.source,r,i+x*104729);let m,y;if(!A)m=Float32Array.from(o),y=Float32Array.from(a);else{const _=w=>{const B=convolve(c,w);return Float32Array.from({length:s},(F,$)=>B[$+A.lead]??0)};m=_(A.channels[0]??new Float64Array(1)),y=A.channels[1]?_(A.channels[1]):Float32Array.from(m)}const E=integratedLoudness([m,y],r);if(E===void 0)return;const D=fromDb(d-E);for(let _=0;_<s;_++)m[_]=(m[_]??0)*D,y[_]=(y[_]??0)*D;if(v.noise){const _=micFilter(v,r),w=j=>convolve(j,_).subarray(0,s),B=w(roomTone2(s,r,v.noise,i+x*31+1)),F=v.stereo===!1?B:w(roomTone2(s,r,v.noise,i+x*31+2)),$=Math.round(.05*r),L=new Float32Array(s);for(const j of u){const T=Math.max(0,Math.round(j.start*r)),I=Math.min(s,Math.round(j.end*r));for(let M=T;M<I;M++){const P=Math.min(M-T,I-1-M);L[M]=Math.max(L[M]??0,P<$?P/$:1)}}const O=integratedLoudness([B,F],r)??-3,k=fromDb(d-v.noise.below+distanceDrop(v,t.source,r,i+x*104729)-O);for(let j=0;j<s;j++){const T=(L[j]??0)*k;m[j]=(m[j]??0)+(B[j]??0)*T,y[j]=(y[j]??0)+(F[j]??0)*T}}v.agc&&agc([m,y],{...v.agc,target:d+v.agc.target,...v.agc.gate===void 0?{}:{gate:d+v.agc.gate}},r);const b=fromDb(v.gain);for(let _=0;_<s;_++)l[_]=(l[_]??0)+(m[_]??0)*b,f[_]=(f[_]??0)+(y[_]??0)*b});const h=t.post;if(h){const v=[...h.highpass===!1?[]:[biquad({type:"highpass",hz:h.highpass},r)],...h.eq.map(x=>biquad(x,r))];runBiquads(l,v),runBiquads(f,v),h.deess&&deess([l,f],{...h.deess,threshold:d+h.deess.threshold},r),h.compress&&compress([l,f],{...h.compress,threshold:d+h.compress.threshold},r)}const p=integratedLoudness([l,f],r),g=p===void 0?1:fromDb(d-p);for(let v=0;v<s;v++)o[v]=(l[v]??0)*g,a[v]=(f[v]??0)*g}function voiceGroups(e){const t=e.voice;if(!t)return{groups:[],dry:[...e.speech]};const r=a=>(a===void 0?void 0:t.parts?.[a])??t.video,i=new Map,u=[],o=a=>{const s=JSON.stringify(a);let d=i.get(s);return d||(d={voice:a,clips:[],spans:[],parts:[],seed:hashSeed(`${t.seed}:voice:${s}`)},i.set(s,d)),d};for(const a of e.speech){const s=r(a.part);s===!1?u.push(a):o(s).clips.push(a)}for(const a of t.spans){const s=r(a.part);if(s===!1)continue;const d=o(s);d.spans.push({start:a.start,end:a.end}),d.parts.push(a.part)}return{groups:[...i.values()],dry:u}}function addSpeech(e,t,r,i,u){const o=Math.round(r.dur*i),a=Math.round(r.at*i),s=10**(r.gainDb/20),d=Math.min(Math.round(.01*i),Math.floor(o/4)),c=A=>A===void 0||A<=0?0:Math.min(Math.round(A*i),Math.floor(o/2)),l=c(r.fadeIn),f=c(r.fadeOut),h=(A,m)=>m>0?equalPower(A/m):d>0&&A<d?A/d:1,p=e[0].length,g=t[0].length,v=u===void 0?r.speed??1:1,x=u===void 0?r.from*i:r.from/u*i;for(let A=0;A<o;A++){const m=a+A;if(m<0||m>=p)continue;const y=v===1?Math.round(x)+A:x+A*v,E=Math.floor(y);if(E<0||E>=g)continue;const D=y-E,b=Math.min(E+1,g-1),_=s*h(A,l)*h(o-1-A,f);for(let w=0;w<2;w++){const B=t[w]??t[0],F=B[E]??0,$=B[b]??0,L=e[w]??e[0];L[m]=(L[m]??0)+(F+($-F)*D)*_}}}function sumSpeech(e,t,r,i){const u=Math.round(t*r),o=[new Float32Array(u),new Float32Array(u)];for(const a of e){const s=i(a);s&&addSpeech(o,s.src,a,r,s.stretched)}return o}function playVoice(e,t,r,i){const u=sumSpeech(e.clips,t,r,i);return recordVoice(u,e.voice,r,e.seed,e.spans),u}function applyEnvelope(e,t,r){if(t.length===0)return;const i=e[0].length;for(let u=0;u<i;u++){const o=10**(gainAt(t,u/r)/20);o!==1&&(e[0][u]=(e[0][u]??0)*o,e[1][u]=(e[1][u]??0)*o)}}function addPlayed(e,t,r,i,u,o){const a=Math.round(r.dur*i),s=Math.round(r.at*i),d=10**(r.gainDb/20),c=Math.min(Math.round(.01*i),Math.floor(a/4)),l=y=>y===void 0||y<=0?0:Math.min(Math.round(y*i),Math.floor(a/2)),f=l(r.fadeIn),h=l(r.fadeOut),p=(y,E)=>E>0?equalPower(y/E):c>0&&y<c?y/c:1,g=[...r.envelope??[]],v=e[0].length,x=t[0].length,A=u===void 0?r.speed??1:1,m=u===void 0?r.from*i:r.from/u*i;for(let y=0;y<a;y++){const E=s+y;if(E<0||E>=v)continue;const D=A===1?Math.round(m)+y:m+y*A,b=Math.floor(D);if(b<0||b>=x)continue;const _=D-b,w=Math.min(b+1,x-1),B=E/i,F=g.length>0||o.length>0?10**((gainAt(g,B)+gainAt(o,B))/20):1,$=d*F*p(y,f)*p(a-1-y,h);for(let L=0;L<2;L++){const O=t[L]??t[0],k=O[b]??0,j=O[w]??0,T=e[L]??e[0];T[E]=(T[E]??0)+(k+(j-k)*_)*$}}}function playSfx(e,t,r){if(!e.shape||!(shapes(e.shape)||e.shape.filter!==void 0))return{src:t,gainDb:e.gainDb};const i=soundLevel(t,r)?.lufs,u=[Float32Array.from(t[0]),Float32Array.from(t[1])];shapeSound(u,e.shape,r,0);const o=soundLevel(u,r)?.lufs;return o===void 0?{src:u,gainDb:e.gainDb}:e.level?{src:u,gainDb:e.level.target-o+e.level.gainDb}:{src:u,gainDb:e.gainDb+(i===void 0?0:i-o)}}function synthStereo(e,t,r){const i=synthSfx(e,t,r);return[i,i]}function renderMix(e,t,r,i={}){const u=Math.round(e.duration*r),o=[new Float32Array(u),new Float32Array(u)],a=e.speechGain??[],s=clipSource(t),{groups:d,dry:c}=voiceGroups(e);for(const l of d){const[f,h]=playVoice(l,e.duration,r,s);applyEnvelope([f,h],a,r);for(let p=0;p<u;p++)o[0][p]=(o[0][p]??0)+(f[p]??0),o[1][p]=(o[1][p]??0)+(h[p]??0)}for(const l of c){const f=s(l);f&&addPlayed(o,f.src,l,r,f.stretched,a)}if(i.only==="voice")return o;for(const l of e.footage){const f=t(l.file,{});f&&addPlayed(o,f.src,l,r,void 0,[])}if(e.music){const l=e.music,f=t(l.file,l.shape?.filter?{filter:l.shape.filter}:{});if(f){const[h,p]=playMusic(l,f.src,e.duration,r);for(let g=0;g<u;g++)o[0][g]=(o[0][g]??0)+(h[g]??0),o[1][g]=(o[1][g]??0)+(p[g]??0)}}for(const l of e.sfx){let f;if(l.file!==void 0?f=t(l.file,l.shape?.filter?{filter:l.shape.filter}:{})?.src:f=synthStereo(l.sound,r,l.seed),!f)continue;const h=playSfx(l,f,r),p=10**(h.gainDb/20),g=Math.round(l.at*r),v=h.src[0].length;for(let x=0;x<v;x++){const A=g+x;A<0||A>=u||(o[0][A]=(o[0][A]??0)+(h.src[0][x]??0)*p,o[1][A]=(o[1][A]??0)+(h.src[1][x]??0)*p)}}return o}function limitPeaks(e,t,r,i=MASTER_MECHANICS.attack,u=MASTER_MECHANICS.release){const o=e[0].length,a=Math.max(1,Math.round(i*r)),s=new Float32Array(o);for(let v=0;v<o;v++){const x=Math.max(Math.abs(e[0][v]??0),Math.abs(e[1][v]??0));s[v]=x>t?t/x:1}const d=new Float32Array(o),c=[];let l=0;for(let v=o-1;v>=0;v--){const x=s[v]??1;for(;c.length>l&&(s[c[c.length-1]??0]??1)>=x;)c.pop();for(c.push(v);(c[l]??0)>v+a;)l++;d[v]=s[c[l]??v]??1}const f=Math.exp(-1/(Math.max(u,1e-4)*r));let h=1;for(let v=0;v<o;v++)h=Math.min(d[v]??1,1-(1-h)*f),d[v]=h;let p=0;const g=new Float32Array(o);for(let v=0;v<o;v++)p+=d[v]??1,v>=a&&(p-=d[v-a]??1),g[v]=p/Math.min(a,v+1);for(let v=0;v<o;v++){const x=Math.min(g[v]??1,s[v]??1);e[0][v]=(e[0][v]??0)*x,e[1][v]=(e[1][v]??0)*x}}function masterMix(e,t,r){const i=10**(r.truePeak/20),u=integratedLoudness(e,t),o=c=>{const l=10**(c/20),f=[Float32Array.from(e[0],h=>h*l),Float32Array.from(e[1],h=>h*l)];return limitPeaks(f,i,t),f};let a=r.lufs===!1||u===void 0?0:r.lufs-u,s=o(a),d=integratedLoudness(s,t);if(r.lufs!==!1&&u!==void 0)for(let c=1;c<MASTER_MECHANICS.rounds&&d!==void 0;c++){const l=r.lufs-d;if(Math.abs(l)<=MASTER_MECHANICS.tolerance)break;a+=l,s=o(a),d=integratedLoudness(s,t)}return e[0].set(s[0]),e[1].set(s[1]),{gainDb:a,...d===void 0?{}:{integrated:d}}}function previewMaster(e,t,r){const[i,u]=e;let o=!1;for(let a=0;a<i.length&&!o;a++)o=i[a]!==0||u[a]!==0;if(o)return masterMix(e,t,r),e}var BANDWIDTH_DEFAULTS={ref:1e3,drops:[30,50,70],smooth:1/12,stepsFrom:3e3,stepSpan:1/6,stepMin:3,steps:4,floor:-60};function voicePlan(e,t){const r=u=>resolveVoice(u),i=t.filter(u=>u.mic!==void 0);return{mic:{video:r(e),...i.length>0?{parts:Object.fromEntries(i.map(u=>[u.key,r(u.mic)]))}:{}}}}function wordsOnFilm(e,t){return e.flatMap(r=>wordsIn(t(r.file)??[],r.from,r.dur,r.at,r.speed??1)).map(r=>({start:r.start,end:r.end})).sort((r,i)=>r.start-i.start)}var level=(e,t)=>t===void 0||!Number.isFinite(t)?0:e-t,held=e=>[...e].sort((t,r)=>t.t-r.t);function musicPlayed(e,t,r){return e.play?musicSegments(e.play,e.seam??MUSIC_DEFAULTS.seam,t,"before",!e.loop):e.loop?musicSegments(wholeLoop(e.from,t,r,e.seam),t>1?e.seam??MUSIC_DEFAULTS.loopSeam:0,t,"after",!1):musicSegments(placeStretches([{from:e.from,to:t}],void 0,t,r),0,t)}function mixPlan(e,t,r){const i=e.duration,u=e.audio.mix??MIX_DEFAULTS,o={duration:i,speech:[],footage:[],sfx:[]};for(const h of[...e.audio.speech??[],...e.audio.room??[]]){const p=t[h.file];!p||h.dur<=0||o.speech.push({file:h.file,...h.part===void 0?{}:{part:h.part},at:h.at,from:h.from,dur:h.dur,gainDb:level(u.speech,p.loudness)+(h.gainDb??0),...h.speed!==void 0&&h.speed!==1?{speed:h.speed}:{},...h.denoise?{denoise:h.denoise}:{},...h.fadeIn?{fadeIn:h.fadeIn}:{},...h.fadeOut?{fadeOut:h.fadeOut}:{}})}const a=speechSpans(o.speech,u.duck),s=speechEnvelope(a,u.footageUnderSpeech-u.footage,u.duck);for(const h of e.footage??[]){const p=t[h.file];if(!h.audio||h.take===!0||!p)continue;const g=h.speed>0?h.speed:1,v=Math.max(0,h.from),x=h.start+(v-h.from)/g,A=p.duration===void 0?1/0:p.duration-v,m=Math.min(h.end-x,A/g);m<=0||o.footage.push({file:h.file,at:x,from:v,dur:m,...g===1?{}:{speed:g},gainDb:level(u.footage,p.loudness)+h.gainDb,...s.length>0?{envelope:s}:{}})}const d=e.audio.music,c=d?.file===void 0?void 0:t[d.file];if(d?.file!==void 0&&c){const h=(d.gain??[]).map(v=>({t:v.t,db:v.db})),p=c.duration??d.from+i,g={file:d.file,segments:musicPlayed(d,p,i),gainDb:level(u.musicAlone,c.loudness),alone:u.musicAlone,fadeIn:u.musicFade.in,fadeOut:Math.min(u.musicFade.out,i/4),...d.until===void 0?{}:{until:d.until},duck:addEnvelopes(addEnvelopes(speechEnvelope(a,u.music-u.musicAlone,u.duck),duckEnvelope(wordsOnFilm(o.speech,v=>t[v]?.words),u.duck)),held(h)),...d.shape?{shape:d.shape}:{}};o.music=g}const l=speechGains(e);l.length>0&&(o.speechGain=l);const f=e.audio.mic;return f&&(o.voice={video:f.video,...f.parts?{parts:f.parts}:{},spans:e.parts.map(h=>({part:h.key,start:h.start,end:h.end})),seed:r.seed}),e.cues.forEach((h,p)=>{const g=h.gainDb??0;if(h.file!==void 0){const x=t[h.file];if(!x)return;o.sfx.push({sound:h.sound,file:h.file,at:h.t,gainDb:level(u.sfx,x.loudness)+g,seed:0,...h.shape?{shape:h.shape,level:{target:u.sfx,gainDb:g}}:{}});return}const v=SFX_HIT[h.sound];v!==void 0&&o.sfx.push({sound:h.sound,at:Math.max(0,h.t-v),gainDb:u.sfx-MIX_DEFAULTS.sfx+g,seed:hashSeed(`${r.seed}:${h.sound}:${String(p)}`),...h.shape?{shape:h.shape}:{}})}),o}function speechGains(e){const t=new Map;for(const d of e.parts)d.speechGainDb!==void 0&&d.speechGainDb!==0&&t.set(d.key,d.speechGainDb);if(t.size===0)return[];const r=[];for(const d of e.parts)r.push({start:d.start,end:d.end,db:t.get(d.key)??0,rank:0});const i=[...(e.audio.speech??[]).map(d=>({c:d,rank:2})),...(e.audio.room??[]).map(d=>({c:d,rank:1}))];for(const{c:d,rank:c}of i)d.part===void 0||d.dur<=0||r.push({start:d.at,end:d.at+d.dur,db:t.get(d.part)??0,rank:c});const u=[...new Set(r.flatMap(d=>[d.start,d.end]))].sort((d,c)=>d-c),o=[];for(let d=0;d+1<u.length;d++){const c=u[d]??0,l=u[d+1]??c,f=(c+l)/2;let h;for(const g of r)f<g.start||f>=g.end||(!h||g.rank>h.rank||g.rank===h.rank&&g.start>=h.start)&&(h=g);const p=h?.db??0;o.at(-1)?.db!==p&&o.push({t:c,db:p})}if(o.every(d=>d.db===0))return[];const a=.005,s=[];for(const[d,c]of o.entries()){if(d===0){s.push({t:c.t,db:c.db});continue}const l=o[d-1]?.db??0;s.push({t:Math.max(0,c.t-a),db:l},{t:c.t+a,db:c.db})}return s}function canonical(e){return JSON.stringify(e,(t,r)=>{if(typeof r=="function")return`fn:${String(r)}`;if(typeof r=="object"&&r!==null&&"sha256"in r&&"path"in r&&"url"in r){const i={...r};return delete i.url,delete i.matteUrl,delete i.denoisedUrl,i}return r})}function facade(e){const{env:t,piece:r,stage:i,mounted:u,takes:o,captions:a,footage:s}=e,{drawer:d,measurer:c,embedder:l}=e,{source:f,combo:h,log:p,ledger:g}=t,{fps:v,dims:x,format:A,look:m,prefix:y}=r;let E=!1,D;const b=()=>{if(D)return D;const w={fps:v,width:x.width,height:x.height,...x.profile?{profile:x.profile}:{},duration:e.duration,background:e.background,parts:u.map(B=>B.part.title===void 0&&B.record.title!==void 0?{...B.part,title:B.record.title}:B.part),cues:[...e.cues],...s.placed.length>0?{footage:s.placed.map(timelineFootage)}:{},...e.transitions.length>0?{transitions:[...e.transitions]}:{},...s.needs().length>0?{index:s.needs()}:{},audio:e.audio};return E&&(D=w),w};return{kind:"video",get timeline(){return b()},async ready(){await d.ready(),E=!0,D=void 0},seek:(w,B)=>d.draw(w,B),words:()=>a.lines.flatMap(w=>[...w.words]),lines:()=>[...a.lines],captionOptions:()=>a.asked??null,measure:w=>c.measure(w),tracks:(w,B)=>c.tracks(w,B),inks:w=>c.inks(w),objects:w=>c.objects(w,B=>p.keysShowing(B)),stuck:()=>d.stuck(),seekLimit:r.seekLimitMs/1e3,setPlaying(w){d.setPlaying(w)},text(){return u.map(w=>{const B=o.results[w.n]??{},F=B.speech,$=B.shown??(F?joinWords(F.words):void 0),L=F?.script??B.say?.text,O=e.notes.get(w.part.key);return{key:w.part.key,onScreen:[...new Set(w.record.onScreen??[])],...O===void 0?{}:{notes:O},...$===void 0?{}:{spoken:$},...L!==void 0&&$!==void 0&&L!==$?{speak:L}:{},...B.speechKey===void 0?{}:{speechKey:B.speechKey}}})},signature:()=>c.signature(),signatureAt:w=>c.signatureAt(w),partSignature:(w,B)=>c.partSignature(w,B),reads(){const w=p.reads(y,u.map(L=>L.part.key)),B=l.loaded.reduce((L,O)=>{const k=O.inner.reads(),j=(T,I)=>[...new Map(T.map(M=>[I(M),M])).values()];return{messages:j([...L.messages,...k.messages],T=>T.key),media:j([...L.media,...k.media],T=>T.path),data:j([...L.data,...k.data],T=>T.path)}},w),F=new Map,$=(L,O)=>{const k=F.get(L)??new Set;k.add(O),F.set(L,k)};for(const L of u)for(const O of L.record.reads.keys())O.startsWith("f:")&&$(O.slice(2),L.part.key);for(const L of u)L.part.speech&&$(L.part.speech.file,L.part.key);for(const L of s.placed)$(L.file,L.part);return{...B,media:B.media.flatMap(L=>{const O=F.get(L.path);return O?.size?[...O].sort().map(k=>({...L,part:k})):[L]})}},says:()=>o.says.map(w=>({...w})),signs(){const w={},B=dimsCombo(f.dims,h),F=e.background;for(const $ of u)w[$.part.key]=JSON.stringify({v:1,piece:f.piece,output:t.output,kind:"video",key:$.part.key,slot:$.part.slot??null,pick:$.part.slot===void 0?null:h[$.part.slot]??null,dims:B,format:A,fps:v,size:[x.width,x.height],frames:Math.round(($.part.end-$.part.start)*v),background:F,look:m,layers:$.layers.map(L=>[L.spec.component,L.spec.z??"front",Math.round(L.start*1e6)/1e6,Math.round(L.end*1e6)/1e6,canonical(L.props)]),custom:$.layers.some(L=>L.spec.component==="custom"||L.spec.component==="scenery"),words:e.words($.n),heard:cuesIn(a.cues(),$.part.start,$.part.end),planes:$.part.planes.map(L=>L.overlay===!0?"overlay":L.behindPerson===!0),stack:$.layers.map(L=>[L.index,L.plane]),reads:[...$.record.reads.entries()].sort((L,O)=>L[0]<O[0]?-1:L[0]>O[0]?1:0)});return w},mixPlan:()=>mixPlan(b(),f.media,{seed:t.seedBase}),problems(){const w=[...g.problems,...l.loaded.flatMap(F=>F.inner.problems().map($=>({...$,message:`In the video ${F.id}: ${$.message}`}))),...p.problems,...e.timingProblems,...g.run,...i.problems(u),...p.translationProblems()],B=new Set;return w.map(F=>({...F,piece:f.piece,output:t.output,combo:h,format:A})).filter(F=>{const $=`${F.code}|${F.message}|${F.part??""}`;return B.has($)?!1:(B.add($),!0)})},facts:()=>g.facts.map(w=>({...w,output:t.output,combo:h,format:A})),covers:()=>d.covers(),drawCover:w=>d.drawCover(w),async ask(w,B){const F=[];for(const $ of u)for(const L of $.layers){const O=L.answers.get(w);if(O)try{F.push({part:$.part.key,layer:L.spec.component,index:L.index,answer:await O(B)})}catch(k){g.ran(problem(codeOf(k),`${L.spec.component} (layer ${String(L.index+1)}) in part ${$.part.key} failed to answer ${String(w)}: ${messageOf(k)}`,{part:$.part.key}))}}return F},dispose(){d.dispose(),i.dispose()}}}var GENERIC=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","math","emoji","fangsong","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","-apple-system","blinkmacsystemfont","inherit","initial"]),isGeneric=e=>GENERIC.has(e.toLowerCase());function families(e){const t=[];let r="",i="";for(const u of e)i?u===i?i="":r+=u:u==='"'||u==="'"?i=u:u===","?(t.push(r.trim()),r=""):r+=u;return t.push(r.trim()),t.filter(Boolean)}function unicodeRanges(e){const t=[];for(const r of e.split(",")){const i=/^\s*u\+([0-9a-f?]+)(?:-([0-9a-f]+))?\s*$/i.exec(r),u=i?.[1];if(u)if(u.includes("?"))t.push([parseInt(u.replace(/\?/g,"0"),16),parseInt(u.replace(/\?/g,"f"),16)]);else{const o=parseInt(u,16);t.push([o,i[2]?parseInt(i[2],16):o])}}return t}function weightRange(e){const t=a=>a==="bold"?700:a==="normal"?400:Number(a),[r="400",i]=e.trim().split(/\s+/),u=t(r),o=i===void 0?u:t(i);return Number.isFinite(u)&&Number.isFinite(o)?[u,o]:[400,400]}function matchWeight(e,t){if(t.length===0)return;if(t.some(([a,s])=>e>=a&&e<=s))return e;const r=t.filter(([a])=>a>e).map(([a])=>a),i=t.filter(([,a])=>a<e).map(([,a])=>a),u=r.length?Math.min(...r):void 0,o=i.length?Math.max(...i):void 0;return e>500?u??o:e<400?o??u:u!==void 0&&u<=500?u:o??u}var BOLD=600,covers=(e,t)=>e.ranges.length===0||t.some(r=>e.ranges.some(([i,u])=>r>=i&&r<=u));function fontIssue(e,t,r,i){const u=e.families[0];if(u===void 0||isGeneric(u))return;let o;for(const a of e.families){if(isGeneric(a))return o&&{kind:"fallback",...o,usedFamily:a};const s=r.filter(h=>h.family.toLowerCase()===a.toLowerCase());if(s.length===0){if(i(a))return o&&{kind:"fallback",...o,usedFamily:a};o??={family:a,failed:!1};continue}const d=s.filter(h=>covers(h,t));if(d.length===0)continue;const c=d.filter(h=>h.status==="loaded");if(c.length===0){if(d.every(h=>h.status==="error")){o??={family:a,failed:!0};continue}return}if(o)return{kind:"fallback",...o,usedFamily:a};const l=matchWeight(e.weight,c.map(h=>h.weight)),f=Math.max(...c.map(h=>h.weight[1]));return e.weight>=BOLD&&f<BOLD?{kind:"bold",family:a,weight:e.weight,drawn:l??f,faked:e.synthBold}:e.italic&&!c.some(h=>h.slanted)?{kind:"italic",family:a,faked:e.synthItalic}:void 0}return o&&{kind:"fallback",...o,usedFamily:"the browser's default font"}}function drawnFamilies(e,t,r,i){const u=[];for(const o of new Set(t)){let a="the browser's default font";for(const s of e.families){if(isGeneric(s)){a=s;break}const d=r.filter(c=>c.family.toLowerCase()===s.toLowerCase());if(d.length===0?i(s):d.some(c=>c.status==="loaded"&&covers(c,[o]))){a=s;break}}u.includes(a)||u.push(a)}return u}function fontIssueText(e){switch(e.kind){case"fallback":return e.failed?`the font "${e.family}" failed to load, so it is drawn in ${quoteFamily(e.usedFamily)}. Check the @font-face url and that the file is in the workspace.`:`the font "${e.family}" is not loaded, so it is drawn in ${quoteFamily(e.usedFamily)}. Import its stylesheet in the piece (import "@fontsource/<id>/400.css" after npm install @fontsource/<id>, or a .css of @font-face rules), or list it in allyhub.config.ts's fonts for every stage, or use a font the look has (var(--ak-font-display), var(--ak-font-body)).`;case"bold":return e.faked?`"${e.family}" has no face for weight ${String(e.weight)} (the loaded faces stop below ${String(BOLD)}), so Chrome fakes the bold by thickening weight ${String(e.drawn)}. Load a bold face of the font, or use a weight it has.`:`"${e.family}" has no face for weight ${String(e.weight)}, so it is drawn at weight ${String(e.drawn)}. Load a bold face of the font, or use a weight it has.`;case"italic":return e.faked?`"${e.family}" has no italic face, so Chrome fakes the italic by slanting the upright letters. Load an italic face of the font, or drop font-style: italic.`:`"${e.family}" has no italic face, so it is drawn upright. Load an italic face of the font, or drop font-style: italic.`}}var quoteFamily=e=>isGeneric(e)?`the browser's ${e} font`:e.startsWith("the ")?e:`"${e}"`;function stringsOf(e,t=2e3){const r=[],i=new Set,u=o=>{if(!(r.length>=t)){if(typeof o=="string")r.push(o);else if(typeof o=="object"&&o!==null&&!i.has(o)){i.add(o);for(const a of Array.isArray(o)?o:Object.values(o))u(a)}}};return u(e),r}function emojiOf(e){const t=/\p{Extended_Pictographic}|\p{Regional_Indicator}|[\u{1F3FB}-\u{1F3FF}\u{E0020}-\u{E007F}]|\u200d|\ufe0f|\u20e3/gu,r=new Set;for(const i of e)for(const u of i.matchAll(t))r.add(u[0]);return[...r].join("")}var localCache=new Map,measure;function pageFaces(){const e=[];return document.fonts.forEach(t=>{e.push({family:families(t.family)[0]??t.family,weight:weightRange(t.weight),slanted:t.style!=="normal",status:t.status,ranges:unicodeRanges(t.unicodeRange)})}),e}function localFamily(e){const t=localCache.get(e);if(t!==void 0)return t;measure??=document.createElement("canvas").getContext("2d");const r=measure;if(!r)return!0;const i="mmmmmmmmmmlli10WQ@#ÆŒ",u=s=>(r.font=s,r.measureText(i).width),o=JSON.stringify(e),a=["monospace","serif","sans-serif"].some(s=>u(`40px ${o}, ${s}`)!==u(`40px ${s}`));return localCache.set(e,a),a}function fontWant(e){const t=Number(e.fontWeight);return{families:families(e.fontFamily),weight:Number.isFinite(t)?t:400,italic:e.fontStyle!=="normal",synthBold:e.getPropertyValue("font-synthesis-weight")!=="none",synthItalic:e.getPropertyValue("font-synthesis-style")!=="none"}}function codePoints(e){const t=new Set;for(const r of e)for(const i of r)t.add(i.codePointAt(0)??0);return t}function coversAny(e,t){if(e.length===0)return!0;for(const r of t)if(e.some(([i,u])=>r>=i&&r<=u))return!0;return!1}function namedFamilies(e){return families(e).filter(t=>!isGeneric(t)&&!t.startsWith("var(")).map(t=>t.toLowerCase())}function styleSheetFamilies(){const e=new Set,t=r=>{for(const i of Array.from(r))if(i instanceof CSSStyleRule){const u=i.style.getPropertyValue("font-family");if(u)for(const o of namedFamilies(u))e.add(o)}else i instanceof CSSGroupingRule&&t(i.cssRules)};for(const r of Array.from(document.styleSheets))try{t(r.cssRules)}catch{}return e}function propFamilies(e){const t=new Set;document.fonts.forEach(u=>{t.add((families(u.family)[0]??u.family).toLowerCase())});const r=e.map(u=>u.toLowerCase()),i=new Set;for(const u of t)u&&r.some(o=>o.includes(u))&&i.add(u);return i}async function loadFaces(e,t){const r=[];document.fonts.forEach(i=>{if(i.status!=="unloaded")return;const u=(families(i.family)[0]??i.family).toLowerCase();e.has(u)&&coversAny(unicodeRanges(i.unicodeRange),t)&&r.push(i.load().catch(()=>{}))}),await Promise.all(r)}async function loadTextFonts(e){const t=new Map,r=new Map,i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(let o=i.nextNode();o;o=i.nextNode()){const a=o.nodeValue??"",s=o.parentElement;if(!s||!a.trim())continue;let d=r.get(s);if(d===void 0){const l=getComputedStyle(s);d=`${l.fontStyle==="normal"?"":"italic "}${l.fontWeight} 40px ${l.fontFamily}`,r.set(s,d)}let c=t.get(d);c||(c=new Set,t.set(d,c));for(const l of a)l.trim()&&c.add(l)}const u=[...t].map(([o,a])=>[o,[...a].join("")]).filter(([o,a])=>!document.fonts.check(o,a));u.length!==0&&await Promise.all(u.map(([o,a])=>document.fonts.load(o,a).catch(()=>[])))}var fontRows=new Map,measurer;function rowsOf(e,t){const r=`${e}
|
|
70
|
+
${t}`,i=fontRows.get(r);if(i)return i;if(measurer??=document.createElement("canvas").getContext("2d"),!measurer)return;measurer.font=e;const u=measurer.measureText(t),o={fontUp:u.fontBoundingBoxAscent,fontDown:u.fontBoundingBoxDescent,up:u.actualBoundingBoxAscent,down:u.actualBoundingBoxDescent,left:Math.max(0,u.actualBoundingBoxLeft),right:Math.max(0,u.actualBoundingBoxRight-u.width)};return fontRows.set(r,o),o}function inkOf(e,t,r){const i=r.getClientRects(),u=i.item(0),o=i.item(i.length-1),a=r.getBoundingClientRect(),s=Array.from(i).filter(D=>D.width>0&&D.height>0),d=(s.length>0?s:[a]).map(D=>[D.left,D.top,D.right,D.bottom]),c=getComputedStyle(e),l=parseFloat(c.fontSize)||0;if(!u||!o)return{rows:[a.top,a.bottom],lines:d,size:l};const f={rows:[u.top,o.bottom],lines:d,size:l},h=c.textTransform==="uppercase"?t.toUpperCase():c.textTransform==="lowercase"?t.toLowerCase():t,p=rowsOf(`${c.fontStyle} ${c.fontWeight} ${c.fontSize} ${c.fontFamily}`,h),g=p?p.fontUp+p.fontDown:0;if(!p||g<=0||p.up+p.down<=0)return f;const v=u.height/g,x=u.top+(p.fontUp-p.up)*v,A=o.bottom-(p.fontDown-p.down)*v,m=A>x?[x,A]:[u.top,o.bottom],y=s.map((D,b)=>{const _=D.height/g,w=D.top+(p.fontUp-p.up)*_,B=D.bottom-(p.fontDown-p.down)*_,F=D.left-(b===0?p.left*_:0),$=D.right+(b===s.length-1?p.right*_:0);return B>w?[F,w,$,B]:[F,D.top,$,D.bottom]}),E=/[a-z]/.test(h)?rowsOf(`${c.fontStyle} ${c.fontWeight} ${c.fontSize} ${c.fontFamily}`,"x"):void 0;return{rows:m,lines:y.length>0?y:d,size:l*v,...E&&E.up>0?{xHeight:E.up*v}:{}}}var norm=e=>e.replace(/\u200b/g,"").replace(/\s+/g," ").trim();function opacityOf(e,t){let r=1;for(let i=e;i&&i!==t.parentElement;i=i.parentElement){const u=getComputedStyle(i);if(u.display==="none"||u.visibility==="hidden")return 0;r*=Number(u.opacity)}return r}function inPicture(e,t){const r=e.closest("[data-ak-screen]");if(r!==null&&r!==t&&t.contains(r))return!0;const i=e.closest("[data-ak-picture]");return i!==null&&t.contains(i)}function screenTexts(e,t={}){const r=[],i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(let u=i.nextNode();u;u=i.nextNode()){const o=norm(u.textContent??""),a=u.parentElement;if(!o||!a||t.screens===!1&&inPicture(a,e))continue;const s=opacityOf(a,e);if(s<=.05)continue;const d=document.createRange();d.selectNodeContents(u);const c=d.getBoundingClientRect();if(c.width===0&&c.height===0)continue;const l=inkOf(a,o,d);r.push({text:o,el:a,bbox:[c.left,c.top,c.width,c.height],opacity:s,rows:l.rows,lines:l.lines,size:l.size,...l.xHeight===void 0?{}:{xHeight:l.xHeight}})}return r}var CLIPS=new Set(["hidden","clip","scroll","auto"]);function clipped(e,t,r,i){let[u,o,a,s]=e;const d=.5;for(let c=t;c&&c!==r.parentElement;c=c.parentElement){const l=getComputedStyle(c),f=CLIPS.has(l.overflowX),h=CLIPS.has(l.overflowY);if(!f&&!h)continue;const p=c.getBoundingClientRect(),g=(v,x,A)=>i&&(A?v>=x-d:v<=x+d);if(f&&(g(p.left,i?.left??0,!1)||(u=Math.max(u,p.left)),g(p.right,i?.right??0,!0)||(a=Math.min(a,p.right))),h&&(g(p.top,i?.top??0,!1)||(o=Math.max(o,p.top)),g(p.bottom,i?.bottom??0,!0)||(s=Math.min(s,p.bottom))),a<=u||s<=o)return}return[u,o,a,s]}var TRANSPARENT=/^(transparent|rgba\(\s*0\s*,\s*0\s*,\s*0\s*,\s*0\s*\))$/,ZERO_ALPHA=/[,/]\s*0(\.0+)?\s*\)$/;function paintOf(e){const t=[],r=e.backgroundColor;return(e.backgroundImage!=="none"||!TRANSPARENT.test(r)&&!ZERO_ALPHA.test(r))&&t.push("background"),["Top","Right","Bottom","Left"].some(u=>{const o=e[`border${u}Style`];return o!=="none"&&o!=="hidden"&&parseFloat(e[`border${u}Width`])>0})&&t.push("border"),e.boxShadow!=="none"&&t.push("shadow"),t}function containersOf(e,t,r,i,u){const o=[];for(let a=e;a&&a!==t;a=a.parentElement){const s=getComputedStyle(a);if(CLIPS.has(s.overflowX)&&CLIPS.has(s.overflowY))continue;const d=paintOf(s);if(d.length===0||opacityOf(a,t)<=.05)continue;const c=a.getBoundingClientRect(),l=Math.round((c.left-r.left)*i),f=Math.round((c.top-r.top)*i),h=Math.round((c.right-r.left)*i),p=Math.round((c.bottom-r.top)*i);l<=0&&f<=0&&h>=u[0]&&p>=u[1]||o.push({box:[l,f,h-l,p-f],paint:d})}return o}var CJK_EDGE=/[\u3000-\u9fff\uf900-\uffef]/;function textBlocks(e,t,r){const i=t.getBoundingClientRect(),u=i.width>0?r/i.width:1,o=[r,Math.round(i.height*u)],a=new Map;for(const l of screenTexts(e,{screens:!1})){let f=l.el;for(;f!==e&&f.parentElement&&getComputedStyle(f).display.startsWith("inline");)f=f.parentElement;const[h,p,g,v]=l.bbox,[x,A]=l.rows,m=clipped([h,x,h+g,A],l.el,e),y=Math.max(0,g)*Math.max(0,A-x),E=m&&y>0?Math.min(1,(m[2]-m[0])*(m[3]-m[1])/y):m?1:0,D=l.lines.flatMap(w=>{const B=clipped(w,l.el,e,i);return B?[B]:[]}),b=a.get(f);if(!b){a.set(f,{text:l.text,x0:h,y0:p,x1:h+g,y1:p+v,opacity:l.opacity,...m?{ink:m}:{},shown:E,size:l.size,...l.xHeight===void 0?{}:{xHeight:l.xHeight},glyphs:D,runs:[{el:l.el,opacity:l.opacity,glyphs:D}]});continue}b.glyphs.push(...D),b.runs.push({el:l.el,opacity:l.opacity,glyphs:D});const _=CJK_EDGE.test(b.text.slice(-1))||CJK_EDGE.test(l.text.slice(0,1))?"":" ";b.text+=_+l.text,b.x0=Math.min(b.x0,h),b.y0=Math.min(b.y0,p),b.x1=Math.max(b.x1,h+g),b.y1=Math.max(b.y1,p+v),b.opacity=Math.min(b.opacity,l.opacity),b.shown=Math.min(b.shown,E),b.size=Math.min(b.size,l.size),l.xHeight!==void 0&&(b.xHeight=Math.min(b.xHeight??1/0,l.xHeight)),m&&(b.ink=b.ink?[Math.min(b.ink[0],m[0]),Math.min(b.ink[1],m[1]),Math.max(b.ink[2],m[2]),Math.max(b.ink[3],m[3])]:m)}const s=(l,f,h,p)=>{const g=Math.round((l-i.left)*u),v=Math.round((f-i.top)*u);return[g,v,Math.round((h-i.left)*u)-g,Math.round((p-i.top)*u)-v]},d=l=>Math.round(l*u*100)/100,c=([l,f,h,p])=>[d(l-i.left),d(f-i.top),d(h-l),d(p-f)];return[...a.entries()].map(([l,f])=>({text:f.text,...l.closest("[data-ak-viewport]")?{viewport:!0}:{},box:s(f.x0,f.y0,f.x1,f.y1),opacity:Math.round(f.opacity*1e3)/1e3,ink:f.ink?s(...f.ink):null,shown:Math.round(f.shown*1e3)/1e3,size:Math.round(f.size*u*10)/10,...f.xHeight===void 0?{}:{xHeight:Math.round(f.xHeight*u*10)/10},containers:containersOf(l,e,i,u,o),glyphs:f.glyphs.map(c),runs:f.runs.map(h=>({el:h.el,opacity:h.opacity,glyphs:h.glyphs.map(c)})),el:l}))}var PICTURES=new Set(["img","svg","canvas","video"]);function trackedIn(e){const t=[],r=i=>{const u=i.tagName.toLowerCase(),o=PICTURES.has(u);let a=o?u:void 0;if(!o&&i instanceof HTMLElement){const s=norm(Array.from(i.childNodes).filter(d=>d.nodeType===Node.TEXT_NODE).map(d=>d.textContent??"").join(" "));s?a=`text ${JSON.stringify(short(s))}`:paintOf(getComputedStyle(i)).length>0&&(a="box")}if(a!==void 0){const s=i instanceof HTMLElement?opacityOf(i,e):i.parentElement?opacityOf(i.parentElement,e)*Number(getComputedStyle(i).opacity):1;if(s>.05){const d=i instanceof HTMLElement||i instanceof SVGElement?i.dataset.ak:void 0;t.push({el:i,what:a,opacity:Math.round(s*1e3)/1e3,...d?{name:d}:{}})}}if(!o)for(const s of Array.from(i.children))r(s)};for(const i of Array.from(e.children))r(i);return t}function selectorOf(e,t){const r=[];for(let i=e;i&&i!==t;i=i.parentElement){const u=i instanceof HTMLElement||i instanceof SVGElement?i.dataset:{},o=u.key;if(o!==void 0&&i.classList.contains("ak-part")){r.unshift(`section[data-key="${o}"]`);break}const a=u.ak;if(a!==void 0){r.unshift(`[data-ak="${a}"]`);continue}const s=i.parentElement,d=s?Array.from(s.children).indexOf(i)+1:1;r.unshift(`${i.tagName.toLowerCase()}:nth-child(${String(d)})`)}return r.join(" > ")}var short=e=>e.length>40?`${e.slice(0,40)}…`:e,inkCanvas,tofuInk=new Map,glyphMissing=new Map;function ink(e,t){inkCanvas??=Object.assign(document.createElement("canvas"),{width:64,height:64}).getContext("2d",{willReadFrequently:!0});const r=inkCanvas;return r?(r.clearRect(0,0,64,64),r.font=e,r.textBaseline="middle",r.fillText(t,4,32),r.getImageData(0,0,64,64).data.join(",")):""}function missingGlyphs(e,t){const r=getComputedStyle(e),i=`${r.fontStyle} ${r.fontWeight} 40px ${r.fontFamily}`;let u=tofuInk.get(i);u===void 0&&(u=ink(i,""),tofuInk.set(i,u));const o=[];for(const a of new Set(Array.from(t.replace(/\s/g,"")))){const s=`${i}|${a}`;let d=glyphMissing.get(s);d===void 0&&(d=ink(i,a)===u,glyphMissing.set(s,d)),d&&o.push(a)}return o}function inspectFrame(e){const{part:t,t:r,section:i,stage:u}=e,o=[],a=new Set,s=new Set;let d;for(const c of screenTexts(i)){const l=m=>{const y=e.keysShowing(c.text);return{selector:selectorOf(c.el,u),bbox:m.map(E=>Math.round(E)),...y.length>0?{file:e.messagesFile}:{}}},f=e.keysShowing(c.text),h=f.length>0?`Shorten the text (${f.join(", ")})`:"Shorten the text",p=c.el.closest("[data-ak-viewport]")!==null,g=getComputedStyle(c.el);if((g.overflowX!=="visible"||g.overflowY!=="visible")&&!inPicture(c.el,i)&&!a.has(c.el)&&(c.el.scrollWidth>c.el.clientWidth+1||c.el.scrollHeight>c.el.clientHeight+1)&&(a.add(c.el),o.push(problem("AK-L002",`Text is cut off: "${short(c.text)}" does not fit its box. ${h}.`,{part:t,t:r,where:l(c.bbox)}))),!p){const m=missingGlyphs(c.el,c.text);m.length>0&&o.push(problem("AK-L003",`No font can draw ${m.map(y=>`"${y}" (U+${(y.codePointAt(0)??0).toString(16).toUpperCase().padStart(4,"0")})`).join(", ")} in "${short(c.text)}": they will show as boxes. Replace these characters, or add a font that supports them to the style.`,{part:t,t:r,where:l(c.bbox)}))}const x=fontWant(g),A=`${g.fontFamily}|${String(x.weight)}|${g.fontStyle}`;if(!s.has(A)){d??=pageFaces();const m=Array.from(c.text.replace(/\s/g,"")).map(E=>E.codePointAt(0)??0),y=fontIssue(x,m,d,localFamily);y&&(s.add(A),o.push(problem("AK-L006",`"${short(c.text)}": ${fontIssueText(y)}`,{part:t,t:r,where:l(c.bbox)})))}}return o}var TITLE_MAX=40;function partTitles(e){const t=[...e.values()],r=new Set;if(t.length>1)for(const{text:u}of t[0]??[])t.every(o=>o.some(a=>a.text===u))&&r.add(u);const i=new Map;for(const[u,o]of e){const a=o.filter(d=>!r.has(d.text));let s=(a.length?a:o)[0];for(const d of a)s&&d.size>s.size&&(s=d);s&&i.set(u,s.text.length>TITLE_MAX?`${s.text.slice(0,TITLE_MAX)}…`:s.text)}return i}var STUCK_WAIT=1e3,newDrawState=()=>({mode:"picture",plane:void 0});function withLayout(e,t){const r=e.mode;e.mode="layout";try{return t()}finally{e.mode=r}}var drawnAt=new WeakMap,settled2=e=>Math.max(0,e-.4);function createDrawer(e){const{env:t,piece:r,stage:i,mounted:u,transitions:o,clips:a,state:s}=e,{guards:d,log:c,ledger:l,embed:f,options:h,seedBase:p,partSeed:g}=t,{fps:v,look:x,dims:A,format:m,seekLimitMs:y}=r,E=e.covers,D=e.transitionStage;let b,_=[],w,B,F=!1,$=!1;const L=N=>`${p}:${String(Math.round(N*v))}`,O=(N,W,U)=>{const Y=N.part,re=(s.plane===void 0||W.plane===s.plane)&&U>=W.start&&U<W.end;if(showLayer(W.el,re),!re)return;const ie=l.running;l.running={part:Y.key,layer:W.spec.component,index:W.index,t:Y.start+U,what:`${W.spec.component} (layer ${String(W.index+1)}) in part ${Y.key}`},drawnAt.set(W.el,{by:W.spec.component==="custom"?`custom@${r.writtenIn}`:W.spec.component,t:U});try{consoleAt({phase:"render",part:Y.key,layer:W.spec.component,index:W.index,t:U},()=>{W.spec.render(W.el,U,W.props,W.ctx)})}catch(se){l.ran(problem(codeOf(se),`${W.spec.component} (layer ${String(W.index+1)}) in part ${Y.key} failed while drawing: ${messageOf(se)}`,{part:Y.key,t:Y.start+U}))}finally{l.running=ie}},k=(N,W)=>{i.styles&&(i.styles.part=N.part.key),c.tap=(U,Y)=>N.record.reads.set(U,Y);try{for(const U of N.layers)O(N,U,W)}finally{i.styles&&(i.styles.part=void 0),c.tap=void 0}},j=N=>{for(const W of _)N.includes(W)||showLayer(W.el,!1);for(const W of N)showLayer(W.el,!0);_=N},T=(N,W,U)=>{const Y=heldTime(N.part,W,v),ae=Y+U;d.setMoment(ae-N.part.start,g(N.part.key,Math.round((Y-N.part.start)*v))),showLayer(N.el,!1),N.el.getBoundingClientRect(),showLayer(N.el,!0),k(N,ae-N.part.start),d.flushFrames()};async function I(N,W={}){if($)return;const U=s.mode;s.mode=W.mode??"picture",s.plane=W.plane;try{await M(N,W.offset??0,W.part)}finally{s.mode=U}}async function M(N,W,U){const Y=toFrame(Math.min(Math.max(N,0),e.duration-1/v),v),ae=Math.min(Math.max(W,0),(1-1e-6)/v),re=Y+ae,ie=U===void 0?void 0:u.find(H=>H.part.key===U),se=ie?void 0:transitionAt(o,Y,v),we=se&&u.find(H=>H.part.key===se.from),xe=se&&u.find(H=>H.part.key===se.part);if(se&&we&&xe&&D)j([we,xe]),b=Y<xe.part.start?we:xe,T(we,Y,ae),T(xe,Y,ae),D.place(se,we,xe,Y);else{const H=ie??u.find(Q=>re>=Q.part.start&&re<Q.part.end)??u.at(-1);j(H?[H]:[]),b=H,D?.hideVeil(),H?(D?.rest(H),T(H,Y,ae)):(d.setMoment(re,L(Y)),d.flushFrames())}const oe=w===void 0||Math.abs(re-w)>.5;w=re,a.draw(re,oe);const he=F?Math.min(y,STUCK_WAIT):y,ye=realNow(),X=await l.settle(he);if(X.push(...(await i.picturesDrawn(he-(realNow()-ye))).map(H=>`the picture ${H} to decode`)),B=void 0,X.length>0){F=!0;const H=b?.part.key;B=`Drawing ${H===void 0?"a moment":`part ${H}`} did not finish in ${String(he/1e3)} s (video({ seekLimit }) sets it): it was still waiting for ${X.join("; ")}. It was not waited for again, so the frame may show the moment before.`,l.ran(problem("AK-P003",B,{...H===void 0?{}:{part:H},t:re}))}await Promise.resolve()}async function P(){const N=[...c.texts].join(" ").slice(0,2e4)||"Aa",W=new Set([x.font.display,x.font.body].flatMap(se=>se.split(",")).map(se=>se.trim()).filter(se=>se.startsWith('"'))),U=[];for(const se of W)for(const we of[400,700])U.push(document.fonts.load(`${String(we)} 40px ${se}`,N).catch(()=>[]));const Y=u.flatMap(se=>se.layers.flatMap(we=>stringsOf(we.props))),ae=new Set(namedFamilies(x.font.emoji)),re=new Set([...[x.font.display,x.font.body,x.font.mono].flatMap(namedFamilies),...styleSheetFamilies(),...propFamilies(Y)].filter(se=>!ae.has(se)));U.push(loadFaces(re,codePoints([N,...Y])));const ie=emojiOf([...c.texts,...Y]);ie&&U.push(document.fonts.load(`400 40px ${x.font.emoji}`,ie).catch(()=>[])),await Promise.all(U),await document.fonts.ready}async function R(){f||consoleParts(u.map(oe=>oe.part.key)),await l.timed("loading fonts",P);for(const oe of u){showLayer(oe.el,!0),d.setMoment(0,g(oe.part.key,0)),i.styles&&(i.styles.part=oe.part.key),c.tap=(he,ye)=>oe.record.reads.set(he,ye);for(const he of oe.layers){showLayer(he.el,!0),l.doing=`${he.spec.component} in part ${oe.part.key}`;const ye=realNow();l.running={part:oe.part.key,layer:he.spec.component,index:he.index,what:`${he.spec.component} (layer ${String(he.index+1)}) in part ${oe.part.key}, mounting`};try{consoleAt({phase:"mount",part:oe.part.key,layer:he.spec.component,index:he.index},()=>{he.spec.mount(he.el,he.props,he.ctx)}),l.times.push({what:`mounting ${l.doing}`,ms:realNow()-ye})}catch(X){l.ran(problem(codeOf(X),`${he.spec.component} (layer ${String(he.index+1)}) in part ${oe.part.key} failed while mounting: ${messageOf(X)}`,{part:oe.part.key}))}finally{l.running=void 0}showLayer(he.el,!1)}c.tap=void 0,i.styles&&(i.styles.part=void 0),showLayer(oe.el,!1)}b=void 0,_=[];const N=LOAD_WAITS*y,W=realNow(),U=await l.settle(N),Y=Array.from(i.el.querySelectorAll("img")),ae=await within2(Y.map(oe=>oe.decode().then(()=>oe.currentSrc||oe.src,()=>oe.currentSrc||oe.src)),N-(realNow()-W)),re=Y.filter((oe,he)=>ae[he]===void 0).map(oe=>`the picture ${oe.getAttribute("src")??""} to decode`);U.length+re.length>0&&l.ran(problem("AK-P003",`Loading did not finish in ${String(N/1e3)} s (${String(LOAD_WAITS)} × video({ seekLimit })): it was still waiting for ${[...U,...re].join("; ")}. It was not waited for again.`)),await loadTextFonts(i.el),await document.fonts.ready;const ie=new Map;l.doing=void 0;for(const oe of u){l.doing=`part ${oe.part.key}'s still`,await l.timed(`drawing ${l.doing}`,()=>I(oe.part.still,{part:oe.part.key}));const he=screenTexts(oe.el,{screens:!1});oe.record.onScreen=he.map(ye=>ye.text),ie.set(oe.part.key,he),h.purpose==="check"&&l.run.push(...inspectFrame({part:oe.part.key,t:oe.part.still,section:oe.el,stage:i.el,format:m,messagesFile:c.file,width:A.width,height:A.height,keysShowing:ye=>c.keysShowing(ye)}))}const se=partTitles(ie);for(const oe of u){const he=se.get(oe.part.key);oe.part.title===void 0&&he!==void 0&&(oe.record.title=he)}l.doing=void 0,await l.timed("decoding the stage's pictures",()=>i.sweep()),l.loading=!1;const we=realNow()-t.start,xe=r.loadLimitMs;if(we>xe&&!f){const oe=[...l.times].sort((he,ye)=>ye.ms-he.ms).slice(0,3).map(he=>`${he.what} ${(he.ms/1e3).toFixed(1)} s`);l.run.push(problem("AK-P002",`Loading took ${(we/1e3).toFixed(1)} seconds (the limit is ${String(xe/1e3)} seconds; video({ loadLimit }) sets it). The longest: ${oe.join("; ")}.`))}}return{state:s,get current(){return b},ready:R,draw:I,forLayout:N=>withLayout(s,N),stuck:()=>B,covers:()=>E.map(N=>({key:N.key,layers:layerNames(N.layers)})),async drawCover(N){const W=E[N];if(!W)throw new LoadFailure("no_cover",`There is no cover ${String(N)}.`);j([]),b=void 0,D?.hideVeil();const U=document.createElement("section");U.className="ak-part ak-cover",Object.assign(U.style,{position:"absolute",inset:"0",overflow:"hidden"}),i.el.append(U);const Y=W.dur??r.defaults.dur,ae=ie=>numericRef(ie)??0,re=typeof W.still=="function"?W.still(Y):W.still===void 0?settled2(Y):ae(W.still);d.setMoment(re,`${p}:cover:${String(N)}`);for(const[ie,se]of W.layers.entries()){if(se.__allyhubLayer==="footage")continue;const[we,xe]=windowOf(se,Y,ae);if(re<we||re>=xe)continue;const oe=document.createElement("div");oe.className="ak-layer",Object.assign(oe.style,{position:"absolute",inset:"0"}),U.append(oe);const he=se.times?resolveTimes(se.props,se.times,ae):se.props,ye=e.contexts({dur:Y,words:()=>[],at:ae,start:we,end:xe});consoleAt({phase:"cover",part:W.key,layer:se.component,index:ie,t:re},()=>{se.mount(oe,he,ye),se.render(oe,re,he,ye)})}await loadTextFonts(U),await document.fonts.ready},setPlaying(N){a.setPlaying(N)},dispose(){$=!0,a.dispose()}}}async function coverParts(e,t){if(!e.options.covers)return[];const r=await e.options.covers(t);return Array.isArray(r)?r.filter(isPartSpec):[]}var painter,colours=new Map;function rgbaOf(e){const t=colours.get(e);if(t||colours.has(e))return t;painter??=Object.assign(document.createElement("canvas"),{width:1,height:1}).getContext("2d",{willReadFrequently:!0});let r;if(painter){painter.clearRect(0,0,1,1),painter.fillStyle="rgba(0,0,0,0)",painter.fillStyle=e,painter.fillRect(0,0,1,1);const[i=0,u=0,o=0,a=0]=painter.getImageData(0,0,1,1).data;r=[i,u,o,Math.round(a/255*1e3)/1e3]}return colours.set(e,r),r}function fillOf(e){const t=getComputedStyle(e),i=e instanceof SVGElement?t.fill.startsWith("url(")||t.fill==="none"?"":t.fill:t.webkitTextFillColor||t.color;if(!i)return;const u=rgbaOf(i);return u&&u[3]>0?u:void 0}function inkOfBlock(e,t){const r=[];let i=!1,u=!1;for(const c of e.runs){const l=fillOf(c.el);for(const h of c.glyphs)r.push({box:h,...l?{fill:l}:{},opacity:Math.round(c.opacity*1e3)/1e3});const f=getComputedStyle(c.el);f.textShadow!=="none"&&f.textShadow!==""&&(i=!0),parseFloat(f.webkitTextStrokeWidth||"0")>0&&(u=!0)}const o=e.runs[0]?.el??e.el,a=getComputedStyle(o),s=o.getBoundingClientRect(),d=o.offsetHeight>0&&s.height>0?s.height/o.offsetHeight:1;return{lines:r,size:Math.round(parseFloat(a.fontSize)*d*t*10)/10,weight:Number(a.fontWeight)||400,...i?{shadow:!0}:{},...u?{stroke:!0}:{}}}var MOMENTS_PER_PART=24,MEASURE_EVERY=1;function domHash(e){let t=2166136261,r=5381;for(let i=0;i<e.length;i++){const u=e.charCodeAt(i);t=Math.imul(t^u,16777619)>>>0,r=Math.imul(r,33)+u>>>0}return`${t.toString(16)}${r.toString(16)}:${String(e.length)}`}async function sha256Hex(e){const t=globalThis.crypto?.subtle;if(!t)return`dom:${domHash(e)}`;const r=new Uint8Array(await t.digest("SHA-256",new TextEncoder().encode(e)));let i="";for(const u of r)i+=u.toString(16).padStart(2,"0");return i}function textReader(e,t,r,i){const{guards:u,partSeed:o}=e,{fps:a,dims:s}=t,d=new WeakMap;return({part:c,el:l},f,h)=>{const p=Math.round(h*a),g=p/a,v=[];for(const x of f){if(g<x.start||g>=x.end)continue;let A=d.get(x);A||(A=new Map,d.set(x,A));let m=A.get(p);if(!m){const y=layerShown(l),E=layerShown(x.el),D=l.style.transform;l.style.transform="",showLayer(l,!0),showLayer(x.el,!0),u.setMoment(g,o(c.key,p));try{consoleAt({phase:"render",part:c.key,layer:x.spec.component,index:x.index,t:g},()=>{i(()=>{x.spec.render(x.el,g,x.props,x.ctx)})}),m=textBlocks(x.el,r.el,s.width).map(b=>({layer:x.spec.component,text:b.text,box:b.box}))}catch{m=[]}finally{showLayer(x.el,E),showLayer(l,y),l.style.transform=D,u.setMoment(0,o(c.key,0))}A.set(p,m)}v.push(...m)}return v}}function measurer2(e){const{piece:t,stage:r,drawer:i,mounted:u,duration:o,captions:a,footage:s}=e,{fps:d,dims:c,format:l}=t,f=r.el,h=(A,m)=>i.draw(A,{mode:"layout",...m===void 0?{}:{part:m}}),p=A=>toFrame(Math.min(Math.max(A,0),o-1/d),d),g=()=>{const A=[];for(const m of u){const{part:y}=m,E=new Set,D=_=>{const w=toFrame(_,d);w>=y.start&&w<y.end&&E.add(w)};D(y.still);for(const _ of m.layers)_.end>_.start&&D(y.start+(_.start+_.end)/2);if(m.record.captioned)for(const _ of cuesIn(a.cues(),y.start,y.end))D(y.start+(_.start+_.end)/2);if(s?.speakerIn(y.key))for(let _=y.start+.5;_<y.end;_+=1)D(_);for(let _=y.start+MEASURE_EVERY;_<y.end;_+=MEASURE_EVERY)D(_);D(y.end-1/d);let b=[...E].sort((_,w)=>_-w);if(b.length>MOMENTS_PER_PART){const _=b.length/MOMENTS_PER_PART,w=b.at(-1)??0;b=Array.from({length:MOMENTS_PER_PART},(B,F)=>b[Math.floor(F*_)]??0),b[b.length-1]=w}A.push(...b)}return[...new Set(A)].sort((m,y)=>m-y)},v=async()=>{const A=READ_DEFAULTS,m=[];for(const y of u){const{part:E}=y,D=new Map,b=E.end-1/d;for(let _=0;;_++){const w=toFrame(E.start+_*A.every,d);if(w>b+1e-9)break;await h(w,E.key);const B=i.current;if(B){for(const F of B.layers)if(layerShown(F.el))for(const $ of textBlocks(F.el,f,c.width)){if($.ink===null||$.viewport)continue;let L=D.get($.el);L||(L={layer:F.spec.component,z:F.z,samples:[]},D.set($.el,L)),L.samples.push({t:Math.round(w*1e3)/1e3,text:$.text,box:$.box,opacity:$.opacity,shown:$.shown,size:$.size,...$.xHeight===void 0?{}:{xHeight:$.xHeight}})}}}for(const _ of D.values()){const w=textTime(_.samples,{part:E.key,layer:_.layer,z:_.z,end:E.end,frame:[c.width,c.height]},A);w&&m.push(w)}}return m.sort((y,E)=>y.first-E.first),{options:A,texts:m}},x=()=>{let A="";for(const m of f.children){if(m instanceof HTMLElement&&!layerShown(m))continue;const y="canvas:not([data-ak-sign]), video, iframe, img[src$='.gif' i]";if(m.matches(y)||m.querySelector(y))return;A+=m.outerHTML}return domHash(A)};return{async measure(A){const m=[],y=A?[...A].sort((b,_)=>b-_):g();for(const b of y){const _=p(b),w=u.find(I=>_>=I.part.start&&_<I.part.end);await h(b,w?.part.key);const B=i.current;if(!B)continue;const F=[],$=[],L=[],O=[],k=[],j=pageFaces();B.layers.forEach((I,M)=>{if(layerShown(I.el))for(const P of textBlocks(I.el,f,c.width)){if(P.ink===null)continue;const R=P.runs[0]?.el,N=R&&drawnFamilies(fontWant(getComputedStyle(R)),Array.from(P.text.replace(/\s/gu,"")).map(W=>W.codePointAt(0)??0),j,localFamily);F.push({layer:I.spec.component,z:I.z,text:P.text,box:P.box,...P.viewport?{viewport:!0}:{},...P.opacity<1?{opacity:P.opacity}:{},...P.ink.join()===P.box.join()?{}:{ink:P.ink},...N&&N.length>0?{fonts:N}:{}}),$.push(M),L.push(P.containers),O.push(P.ink),k.push(P.glyphs)}});const T=s?.faceAt(B.part.key,_);m.push(measureMoment({t:Math.round(_*1e3)/1e3,part:B.part.key,texts:F,...T?{face:T.map(I=>Math.round(I))}:{},safe:c.safe,width:c.width,height:c.height,owner:$,containers:L,seen:O,glyphs:k}))}const E=(formatInfo(l)?.width??c.width)/c.width,D=(s?.placed??[]).flatMap(b=>{const _=footageScale(b,E,d);return _?[_]:[]});return{width:c.width,height:c.height,safe:c.safe,moments:m,footage:D,...A?{}:{reading:await v()}}},async tracks(A,m){const y=[],E=Math.max(0,Math.ceil(A*d-1e-6)),D=Math.min(Math.floor(m*d+1e-6),Math.round(o*d)-1),b=()=>f.getBoundingClientRect();for(const _ of u){const{part:w}=_,B=Math.max(E,Math.round(w.start*d)),F=Math.min(D,Math.round(w.end*d)-1);if(F<B)continue;const $=new Map;for(let L=B;L<=F;L++){const O=L/d;await h(O,w.key);const k=i.current;if(!k)continue;const j=b(),T=j.width>0?c.width/j.width:1,I=new Map;for(const M of k.layers)if(layerShown(M.el))for(const P of trackedIn(M.el)){const R=P.el.getBoundingClientRect();if(R.width<=0||R.height<=0)continue;const N=Math.round((R.left-j.left)*T),W=Math.round((R.top-j.top)*T);if(I.set(P.el,{t:Math.round(O*1e3)/1e3,box:[N,W,Math.round((R.right-j.left)*T)-N,Math.round((R.bottom-j.top)*T)-W],opacity:P.opacity}),!$.has(P.el)){const U={part:w.key,layer:M.spec.component,what:P.what,selector:selectorOf(P.el,f),...P.name===void 0?{}:{name:P.name},samples:Array.from({length:L-B},(Y,ae)=>({t:Math.round((B+ae)/d*1e3)/1e3,opacity:0}))};$.set(P.el,U),y.push(U)}}for(const[M,P]of $)P.samples.push(I.get(M)??{t:Math.round(O*1e3)/1e3,opacity:0})}}return y},async inks(A){const m=p(A),y=u.find(w=>m>=w.part.start&&m<w.part.end);await i.draw(A,y?{part:y.part.key}:{});const E=i.current;if(!E)return[];const D=f.getBoundingClientRect(),b=D.width>0?c.width/D.width:1,_=[];for(const w of E.layers)if(layerShown(w.el))for(const B of textBlocks(w.el,f,c.width))B.ink!==null&&_.push({text:{layer:w.spec.component,z:w.z,text:B.text,box:B.box,...B.viewport?{viewport:!0}:{},...B.opacity<1?{opacity:B.opacity}:{},...B.ink.join()===B.box.join()?{}:{ink:B.ink}},...inkOfBlock(B,b)});return _},async objects(A,m){const y=p(A),E=u.find(_=>y>=_.part.start&&y<_.part.end);await i.draw(A,E?{part:E.part.key}:{});const D=i.current,b={t:A,elements:[],texts:[]};if(!D)return b;for(const _ of D.layers)if(layerShown(_.el))for(const w of textBlocks(_.el,f,c.width))w.ink!==null&&b.texts.push({text:w.text,box:[w.box[0],w.box[1],w.box[2],w.box[3]],size:w.size,keys:m(w.text)});return b},signature:x,async signatureAt(A){return await h(A,void 0),x()},async partSignature(A,m){const y=new Set,E=[],D="video, iframe, img[src$='.gif' i]";for(const b of m){await h(b,A);let _="";const w=[];try{for(const B of f.children){if(B instanceof HTMLElement&&!layerShown(B))continue;const F=B.matches(D)?B:B.querySelector(D);if(F)return{unknown:`a <${F.tagName.toLowerCase()}> at ${b.toFixed(3)} s`};const $=[...B.matches("canvas:not([data-ak-sign])")?[B]:[],...B.querySelectorAll("canvas:not([data-ak-sign])")];for(const L of $){let O=L,k;for(;O&&O!==f&&!k;)k=drawnAt.get(O),k||(O=O.parentElement);if(!k||!O)return{unknown:`a canvas outside any layer at ${b.toFixed(3)} s`};layerShown(O)&&(L.setAttribute("data-ak-drawn",`${k.by} at ${String(Math.round(k.t*1e6)/1e6)}`),w.push(L),y.add(k.by))}_+=B.outerHTML}}finally{for(const B of w)B.removeAttribute("data-ak-drawn")}E.push(await sha256Hex(_))}return{sign:await sha256Hex(E.join(`
|
|
71
|
+
`)),owners:[...y].sort()}}}}var round64=e=>Math.round(e*1e6)/1e6;function musicClock(e,t){const{source:r,lang:i,ledger:u}=e,{options:o}=t,a=o.music===void 0?void 0:typeof o.music=="string"||"path"in o.music?{file:o.music}:o.music,s=a?.file===void 0?void 0:typeof a.file=="string"||"path"in a.file?a.file:i===void 0?void 0:a.file[i],d=s===void 0?void 0:e.mediaOf(s,t.musicBase),c=a??{},l=Math.max(0,c.from??0),f=d?.tempo,h=c.bpm!==void 0?{bpm:c.bpm,source:"given"}:f?{bpm:f.bpm,source:"measured",confidence:f.confidence,beat:f.beat}:void 0,p=()=>d&&d.sha256!==""?{file:d.path}:{},g=a!==void 0&&c.snap===!0&&!!h,v=g?60/h.bpm:0,x=h?.beat??0,A=v>0?(x-l)%v:0;a!==void 0&&c.snap===!0&&!h&&u.facts.push(fact("fallback",{piece:r.piece},{...p(),missing:"tempo",for:"snap",fallback:"not-snapped"}));const m=musicGrid(h,{meter:c.meter,downbeat:c.downbeat}),y=d?.duration,E=c.loop,D=[...c.play??[],...typeof E=="object"?[E]:[]],b=j=>{u.facts.push(fact("fallback",{piece:r.piece},{...p(),missing:"tempo",for:j,fallback:j==="music-play"?"played-once":"film-end"}))};a!==void 0&&!m&&(D.some(j=>onGrid(j.from)||j.to!==void 0&&onGrid(j.to))&&b("music-play"),(c.end==="bar"||c.end==="beat")&&b("music-end"));const _=j=>{const T=musicSeconds(j.from,m),I=j.to===void 0?y:musicSeconds(j.to,m);return T===void 0||I===void 0?void 0:{from:T,to:I}},w=typeof E=="object"?_(E):void 0,B=c.play?.map(_),F=(B?.some(j=>j===void 0)??!1)||typeof E=="object"&&w===void 0,$=!F&&(B!==void 0||w!==void 0),L=j=>{if(!(y===void 0||y<=0)){if(F)return placeStretches([{from:l,to:y}],void 0,y,j);if($){const T=B?.flatMap(I=>I?[I]:[])??(w?[{from:l,to:w.to}]:[]);return placeStretches(T,w,y,j)}return c.loop===!0?wholeLoop(l,y,j,c.seam):placeStretches([{from:l,to:y}],void 0,y,j)}},O=j=>{if(a===void 0)return;const T=j.duration,I=(c.gain??[]).flatMap((N,W)=>{const U=j.momentAt(N.at,`music.gain[${String(W)}].at`);return U===void 0?[]:[{t:round64(U),db:N.db}]}),M=c.filter!==void 0||c.eq!==void 0||c.compress!==void 0?{...c.filter===void 0?{}:{filter:c.filter},...c.eq===void 0?{}:{eq:c.eq.map((N,W)=>{const{keys:U,...Y}=N,ae=(U??[]).flatMap((re,ie)=>{const se=j.momentAt(re.at,`music.eq[${String(W)}].keys[${String(ie)}].at`);return se===void 0?[]:[{...re,at:round64(se)}]});return ae.length>0?{...Y,keys:ae}:Y})},...c.compress===void 0?{}:{compress:c.compress}}:void 0,P=$?L(T):void 0;let R;if(m&&(c.end==="bar"||c.end==="beat")){const N=L(T),W=N?filmBeats(N,m,c.end):[],U=N?.at(-1);if(U&&!c.loop){const ae=c.end==="bar"?m.beat*m.meter:m.beat,re=c.end==="bar"?m.downbeat:m.first,ie=(U.to-re)/ae;Math.abs(ie-Math.round(ie))<1e-6&&W.push(U.at+U.to-U.from)}const Y=[...W].reverse().find(ae=>ae>1e-6&&ae<=T+1e-6);Y!==void 0&&(R=round64(Y))}return{...d&&d.sha256!==""?{file:d.path}:{},from:P?.[0]?.from??l,loop:c.loop===!0||w!==void 0,...h?{tempo:h}:{},snapped:g,...P?{play:P.map(N=>({at:round64(N.at),from:round64(N.from),to:round64(N.to)})),seam:c.seam??MUSIC_DEFAULTS.seam}:c.seam===void 0?{}:{seam:c.seam},...m?{meter:m.meter,downbeat:round64(m.downbeat)}:{},...R===void 0?{}:{until:R},...I.length>0?{gain:I}:{},...M?{shape:M}:{}}};return{music:a,media:d,snapped:g,beat:v,beatPhase:A,grid:m,snapTo(j){if(!g||!m)return;const T=j.reduce((P,R)=>P+(R.speechDur!==void 0?R.lead+R.speechDur+R.tail:R.dur)+2*m.beat,0)+10,I=L(T);if(!I)return;const M=filmBeats(I,m);return(P,R)=>beatNear(M,m.beat,P,R)},plan:j=>O(j)}}var DECK_VIDEOS="__allyhubVideos";function loadStyles(e){return Promise.all(e.map(t=>new Promise(r=>{const i=document.createElement("link");i.rel="stylesheet",i.href=t,i.onload=()=>{r()},i.onerror=()=>{r()},document.head.append(i)})))}async function definition(e){const{source:t,embed:r,ledger:i}=e;let u=r?.def;const o={};if(!r){let a;try{await loadStyles(t.styles??[]),a=await i.timed("importing the piece's module",()=>consoleAtAsync({phase:"module"},()=>import(t.module)))}catch(d){const c=d instanceof Error?d:new Error(String(d));throw new LoadFailure("load_failed",`Failed to load the piece module: ${c.message}
|
|
72
|
+
${c.stack??""}`)}u=a.default;const s=a[DECK_VIDEOS];if(typeof s=="object"&&s!==null)for(const[d,c]of Object.entries(s))isPieceDefinition(c)&&(o[d]=c)}if(!isPieceDefinition(u))throw new LoadFailure("no_content",`The default export of ${t.file} is not a video({ … }).`);return{def:u,videos:o}}async function resolvePiece(e){const{source:t,log:r}=e,{def:i,videos:u}=await definition(e),o=outputOf(i),a=i.written?.file,s=a!==void 0&&a!==""?a:t.file;s!==t.file&&r.relativeTo(s);const d=o.kind;if(d!=="video")throw new LoadFailure("bad_output",`${t.piece} is ${d}; load() loads a video (a deck is the deck's runtime's).`);const c=o.options,l=parseFps(c.fps)??FPS;if(!isVideoFormat(t.format))throw new LoadFailure("bad_format",`${t.piece} is not rendered in ${t.format}: it is not a format.`);const f=t.format,h=formatEntry(i.format===void 0?[]:[i.format],f)??f,p=formatInfo(h)??presetInfo("16x9"),g=messagePrefix(t.piece),v=c.look??"clean";return{def:i,options:c,fps:l,format:f,dims:p,prefix:g,look:t.looks?.[v]??CLEAN_LOOK,defaults:partDefaults(t.partDefaults,c.defaults?.part),writtenIn:s,musicBase:i.written?.paths?.music?.[1]??s.split("/").slice(0,-1).join("/"),seekLimitMs:(c.seekLimit??SEEK_LIMIT)*1e3,loadLimitMs:(c.loadLimit??LOAD_LIMIT)*1e3,videos:u}}function pieceContext(e,t){const{log:r,combo:i,space:u}=e,o=Object.assign((a,s)=>r.s(a,s),{list:(a,s)=>r.list(a,s),with:(a,s,d)=>r.with(a,s,d)});return{combo:i,pool:a=>{const s=u?.slots[a]?.find(d=>d.name===i[a]);if(s?.file===void 0)throw new LoadFailure("bad_pool",`ctx.pool("${a}"): ${a} is not a pool slot of this piece${u?` (pool slots: ${Object.entries(u.slots).filter(([,d])=>d.some(c=>c.file!==void 0)).map(([d])=>d).join(", ")||"none"})`:""}. Declare it as matrix.slots.${a} = { pool: "./folder" }.`);return`/${s.file}`},s:o,asset:a=>r.asset(a),data:a=>r.readData(a),look:t.look}}async function buildParts(e,t,r){const{source:i,ledger:u}=e,o="part",a=outputOf(t.def),s=await consoleAtAsync({phase:"build"},()=>Promise.resolve(a.build(r)));if(!Array.isArray(s)||s.length===0)throw new LoadFailure("no_parts",`The function of output ${e.output} returned no ${o}s (AK-K003).`);const d=[],c=new Set;for(const[l,f]of s.entries()){if(!isPartSpec(f))throw new LoadFailure("bad_part",`Item ${String(l+1)} is not a ${o} made by part({ key, layers }).`);const h=f.layers.findIndex(p=>!isLayerSpec(p));if(h>=0)throw new LoadFailure("bad_part",`Layer ${String(h+1)} of ${o} ${f.key} is not a layer made by footage(), a component or custom().`);if(f.speech!==void 0&&!isSpeechSpec(f.speech))throw new LoadFailure("bad_part",`The speech of ${o} ${f.key} is not made by take() or say().`);if(c.has(f.key)){u.problems.push(problem("AK-K001",`The ${o} key "${f.key}" is used twice. Every ${o} in an output needs its own key.`,{part:f.key,where:{file:i.file}}));continue}c.add(f.key),d.push(f)}return d}var HARD_SYNC=.15,PAUSED_SYNC=.001,MAX_SIDE=1920,Cutout=class{box;canvas;take;matte;alpha;out;alphaCtx;shown=!1;failed=!1;disposed=!1;edge;soft;softCtx=null;firm=firmLevels();made;constructor(e){this.take=e.take,this.edge=e.edge,e.edge&&(this.soft=document.createElement("canvas"),this.softCtx=this.soft.getContext("2d",{willReadFrequently:!0})),this.box=document.createElement("div"),this.box.className="ak-cutout",this.box.style.overflow="hidden",this.box.style.pointerEvents="none",this.box.style.visibility="hidden",this.canvas=document.createElement("canvas"),this.canvas.style.maxWidth="none",this.size(e.source),this.out=this.canvas.getContext("2d"),this.alpha=document.createElement("canvas"),this.alpha.width=270,this.alpha.height=480,this.alphaCtx=this.alpha.getContext("2d",{willReadFrequently:!0});const t=document.createElement("video");t.muted=!0,t.playsInline=!0,t.preload="auto",t.crossOrigin="anonymous",t.src=e.matte,Object.assign(t.style,{position:"absolute",left:"0",top:"0",width:"1px",height:"1px",opacity:"0"}),this.matte=t,t.addEventListener("loadedmetadata",()=>{t.videoWidth>0&&t.videoHeight>0&&(this.alpha.width=t.videoWidth,this.alpha.height=t.videoHeight),this.sync()}),t.addEventListener("error",()=>{this.failed=!0,this.box.style.visibility="hidden",e.onFail?.()}),this.take.addEventListener("loadedmetadata",()=>{e.source||this.size(void 0)});for(const r of[this.take,t])r.addEventListener("seeked",this.redraw),r.addEventListener("loadeddata",this.redraw);this.box.append(this.canvas,t),e.host.append(this.box),this.everyFrame(this.take),this.everyFrame(t)}size(e){const t=e?.width??this.take.videoWidth,r=e?.height??this.take.videoHeight;if(!(t>0&&r>0))return;const i=Math.min(1,MAX_SIDE/Math.max(t,r));this.canvas.width=Math.max(1,Math.round(t*i)),this.canvas.height=Math.max(1,Math.round(r*i))}redraw=()=>{this.draw()};everyFrame(e){if(!("requestVideoFrameCallback"in e))return;const t=()=>{this.disposed||(this.draw(),e.requestVideoFrameCallback(t))};e.requestVideoFrameCallback(t)}show(e){this.shown=e,this.box.style.visibility=e&&!this.failed?"visible":"hidden",!e&&!this.matte.paused&&this.matte.pause()}sync(){const e=this.take,t=this.matte;if(this.failed||t.readyState===0)return;const r=e.currentTime,i=t.currentTime-r;if(e.paused||!this.shown){t.paused||t.pause(),Math.abs(i)>PAUSED_SYNC&&(t.currentTime=r);return}if(t.paused||Math.abs(i)>HARD_SYNC){t.currentTime=r,t.playbackRate=e.playbackRate,t.paused&&t.play().catch(()=>{});return}const u=Math.min(Math.max(-i*2,-.05),.05);t.playbackRate=e.playbackRate*(1+u)}draw(){const e=this.out,t=this.alphaCtx;if(!e||!t||!this.shown||this.failed)return;const r=this.take,i=this.matte,{width:u,height:o}=this.canvas;if(r.readyState<2||i.readyState<2){e.clearRect(0,0,u,o);return}const a=this.alpha.width,s=this.alpha.height;t.drawImage(i,0,0,a,s);const d=t.getImageData(0,0,a,s),c=d.data,l=this.edgeNow(a),f=this.soft,h=this.softCtx;let p=this.alpha;if(l&&f&&h){const g=this.firm;for(let A=0;A<c.length;A+=4){const m=g[c[A]??0]??0;c[A]=m,c[A+1]=m,c[A+2]=m,c[A+3]=255}t.putImageData(d,0,0),(f.width!==a||f.height!==s)&&(f.width=a,f.height=s),h.globalCompositeOperation="copy",h.filter=l.blur>0?`blur(${String(l.blur)}px)`:"none",h.drawImage(this.alpha,0,0),h.filter="none";const v=h.getImageData(0,0,a,s),x=v.data;for(let A=0;A<x.length;A+=4)x[A+3]=l.levels[x[A]??0]??0;h.putImageData(v,0,0),p=f}else{for(let g=0;g<c.length;g+=4)c[g+3]=c[g]??0;t.putImageData(d,0,0)}e.globalCompositeOperation="copy",e.drawImage(r,0,0,u,o),e.globalCompositeOperation="destination-in",e.drawImage(p,0,0,u,o),e.globalCompositeOperation="source-over"}edgeNow(e){if(!this.edge)return;const t=parseFloat(this.canvas.style.width),r=Number.isFinite(t)&&t>0&&e>0?Math.round(t/e*100)/100:1;if(this.made?.scale!==r){const i=matteEdge(this.edge.feather,this.edge.shrink,r);this.made={scale:r,blur:i.sigma/r,levels:edgeLevels(i)}}return this.made}dispose(){this.disposed=!0,this.matte.pause(),this.matte.removeAttribute("src"),this.matte.load()}},HARD_SYNC2=.5,STEER_FROM=.04,STEER_UNTIL=.01,STEER=.03,PAUSED_SYNC2=.02,px=e=>`${String(e)}px`;function place(e,t){Object.assign(e.style,{position:"absolute",left:px(t[0]),top:px(t[1]),width:px(t[2]),height:px(t[3])})}function round(e,t){if(e.shape==="circle"){t.style.borderRadius="50%";return}if(!e.radius)return;const[,,r,i]=e.boxes?.[0]?.box??e.box,u=o=>`${String(Math.round((e.radius??0)/o*1e5)/1e3)}%`;t.style.borderRadius=`${u(r)} / ${u(i)}`}function layout(e,t,r,i){place(r,t.box);const[u,o,a,s]=t.picture,[d,c]=t.box;if(t.crop&&e.source){const[l,f,h,p]=t.crop,g=a/h,v=s/p;place(i,[u-d-l*g,o-c-f*v,e.source.width*g,e.source.height*v]),i.style.objectFit="fill"}else place(i,[u-d,o-c,a,s]),i.style.objectFit=e.fit}function backdropFilter(e){return[e.blur?`blur(${String(e.blur)}px)`:"",e.desaturate?`saturate(${String(1-e.desaturate)})`:"",e.dim?`brightness(${String(1-e.dim)})`:""].filter(t=>t!=="").join(" ")}function drawBackdrop(e,t,r,i){const u=backdropFilter(t);if(t.color===void 0&&t.image===void 0){i.style.filter=u;return}if(i.style.opacity="0",t.color==="transparent")return;let o;if(t.image!==void 0&&e.imageUrl){const a=document.createElement("img");a.src=e.imageUrl,a.alt="",a.style.objectFit="cover",a.style.maxWidth="none",a.style.filter=u,o=a}else o=document.createElement("div"),o.style.background=t.color??"transparent";return o.className="ak-backdrop",r.prepend(o),o}function layoutBackdrop(e,t){const r=intersect(t.picture,t.box)??t.box;place(e,[r[0]-t.box[0],r[1]-t.box[1],r[2],r[3]])}var Clips=class{drawn;fps;playing=!1;constructor(e,t){this.fps=t,this.drawn=e.map(r=>{const i=document.createElement("div");i.className="ak-footage",i.style.overflow="hidden",round(r,i);const u=document.createElement("video");u.muted=!0,u.playsInline=!0,u.preload="auto",u.src=r.url,u.style.maxWidth="none",u.style.visibility="hidden";const o=placementAt(r,r.start);layout(r,o,i,u),i.append(u),r.host.append(i);const a=(r.pan?.length??0)>1||(r.zoom?.length??0)>0||(r.boxes?.length??0)>1;let s,d;if(r.cutoutIn){const c=r.background;s=new Cutout({take:u,matte:r.cutoutIn.matte,host:r.cutoutIn.host,...r.source?{source:r.source}:{},...c?{edge:{feather:c.feather,shrink:c.shrink},onFail:()=>{u.style.filter="",u.style.opacity="",d?.remove()}}:{}}),round(r,s.box),layout(r,o,s.box,s.canvas),c&&(d=drawBackdrop(r,c,i,u),d&&layoutBackdrop(d,o))}return{clip:r,el:u,box:i,moving:a,...s?{cutout:s}:{},...d?{backdrop:d}:{}}})}sourceAt(e,t){const r=sourceAt(e,t),i=e.duration===void 0?1/0:e.duration-1/this.fps;return Math.max(0,Math.min(r,i))}setPlaying(e){if(this.playing=e,!e)for(const t of this.drawn)t.el.pause(),t.cutout?.sync()}draw(e,t){for(const r of this.drawn){const i=r.clip;if(!(e>=i.start&&e<i.end)){r.el.style.visibility="hidden",r.el.paused||r.el.pause(),r.cutout?.show(!1);continue}if(r.moving){const s=placementAt(i,e);layout(i,s,r.box,r.el),r.cutout&&layout(i,s,r.cutout.box,r.cutout.canvas),r.backdrop&&layoutBackdrop(r.backdrop,s)}r.el.style.visibility="visible";let o;i.cuts&&(o=0,i.cuts.forEach((s,d)=>{s.at<=e+1e-9&&(o=d)}));const a=o!==r.cut;r.cut=o,this.follow(r,r.el,e,t||a),r.cutout&&(r.cutout.show(!0),r.cutout.sync(),r.cutout.draw())}}follow(e,t,r,i){const u=e.clip,o=this.sourceAt(u,r),a=t.currentTime-o,s=sourceAt(u,r),d=s<0||u.duration!==void 0&&s>=u.duration-1/this.fps;if(!this.playing||d){t.paused||t.pause(),Math.abs(a)>PAUSED_SYNC2&&(t.currentTime=o);return}if(i||t.paused||Math.abs(a)>HARD_SYNC2*u.speed){t.currentTime=o,t.playbackRate=u.speed,e.steering=void 0,t.paused&&t.play().catch(()=>{});return}const c=a<0?1:-1;Math.abs(a)>STEER_FROM?e.steering=c:Math.abs(a)<=STEER_UNTIL&&(e.steering=void 0),t.playbackRate=u.speed*(e.steering===void 0?1:1+e.steering*STEER)}dispose(){for(const e of this.drawn)e.cutout?.dispose(),e.el.pause(),e.el.removeAttribute("src"),e.el.load()}},round65=e=>Math.round(e*1e6)/1e6;function soundPlanner(e,t){const{source:r,log:i,ledger:u}=e,{look:o,fps:a,options:s,dims:d}=t,c=[],l=[],f=[],h=(p,g,v)=>{const x=p.sound;let A,m;if(typeof x=="string"){m=x;const y=o.sfx[x];if(y!==void 0){const E=y.replace(/^\.\//,"");if(A=i.mediaAt(E),!A){i.missing(E),u.problems.push(problem("AK-A001",`The look's sound "${x}" is ${E}, which is not in the project. Put the file there, or change look.sfx in allyhub.config.ts.`,{part:g,where:{file:r.file}}));return}}else{if(isBuiltinSfx(x))return{sound:x};if(/[./]/.test(x))A=e.mediaOf(x,v);else{const E=[...BUILTIN_SFX,...Object.keys(o.sfx)];u.problems.push(problem("AK-A001",`The sound "${x}" in part ${g} is not one of the look's sounds (${[...new Set(E)].join(", ")}) and not a file. Name one of them, give a file ("./sfx/${x}.wav" or an import), or add it to look.sfx in allyhub.config.ts.`,{part:g,where:{file:r.file}}));return}}}else A=e.mediaOf(x,v),m=A.path.split("/").pop()??A.path;if(A.sha256!==""){if(A.kind!=="audio"&&!(A.kind==="video"&&A.audio)){u.problems.push(problem("AK-A003",`The sound ${A.path} in part ${g} is not audio. Give an audio file (wav, mp3, m4a…) or a video with sound.`,{part:g,where:{file:r.file}}));return}return{sound:m,file:A.path}}};return{addSpeech(p,g){l.push(...p),f.push(...g)},sfx(p,g,v){const x=g.end-g.start;for(const A of p.sounds??[]){const m=h(A,p.key,p.base);if(!m)continue;const y=Math.min(Math.max(v(A.at),0),x);c.push({t:toFrame(g.start+y,a),sound:m.sound,part:g.key,...A.what===void 0?{}:{what:A.what},...m.file===void 0?{}:{file:m.file},...A.gainDb===void 0||A.gainDb===0?{}:{gainDb:A.gainDb},...A.shape?{shape:A.shape}:{}})}},carry(p,g,v,x,A,m){const y=E=>{const D=Math.max(E.at,g),b=Math.min(E.at+E.dur,v);if(b-D<.005)return;const{fadeIn:_,fadeOut:w,...B}=E;return delete B.tone,{...B,part:A,at:round65(x+D-g),from:round65(E.from+(D-E.at)*(E.speed??1)),dur:round65(b-D),...E.gainDb!==void 0||m!==0?{gainDb:(E.gainDb??0)+m}:{},..._!==void 0&&D===E.at?{fadeIn:_}:{},...w!==void 0&&b===E.at+E.dur?{fadeOut:w}:{}}};for(const E of p.timeline.audio.speech??[]){const D=y(E);D&&l.push(D)}for(const E of p.timeline.audio.room??[]){const D=y(E);D&&f.push(D)}for(const E of p.timeline.cues)E.t<g-1e-6||E.t>=v-1e-6||c.push({...E,t:toFrame(x+E.t-g,a),part:A,...E.gainDb!==void 0||m!==0?{gainDb:(E.gainDb??0)+m}:{}})},cues:()=>[...c].sort((p,g)=>p.t-g.t),audio(p,g){const v=d.profile;return{...l.length>0?{speech:l}:{},...f.length>0?{room:f}:{},...p?{music:p}:{},...s.mix?{mix:resolveMix(s.mix)}:{},master:resolveMaster(s.master,v?.loudness),...voicePlan(s.mic,g)}}}}function servedHere(e,t){let r;try{r=new URL(e,t)}catch{return!0}return r.protocol==="data:"||r.protocol==="blob:"||r.protocol!=="http:"&&r.protocol!=="https:"?!0:r.origin===new URL(t).origin}function backgroundUrls(e){const t=[],r=/url\(\s*(?:"((?:[^"\\]|\\.)*)"|'((?:[^'\\]|\\.)*)'|([^)\s]*))\s*\)/g;for(const i of e.matchAll(r)){const o=(i[1]??i[2]??i[3]??"").replace(/\\(.)/g,"$1");o&&t.push(o)}return t}function pictureHint(e){const t=e.trim();return t==="[object Object]"?"That is an object turned into text: for an imported media value or ctx.asset(…), use its .url.":t==="undefined"||t==="null"?`The source is ${t}: for an imported media value or ctx.asset(…), use its .url.`:/^[a-z][a-z0-9+.-]*:/i.test(t)?"The file is not there, or it is not a picture the browser can draw.":'A path is not a URL the stage serves: import the file (import logo from "./logo.svg") or use ctx.asset(path), and use its .url.'}var decodes=e=>e.decode().then(()=>!0,()=>!1);function watchPictures(e){const t=[],r=()=>document.baseURI,i=(u,o,a)=>{!o||!servedHere(o,r())||t.some(s=>s.el===u&&s.src===o)||t.push({el:u,src:o,via:a})};return e.addEventListener("error",u=>{const o=u.target;o instanceof HTMLImageElement&&i(o,o.getAttribute("src")??"","img")},!0),{async sweep(){const u=Array.from(e.querySelectorAll("img"));await Promise.all(u.map(async a=>{const s=a.getAttribute("src")??"";s&&!await decodes(a)&&a.complete&&a.naturalWidth===0&&i(a,s,"img")}));const o=new Map;for(const a of Array.from(e.querySelectorAll("*"))){const s=getComputedStyle(a).backgroundImage;if(!s.includes("url("))continue;const d=a instanceof HTMLElement||a instanceof SVGElement?a.style.backgroundImage:"",c=d.includes("url(")?d:s;for(const l of backgroundUrls(c))o.set(l,[...o.get(l)??[],a])}await Promise.all([...o].map(async([a,s])=>{if(!servedHere(a,r()))return;const d=new Image;if(d.src=a,!await decodes(d))for(const c of s)i(c,a,"background")}))},broken:()=>[...t]}}function pictureWaiter(e,t){const r=new Map,i=()=>document.baseURI;return async u=>{const o=[],a=[];for(const d of Array.from(e.querySelectorAll("img"))){if(!(d.currentSrc||d.src)||d.getClientRects().length===0)continue;const c=d.getAttribute("src")??d.currentSrc;a.push(c),o.push(d.decode().catch(()=>{d.complete&&d.naturalWidth===0&&servedHere(c,i())&&t?.({el:d,src:c,via:"img"})}))}for(const d of Array.from(e.querySelectorAll('[style*="url("]')))if(d.getClientRects().length!==0)for(const c of backgroundUrls(d.style.backgroundImage)){let l=r.get(c);l||(l=new Image,l.src=c,r.set(c,l)),a.push(c);const f=l;o.push(f.decode().catch(()=>{f.complete&&f.naturalWidth===0&&servedHere(c,i())&&t?.({el:d,src:c,via:"background"})}))}if(o.length===0)return[];const s=await within2(o,u);return a.filter((d,c)=>s[c]===void 0)}}function cssName(e){if(e==="cssFloat")return"float";if(e.includes("-"))return e;const t=e.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`);return/^(webkit|moz|ms|o)-/.test(t)?`-${t}`:t}function declarations2(e){const t=[];let r=0,i="",u=0;const o=a=>{const s=e.slice(u,a),d=s.indexOf(":");if(d>0){const c=s.slice(0,d).trim(),l=s.slice(d+1).replace(/!\s*important\s*$/i,"").trim();c&&l&&t.push([c,l])}u=a+1};for(let a=0;a<e.length;a++){const s=e[a];i?s==="\\"?a++:s===i&&(i=""):s==='"'||s==="'"?i=s:s==="("?r++:s===")"?r=Math.max(0,r-1):s===";"&&r===0&&o(a)}return o(e.length),t}var UNIT=/^(-?(?:\d+\.?\d*|\.\d+))([a-z%]+)$/i,NUMBER=/^-?(?:\d+\.?\d*|\.\d+)$/;function styleHint(e,t){const r=cssName(e.prop),i=e.value.trim();if(e.via==="setProperty"&&r!==e.prop.toLowerCase())return`setProperty takes the CSS name "${r}", not "${e.prop}".`;if(!t(r,"initial"))return`Chrome has no style property "${e.prop}"; check its name.`;if(/!\s*important\s*$/i.test(i))return e.via==="cssText"?"Check the value's spelling and units.":`A style property does not take !important in its value: use style.setProperty("${r}", value, "important").`;const u=UNIT.exec(i);return u?.[1]!==void 0&&t(r,u[1])?`${e.prop} takes a number such as ${u[1]}, not ${i}.`:NUMBER.test(i)&&t(r,`${i}px`)?`${e.prop} needs a unit: ${i}px, not ${i}.`:"Check the value's spelling and units: the browser drops a value it cannot read."}var installed3;function watchStyles(e=3){if(installed3)return installed3;const t=[],r=new Set,i=new Map,u=new WeakMap,o=(v,x)=>CSS.supports(v,x),a={part:void 0,rejected:()=>t},s=(v,x,A,m,y=!1)=>{const E=a.part;if(E===void 0)return;const D=`${E}|${x}|${m}`;if(r.has(D))return;r.add(D);const b=i.get(E)??0;if(b>=e)return;i.set(E,b+1);const _=u.get(v);t.push({part:E,prop:x,value:A,via:m,...y?{number:!0}:{},..._?{el:_}:{}})},d=v=>{if(v==null||typeof v!="string"&&typeof v!="number")return;const x=String(v).trim();return x===""?void 0:x},c=CSSStyleDeclaration.prototype,l=Object.getOwnPropertyDescriptor(c,"cssText");if(l?.set){const v=l;Object.defineProperty(c,"cssText",{...v,set(x){v.set?.call(this,x);const A=d(x);if(A!==void 0)for(const[m,y]of declarations2(A))m.startsWith("--")||o(m,y)||s(this,m,y,"cssText")}})}const f=new WeakMap,h=new WeakMap,p={get(v,x){const A=Reflect.get(v,x,v);if(typeof A!="function")return A;let m=h.get(v);m||(m=new Map,h.set(v,m));let y=m.get(x);return y||(y=A.bind(v),m.set(x,y)),y},set(v,x,A){if(typeof x!="string"||x in c||/^\d+$/.test(x)||!(x in v))return Reflect.set(v,x,A,v);const m=d(A),y=m===void 0?"":v.getPropertyValue(cssName(x)),E=Reflect.set(v,x,A,v);if(m===void 0)return E;const D=cssName(x);return v.getPropertyValue(D)!==y||o(D,m)||s(v,x,m,"property",typeof A=="number"),E}};for(const v of[HTMLElement.prototype,SVGElement.prototype]){const x=Object.getOwnPropertyDescriptor(v,"style");if(!x?.get)continue;const A=x;Object.defineProperty(v,"style",{...A,get(){const m=A.get?.call(this);u.set(m,this);let y=f.get(m);return y||(y=new Proxy(m,p),f.set(m,y)),y}})}const g=c.setProperty;return c.setProperty=function(v,x,A){const m=d(x);if(m===void 0||v.startsWith("--")){g.call(this,v,x,A);return}const y=this.getPropertyValue(v),E=this.getPropertyPriority(v);g.call(this,v,x,A),!(this.getPropertyValue(v)!==y||this.getPropertyPriority(v)!==E)&&(o(v,m)||s(this,v,m,"setProperty"))},installed3=a,a}function rejectedMessage(e,t){const r=(u,o)=>CSS.supports(u,o),i=e.via==="cssText"?`its cssText sets ${e.prop}: ${e.value}`:e.via==="setProperty"?`setProperty("${e.prop}", ${JSON.stringify(e.value)})`:`${/^[a-z]+$/i.test(e.prop)?e.prop:JSON.stringify(e.prop)} = ${e.number?e.value:JSON.stringify(e.value)}`;return`Part ${e.part} sets ${i}${t}, which the browser ignores: this style does not apply. ${styleHint(e,r)}`}var hex22=e=>e.toString(16).padStart(2,"0");function createStage(e,t){const{options:r,embed:i}=e,u=r.purpose==="check"&&!i,o=u?watchStyles():void 0,a=u?watchPictures(t):void 0,s=[],d=pictureWaiter(t,v=>{s.some(x=>x.el===v.el&&x.src===v.src)||s.push(v)}),c=new Set,l=v=>!t.contains(v.target)&&!(v.target instanceof HTMLElement&&v.target.dataset.akHolder===""),f=u?new MutationObserver(v=>{for(const x of v)l(x)&&c.add(x.target.nodeName.toLowerCase())}):void 0;let h=!1;const p=v=>{const x=document.createElement("div");x.style.color=v,t.append(x);const A=getComputedStyle(x).color;x.remove();const m=document.createElement("canvas");m.width=1,m.height=1;const y=m.getContext("2d",{willReadFrequently:!0});if(!y)return"#000000";y.fillStyle=A,y.fillRect(0,0,1,1);const[E=0,D=0,b=0,_=255]=y.getImageData(0,0,1,1).data;return`#${hex22(E)}${hex22(D)}${hex22(b)}${_===255?"":hex22(_)}`},g=()=>{f?.takeRecords().forEach(v=>{l(v)&&c.add(v.target.nodeName.toLowerCase())})};return{el:t,styles:o,picturesDrawn:d,get clear(){return h},async sweep(){await a?.sweep()},cssColor:p,takeOutside:g,dress(v){const{dims:x,look:A}=v;h=r.purpose==="render"&&!i||v.options.transparent===!0,t.replaceChildren(),addLayerRule(t.ownerDocument),t.dataset.format=v.format,e.lang!==void 0&&(t.lang=e.lang),Object.assign(t.style,{position:"relative",width:`${String(x.width)}px`,height:`${String(x.height)}px`,overflow:"hidden",background:h?"transparent":"var(--ak-color-bg)",color:"var(--ak-color-fg)",fontFamily:"var(--ak-font-body)"});for(const[E,D]of Object.entries(lookCss(A)))t.style.setProperty(E,D);const y=v.options.transparent===!0?"transparent":p("var(--ak-color-bg)");return h&&r.purpose!=="play"&&!i&&(document.documentElement.style.background="transparent",document.body.style.background="transparent"),f?.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),y},problems(v){g();const x=[...c].map(E=>problem("AK-R003",`Piece code changed <${E}> outside the stage. Draw only inside each layer's own element.`)),A=(o?.rejected()??[]).map(E=>{const D=E.el&&t.contains(E.el)?selectorOf(E.el,t):void 0;return problem("AK-R004",rejectedMessage(E,D?` on ${D}`:""),{part:E.part,...D?{where:{selector:D}}:{}})}),m=a?.broken()??[],y=[...m,...s.filter(E=>!m.some(D=>D.el===E.el&&D.src===E.src))].map(E=>{const D=v.find(F=>F.el.contains(E.el)),b=D?.layers.find(F=>F.el.contains(E.el)),_=t.contains(E.el)?selectorOf(E.el,t):void 0,w=b?`${b.spec.component} (layer ${String(b.index+1)}) in part ${D?.part.key??""}`:D?`Part ${D.part.key}`:"The stage",B=E.via==="img"?`<img src="${E.src}">`:`a background image, url("${E.src}")`;return problem("AK-A005",`${w} draws a picture that does not load: ${B}. ${pictureHint(E.src)}`,{...D?{part:D.part.key}:{},..._?{where:{selector:_}}:{}})});return[...x,...A,...y]},dispose(){f?.disconnect(),t.replaceChildren()}}}var SAYING_MARGIN=.1;function levelsOf(e){return e.envelope===void 0?void 0:envelopeFrames(e.envelope)}function stretch(e,t,r,i){const u=t[r]??{text:"",start:0,end:0},o=t[i]??u,a=u.start,s=Math.max(.05,o.end-u.start),d=c=>Math.round(c*1e3)/1e3;return{from:d(a),dur:d(s),...speechPads(t,r,i,e.duration,levelsOf(e)),words:t.slice(r,i+1).map(c=>({text:c.text,start:d(c.start-a),end:d(c.end-a)}))}}var quoted=e=>e.map(t=>`"${t}"`).join(", ");function resolveSpeech(e,t,r,i){const u=resolveAsRecorded(e,t,r,i),o=e.tempo??1;return o===1?u:atSpeed(u,o)}var round36=e=>Math.round(e*1e3)/1e3;function atSpeed(e,t){const r=e.speech;return{...e,...e.estimate===void 0?{}:{estimate:e.estimate/t},...r?{speech:{...r,dur:round36(r.dur/t),padIn:r.padIn/t,padOut:r.padOut/t,words:r.words.map(i=>({...i,start:round36(i.start/t),end:round36(i.end/t)})),speed:t}}:{}}}function resolveAsRecorded(e,t,r,i){const u={part:t,where:{file:r.file}};if(e.kind==="say"){const O=r.log.spokenOf(e.text),k=O?.speak??e.text,j=e.tool??DEFAULT_VOICE_TOOL,T=sayStem({text:k,voice:e.voice,tool:j,params:e.params}),I=mediaByStem(r.media,T),M={shown:e.text,...O?{speechKey:O.key}:{},...O?.anchors?{anchors:O.anchors}:{}},P={part:t,text:k,...e.voice===void 0?{}:{voice:e.voice},tool:j,...e.params===void 0?{}:{params:e.params},stem:T,...I?{file:I.path}:{}};if(!I)return r.log.missing(T),i.push(problem("AK-T002",`Part ${t} says "${k.length>80?`${k.slice(0,80)}…`:k}" with ${j}${e.voice===void 0?"":` (voice ${e.voice})`}, and there is no file for it yet (${T}.*). Run allyhub voice in the project: it makes one file per say, after you tell the person the price. A changed text, voice, tool or params needs a new file.`,u)),{estimate:estimateSpeech(k),say:P,script:k,...M};const R=r.log.mediaAt(I.path)??I,N=R.words??[];return N.length===0?(i.push(problem("AK-T001",`The say file ${R.path} of part ${t} has no word times beside it. Make it again with allyhub voice, or write them with allyhub words ${R.path}.`,u)),{estimate:R.duration??estimateSpeech(k),say:P,script:k,...M}):{speech:{media:R,...stretch(R,N,0,N.length-1),script:k,...M},say:P,...M}}const o=e.line===void 0?void 0:r.log.spokenOf(e.line),a=e.line===void 0?{}:{shown:e.line,...o?{speechKey:o.key}:{},...o?.anchors?{anchors:o.anchors}:{}},s=e.line===void 0?void 0:o?.speak??e.line,d=r.mediaOf(e.file,e.fileBase),c=()=>({estimate:s!==void 0?estimateSpeech(s):d.duration??4,...s===void 0?{}:{script:s},...a});if(d.sha256==="")return c();if(d.kind!=="audio"&&d.kind!=="video")return i.push(problem("AK-A003",`The take ${d.path} of part ${t} is not audio or video.`,u)),c();const l=d.gen?.input?.text;s!==void 0&&typeof l=="string"&&!normText(l).includes(normText(s))&&i.push(problem("AK-T007",`Part ${t} says "${s.length>80?`${s.slice(0,80)}…`:s}", but its voice ${d.path} was made from other words (its record ${d.gen?.record??""} has the text). Make the voice again from the lines as they are now, or change the line back; a word the voice was given in another spelling is written <shown|said> in the line.`,u));const f=d.words??[];if(f.length===0)return i.push(problem("AK-T001",`The take ${d.path} of part ${t} has no word times beside it (${d.path.replace(/\.[^./]+$/,"")}.words.json). Run allyhub words ${d.path} to write them.`,u)),c();let h,p;if(e.editsFile!==void 0){const O=r.log.optionalData(e.editsFile,e.editsBase),k=O.full??e.editsFile;if(O.found&&(p=k),!O.found)i.push(problem("AK-T005",`The edits file ${k} of part ${t} is not there (named "${e.editsFile}" in ${r.log.baseOf(e.editsBase)}), so its take would play uncut. Write it (the preview's transcript writes it at the first word struck; { "remove": [] } removes nothing), or fix the path: it is relative to the file that names it.`,{part:t,where:{file:r.log.baseOf(e.editsBase)}}));else if(O.error!==void 0)i.push(problem("AK-T005",`The edits file ${k} of part ${t} is not valid JSON: ${O.error}`,{part:t,where:{file:k}}));else{const j=parseEditList(O.value);typeof j=="string"?i.push(problem("AK-T005",`The edits file ${k} of part ${t} does not match the format: ${j}.`,{part:t,where:{file:k}})):h=j}}const g=new WordStream(f),{cut:v}=removedWords(f,h,g),x=new WordView(f,v),A=v.size>0?new WordView(f):x,m=f.length-1,y=O=>x.index.filter(k=>k>=O).map(k=>f[k]??{text:"",start:0,end:0}),E=(O,k)=>{const j=[];for(let T=O;T<=k;T++){if(!v.has(T))continue;let I=T;for(;I+1<=k&&v.has(I+1);)I++;const M=joinWords(f.slice(T,I+1));j.push(`#${String(T)}${I>T?`–#${String(I)}`:""} ("${M.length>60?`${M.slice(0,60)}…`:M}")`),T=I}return j},D=(O,k)=>v.size>0?A.span(normText(O),k,m):void 0,b=p??"the edits file";let _=0,w=m,B;if(e.from!==void 0){const O=x.span(normText(e.from),0,m);if(!O){const k=D(e.from,0),j=nearestPhrases(y(0),e.from);return i.push(k?problem("AK-T006",`The range of part ${t} starts at "${e.from}", which ${d.path} says only in words its edits remove: ${E(k.first,k.last).join(", ")}. Start the range at words the cut keeps${j.length?` (nearest: ${quoted(j)})`:""}, or keep those words in ${b}.`,u):problem("AK-T003",`The range of part ${t} starts at "${e.from}", which ${d.path} does not say.${j.length?` Nearest: ${quoted(j)}.`:""}`,u)),c()}if(_=O.first,w=m,e.to!==void 0){const k=x.span(normText(e.to),O.first,m);if(!k){const j=D(e.to,O.first),T=nearestPhrases(y(O.first),e.to);return i.push(j?problem("AK-T006",`The range of part ${t} ends at "${e.to}", which ${d.path} says after "${e.from}" only in words its edits remove: ${E(j.first,j.last).join(", ")}. End the range at words the cut keeps${T.length?` (nearest: ${quoted(T)})`:""}, or keep those words in ${b}.`,u):problem("AK-T003",`The range of part ${t} ends at "${e.to}", which ${d.path} does not say after "${e.from}".${T.length?` Nearest: ${quoted(T)}.`:""}`,u)),c()}w=Math.max(k.last,O.first)}}else if(s!==void 0){const O=r.cursor.get(d.path)??0;let k=x.findLine(s,O),j=O;if((!k||k.score<LINE_FOUND)&&O>0){const M=x.findLine(s,0);M&&M.score>=LINE_FOUND&&(k=M,j=0)}const T=s.length>80?`${s.slice(0,80)}…`:s,I=M=>`${String(Math.round(M*100))} %`;if(v.size>0){const M=A.findLine(s,j),P=M?E(M.first,M.last):[];M&&M.score>=LINE_FOUND&&P.length>0&&M.score-(k?.score??0)>=SAYING_MARGIN&&i.push(problem("AK-T006",`Part ${t} is saying "${T}"${o?` (${o.key})`:""}, which ${d.path} says at #${String(M.first)}–#${String(M.last)} (${I(M.score)} of the line), but its edits remove ${P.join(", ")} there. Among the words the cut keeps, ${k?`#${String(k.first)}–#${String(k.last)} match ${I(k.score)} of it`:"it is not found"}. Make the line what the cut keeps, or keep those words in ${b}.`,u))}if(!k||k.score<LINE_FOUND)return i.push(problem("AK-T003",`Part ${t} is saying "${T}", which ${d.path} does not say${v.size>0?" in the words its edits keep":""}${k?` (the closest stretch, #${String(k.first)}–#${String(k.last)}, matches ${I(k.score)} of it)`:""}. Check that the line and the recording are the same script${o?` (${o.key})`:""}.`,u)),c();_=k.first,w=k.last,B={score:Math.round(k.score*100)/100,from:j}}r.cursor.set(d.path,w+1);const F=e.denoiseDb!==void 0&&e.denoiseDb>0?{denoise:e.denoiseDb}:{},L={span:[_,w],...B?{match:B}:{},...p===void 0?{}:{edits:p}};if(h){const O=applyEdits(f,h,_,w,{levels:levelsOf(d),fps:r.fps});for(const N of O.lost)i.push(problem("AK-T005",`An edit in ${b} removes words ${String(N.from)}–${String(N.to)}${N.text===void 0?"":` ("${N.text}")`}, which ${d.path} no longer says. Remove that edit, or strike the words again in the transcript.`,{part:t,where:{file:b}}));const k=O.kept[0],j=O.kept.at(-1),T=O.ranges[0];if(k===void 0||j===void 0||!T)return i.push(problem("AK-T005",`The edits in ${b} remove every word part ${t} says.`,{part:t,where:{file:b}})),c();const I=stretch(d,f,k,j),M=O.ranges.at(-1)??T,P=T.from>(f[k]?.start??0)+1e-6,R=M.to<(f[j]?.end??0)-1e-6;return{speech:{media:d,...I,...P?{from:T.from,padIn:0}:{},...R?{padOut:0}:{},dur:Math.round(editedLength(O.ranges)*1e3)/1e3,words:O.words,...O.ranges.length>1?{ranges:O.ranges}:{},...L,...F,...s===void 0?{}:{script:s},...a},...a}}return{speech:{media:d,...stretch(d,f,_,w),...L,...F,...s===void 0?{}:{script:s},...a},...a}}var round66=e=>Math.round(e*1e6)/1e6,round37=e=>Math.round(e*1e3)/1e3,isFootage2=e=>e.__allyhubLayer==="footage";async function videoTake(e,t,r,i,u){const{source:o,ledger:a}=e,{fps:s}=t,d=i.layers.find(w=>isFootage2(w)&&w.file===void 0&&w.video===void 0),c=document.createElement("div"),l={from:0,to:0,part:i.key,start:0,partStart:0},f=camerasOf(d),h=d?.quality?.scale,p=await r.load(u.piece,c,{frame:!0,shown:l,...f?{cameras:f}:{},...h===void 0?{}:{sceneryScale:h}}),g=p.inner.timeline.duration,v=p.inner.words(),x=w=>cutOnFrame(w,s,v,g);let A=0,m=g;try{A=u.from===void 0?0:momentIn(p.inner,u.from),m=u.to===void 0?g:momentIn(p.inner,u.to)}catch(w){a.problems.push(problem("AK-T003",`Part ${i.key} plays a stretch of ${p.id}: ${messageOf(w)}`,{part:i.key,where:{file:o.file}}))}A=x(A),m=x(m),m-A>=1/s||(a.problems.push(problem("AK-T003",`Part ${i.key} plays ${p.id} from ${A.toFixed(3)} s to ${m.toFixed(3)} s, which is no stretch: its end comes after its start, within its ${g.toFixed(3)} s.`,{part:i.key,where:{file:o.file}})),A=0,m=g),l.from=A,l.to=m;const y=[],E=[],D=w=>{const B=Math.min(w.end,m)-Math.max(w.start,A),F=w.end-w.start;return F<=1e-9?w.start>=A-1e-6&&w.start<m:B>F/2+1e-9||Math.abs(B-F/2)<=1e-9&&w.start>=A-1e-6};for(const w of p.inner.words()){if(w.end<=A||w.start>=m)continue;for(const[F,$]of[["start",A],["end",m]])w.start<$-1e-6&&w.end>$+1e-6&&a.facts.push(fact("cut-in-word",{piece:o.piece,part:i.key},{source:p.id,side:F,at:round66($),word:w.text,wordStart:round66(w.start),wordEnd:round66(w.end)}));const B={...w,start:round66(Math.max(w.start,A)-A),end:round66(Math.min(w.end,m)-A)};y.push(B),D(w)&&E.push(B)}const b=[];for(const w of p.inner.timeline.parts)for(const B of w.anchors??[])B.at<A-1e-6||B.at>m+1e-6||b.some(F=>F.name===B.name)||b.push({name:B.name,at:round66(B.at-A),...B.end===void 0?{}:{end:round66(Math.min(B.end,m)-A)}});const _=[];for(const w of p.inner.lines()){const B=w.words.filter(D);if(B.length!==0)if(B.length===w.words.length)_.push({shown:w.shown,spoken:w.spoken});else{const F=joinWords(B);_.push({shown:F,spoken:F})}}return{...p,host:c,from:A,to:m,words:y,captionWords:E,line:{shown:_.map(w=>w.shown).join(" "),spoken:_.map(w=>w.spoken).join(" ")},anchors:b,shown:l}}async function findTakes(e,t,r,i){const{source:u,log:o,ledger:a}=e,{fps:s,defaults:d,dims:c}=t,l=[...r],f=new Map,h=l.map(D=>D.speech&&D.speech.kind!=="video"?resolveSpeech(D.speech,D.key,{log:o,media:u.media,mediaOf:e.mediaOf,file:u.file,cursor:f,fps:s},a.problems):{}),p=h.flatMap(D=>D.say?[D.say]:[]),g=[];for(const D of l){const b=D.speech;g.push(b?.kind==="video"?await videoTake(e,t,i,D,b):void 0)}for(const[D,b]of g.entries()){const _=g[D+1];if(!b||_?.id!==b.id||Math.abs(_.from-b.to)>1e-6)continue;const w=b.to-b.from;b.anchors=b.anchors.filter(B=>B.at<w-1e-6||!_.anchors.some(F=>F.name===B.name&&F.at<1e-6))}const v=new WeakMap;for(const[D,b]of l.entries()){const _=g[D];if(!_&&!b.layers.some(B=>isFootage2(B)&&B.video))continue;const w=[];for(const B of b.layers){if(!isFootage2(B)){w.push(B);continue}if(_&&B.file===void 0&&B.video===void 0){w.push(videoLayer(c,B,_,M=>_.from+M,{video:_.id,output:_.output,format:_.format,from:_.from,to:_.to}));continue}if(!B.video){w.push(B);continue}const F=document.createElement("div"),$={from:0,to:0,part:b.key,start:0,partStart:0},L=camerasOf(B),O=B.quality?.scale,k=await i.load(B.video,F,{shown:$,...L?{cameras:L}:{},...O===void 0?{}:{sceneryScale:O}});let j=0;try{j=B.from===void 0?0:momentIn(k.inner,B.from)}catch(M){a.problems.push(problem("AK-T003",`A footage of ${k.id} in part ${b.key}: ${messageOf(M)}`,{part:b.key,where:{file:u.file}}))}const T=B.speed??1,I=videoLayer(c,B,{...k,host:F},(M,P)=>j+(M-P.layer.start)*T,{video:k.id,output:k.output,format:k.format,from:j,speed:T});v.set(I,{inner:k.inner,from:j,speed:T,shown:$,...B.audio===!0?{audio:B.gainDb??0}:{}}),w.push(I)}l[D]={...b,layers:w}}const x=l.map((D,b)=>{const _=h[b]??{},w=_.speech,B=partAnchorList(D.anchors),F=g[b];if(F){const $=[...B,...F.anchors.filter(L=>!B.some(O=>O.name===L.name))];return{key:D.key,...$.length>0?{placed:$}:{},dur:F.to-F.from,lead:0,tail:0,words:F.words,speechDur:F.to-F.from}}return{key:D.key,...B.length>0?{placed:B}:{},dur:_.estimate??D.dur??d.dur,lead:D.lead??d.lead,tail:D.tail??d.tail,...!w&&_.estimate!==void 0?{pending:!0,..._.script===void 0?{}:{script:_.script},..._.anchors===void 0?{}:{anchors:_.anchors}}:{},...w?{words:w.words,speechDur:w.dur,...w.script===void 0?{}:{script:w.script},...w.anchors===void 0?{}:{anchors:w.anchors},...D.overlap?.before===void 0?{}:{before:D.overlap.before},...D.overlap?.after===void 0?{}:{after:D.overlap.after}}:{}}}),A=new Map,m=D=>{let b=A.get(D.path);if(!b){const _=D.envelope===void 0?void 0:envelopeFrames(D.envelope);b={levels:_,room:_?roomTone(_):void 0},A.set(D.path,b)}return b};let y;return{results:h,says:p,videoTakes:g,specs:l,shownBy:v,inputs:x,speechFor:(D,b)=>{const _=l[D],w=h[D]?.speech;if(!_||!w||b.speechAt===void 0)return y=void 0,{clips:[],room:[]};const B=[],F=[],$=b.speechAt-b.start,L=(_.overlap?.before??0)>0?Math.min(w.padIn,.12,Math.max(0,b.speechAt)):Math.min(w.padIn,Math.max(0,$)),O=(_.overlap?.after??0)>0?Math.min(w.padOut,.2):Math.min(w.padOut,Math.max(0,b.end-b.speechAt-w.dur)),k=round37,j=b.speechAt,T=w.speed??1,I=T===1?{}:{speed:T},M={start:k(j-L),end:k(j+w.dur+O),file:w.media.path,from:k(w.from-L*T),...I,...w.edits===void 0?{}:{edits:w.edits},...w.span?{words:w.span}:{},heard:joinWords(w.words),...w.match?{match:w.match}:{}},P=w.denoise===void 0?{}:{denoise:w.denoise},R=_.speech?.kind==="take"?_.speech.room:void 0,N=R===!1?void 0:R,W=m(w.media),U=R===!1?void 0:N?.from!==void 0&&N.to!==void 0&&N.to>N.from?{from:N.from,to:N.to}:W.room,Y=Math.max(0,N?.fade??ROOM_MATCH.fade),ae=ye=>ye>=.01?Math.min(Y,ye):0,re=(ye,X,H,Q,ee)=>{const ce=y;if(y=void 0,!U||H-X<=.02)return 0;const Ae=U.to-U.from,pe=Math.min(ae(Q),(H-X)/2),ge=Math.min(Y,Ae/4),ve=ye==="lead"&&ce?.clip.file===w.media.path&&Math.abs(ce.end-X)<1e-6,Ce=ce&&ve?Math.min(ge,ce.clip.dur/2):0;ce&&Ce>0&&(ce.clip.fadeOut=k(Ce));const ne=ye==="tail"?X-pe:X-Ce,S=ye==="lead"?H+pe:H,Z=[];for(let ue=ne;S-ue>.02;ue+=Ae-ge)Z.push(ue);const q=Math.min(Ae,S-(Z.at(-1)??ne)),K=ue=>Math.min(ROOM_MATCH.near,ue),G=ye==="tail"?{from:U.from,to:U.from+K(Math.min(Ae,S-ne))}:{from:U.from+q-K(q),to:U.from+q},J=matchRoom(W.levels,G,ee,N?.limitDb),te=N?.gainDb!==void 0?{level:J.level,floor:J.floor,gainDb:N.gainDb,from:"given"}:N?.match===!1?{level:J.level,floor:J.floor,gainDb:0,from:"off"}:J,de=ye==="tail"?pe:Ce,be=ye==="lead"?pe:0,fe=Z.map((ue,$e)=>{const De=$e===0?de:ge,ke=$e===Z.length-1?be:ge;return{file:w.media.path,part:_.key,at:k(ue),from:U.from,dur:k(Math.min(Ae,S-ue)),...P,...te.gainDb===0?{}:{gainDb:te.gainDb},...De>0?{fadeIn:k(De)}:{},...ke>0?{fadeOut:k(ke)}:{},tone:{part:_.key,side:ye,join:k(ye==="lead"?H:X),pad:k(Q),...te,fade:k(pe)}}}),me=fe.at(-1);return me?(F.push(...fe),ye==="tail"&&(y={clip:me,end:H}),pe):0},ie=w.ranges?.at(-1)?.to??w.from+w.dur*T;let se=0;(_.overlap?.before??0)<=0?se=re("lead",b.start,M.start,L,{from:M.from,to:M.from+Math.min(L*T,ROOM_MATCH.near)}):y=void 0;const we=w.ranges;if(we&&we.length>1){const ye=[];let X=0;we.forEach((H,Q)=>{const ee=Q===0,ce=Q===we.length-1,Ae=ee?M.start:k(j+X),pe=ee?k(H.from-L*T):H.from,ge=(H.to-H.from)/T+(ee?L:0)+(ce?O:0);ye.push({at:Ae,from:pe}),B.push({file:w.media.path,part:_.key,at:Ae,from:pe,dur:k(ge),...I,...P}),X+=(H.to-H.from)/T}),M.cuts=ye}else B.push({file:M.file,part:_.key,at:M.start,from:M.from,dur:k(M.end-M.start),...I,...P});const xe=(_.overlap?.after??0)<=0?re("tail",M.end,b.end,O,{from:ie+O*T-Math.min(O*T,ROOM_MATCH.near),to:ie+O*T}):0,oe=B[0],he=B.at(-1);return oe&&se>0&&(oe.fadeIn=k(se)),he&&xe>0&&(he.fadeOut=k(xe)),{speech:M,clips:B,room:F}}}}function timelineTransitions(e,t,r,i,u,o){const{fps:a,options:s}=e,d=[];for(const[c,l]of r){const f=u(c-1),h=u(c),p=i[c]?.transition;if(!f||!h||p===void 0)continue;const g=transitionSpec(p),v=Math.round(h.start*a),x=g.type==="dip"?g.color:g.type==="custom"?g.color?.value:void 0;d.push({part:h.key,from:f.key,type:g.type,start:(v-l.before)/a,at:h.start,end:(v+l.after)/a,ease:g.ease??transitionEase(g.type),keys:transitionKeys(g,{transparent:s.transparent===!0,background:o,...x===void 0?{}:{color:t.cssColor(x)}}),dur:g.dur??TRANSITION_DEFAULTS.dur,...g.type==="slide"||g.type==="push"||g.type==="wipe"?{direction:g.direction??TRANSITION_DEFAULTS.direction}:{},...g.type==="zoom"?{scale:g.scale??TRANSITION_DEFAULTS.scale}:{}})}return d}function transitionStage(e,t){const{fps:r,dims:i}=e,u=new Set;let o;return{place(a,s,d,c){const l=transitionState(a,Math.round(c*r),r);for(const[f,h,p,g]of[[s,l.out,"1","4"],[d,l.in,"3","5"]]){const v=pictureCss(h,i.width,i.height);f.overlays&&Object.assign(f.overlays.style,{transform:v.transform,opacity:v.opacity,clipPath:v.clipPath,zIndex:g}),Object.assign(f.picture.style,{transform:v.transform,opacity:v.opacity,clipPath:v.clipPath,zIndex:p,background:t.clear?"":"var(--ak-color-bg)",mixBlendMode:l.add&&f===d?"plus-lighter":""}),u.add(f)}l.color?(o||(o=document.createElement("div"),o.className="ak-transition-color",Object.assign(o.style,{position:"absolute",inset:"0",zIndex:"2",pointerEvents:"none"}),t.el.append(o)),Object.assign(o.style,{display:"block",background:l.color.value,opacity:String(Math.round(l.color.opacity*1e4)/1e4)})):o&&(o.style.display="none")},rest(a){if(u.delete(a))for(const s of[a.picture,a.overlays])s&&Object.assign(s.style,{transform:"",opacity:"",clipPath:"",zIndex:"",background:"",mixBlendMode:""})},hideVeil(){o&&(o.style.display="none")}}}async function load(e,t,r,i){const u=createEnv(e,t,i),o=createStage(u,r),a=await resolvePiece(u),s=o.dress(a),d=pieceContext(u,a),c=createEmbedder(u,o,load),l=await buildParts(u,a,d),f=await findTakes(u,a,l,c),h=musicClock(u,a),p=timeFilm(u,a,f,h),g=h.plan(p);p.checkLimit();const v=captionTrack(f,p,a.fps),x=newDrawState(),A=layerContexts(u,a,c,x,p),m=textReader(u,a,o,O=>withLayout(x,O)),y=footagePlanner(u,a,v,o.cssColor),E=soundPlanner(u,a),{parts:D,mounted:b,clips:_}=compose({env:u,piece:a,stage:o,takes:f,film:p,captions:v,footage:y,sound:E,contexts:A,texts:m}),w=timelineTransitions(a,o,p.windows,f.specs,O=>b.find(k=>k.n===O)?.part,s),B=E.audio(g,b.map(O=>O.spec)),F=await coverParts(a,d),$=new Clips(t.purpose==="play"?withHandles(_,D,w,a.fps):[],a.fps),L=createDrawer({env:u,piece:a,stage:o,mounted:b,transitions:w,transitionStage:transitionStage(a,o),duration:p.duration,clips:$,contexts:A,covers:F,state:x});return facade({env:u,piece:a,stage:o,mounted:b,parts:D,takes:f,captions:v,footage:y,cues:E.cues(),audio:B,transitions:w,duration:p.duration,words:O=>p.timing.words(O),timingProblems:p.timing.problems,background:s,embedder:c,drawer:L,measurer:measurer2({piece:a,stage:o,drawer:L,mounted:b,duration:p.duration,captions:v,footage:y}),notes:new Map})}var RESUME_WAIT_MS=400,fmt=e=>`${String(Math.floor(e/60))}:${String(Math.floor(e%60)).padStart(2,"0")}`;async function startPlayer(e){const{output:t,stage:r}=e,i=t.timeline,u=i.fps,o=i.duration,a=o-1/u,s=new AudioContext,d=e.media??{},c=e.seed??"",l=mixPlan(i,d,{seed:c}),f=async V=>{if(V)try{const le=await fetch(V);return le.ok?await s.decodeAudioData(await le.arrayBuffer()):void 0}catch{return}},h=(V,le)=>{const Be=d[V]?.denoisedUrl,_e=[...le.denoise?[`db=${le.denoise.toFixed(2)}`]:[],...le.speed===void 0?[]:[`speed=${le.speed.toFixed(6)}`],...le.filter===void 0?[]:[`filter=${encodeURIComponent(le.filter)}`]];return Be===void 0||_e.length===0?void 0:`${Be}?${_e.join("&")}`},p=new Map,g=new Map,v=[],x=decodings(l);for(const{file:V,how:le}of x){const Be=h(V,le);if(Be){const _e=await f(`${Be}&wait=0`);_e?g.set(decodeKey(V,le),_e):v.push({key:decodeKey(V,le),url:Be})}}for(const{file:V,how:le}of x)p.has(V)||g.has(decodeKey(V,le))||p.set(V,await f(d[V]?.url));const A=V=>{const le=V.getChannelData(0);return[le,V.numberOfChannels>1?V.getChannelData(1):le]},m=(V,le)=>{const Be=g.get(decodeKey(V,le));if(Be)return{src:A(Be),made:le};const _e=p.get(V);return _e?{src:A(_e),made:{}}:void 0},y=i.audio.master??{...MASTER_DEFAULTS};let E;const D=()=>{const V=previewMaster(renderMix(l,m,s.sampleRate),s.sampleRate,y);if(!V){E=void 0;return}const[le,Be]=V,_e=s.createBuffer(2,Math.max(1,le.length),s.sampleRate);_e.getChannelData(0).set(le),_e.getChannelData(1).set(Be),E=_e};D();const b=subtitleCues({lines:t.lines(),fps:i.fps},t.captionOptions()??void 0);let _=!1,w=Math.min(Math.max(e.start??i.parts[0]?.still??0,0),a),B=0,F=0,$=0,L=0,O=[],k=[],j=!1,T={ctx:0,real:0};const I=()=>_?j?B+(s.currentTime-F):B+(realNow()-$)/1e3:w,M=()=>{if(!j)return;const V=realNow();if(s.currentTime!==T.ctx)T={ctx:s.currentTime,real:V};else if(V-T.real>300){const le=I();j=!1,B=le,$=V}},P=e.chrome!==!1,R="#141210",N="#ece6da",W="#a39a8b",U='ui-monospace,"SF Mono",Menlo,monospace';document.documentElement.style.background=R,document.body.style.cssText=`margin:0;background:${R};overflow:hidden;font:13px/1 system-ui,-apple-system,"PingFang SC","Noto Sans SC",sans-serif;color:${N}`;const Y=document.createElement("div");Y.style.cssText=`position:fixed;left:0;right:0;top:0;bottom:${P?"48px":"0"};overflow:hidden;cursor:pointer`,r.parentElement?.insertBefore(Y,r),Y.append(r),r.style.position="absolute",r.style.transformOrigin="0 0";const ae=document.createElement("div");ae.style.cssText=`position:fixed;left:0;right:0;bottom:0;height:48px;display:flex;align-items:center;gap:12px;padding:0 10px;background:${R};border-top:1px solid #2a2622`;const re=document.createElement("button");re.style.cssText=`width:32px;height:32px;border:0;border-radius:4px;background:${N};color:${R};cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none`,re.setAttribute("aria-label","play");const ie=document.createElement("input");ie.type="range",ie.min="0",ie.max=String(Math.round(o*u)),ie.step="1",ie.style.cssText=`flex:1;min-width:0;accent-color:${N};cursor:pointer`;const se=document.createElement("span");se.style.cssText=`font:12px/1 ${U};font-variant-numeric:tabular-nums;min-width:86px;text-align:right;color:${W}`;const we=`height:28px;padding:0 9px;border:1px solid #3a352e;border-radius:4px;background:transparent;color:${N};font:12px/1 ${U};cursor:pointer;flex:none`,xe=document.createElement("button");xe.textContent="CC",xe.style.cssText=we,xe.setAttribute("aria-label","captions"),xe.setAttribute("aria-pressed","false");const oe=document.createElement("button");oe.textContent="Pages",oe.style.cssText=we,oe.setAttribute("aria-label","page by page"),oe.setAttribute("aria-pressed","false"),ae.setAttribute("role","toolbar"),ie.setAttribute("aria-label","seek"),ae.append(re,ie,se,oe),b.length&&ae.append(xe),P&&document.body.append(ae);const he=()=>{const V=Math.min(Y.clientWidth/i.width,Y.clientHeight/i.height);r.style.transform=`scale(${String(V)})`,r.style.left=`${String((Y.clientWidth-i.width*V)/2)}px`,r.style.top=`${String((Y.clientHeight-i.height*V)/2)}px`},ye=i.width,X=i.height,H=Math.min(ye,X)/1080,Q=document.createElement("div");Q.style.cssText=`position:absolute;left:0;top:0;width:${String(ye)}px;height:${String(X)}px;transform-origin:0 0;pointer-events:none`;const ee=document.createElement("div");ee.setAttribute("role","status"),ee.setAttribute("aria-live","polite"),ee.style.cssText=`position:absolute;left:50%;transform:translateX(-50%);bottom:${String((X>ye?.2:.08)*X)}px;max-width:${String(ye*.84)}px;padding:${String(10*H)}px ${String(22*H)}px;border-radius:${String(12*H)}px;background:rgba(0,0,0,.66);color:#fff;font:600 ${String(44*H)}px/1.3 system-ui,-apple-system,"PingFang SC","Noto Sans SC",sans-serif;text-align:center;display:none`,Q.append(ee),Y.append(Q);let ce=!1;const Ae=V=>{const le=ce?b.find(Be=>V>=Be.start&&V<Be.end):void 0;le?(ee.textContent!==le.text&&(ee.textContent=le.text),ee.style.display="block"):ee.style.display="none"},pe=()=>{he(),Q.style.transform=r.style.transform,Q.style.left=r.style.left,Q.style.top=r.style.top};new ResizeObserver(pe).observe(Y),pe();let ge=t.kind==="slides"?"page":"play",ve=0,Ce;const ne=V=>Math.max(0,i.parts.findIndex(le=>V>=le.start&&V<le.end));ge==="page"&&(ve=ne(w),oe.setAttribute("aria-pressed","true"),oe.textContent="Play all");let S=-1,Z=0,q=0;const K=V=>partOnScreen(i.parts,i.transitions,V,u),G=async(V,le=!1)=>{const Be=Math.min(Math.floor(V*u+1e-9),Math.round(a*u));(Be!==S||le)&&(S=Be,await t.seek(Be/u),ie.value=String(Be),ie.setAttribute("aria-valuetext",fmt(V)),se.textContent=`${fmt(V)} / ${fmt(o)}`),Ae(V);const _e=realNow();(le||_e-q>250)&&(q=_e,e.post?.({type:"time",t:V,part:K(V),playing:_,mode:ge}))},J={play:'<svg width="12" height="14" viewBox="0 0 12 14" aria-hidden="true"><path d="M1 1.2v11.6a.6.6 0 0 0 .9.5l9.6-5.8a.6.6 0 0 0 0-1L1.9.7a.6.6 0 0 0-.9.5Z" fill="currentColor"/></svg>',pause:'<svg width="12" height="14" viewBox="0 0 12 14" aria-hidden="true"><rect x="1" y="1" width="3.5" height="12" rx=".6" fill="currentColor"/><rect x="7.5" y="1" width="3.5" height="12" rx=".6" fill="currentColor"/></svg>'},te=()=>{re.innerHTML=_?J.pause:J.play,re.setAttribute("aria-label",_?"pause":"play")},de=()=>{for(const V of O)try{V.stop()}catch{}O=[];for(const V of k)V.disconnect();k=[]},be=V=>F+Math.max(0,V-B);function fe(){if(!E||B>=E.duration)return;const V=s.createGain();V.connect(s.destination),k.push(V);const le=s.createBufferSource();le.buffer=E,le.connect(V),O.push(le),le.start(be(B),B)}function me(V=I()){L++,_=!1,t.setPlaying(!1),w=Math.min(Math.max(V,0),a),de(),te(),G(w,!0)}async function ue(){const V=++L;if(w>=a&&(w=0),await Promise.race([s.resume().catch(()=>{}),new Promise(Be=>{realTimeout(Be,RESUME_WAIT_MS)})]),V!==L)return;B=w,F=s.currentTime+.05,$=realNow()+50,j=E!==void 0&&s.state==="running",!j&&b.length&&!De&&ke(!0),T={ctx:s.currentTime,real:realNow()},_=!0,t.setPlaying(!0),te(),fe();const le=()=>{if(Z++,!_||V!==L)return;M();const Be=I();if(Be>=a){me(a);return}if(Ce!==void 0&&Be>=Ce){const _e=i.parts[ve]?.still??Ce;Ce=void 0,me(_e);return}G(Be),realRaf(le)};realRaf(le)}function $e(V){const le=_;Ce=void 0,me(V),le&&ue()}let De=!1;function ke(V){ce=V&&b.length>0,xe.setAttribute("aria-pressed",String(ce)),xe.style.background=ce?N:"transparent",xe.style.color=ce?R:N,Ae(I())}function Se(V){ge=V,oe.setAttribute("aria-pressed",String(V==="page")),oe.textContent=V==="page"?"Play all":"Pages",Ce=void 0,V==="page"?je(ne(I())):G(I(),!0)}function je(V){ve=Math.min(Math.max(V,0),i.parts.length-1),Ce=void 0,me(i.parts[ve]?.still??0)}function Ee(){if(_){Ce=void 0,me();return}if(ge==="page"){const V=i.parts[ve];V&&(w=V.start,Ce=V.end-1/u)}ue()}return re.addEventListener("click",V=>{V.stopPropagation(),Ee()}),Y.addEventListener("click",Ee),ie.addEventListener("input",()=>{$e(Number(ie.value)/u),ge==="page"&&(ve=ne(Number(ie.value)/u))}),xe.addEventListener("click",V=>{V.stopPropagation(),De=!0,ke(!ce)}),oe.addEventListener("click",V=>{V.stopPropagation(),Se(ge==="page"?"play":"page")}),addEventListener("keydown",V=>{if(!(V.metaKey||V.ctrlKey||V.altKey)){if(V.key===" "||V.key==="k")Ee();else if(V.key==="ArrowRight")ge==="page"?je(ve+1):$e(I()+5);else if(V.key==="ArrowLeft")ge==="page"?je(ve-1):$e(I()-5);else if(V.key==="c"&&b.length)De=!0,ke(!ce);else if(V.key==="f")document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen().catch(()=>{});else return;V.preventDefault()}}),te(),await G(w,!0),e.post?.({type:"ready",duration:o,parts:i.parts}),v.length>0&&(e.post?.({type:"sound",denoising:!0}),Promise.all(v.map(async({key:V,url:le})=>{const Be=await f(le);if(!Be||(g.set(V,Be),D(),!_))return;const _e=I();de(),B=_e,F=s.currentTime,$=realNow(),fe()})).then(()=>{e.post?.({type:"sound",denoising:!1})})),{command(V){if(V.type==="play"){if(!_){if(ge==="page"){const le=i.parts[ve];le&&(Ce=le.end-1/u)}ue()}}else V.type==="pause"?me():V.type==="seek"&&Number.isFinite(V.t)?($e(V.t),ge==="page"&&(ve=ne(V.t))):V.type==="mode"?Se(V.mode):V.type==="next"?je(ve+1):V.type==="prev"?je(ve-1):V.type==="captions"&&(De=!0,ke(V.on))},now:I,state:()=>({playing:_,audioClock:j,audio:s.state,t:I(),frame:S,ticks:Z,generation:L,sounds:O.length,sfx:l.sfx.length,mode:ge,page:ve,captions:ce,caption:ee.style.display==="none"?"":ee.textContent,cues:b.length})}}var MOST=3,MOST_TEXT=120,area2=e=>e.width*e.height;function ownText(e){return[...e.childNodes].filter(t=>t.nodeType===Node.TEXT_NODE).map(t=>t.textContent).join("").trim()}function locateLayers(e,t){const r=o=>o.width>0&&o.height>0&&touches(t,o),i=[],u=[];for(const o of e.querySelectorAll(".ak-layer")){if(!o.checkVisibility({opacityProperty:!0,visibilityProperty:!0})||!r(o.getBoundingClientRect()))continue;const s={part:o.closest(".ak-part")?.dataset.key??"",layer:o.dataset.component??""};let d;for(const f of[o,...o.querySelectorAll("*")]){const h=f.getBoundingClientRect();!r(h)||ownText(f)===""&&!f.hasAttribute("data-ak")||(!d||area2(h)<area2(d.getBoundingClientRect()))&&(d=f)}if(!d){u.push(s);continue}const c=d.closest("[data-ak]")?.getAttribute("data-ak"),l=ownText(d).slice(0,MOST_TEXT);i.push({...s,...c?{name:c}:{},...l===""?{}:{text:l}})}return[...i,...u].slice(0,MOST)}var EmuLength=class extends Number{get emu(){return this.valueOf()}get inches(){return this.valueOf()/EMU_PER_INCH}get cm(){return this.valueOf()/EMU_PER_CM}get mm(){return this.valueOf()/EMU_PER_MM}get pt(){return this.valueOf()/EMU_PER_PT}get centipoints(){return Math.trunc(this.valueOf()/EMU_PER_CENTIPOINT)}get twips(){return Math.trunc(this.valueOf()/(EMU_PER_PT/20))}},LENGTHS=new Map;function length(e){const t=Math.trunc(e);let r=LENGTHS.get(t);return r||(r=new EmuLength(t),LENGTHS.set(t,r)),r}var lengthOr=e=>e===void 0?void 0:length(e),held2=e=>e instanceof Number||e instanceof String?e.valueOf():e,EMU_PER_INCH=914400,EMU_PER_PT=12700,EMU_PER_CM=36e4,EMU_PER_MM=36e3,EMU_PER_CENTIPOINT=127,Emu2=e=>Math.trunc(e),Inches=e=>Math.trunc(e*EMU_PER_INCH),Pt=e=>Math.trunc(e*EMU_PER_PT),Mm=e=>Math.trunc(e*EMU_PER_MM),SLIDE_SIZES={"16:9":[Emu2(12192e3),Emu2(6858e3)],"16:10":[Emu2(9144e3),Emu2(5715e3)],"4:3":[Emu2(9144e3),Emu2(6858e3)],a4:[Mm(297),Mm(210)],"a4-portrait":[Mm(210),Mm(297)],letter:[Inches(11),Inches(8.5)],"letter-portrait":[Inches(8.5),Inches(11)],"1:1":[Emu2(6858e3),Emu2(6858e3)],"4:5":[Emu2(6858e3),Emu2(8572500)],"9:16":[Emu2(6858e3),Emu2(12192e3)]};function runLang(e,t){return/[\p{Script=Hiragana}\p{Script=Katakana}]/u.test(e)?"ja-JP":/\p{Script=Hangul}/u.test(e)?"ko-KR":t}var HINT="allyhub slides capabilities lists what of python-pptx the API holds and where it differs.";function strict2(e,t,r={}){return strict(e,t,HINT,{value:held2,...r})}function strictEnum2(e,t){return strictEnum(e,t,HINT)}var MSO_THEME_COLOR=strictEnum2("MSO_THEME_COLOR",{DARK_1:"dk1",LIGHT_1:"lt1",DARK_2:"dk2",LIGHT_2:"lt2",ACCENT_1:"accent1",ACCENT_2:"accent2",ACCENT_3:"accent3",ACCENT_4:"accent4",ACCENT_5:"accent5",ACCENT_6:"accent6",HYPERLINK:"hlink",FOLLOWED_HYPERLINK:"folHlink",TEXT_1:"dk1",BACKGROUND_1:"lt1",TEXT_2:"dk2",BACKGROUND_2:"lt2"}),PP_ALIGN=strictEnum2("PP_ALIGN",{LEFT:"l",CENTER:"ctr",RIGHT:"r",JUSTIFY:"just"}),MSO_ANCHOR=strictEnum2("MSO_ANCHOR",{TOP:"t",MIDDLE:"ctr",BOTTOM:"b"}),MSO_AUTO_SIZE=strictEnum2("MSO_AUTO_SIZE",{NONE:"none",SHAPE_TO_FIT_TEXT:"shape",TEXT_TO_FIT_SHAPE:"text"}),PP_PLACEHOLDER=strictEnum2("PP_PLACEHOLDER",{TITLE:"title",CENTER_TITLE:"ctrTitle",SUBTITLE:"subTitle",BODY:"body",PICTURE:"pic",MEDIA_CLIP:"media",OBJECT:"obj",DATE:"dt",FOOTER:"ftr",SLIDE_NUMBER:"sldNum"}),MSO_SHAPE=strictEnum2("MSO_SHAPE",{ACTION_BUTTON_BACK_OR_PREVIOUS:"actionButtonBackPrevious",ACTION_BUTTON_BEGINNING:"actionButtonBeginning",ACTION_BUTTON_CUSTOM:"actionButtonBlank",ACTION_BUTTON_DOCUMENT:"actionButtonDocument",ACTION_BUTTON_END:"actionButtonEnd",ACTION_BUTTON_FORWARD_OR_NEXT:"actionButtonForwardNext",ACTION_BUTTON_HELP:"actionButtonHelp",ACTION_BUTTON_HOME:"actionButtonHome",ACTION_BUTTON_INFORMATION:"actionButtonInformation",ACTION_BUTTON_MOVIE:"actionButtonMovie",ACTION_BUTTON_RETURN:"actionButtonReturn",ACTION_BUTTON_SOUND:"actionButtonSound",ARC:"arc",BALLOON:"wedgeRoundRectCallout",BENT_ARROW:"bentArrow",BENT_UP_ARROW:"bentUpArrow",BEVEL:"bevel",BLOCK_ARC:"blockArc",CAN:"can",CHART_PLUS:"chartPlus",CHART_STAR:"chartStar",CHART_X:"chartX",CHEVRON:"chevron",CHORD:"chord",CIRCULAR_ARROW:"circularArrow",CLOUD:"cloud",CLOUD_CALLOUT:"cloudCallout",CORNER:"corner",CORNER_TABS:"cornerTabs",CROSS:"plus",CUBE:"cube",CURVED_DOWN_ARROW:"curvedDownArrow",CURVED_DOWN_RIBBON:"ellipseRibbon",CURVED_LEFT_ARROW:"curvedLeftArrow",CURVED_RIGHT_ARROW:"curvedRightArrow",CURVED_UP_ARROW:"curvedUpArrow",CURVED_UP_RIBBON:"ellipseRibbon2",DECAGON:"decagon",DIAGONAL_STRIPE:"diagStripe",DIAMOND:"diamond",DODECAGON:"dodecagon",DONUT:"donut",DOUBLE_BRACE:"bracePair",DOUBLE_BRACKET:"bracketPair",DOUBLE_WAVE:"doubleWave",DOWN_ARROW:"downArrow",DOWN_ARROW_CALLOUT:"downArrowCallout",DOWN_RIBBON:"ribbon",EXPLOSION1:"irregularSeal1",EXPLOSION2:"irregularSeal2",FLOWCHART_ALTERNATE_PROCESS:"flowChartAlternateProcess",FLOWCHART_CARD:"flowChartPunchedCard",FLOWCHART_COLLATE:"flowChartCollate",FLOWCHART_CONNECTOR:"flowChartConnector",FLOWCHART_DATA:"flowChartInputOutput",FLOWCHART_DECISION:"flowChartDecision",FLOWCHART_DELAY:"flowChartDelay",FLOWCHART_DIRECT_ACCESS_STORAGE:"flowChartMagneticDrum",FLOWCHART_DISPLAY:"flowChartDisplay",FLOWCHART_DOCUMENT:"flowChartDocument",FLOWCHART_EXTRACT:"flowChartExtract",FLOWCHART_INTERNAL_STORAGE:"flowChartInternalStorage",FLOWCHART_MAGNETIC_DISK:"flowChartMagneticDisk",FLOWCHART_MANUAL_INPUT:"flowChartManualInput",FLOWCHART_MANUAL_OPERATION:"flowChartManualOperation",FLOWCHART_MERGE:"flowChartMerge",FLOWCHART_MULTIDOCUMENT:"flowChartMultidocument",FLOWCHART_OFFLINE_STORAGE:"flowChartOfflineStorage",FLOWCHART_OFFPAGE_CONNECTOR:"flowChartOffpageConnector",FLOWCHART_OR:"flowChartOr",FLOWCHART_PREDEFINED_PROCESS:"flowChartPredefinedProcess",FLOWCHART_PREPARATION:"flowChartPreparation",FLOWCHART_PROCESS:"flowChartProcess",FLOWCHART_PUNCHED_TAPE:"flowChartPunchedTape",FLOWCHART_SEQUENTIAL_ACCESS_STORAGE:"flowChartMagneticTape",FLOWCHART_SORT:"flowChartSort",FLOWCHART_STORED_DATA:"flowChartOnlineStorage",FLOWCHART_SUMMING_JUNCTION:"flowChartSummingJunction",FLOWCHART_TERMINATOR:"flowChartTerminator",FOLDED_CORNER:"foldedCorner",FRAME:"frame",FUNNEL:"funnel",GEAR_6:"gear6",GEAR_9:"gear9",HALF_FRAME:"halfFrame",HEART:"heart",HEPTAGON:"heptagon",HEXAGON:"hexagon",HORIZONTAL_SCROLL:"horizontalScroll",ISOSCELES_TRIANGLE:"triangle",LEFT_ARROW:"leftArrow",LEFT_ARROW_CALLOUT:"leftArrowCallout",LEFT_BRACE:"leftBrace",LEFT_BRACKET:"leftBracket",LEFT_CIRCULAR_ARROW:"leftCircularArrow",LEFT_RIGHT_ARROW:"leftRightArrow",LEFT_RIGHT_ARROW_CALLOUT:"leftRightArrowCallout",LEFT_RIGHT_CIRCULAR_ARROW:"leftRightCircularArrow",LEFT_RIGHT_RIBBON:"leftRightRibbon",LEFT_RIGHT_UP_ARROW:"leftRightUpArrow",LEFT_UP_ARROW:"leftUpArrow",LIGHTNING_BOLT:"lightningBolt",LINE_CALLOUT_1:"borderCallout1",LINE_CALLOUT_1_ACCENT_BAR:"accentCallout1",LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR:"accentBorderCallout1",LINE_CALLOUT_1_NO_BORDER:"callout1",LINE_CALLOUT_2:"borderCallout2",LINE_CALLOUT_2_ACCENT_BAR:"accentCallout2",LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR:"accentBorderCallout2",LINE_CALLOUT_2_NO_BORDER:"callout2",LINE_CALLOUT_3:"borderCallout3",LINE_CALLOUT_3_ACCENT_BAR:"accentCallout3",LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR:"accentBorderCallout3",LINE_CALLOUT_3_NO_BORDER:"callout3",LINE_CALLOUT_4:"borderCallout3",LINE_CALLOUT_4_ACCENT_BAR:"accentCallout3",LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR:"accentBorderCallout3",LINE_CALLOUT_4_NO_BORDER:"callout3",LINE_INVERSE:"lineInv",MATH_DIVIDE:"mathDivide",MATH_EQUAL:"mathEqual",MATH_MINUS:"mathMinus",MATH_MULTIPLY:"mathMultiply",MATH_NOT_EQUAL:"mathNotEqual",MATH_PLUS:"mathPlus",MOON:"moon",NON_ISOSCELES_TRAPEZOID:"nonIsoscelesTrapezoid",NOTCHED_RIGHT_ARROW:"notchedRightArrow",NO_SYMBOL:"noSmoking",OCTAGON:"octagon",OVAL:"ellipse",OVAL_CALLOUT:"wedgeEllipseCallout",PARALLELOGRAM:"parallelogram",PENTAGON:"homePlate",PIE:"pie",PIE_WEDGE:"pieWedge",PLAQUE:"plaque",PLAQUE_TABS:"plaqueTabs",QUAD_ARROW:"quadArrow",QUAD_ARROW_CALLOUT:"quadArrowCallout",RECTANGLE:"rect",RECTANGULAR_CALLOUT:"wedgeRectCallout",REGULAR_PENTAGON:"pentagon",RIGHT_ARROW:"rightArrow",RIGHT_ARROW_CALLOUT:"rightArrowCallout",RIGHT_BRACE:"rightBrace",RIGHT_BRACKET:"rightBracket",RIGHT_TRIANGLE:"rtTriangle",ROUNDED_RECTANGLE:"roundRect",ROUNDED_RECTANGULAR_CALLOUT:"wedgeRoundRectCallout",ROUND_1_RECTANGLE:"round1Rect",ROUND_2_DIAG_RECTANGLE:"round2DiagRect",ROUND_2_SAME_RECTANGLE:"round2SameRect",SMILEY_FACE:"smileyFace",SNIP_1_RECTANGLE:"snip1Rect",SNIP_2_DIAG_RECTANGLE:"snip2DiagRect",SNIP_2_SAME_RECTANGLE:"snip2SameRect",SNIP_ROUND_RECTANGLE:"snipRoundRect",SQUARE_TABS:"squareTabs",STAR_10_POINT:"star10",STAR_12_POINT:"star12",STAR_16_POINT:"star16",STAR_24_POINT:"star24",STAR_32_POINT:"star32",STAR_4_POINT:"star4",STAR_5_POINT:"star5",STAR_6_POINT:"star6",STAR_7_POINT:"star7",STAR_8_POINT:"star8",STRIPED_RIGHT_ARROW:"stripedRightArrow",SUN:"sun",SWOOSH_ARROW:"swooshArrow",TEAR:"teardrop",TRAPEZOID:"trapezoid",UP_ARROW:"upArrow",UP_ARROW_CALLOUT:"upArrowCallout",UP_DOWN_ARROW:"upDownArrow",UP_DOWN_ARROW_CALLOUT:"upDownArrowCallout",UP_RIBBON:"ribbon2",U_TURN_ARROW:"uturnArrow",VERTICAL_SCROLL:"verticalScroll",WAVE:"wave"}),MSO_CONNECTOR=strictEnum2("MSO_CONNECTOR",{STRAIGHT:"line",ELBOW:"bentConnector3",CURVE:"curvedConnector3"}),MSO_LINE=strictEnum2("MSO_LINE",{SOLID:"solid",SQUARE_DOT:"sysDash",ROUND_DOT:"sysDot",DASH:"dash",DASH_DOT:"dashDot",DASH_DOT_DOT:"lgDashDotDot",LONG_DASH:"lgDash",LONG_DASH_DOT:"lgDashDot"}),MSO_ARROWHEAD=strictEnum2("MSO_ARROWHEAD",{NONE:"none",TRIANGLE:"triangle",OPEN:"arrow",STEALTH:"stealth",DIAMOND:"diamond",OVAL:"oval"}),MSO_SHAPE_TYPE=strictEnum2("MSO_SHAPE_TYPE",{AUTO_SHAPE:"autoshape",FREEFORM:"freeform",GROUP:"group",LINE:"line",TABLE:"table",CHART:"chart",MEDIA:"movie",PICTURE:"picture",PLACEHOLDER:"placeholder",TEXT_BOX:"textbox",COMPONENT:"component"}),XL_CHART_TYPE=strictEnum2("XL_CHART_TYPE",{COLUMN_CLUSTERED:"column-clustered",COLUMN_STACKED:"column-stacked",COLUMN_STACKED_100:"column-stacked-100",BAR_CLUSTERED:"bar-clustered",BAR_STACKED:"bar-stacked",BAR_STACKED_100:"bar-stacked-100",LINE:"line",LINE_MARKERS:"line-markers",AREA:"area",AREA_STACKED:"area-stacked",AREA_STACKED_100:"area-stacked-100",PIE:"pie",DOUGHNUT:"doughnut",XY_SCATTER:"scatter",XY_SCATTER_LINES:"scatter-lines",XY_SCATTER_SMOOTH:"scatter-smooth"}),XL_LEGEND_POSITION=strictEnum2("XL_LEGEND_POSITION",{BOTTOM:"bottom",TOP:"top",LEFT:"left",RIGHT:"right"}),XL_LABEL_POSITION=strictEnum2("XL_LABEL_POSITION",{ABOVE:"t",BELOW:"b",BEST_FIT:"bestFit",CENTER:"ctr",INSIDE_BASE:"inBase",INSIDE_END:"inEnd",LEFT:"l",OUTSIDE_END:"outEnd",RIGHT:"r"}),MSO_FILL=strictEnum2("MSO_FILL",{SOLID:"solid",BACKGROUND:"background",GRADIENT:"gradient"}),THEME_FONT=strictEnum2("THEME_FONT",{MAJOR:"+mj-lt",MINOR:"+mn-lt"}),ARGS={M:2,L:2,C:6,Z:0};function pathSteps(e){const t=[],r=e.trim().match(/[A-Za-z]|-?[\d.]+(?:e-?\d+)?/gu)??[];let i=0;for(;i<r.length;){const u=r[i]??"",o=ARGS[u];if(o===void 0)return;const a=r.slice(i+1,i+1+o).map(Number);if(a.length<o||a.some(p=>!Number.isFinite(p)))return;i+=1+o;const[s=0,d=0,c=0,l=0,f=0,h=0]=a;u==="Z"?t.push({op:"close"}):u==="M"?t.push({op:"move",x:s,y:d}):u==="L"?t.push({op:"line",x:s,y:d}):t.push({op:"curve",x1:s,y1:d,x2:c,y2:l,x:f,y:h})}return t[0]?.op==="move"?t:void 0}var ANIMATION_DURATIONS={appear:0,fade:.5,wipe:.5,"fly-in":.5,zoom:.5,disappear:0,"fade-out":.5,"wipe-out":.5,"fly-out":.5,"zoom-out":.5,pulse:.5,path:2},EXITS=new Set(["disappear","fade-out","wipe-out","fly-out","zoom-out"]),ENTRANCES=new Set(["appear","fade","wipe","fly-in","zoom"]),isExit=e=>EXITS.has(e),isEntrance=e=>ENTRANCES.has(e),TRANSITION_DURATIONS={fade:.7,push:1,wipe:1,morph:2},resolveTransition=e=>({type:e.type,direction:e.direction??"from-right",duration:e.duration??TRANSITION_DURATIONS[e.type]}),SIDES={"from-left":{x:-1,y:0},"from-right":{x:1,y:0},"from-top":{x:0,y:-1},"from-bottom":{x:0,y:1}};function transitionAt2(e,t){const r={opacity:1,x:0,y:0};if(e.type==="fade")return{incoming:{...r,opacity:t},outgoing:{x:0,y:0}};if(e.type==="push"){const i=SIDES[e.direction];return{incoming:{...r,x:i.x*(1-t),y:i.y*(1-t)},outgoing:{x:-i.x*t,y:-i.y*t}}}return e.type==="wipe"?{incoming:{...r,clip:wiped(e.direction,1-t)},outgoing:{x:0,y:0}}:{incoming:r,outgoing:{x:0,y:0}}}function morphFrame(e,t,r){const i=r*r*(3-2*r),u=(o,a)=>o+(a-o)*i;return{left:u(e.left,t.left),top:u(e.top,t.top),width:u(e.width,t.width),height:u(e.height,t.height)}}function resolveAnimation(e){const t=e.path===void 0?void 0:pathSteps(e.path);if(!(e.path!==void 0&&!t)&&!(e.effect==="path"&&!t))return{shape:e.shape,...e.paragraph===void 0?{}:{paragraph:e.paragraph},effect:e.effect,direction:e.direction??"from-bottom",start:e.start??"on-click",duration:e.duration??ANIMATION_DURATIONS[e.effect],delay:e.delay??0,...t?{path:t.map(r=>r.op==="close"?r:r.op!=="curve"?{...r,x:r.x*EMU_PER_PT,y:r.y*EMU_PER_PT}:{op:"curve",x1:r.x1*EMU_PER_PT,y1:r.y1*EMU_PER_PT,x2:r.x2*EMU_PER_PT,y2:r.y2*EMU_PER_PT,x:r.x*EMU_PER_PT,y:r.y*EMU_PER_PT})}:{}}}function slideClock(e,t,r,i=0,u=0){const o=new Set(e.filter(f=>isEntrance(f.effect)).map(f=>f.shape));let a=u+(t.some(f=>!o.has(f))?r:0);if(e.length===0)return{timed:[],rests:[Math.max(r,u)]};const s=[],d=[];let c=0,l=u;for(const f of e){f.start==="on-click"?(s.push(a),c++,a+=i,l=a):f.start==="after-previous"&&(l=a);const h=l+f.delay,p=h+f.duration;d.push({...f,step:c,from:h,to:p}),a=Math.max(a,p),t.includes(f.shape)&&isEntrance(f.effect)&&(a=Math.max(a,h+r))}return s.push(a),{timed:d,rests:s}}var SLIDE_SECONDS=4,DECK_FPS=30,onFrame=e=>Math.ceil(e*DECK_FPS-1e-6)/DECK_FPS;function clockOf(e,t){const r=t?0:e.transition?.duration??0,i=slideClock(e.animations,e.shapes.flatMap(u=>u.component?[u.name]:[]),SLIDE_SECONDS-1/DECK_FPS,1/DECK_FPS,r);return{timed:i.timed,rests:i.rests.map(onFrame),lead:r,comesOn:u=>i.timed.find(o=>o.shape===u&&isEntrance(o.effect))?.from??r,goesOff:u=>i.timed.find(o=>o.shape===u&&isExit(o.effect))?.to}}var MOMENT=1e-6,AT_REST={hidden:!1,opacity:1,x:0,y:0,scale:1},decel=e=>1-(1-e)*(1-e);function flatten(e){const t=[];let r={x:0,y:0};for(const i of e){if(i.op==="close")continue;if(i.op!=="curve"){r={x:i.x,y:i.y},t.push(r);continue}const u=r;for(let o=1;o<=24;o++){const a=o/24,s=1-a,d=(c,l,f,h)=>s*s*s*c+3*s*s*a*l+3*s*a*a*f+a*a*a*h;t.push({x:d(u.x,i.x1,i.x2,i.x),y:d(u.y,i.y1,i.y2,i.y)})}r={x:i.x,y:i.y}}return t}function pathPoint(e,t){const r=flatten(e),[i]=r;if(!i)return{x:0,y:0};let u=0;for(let a=1;a<r.length;a++){const[s,d]=[r[a-1]??i,r[a]??i];u+=Math.hypot(d.x-s.x,d.y-s.y)}let o=u*t;for(let a=1;a<r.length;a++){const[s,d]=[r[a-1]??i,r[a]??i],c=Math.hypot(d.x-s.x,d.y-s.y);if(o<=c&&c>0){const l=o/c;return{x:s.x+(d.x-s.x)*l,y:s.y+(d.y-s.y)*l}}o-=c}return r.at(-1)??i}function offSlide(e,t,r){return e==="from-left"?{x:-(t.left+t.width),y:0}:e==="from-right"?{x:r.width-t.left,y:0}:e==="from-top"?{x:0,y:-(t.top+t.height)}:{x:0,y:r.height-t.top}}function wiped(e,t){const r={top:0,right:0,bottom:0,left:0};return e==="from-left"?r.right=t:e==="from-right"?r.left=t:e==="from-top"?r.bottom=t:r.top=t,r}function appearing(e,t,r,i){if(e.effect==="fade"||e.effect==="fade-out")return{opacity:t};if(e.effect==="zoom"||e.effect==="zoom-out")return{scale:t,opacity:t};if(e.effect==="wipe"||e.effect==="wipe-out")return{clip:wiped(e.direction,1-t)};if(e.effect==="fly-in"||e.effect==="fly-out"){const u=offSlide(e.direction,r,i);return{x:u.x*(1-t),y:u.y*(1-t)}}return{}}function drawnAt2(e,t,r,i){let u={...AT_REST};const[o]=e,a=s=>t<s-MOMENT;if(o&&isEntrance(o.effect)&&a(o.from))return{...AT_REST,hidden:!0};for(const s of e){if(a(s.from))break;const d=s.to>s.from&&t<s.to-MOMENT?Math.min(1,(t-s.from)/(s.to-s.from)):1;if(s.effect==="path"&&s.path){const c=pathPoint(s.path,d);u={...u,x:c.x,y:c.y}}else s.effect==="pulse"?u={...u,scale:1+.05*Math.sin(d*Math.PI)}:isExit(s.effect)?u=d>=1?{...AT_REST,hidden:!0}:{...u,...appearing(s,1-(s.effect==="fly-out"?d*d:d),r,i)}:u={...AT_REST,...d<1?appearing(s,s.effect==="fly-in"?decel(d):d,r,i):{}}}return u}function animationTargets(e){const t=new Map;for(const r of e){const i=JSON.stringify([r.shape,r.paragraph??null]),u=t.get(i);u?u.animations.push(r):t.set(i,{shape:r.shape,...r.paragraph===void 0?{}:{paragraph:r.paragraph},animations:[r]})}return[...t.values()]}var codeToLocale=Object.freeze({1078:"af",1052:"sq",1118:"am",5121:"ar-DZ",15361:"ar-BH",3073:"ar-EG",2049:"ar-IQ",11265:"ar-JO",13313:"ar-KW",12289:"ar-LB",4097:"ar-LY",6145:"ar-MA",8193:"ar-OM",16385:"ar-QA",1025:"ar-SA",10241:"ar-SY",7169:"ar-TN",14337:"ar-AE",9217:"ar-YE",1067:"hy",1101:"as",2092:"az-AZ",1068:"az-AZ",1069:"eu",1059:"be",2117:"bn",1093:"bn-IN",5146:"bs",1026:"bg",1109:"my",1027:"ca",2052:"zh-CN",3076:"zh-HK",5124:"zh-MO",4100:"zh-SG",1028:"zh-TW",1050:"hr",1029:"cs",1030:"da",1125:"dv",2067:"nl-BE",1043:"nl-NL",1126:"bin",3081:"en-AU",10249:"en-BZ",4105:"en-CA",9225:"en-CB",2057:"en-GB",16393:"en-IN",6153:"en-IE",8201:"en-JM",5129:"en-NZ",13321:"en-PH",7177:"en-ZA",11273:"en-TT",1033:"en-US",12297:"en-ZW",1061:"et",1071:"mk",1080:"fo",1065:"fa",1124:"fil",1035:"fi",2060:"fr-BE",11276:"fr-CM",3084:"fr-CA",9228:"fr-CG",12300:"fr-CI",1036:"fr-FR",5132:"fr-LU",13324:"fr-ML",6156:"fr-MC",14348:"fr-MA",10252:"fr-SN",4108:"fr-CH",7180:"fr",1122:"fy-NL",2108:"gd-IE",1084:"gd",1110:"gl",1079:"ka",3079:"de-AT",1031:"de-DE",5127:"de-LI",4103:"de-LU",2055:"de-CH",1032:"el",1140:"gn",1095:"gu",1279:"en",1037:"he",1081:"hi",1038:"hu",1039:"is",1136:"ig-NG",1057:"id",1040:"it-IT",2064:"it-CH",1041:"ja",1099:"kn",1120:"ks",1087:"kk",1107:"km",1111:"kok",1042:"ko",1088:"ky",1108:"lo",1142:"la",1062:"lv",1063:"lt",2110:"ms-BN",1086:"ms-MY",1100:"ml",1082:"mt",1112:"mni",1153:"mi",1102:"mr",1104:"mn",2128:"mn",1121:"ne",1044:"no-NO",2068:"no-NO",1096:"or",1045:"pl",1046:"pt-BR",2070:"pt-PT",1094:"pa",1047:"rm",2072:"ro-MO",1048:"ro-RO",1049:"ru",2073:"ru-MO",1083:"se",1103:"sa",3098:"sr-SP",2074:"sr-SP",1072:"st",1074:"tn",1113:"sd",1115:"si",1051:"sk",1060:"sl",1143:"so",1070:"sb",11274:"es-AR",16394:"es-BO",13322:"es-CL",9226:"es-CO",5130:"es-CR",7178:"es-DO",12298:"es-EC",17418:"es-SV",4106:"es-GT",18442:"es-HN",2058:"es-MX",19466:"es-NI",6154:"es-PA",15370:"es-PY",10250:"es-PE",20490:"es-PR",1034:"es-ES",14346:"es-UY",8202:"es-VE",1089:"sw",2077:"sv-FI",1053:"sv-SE",1114:"syc",1064:"tg",1097:"ta",1092:"tt",1098:"te",1054:"th",1105:"bo",1073:"ts",1055:"tr",1090:"tk",1058:"uk",1056:"ur",2115:"uz-UZ",1091:"uz-UZ",1075:"ve",1066:"vi",1106:"cy",1076:"xh",1085:"yi",1077:"zu"}),TOKEN_GENERAL="GENERAL",TOKEN_HASH="HASH",TOKEN_ZERO="ZERO",TOKEN_QMARK="QMARK",TOKEN_SLASH="SLASH",TOKEN_GROUP="GROUP",TOKEN_SCALE="SCALE",TOKEN_COMMA="COMMA",TOKEN_BREAK="BREAK",TOKEN_TEXT="TEXT",TOKEN_PLUS="PLUS",TOKEN_MINUS="MINUS",TOKEN_POINT="POINT",TOKEN_SPACE="SPACE",TOKEN_PERCENT="PERCENT",TOKEN_DIGIT="DIGIT",TOKEN_CALENDAR="CALENDAR",TOKEN_ERROR="ERROR",TOKEN_DATETIME="DATETIME",TOKEN_DURATION="DURATION",TOKEN_CONDITION="CONDITION",TOKEN_DBNUM="DBNUM",TOKEN_NATNUM="NATNUM",TOKEN_LOCALE="LOCALE",TOKEN_COLOR="COLOR",TOKEN_MODIFIER="MODIFIER",TOKEN_AMPM="AMPM",TOKEN_ESCAPED="ESCAPED",TOKEN_STRING="STRING",TOKEN_SKIP="SKIP",TOKEN_FILL="FILL",TOKEN_PAREN="PAREN",TOKEN_CHAR="CHAR",TOKEN_CURRENCY="CURRENCY",T_TYPE_FRAC="FRAC",T_TYPE_YEAR="YEAR",T_TYPE_YEAR_S="YEAR-SHORT",T_TYPE_MON="MONTH",T_TYPE_MNAME_1="MONTHNAME-SINGLE",T_TYPE_MNAME_S="MONTHNAME-SHORT",T_TYPE_MNAME="MONTHNAME",T_TYPE_WEEKDAY_S="WEEKDAY-SHORT",T_TYPE_WEEKDAY="WEEKDAY",T_TYPE_HOUR="HOUR",T_TYPE_SUBSEC="SUBSEC",T_TYPE_HOUR_E="HOUR-ELAP",T_TYPE_MIN_E="MIN-ELAP",T_TYPE_SEC_E="SEC-ELAP",T_TYPE_B_YEAR="B-YEAR",T_TYPE_B_YEAR_S="B-YEAR-SHORT",MAX_CACHED_PATTERNS=1e3,currencySymbols=["¤","$","£","¥","֏","؋","৳","฿","៛","₡","₦","₩","₪","₫","€","₭","₮","₱","₲","₴","₸","₹","₺","₼","₽","₾","₿"],_B=(e,t="")=>e.replaceAll("~",t).split(";"),_W=(e,t="")=>_B(e,t),_M=(e,t="")=>_B(e,t),xm=(e,t=0,r=0)=>(e.mmm||(e.mmm=t<1?e.mmmm.concat():e.mmmm.map(i=>{const u=i.slice(0,t%10);return u+(t<10||i===u?"":".")})),e.ddd||(e.ddd=r<1?e.dddd.concat():e.dddd.map(i=>{const u=i.slice(0,r%10);return u+(r<10||i===u?"":".")})),!e.mmm6&&e.mmmm6&&(e.mmm6=e.mmmm6),e),xf=e=>({minus:!e.p,sign:!!e.s,dateOrder:e.o??1,currencyPos:e.f??3,padMm:e.m==null?!0:!!e.m,padDd:e.d==null?!0:!!e.d,padHh:e.h==null?!0:!!e.h,padHhAlt:!!e.i,dateSep:e.k??"/",shortDateSep:e.l??"-",timeSep:e.b??":",shortYear:!!e.y,spacePercent:!!e.c}),C_BLACK="Black",C_WHITE="White",C_RED="Red",C_GREEN="Green",C_BLUE="Blue",C_YELLOW="Yellow",C_MAGENTA="Magenta",C_CYAN="Cyan",fp1={k:".",l:"."},fp2={d:0,h:0,m:0,k:".",l:"."},fp3={d:1,y:1,f:0,o:1,k:"-",b:":",s:1},fp4={...fp3,y:0},fp5={h:0,d:0,f:0,m:0,s:1};function initLocales(){const e=_M("一月;二月;三月;四月;五月;六月;七月;八月;九月;十月;十一月;十二月"),t={黑色:C_BLACK,白色:C_WHITE,紅色:C_RED,綠色:C_GREEN,藍色:C_BLUE,黃色:C_YELLOW,洋紅:C_MAGENTA,青色:C_CYAN};addLocale({group:",",ampm:_B("上午;下午"),mmmm:e,mmm:_M("1月;2月;3月;4月;5月;6月;7月;8月;9月;10月;11月;12月"),dddd:_W("~日;~一;~二;~三;~四;~五;~六","星期"),ddd:_W("周日;周一;周二;周三;周四;周五;周六"),color:"颜色",colors:{黑色:C_BLACK,白色:C_WHITE,红色:C_RED,绿色:C_GREEN,蓝色:C_BLUE,黄色:C_YELLOW,洋红:C_MAGENTA,蓝绿色:C_CYAN},general:"G/通用格式",currency:"¥",format:xf({h:0,d:0,f:0,m:0,o:2,s:1}),sysdate:"yyyy年m月d日",systime:"h:mm:ss"},"zh-CN"),addLocale({group:",",ampm:_B("上午;下午"),mmmm:e,mmm:e,dddd:_W("~日;~一;~二;~三;~四;~五;~六","星期"),ddd:_W("週日;週一;週二;週三;週四;週五;週六"),nan:"非數值",color:"色彩",colors:t,general:"G/通用格式",currency:"NT$",format:xf({d:0,f:0,o:2,m:0,i:1}),sysdate:"yyyy年m月d日",systime:"AM/PM hh:mm:ss"},"zh-TW"),addLocale({group:",",ampm:_B("上午;下午"),mmmm:e,mmm:e,dddd:_W("~日;~一;~二;~三;~四;~五;~六","星期"),ddd:_W("週日;週一;週二;週三;週四;週五;週六"),color:"色彩",colors:t,currency:"HK$",format:xf({h:0,d:0,f:0,m:0,p:1}),sysdate:"yyyy年m月d日",systime:"h:mm:ss"},"zh-HK"),addLocale({group:",",mmmm:_M("1月;2月;3月;4月;5月;6月;7月;8月;9月;10月;11月;12月"),mmm:_M("1;2;3;4;5;6;7;8;9;10;11;12"),dddd:_W("日曜日;月曜日;火曜日;水曜日;木曜日;金曜日;土曜日"),ddd:_W("日;月;火;水;木;金;土"),ampm:_B("午前;午後"),general:"G/標準",currency:"¥",color:"色",colors:{黒:C_BLACK,白:C_WHITE,赤:C_RED,緑:C_GREEN,青:C_BLUE,黄:C_YELLOW,紫:C_MAGENTA,水:C_CYAN},format:xf({h:0,f:0,o:2,d:1}),sysdate:"yyyy年m月d日",systime:"h:mm:ss"},"ja"),addLocale({group:",",ampm:_B("오전;오후"),mmmm:_M("1월;2월;3월;4월;5월;6월;7월;8월;9월;10월;11월;12월"),mmm:_M("1;2;3;4;5;6;7;8;9;10;11;12"),dddd:_W("일요일;월요일;화요일;수요일;목요일;금요일;토요일"),ddd:_W("일;월;화;수;목;금;토"),color:"색",colors:{검정:C_BLACK,흰색:C_WHITE,빨강:C_RED,녹색:C_GREEN,파랑:C_BLUE,노랑:C_YELLOW,자홍:C_MAGENTA,녹청:C_CYAN},general:"G/표준",currency:"₩",format:xf({h:0,f:0,o:2,k:"-"}),sysdate:"yyyy년 mmmm d일 dddd",systime:"AM/PM h:mm:ss"},"ko"),addLocale({group:",",mmmm:_M("มกร~;กุมภาพันธ์;มีน~;เมษายน;พฤษภ~;มิถุนายน;กรกฎ~;สิงห~;กันยายน;ตุล~;พฤศจิกายน;ธันว~","าคม"),mmm:_M("ม.ค.;ก.พ.;มี.ค.;เม.ย.;พ.ค.;มิ.ย.;ก.ค.;ส.ค.;ก.ย.;ต.ค.;พ.ย.;ธ.ค."),dddd:_W("อาทิตย์;จันทร์;อังคาร;พุธ;พฤหัสบดี;ศุกร์;เสาร์"),ddd:_W("อา.;จ.;อ.;พ.;พฤ.;ศ.;ส."),color:"สี",colors:{ดำ:C_BLACK,ขาว:C_WHITE,แดง:C_RED,เขียว:C_GREEN,น้ำเงิน:C_BLUE,เหลือง:C_YELLOW,ม่วงมาเจนต้า:C_MAGENTA,ฟ้า:C_CYAN},currency:"฿",format:xf({h:0,d:0,f:0,m:0,o:1}),sysdate:"d mmmm yyyy",systime:"h:mm:ss"},"th"),addLocale(xm({decimal:",",ampm:_B("dop.;odp."),mmmm:_M("leden;únor;březen;duben;květen;červen;červenec;srpen;září;říjen;listopad;prosinec"),mmm:_M("I;II;III;IV;V;VI;VII;VIII;IX;X;XI;XII"),dddd:_W("neděle;pondělí;úterý;středa;čtvrtek;pátek;sobota"),bool:_B("PRAVDA;NEPRAVDA"),color:"Barva",colors:{černá:C_BLACK,bílá:C_WHITE,červená:C_RED,zelená:C_GREEN,modrá:C_BLUE,žlutá:C_YELLOW,purpurová:C_MAGENTA,azurová:C_CYAN},general:"Všeobecný",opcodes:{dy:"r"},currency:"Kč",format:xf({h:0,k:".",l:"."}),sysdate:"dddd d. mmmm yyyy",systime:"h:mm:ss"},-1,2),"cs"),addLocale(xm({group:".",decimal:",",mmmm:_M("januar;februar;marts;april;maj;juni;juli;august;september;oktober;november;december"),dddd:_W("søn~;man~;tirs~;ons~;tors~;fre~;lør~","dag"),bool:_B("SAND;FALSK"),color:"Farve",colors:{sort:C_BLACK,hvid:C_WHITE,rød:C_RED,lysegrøn:C_GREEN,blå:C_BLUE,gul:C_YELLOW,lyslilla:C_MAGENTA,akvamarin:C_CYAN},general:"Standard",opcodes:{dy:"å",th:"t"},currency:"kr.",format:xf({k:"-"}),sysdate:"d. mmmm yyyy",systime:"hh:mm:ss"},3,2),"da"),addLocale(xm({group:".",decimal:",",mmmm:_M("januari;februari;maart;april;mei;juni;juli;augustus;september;oktober;november;december"),mmm:_M("jan;feb;mrt;apr;mei;jun;jul;aug;sep;okt;nov;dec"),dddd:_W("zondag;maandag;dinsdag;woensdag;donderdag;vrijdag;zaterdag"),bool:_B("WAAR;ONWAAR"),color:"Kleur",colors:{zwart:C_BLACK,wit:C_WHITE,rood:C_RED,root:C_RED,groen:C_GREEN,blauw:C_BLUE,geel:C_YELLOW,magenta:C_MAGENTA,cyaan:C_CYAN},general:"Standaard",opcodes:{dy:"j",th:"u"},currency:"€",format:xf({d:0,f:2,m:0,k:"-",s:1}),sysdate:"dddd d mmmm yyyy",systime:"hh:mm:ss"},-1,2),"nl"),addLocale({group:",",format:xf({h:0,d:0,f:0,m:0,o:0,p:1}),sysdate:"dddd, mmmm d, yyyy",systime:"h:mm:ss AM/PM"},"en"),addLocale({group:",",format:xf({h:0,d:0,f:0,m:0,o:0,p:1}),sysdate:"dddd, mmmm d, yyyy",systime:"h:mm:ss AM/PM"},"en-US"),addLocale({group:",",format:xf({h:0,f:0,o:2,p:0,k:"-"}),sysdate:"mmmm d, yyyy",systime:"h:mm:ss AM/PM"},"en-CA"),addLocale({group:",",color:"Colour",ampm:["AM","PM"],format:xf({h:0,d:0,f:0,p:0}),sysdate:"dddd, d mmmm yyyy",systime:"h:mm:ss AM/PM"},"en-AU"),addLocale({group:",",color:"Colour",ampm:["AM","PM"],currency:"£",format:xf({f:0,p:0}),sysdate:"dd mmmm yyyy",systime:"hh:mm:ss"},"en-GB"),addLocale({group:",",mmm:_M("Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sept;Oct;Nov;Dec"),color:"Colour",ampm:["am","pm"],currency:"€",format:xf({f:0,p:0}),sysdate:"dddd d mmmm yyyy",systime:"hh:mm:ss"},"en-IE"),addLocale(xm({decimal:",",nan:"epäluku",ampm:_B("ap.;ip."),mmmm:_M("tammi~;helmi~;maalis~;huhti~;touko~;kesä~;heinä~;elo~;syys~;loka~;marras~;joulu~","kuu"),mmm:_M("tammi;helmi;maalis;huhti;touko;kesä;heinä;elo;syys;loka;marras;joulu"),dddd:_W("sunnun~;maanan~;tiis~;keskiviikko;tors~;perjan~;lauan~","tai"),bool:_B("TOSI;EPÄTOSI"),color:"Väri",colors:{musta:C_BLACK,valkoinen:C_WHITE,punainen:C_RED,vihreä:C_GREEN,sininen:C_BLUE,keltainen:C_YELLOW,magenta:C_MAGENTA,syaani:C_CYAN},general:"Yleinen",currency:"€",opcodes:{dy:"v",dm:"k",dd:"p",th:"t"},format:xf({h:0,d:0,p:0,k:".",l:".",m:0,c:1}),sysdate:"dddd d. mmmm yyyy",systime:"h.mm.ss"},-1,2),"fi");const r=xm({group:" ",decimal:",",mmmm:_M("janvier;février;mars;avril;mai;juin;juillet;août;septembre;octobre;novembre;décembre"),mmm:_M("janv;févr;mars;avr;mai;juin;juil;août;sept;oct;nov;déc"),dddd:_W("~manche;lun~;mar~;mercre~;jeu~;vendre~;same~","di"),ddd:["dim","lun","mar","mer","jeu","ven","sam"],bool:_B("VRAI;FAUX"),color:"Couleur",colors:{noir:C_BLACK,blanc:C_WHITE,rouge:C_RED,vert:C_GREEN,bleu:C_BLUE,jaune:C_YELLOW,magenta:C_MAGENTA,cyan:C_CYAN},opcodes:{dy:"a",dd:"j",wd:"o"},general:"Standard",systime:"hh:mm:ss"},-1,-13);addLocale({...r,currency:"€",format:xf({}),sysdate:"dddd d mmmm yyyy"},"fr"),addLocale({...r,ampm:_B("AM;PM"),format:xf({p:1,o:2,d:1,k:"-",l:"-",s:1}),sysdate:"d mmmm yyyy"},"fr-CA"),addLocale({group:"'",decimal:".",...r,currency:"CHF",format:xf({o:1,d:1,k:".",l:"."}),sysdate:"dddd, d mmmm yyyy"},"fr-CH");const i=xm({mmmm:_M("Januar;Februar;März;April;Mai;Juni;Juli;August;September;Oktober;November;Dezember"),mmm:_M("Jan;Feb;Mrz;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dez"),dddd:_W("Sonn~;Mon~;Diens~;Mittwoch;Donners~;Frei~;Sams~","tag"),bool:_B("WAHR;FALSCH"),color:"Farbe",colors:{schwarz:C_BLACK,weiß:C_WHITE,rot:C_RED,grün:C_GREEN,blau:C_BLUE,gelb:C_YELLOW,magenta:C_MAGENTA,zyan:C_CYAN},opcodes:{dy:"j",dd:"t"},general:"Standard",sysdate:"dddd, d. mmmm yyyy",systime:"hh:mm:ss"},-1,2);addLocale({group:".",decimal:",",...i,currency:"€",format:xf({k:".",l:". "})},"de"),addLocale({group:"’",decimal:".",...i,currency:"CHF",mmm:_M("Jan;Feb;Mär;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dez"),format:xf({o:1,d:1,k:".",f:2,s:1,l:". "})},"de-CH"),addLocale(xm({group:".",decimal:",",ampm:_B("πμ;μμ"),mmmm:_M("Ιανουαρ~;Φεβρουαρ~;Μαρτ~;Απριλ~;Μαΐου;Ιουν~;Ιουλ~;Αυγούστου;Σεπτεμβρ~;Οκτωβρ~;Νοεμβρ~;Δεκεμβρ~","ίου"),mmm:_M("Ιαν;Φεβ;Μαρ;Απρ;Μαϊ;Ιουν;Ιουλ;Αυγ;Σεπ;Οκτ;Νοε;Δεκ"),dddd:_W("Κυριακή;Δευτέρα;Τρίτη;Τετάρτη;Πέμπτη;Παρασκευή;Σάββατο"),ddd:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],colors:{μαύρο:C_BLACK,λευκό:C_WHITE,κόκκινο:C_RED,πράσινο:C_GREEN,μπλε:C_BLUE,κίτρινο:C_YELLOW,ματζέντα:C_MAGENTA,γαλάζιο:C_CYAN},general:"Γενικός τύπος",color:"Χρώμα",opcodes:{dy:"ε",dm:"μ",dd:"η",th:"ω",tm:"λ",ts:"δ"},currency:"€",format:xf({h:0,d:0,m:0}),sysdate:"dddd, d mmmm yyyy",systime:"h:mm:ss AM/PM"},-1,3),"el"),addLocale({decimal:",",ampm:_B("de.;du."),mmmm:_M("január;február;március;április;május;június;július;augusztus;szeptember;október;november;december"),mmm:_M("jan;febr;márc;ápr;máj;jún;júl;aug;szept;okt;nov;dec"),dddd:_W("vasárnap;hétfő;kedd;szerda;csütörtök;péntek;szombat"),ddd:_W("V;H;K;Sze;Cs;P;Szo"),bool:_B("IGAZ;HAMIS"),currency:"Ft",general:"Normál",opcodes:{dy:"é",dm:"h",dd:"n",th:"ó",tm:"p",ts:"m"},colors:{fekete:C_BLACK,fehér:C_WHITE,piros:C_RED,zöld:C_GREEN,kék:C_BLUE,sárga:C_YELLOW,bíbor:C_MAGENTA,ciánkék:C_CYAN},color:"Szín",format:xf({h:0,o:2,k:".",l:".",d:1}),sysdate:'yyyy. mmmm d".", dddd',systime:"h:mm:ss"},"hu"),addLocale(xm({group:".",decimal:",",ampm:_B("f.h.;e.h."),mmmm:_M("janúar;febrúar;mars;apríl;maí;júní;júlí;ágúst;september;október;nóvember;desember"),dddd:_W("sunnu~;mánu~;þriðju~;miðviku~;fimmtu~;föstu~;laugar~","dagur"),currency:"kr.",format:xf({d:0,m:0,k:".",l:"."}),sysdate:"dddd, d. mmmm yyyy",systime:"hh:mm:ss"},3,3),"is"),addLocale(xm({group:".",decimal:",",ampm:_B("AM;PM"),mmmm:_M("Januari;Februari;Maret;April;Mei;Juni;Juli;Agustus;September;Oktober;November;Desember"),dddd:_W("Minggu;Senin;Selasa;Rabu;Kamis;Jumat;Sabtu"),ddd:_W("Mgg;Sen;Sel;Rab;Kam;Jum;Sab"),color:"Warna",colors:{hitam:C_BLACK,putih:C_WHITE,merah:C_RED,hijau:C_GREEN,biru:C_BLUE,kuning:C_YELLOW,magenta:C_MAGENTA,sian:C_CYAN},currency:"Rp",format:xf({f:0,b:"."}),sysdate:"dddd, dd mmmm yyyy",systime:"hh.mm.ss"},3,3),"id");const u=xm({mmmm:_M("gennaio;febbraio;marzo;aprile;maggio;giugno;luglio;agosto;settembre;ottobre;novembre;dicembre"),dddd:_W("domenica;lunedì;martedì;mercoledì;giovedì;venerdì;sabato"),bool:_B("VERO;FALSO"),general:"Standard",color:"Colore",colors:{nero:C_BLACK,bianco:C_WHITE,rosso:C_RED,verde:C_GREEN,blu:C_BLUE,giallo:C_YELLOW,fucsia:C_MAGENTA,celeste:C_CYAN,ciano:C_CYAN},opcodes:{dy:"a",dd:"g",wd:"o",en:"x"},systime:"hh:mm:ss"},3,3);addLocale({group:".",decimal:",",...u,currency:"€",format:xf({}),sysdate:"dddd d mmmm yyyy"},"it"),addLocale({group:"’",decimal:".",...u,currency:"CHF",format:xf({o:1,d:1,k:".",l:".",f:2,s:1}),sysdate:"dddd, d mmmm yyyy"},"it-CH");const o={decimal:",",ampm:_B("a.m.;p.m."),mmmm:_M("januar;februar;mars;april;mai;juni;juli;august;september;oktober;november;desember"),mmm:_M("jan;feb;mar;apr;mai;jun;jul;aug;sep;okt;nov;des"),dddd:_W("søn~;man~;tirs~;ons~;tors~;fre~;lør~","dag"),bool:_B("SANN;USANN"),color:"Farge",colors:{svart:C_BLACK,hvit:C_WHITE,rød:C_RED,grønn:C_GREEN,blå:C_BLUE,gul:C_YELLOW,magenta:C_MAGENTA,cyan:C_CYAN},general:"Standard",opcodes:{dy:"å",th:"t"},currency:"kr",sysdate:"dddd d. mmmm yyyy",systime:"hh:mm:ss"};addLocale(xm({...o,format:xf({f:2,c:1,k:".",l:".",s:1})},-1,3),"nb"),addLocale(xm({...o,format:xf({f:2,c:1,k:".",l:".",s:1})},-1,3),"no"),addLocale(xm({decimal:",",mmmm:_M("styczeń;luty;marzec;kwiecień;maj;czerwiec;lipiec;sierpień;wrzesień;październik;listopad;grudzień"),dddd:_W("niedziela;poniedziałek;wtorek;środa;czwartek;piątek;sobota"),ddd:_W("niedz;pon;wt;śr;czw;pt;sob"),bool:_B("PRAWDA;FAŁSZ"),color:"Kolor",colors:{czarny:C_BLACK,biały:C_WHITE,czerwony:C_RED,zielony:C_GREEN,niebieski:C_BLUE,żółty:C_YELLOW,amarantowy:C_MAGENTA,błękitny:C_CYAN},general:"Standardowy",opcodes:{dy:"r",th:"g"},currency:"zł",format:xf({d:0,k:".",l:"."}),sysdate:"dddd, d mmmm yyyy",systime:"hh:mm:ss"},3,-1),"pl");const a={decimal:",",mmmm:_M("janeiro;fevereiro;março;abril;maio;junho;julho;agosto;setembro;outubro;novembro;dezembro"),dddd:_W("domingo;segunda-feira;terça-feira;quarta-feira;quinta-feira;sexta-feira;sábado"),bool:_B("VERDADEIRO;FALSO"),opcodes:{dy:"a",wd:"o"},color:"Cor"};addLocale({...xm(a,3,3),group:" ",general:"Estandar",colors:{preto:C_BLACK,branco:C_WHITE,vermelho:C_RED,verde:C_GREEN,azul:C_BLUE,amarelo:C_YELLOW,magenta:C_MAGENTA,turquesa:C_CYAN,ciano:C_CYAN},currency:"€",format:xf({l:"/"}),sysdate:'d "de" mmmm "de" yyyy',systime:"hh:mm:ss"},"pt"),addLocale({...xm(a,3,3),group:".",general:"Geral",colors:{preto:C_BLACK,branco:C_WHITE,vermelho:C_RED,verde:C_GREEN,azul:C_BLUE,amarelo:C_YELLOW,magenta:C_MAGENTA,ciano:C_CYAN},currency:"R$",format:xf({f:2,l:"/"}),sysdate:'dddd, d "de" mmmm "de" yyyy',systime:"hh:mm:ss"},"pt-BR"),addLocale({decimal:",",nan:"не число",mmmm:_M("Январь;Февраль;Март;Апрель;Май;Июнь;Июль;Август;Сентябрь;Октябрь;Ноябрь;Декабрь"),mmm:_M("янв;фев;мар;апр;май;июн;июл;авг;сен;окт;ноя;дек"),dddd:_W("воскресенье;понедельник;вторник;среда;четверг;пятница;суббота"),ddd:_W("Вс;Пн;Вт;Ср;Чт;Пт;Сб"),mmmm6:_M("рамадан;шавваль;зуль-каада;зуль-хиджжа;мухаррам;раби-уль-авваль;раби-уль-ахир;джумад-уль-авваль;джумад-уль-ахир;раджаб;шаабан;рамадан"),mmm6:_M("рам.;шав.;зуль-к.;зуль-х.;мух.;раб. I;раб. II;джум. I;джум. II;радж.;шааб.;рам."),bool:_B("ИСТИНА;ЛОЖЬ"),general:"Основной",opcodes:{dy:"г",dm:"м",dd:"д",th:"ч",tm:"м",ts:"с"},color:"Цвет",colors:{черный:C_BLACK,белый:C_WHITE,красный:C_RED,зеленый:C_GREEN,синий:C_BLUE,желтый:C_YELLOW,фиолетовый:C_MAGENTA,пурпурный:C_MAGENTA,голубой:C_CYAN},currency:"₽",format:xf({h:0,k:".",l:"."}),sysdate:'d mmmm yyyy "г."',systime:"h:mm:ss"},"ru"),addLocale(xm({decimal:",",mmmm:_M("január;február;marec;apríl;máj;jún;júl;august;september;október;november;december"),mmm:_M("1;2;3;4;5;6;7;8;9;10;11;12"),dddd:_W("nedeľa;pondelok;utorok;streda;štvrtok;piatok;sobota"),color:"Farba",colors:{čierna:C_BLACK,biela:C_WHITE,červená:C_RED,zelená:C_GREEN,modrá:C_BLUE,žltá:C_YELLOW,purpurová:C_MAGENTA,azúrová:C_CYAN},currency:"€",format:xf(fp2),sysdate:"dddd d. mmmm yyyy",systime:"h:mm:ss"},3,2),"sk");const s={group:".",decimal:",",ampm:_B("a. m.;p. m."),mmmm:_M("enero;febrero;marzo;abril;mayo;junio;julio;agosto;septiem~;octu~;noviem~;diciem~","bre"),mmm:_M("ene;feb;mar;abr;may;jun;jul;ago;sep;oct;nov;dic"),dddd:_W("domingo;lunes;martes;miércoles;jueves;viernes;sábado"),ddd:_W("dom;lun;mar;mié;jue;vie;sáb"),bool:_B("VERDADERO;FALSO"),colors:{negro:C_BLACK,blanco:C_WHITE,rojo:C_RED,verde:C_GREEN,azul:C_BLUE,amarillo:C_YELLOW,magenta:C_MAGENTA,cian:C_CYAN,ciano:C_CYAN},systime:"h:mm:ss",sysdate:'dddd, d "de" mmmm "de" yyyy'},d=_M("ene;feb;mar;abr;may;jun;jul;ago;sep;oct;nov;dic"),c=_M("ene;feb;mar;abr;may;jun;jul;ago;sept;oct;nov;dic");addLocale({...s,ampm:_B("AM;PM"),ddd:_W("do;lu;ma;mi;ju;vi;sá"),general:"Estándar",opcodes:{dy:"a",wd:"o"},currency:"€",format:xf({h:0,d:1})},"es"),addLocale({...s,mmm:c,format:xf({d:0,f:2,m:0}),systime:"hh:mm:ss"},"es-AR"),addLocale({...s,mmm:c,currency:"Bs",format:xf({d:0,f:0,m:0}),systime:"hh:mm:ss"},"es-BO"),addLocale({...s,mmm:c,format:xf({h:0,f:0,s:1,k:"-"})},"es-CL"),addLocale({...s,mmm:d,format:xf({h:0,d:0,f:2}),systime:"h:mm:ss AM/PM"},"es-CO"),addLocale({...s,mmm:c,format:xf(fp5)},"es-EC"),addLocale({...s,mmm:c,currency:"₲",format:xf({d:0,f:2,s:1,m:0}),systime:"hh:mm:ss"},"es-PY"),addLocale({...s,group:",",decimal:".",mmm:d,ampm:_B("a. m.;p. m."),opcodes:{dy:"a",wd:"o"},general:"Estándar",format:xf({f:0,i:1}),systime:"hh:mm:ss AM/PM"},"es-MX"),addLocale({...s,mmmm:_M("Enero;Febrero;Marzo;Abril;Mayo;Junio;Julio;Agosto;Setiembre;Octubre;Noviembre;Diciembre"),mmm:_M("Ene;Feb;Mar;Abr;May;Jun;Jul;Ago;set;Oct;Nov;Dic"),format:xf({d:0,f:2,h:0,m:0})},"es-UY"),addLocale({...s,mmm:c,currency:"Bs.S",format:xf(fp5),systime:"h:mm:ss AM/PM"},"es-VE"),addLocale(xm({decimal:",",ampm:_B("fm;em"),mmmm:_M("januari;februari;mars;april;maj;juni;juli;augusti;september;oktober;november;december"),dddd:_W("sön~;mån~;tis~;ons~;tors~;fre~;lör~","dag"),opcodes:{dy:"å",th:"t"},bool:["SANT","FALSKT"],general:"Standard",color:"Färg",colors:{svart:C_BLACK,vit:C_WHITE,röd:C_RED,grön:C_GREEN,blå:C_BLUE,gul:C_YELLOW,magenta:C_MAGENTA,cyanblå:C_CYAN},currency:"kr",format:xf({o:2,k:"-"}),sysdate:'"den" d mmmm yyyy',systime:"hh:mm:ss"},3,3),"sv"),addLocale(xm({group:".",decimal:",",ampm:_B("ÖÖ;ÖS"),mmmm:_M("Ocak;Şubat;Mart;Nisan;Mayıs;Haziran;Temmuz;Ağustos;Eylül;Ekim;Kasım;Aralık"),mmm:_M("Oca;Şub;Mar;Nis;May;Haz;Tem;Ağu;Eyl;Eki;Kas;Ara"),dddd:_W("Pazar;Pazartesi;Salı;Çarşamba;Perşembe;Cuma;Cumartesi"),ddd:_W("Paz;Pzt;Sal;Çar;Per;Cum;Cmt"),bool:_B("DOĞRU;YANLIŞ"),color:"Renk",colors:{siyah:C_BLACK,beyaz:C_WHITE,kırmızı:C_RED,yeşil:C_GREEN,mavi:C_BLUE,sarı:C_YELLOW,pembe:C_MAGENTA,camgöbeği:C_CYAN},opcodes:{dm:"a",dd:"g",th:"s",tm:"d",ts:"n"},general:"Genel",currency:"₺",format:xf({d:0,f:0,k:".",l:"."}),sysdate:"d mmmm yyyy dddd",systime:"hh:mm:ss"},3,-1),"tr"),addLocale({group:",",ampm:_B("AM;PM"),mmmm:_M("Ionawr;Chwefror;Mawrth;Ebrill;Mai;Mehefin;Gorffennaf;Awst;Medi;Hydref;Tachwedd;Rhagfyr"),mmm:_M("Ion;Chwef;Maw;Ebr;Mai;Meh;Gorff;Awst;Medi;Hyd;Tach;Rhag"),dddd:_W("Dydd Sul;Dydd Llun;Dydd Mawrth;Dydd Mercher;Dydd Iau;Dydd Gwener;Dydd Sadwrn"),ddd:_W("Sul;Llun;Maw;Mer;Iau;Gwe;Sad"),currency:"£",format:xf({f:0,p:0}),sysdate:"dddd, d mmmm yyyy",systime:"hh:mm:ss"},"cy"),addLocale({group:".",decimal:",",mmmm:_M("yanvar;fevral;mart;aprel;may;iyun;iyul;avqust;sentyabr;oktyabr;noyabr;dekabr"),mmm:_M("yan;fev;mar;apr;may;iyn;iyl;avq;sen;okt;noy;dek"),dddd:_W("bazar;bazar ertəsi;çərşənbə axşamı;çərşənbə;cümə axşamı;cümə;şənbə"),ddd:_W("B;B.E;Ç.A;Ç;C.A;C;Ş"),currency:"₼",format:xf(fp1),sysdate:"d mmmm yyyy, dddd",systime:"hh:mm:ss"},"az"),addLocale(xm({decimal:",",mmmm:_M("студзень;люты;сакавік;красавік;май;чэрвень;ліпень;жнівень;верасень;кастрычнік;лістапад;снежань"),mmm:_M("студз;лют;сак;крас;май;чэрв;ліп;жн;вер;кастр;ліст;снеж"),dddd:_W("нядзеля;панядзелак;аўторак;серада;чацвер;пятніца;субота"),ddd:_W("нд;пн;аўт;ср;чц;пт;сб"),currency:"Br",format:xf({y:1,k:".",l:"."}),sysdate:"d mmmm yyyy",systime:"hh:mm:ss"},3,-1),"be"),addLocale({decimal:",",mmmm:_M("януари;февруари;март;април;май;юни;юли;август;септември;октомври;ноември;декември"),mmm:_M("яну;фев;мар;апр;май;юни;юли;авг;сеп;окт;ное;дек"),dddd:_W("неделя;понеделник;вторник;сряда;четвъртък;петък;събота"),ddd:_W("нед;пон;вт;ср;четв;пет;съб"),currency:"лв.",format:xf(fp2),sysdate:'dd mmmm yyyy "г."',systime:"h:mm:ss"},"bg"),addLocale({group:".",decimal:",",mmmm:_M("gener;febrer;març;abril;maig;juny;juliol;agost;setembre;octubre;novembre;desembre"),mmm:_M("gen;febr;març;abr;maig;juny;jul;ag;set;oct;nov;des"),dddd:_W("diumenge;dilluns;dimarts;dimecres;dijous;divendres;dissabte"),ddd:_W("dg;dl;dt;dc;dj;dv;ds"),general:"Estándar",opcodes:{dy:"a",wd:"o"},ampm:_B("a. m.;p. m."),currency:"€",format:xf({d:0,o:1,h:0,m:0}),sysdate:'dddd, d mmmm "de" yyyy',systime:"h:mm:ss"},"ca"),addLocale(xm({group:",",decimal:".",mmmm:_M("Enero;Pebrero;Marso;Abril;Mayo;Hunyo;Hulyo;Agosto;Setyembre;Oktubre;Nobyembre;Disyembre"),dddd:_W("Linggo;Lunes;Martes;Miyerkules;Huwebes;Biyernes;Sabado"),currency:"₱",format:xf({h:0,d:0,f:0,m:0,o:0}),sysdate:"dddd, mmmm d, yyyy",systime:"h:mm:ss AM/PM"},3,3),"fil"),addLocale({group:",",decimal:".",ampm:["પૂર્વ મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન"],mmmm:_M("જાન્યુઆરી;ફેબ્રુઆરી;માર્ચ;એપ્રિલ;મે;જૂન;જુલાઈ;ઑગસ્ટ;સપ્ટેમ્બર;ઑક્ટોબર;નવેમ્બર;ડિસેમ્બર"),mmm:_M("જાન્યુ;ફેબ્રુ;માર્ચ;એપ્રિલ;મે;જૂન;જુલાઈ;ઑગ;સપ્ટે;ઑક્ટો;નવે;ડિસે"),dddd:_W("રવિ~;સોમ~;મંગળ~;બુધ~;ગુરુ~;શુક્ર~;શનિ~","વાર"),ddd:_W("રવિ;સોમ;મંગળ;બુધ;ગુરુ;શુક્ર;શનિ"),currency:"₹",format:xf(fp3),sysdate:"dd mmmm yyyy",systime:"hh:mm:ss"},"gu"),addLocale({group:",",decimal:".",ampm:_B("לפ׳;אח׳"),dddd:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],ddd:["יום א","יום ב","יום ג","יום ד","יום ה","יום ו","שבת"],mmmm:_M("ינואר;פברואר;מרץ;אפריל;מאי;יוני;יולי;אוגוסט;ספטמבר;אוקטובר;נובמבר;דצמבר"),mmm:_M("ינו;פבר;מרץ;אפר;מאי;יונ;יול;אוג;ספט;אוק;נוב;דצמ"),mmmm6:_M("רמדאן;שוואל;ד׳ו אל־קעדה;ד׳ו אל־חיג׳ה;מוחרם;רביע אל־אוול;רביע א־ת׳אני;ג׳ומאדא אל־אולא;ג׳ומאדא א־ת׳אניה;רג׳ב;שעבאן;רמדאן"),mmm6:_M("רמדאן;שוואל;ד׳ו אל־קעדה;ד׳ו אל־חיג׳ה;מוחרם;רביע א׳;רביע ב׳;ג׳ומאדא א׳;ג׳ומאדא ב׳;רג׳ב;שעבאן;רמדאן"),color:"צבע",colors:{שחור:C_BLACK,לבן:C_WHITE,אדום:C_RED,ירוק:C_GREEN,כחול:C_BLUE,צהוב:C_YELLOW,"אדום ארגמן":C_MAGENTA,תכלת:C_CYAN},currency:"₪",format:xf({f:2,s:1}),sysdate:"dddd dd mmmm yyyy",systime:"hh:mm:ss"},"he"),addLocale(xm({group:".",decimal:",",mmmm:_M("siječanj;veljača;ožujak;travanj;svibanj;lipanj;srpanj;kolovoz;rujan;listopad;studeni;prosinac"),mmm:_M("sij;vlj;ožu;tra;svi;lip;srp;kol;ruj;lis;stu;pro"),dddd:_W("nedjelja;ponedjeljak;utorak;srijeda;četvrtak;petak;subota"),currency:"€",format:xf(fp2),sysdate:"d. mmmm yyyy.",systime:"h:mm:ss"},-1,3),"hr"),addLocale({decimal:",",mmmm:_M("Հունվար;Փետրվար;Մարտ;Ապրիլ;Մայիս;Հունիս;Հուլիս;Օգոստոս;Սեպտեմբեր;Հոկտեմբեր;Նոյեմբեր;Դեկտեմբեր"),mmm:_M("Հնվ;Փտվ;Մրտ;Ապր;Մյս;Հնս;Հլս;Օգս;Սպտ;Հկտ;Նյմ;Դկտ"),dddd:_W("Կիրակի;Երկուշաբթի;Երեքշաբթի;Չորեքշաբթի;Հինգշաբթի;Ուրբաթ;Շաբաթ"),ddd:_W("Կիր;Երկ;Երք;Չրք;Հնգ;Ուր;Շբթ"),currency:"֏",format:xf(fp1),sysdate:"d mmmm, yyyy",systime:"hh:mm:ss"},"hy"),addLocale(xm({decimal:",",mmmm:_M("იანვარი;თებერვალი;მარტი;აპრილი;მაისი;ივნისი;ივლისი;აგვისტო;სექტემბერი;ოქტომბერი;ნოემბერი;დეკემბერი"),dddd:_W("კვირა;ორშაბათი;სამშაბათი;ოთხშაბათი;ხუთშაბათი;პარასკევი;შაბათი"),ddd:_W("კვ;ორშ;სამშ;ოთხშ;ხუთშ;პარ;შაბ"),currency:"₾",format:xf(fp1),sysdate:"dddd, dd mmmm, yyyy",systime:"hh:mm:ss"},3,-1),"ka"),addLocale(xm({decimal:",",mmmm:_M("Қаңтар;Ақпан;Наурыз;Сәуір;Мамыр;Маусым;Шілде;Тамыз;Қыркүйек;Қазан;Қараша;Желтоқсан"),mmm:_M("қаң;ақп;нау;сәу;мам;мау;шіл;там;қыр;қаз;қар;жел"),dddd:_W("жексенбі;дүйсенбі;сейсенбі;сәрсенбі;бейсенбі;жұма;сенбі"),ddd:_W("жек;дүй;сей;сәр;бей;жұм;сен"),opcodes:{dy:"г",dm:"м",dd:"д",th:"ч",tm:"м",ts:"с"},currency:"₸",general:"Основной",format:xf(fp1),sysdate:"yyyy ж. d mmmm, dddd",systime:"hh:mm:ss"},-1,-1),"kk"),addLocale({group:",",mmmm:_M("ಜನವರಿ;ಫೆಬ್ರವರಿ;ಮಾರ್ಚ್;ಏಏಪ್ರಿಲ್;ಮೇ;ಜೂನ್;ಜುಲೈ;ಆಗಸ್ಟ್;ಸೆಪ್ಟಂಬರ್;ಅಕ್ಟೋಬರ್;ನವೆಂಬರ್;ಡಿಸೆಂಬರ್"),mmm:_M("ಜನವರಿ;ಫೆಬ್ರವರಿ;ಮಾರ್ಚ್;ಎಪ್ರಿಲ್;ಮೇ;ಜೂನ್;ಜುಲೈ;ಆಗಸ್ಟ್;ಸೆಪ್ಟಂಬರ್;ಅಕ್ಟೋಬರ್;ನವೆಂಬರ್;ಡಿಸೆಂಬರ್"),dddd:_W("ಭಾನು~;ಸೋಮ~;ಮಂಗಳ~;ಬುಧ~;ಗುರು~;ಶುಕ್ರ~;ಶನಿ~","ವಾರ"),ddd:_W("ಭಾನು;ಸೋಮ;ಮಂಗಳ;ಬುಧ;ಗುರು;ಶುಕ್ರ;ಶನಿ"),ampm:_B("ಪೂರ್ವಾಹ್ನ;ಅಪರಾಹ್ನ"),currency:"₹",format:xf(fp3),sysdate:"dd mmmm yyyy",systime:"hh:mm:ss"},"kn"),addLocale({decimal:",",mmmm:_M("sausis;vasaris;kovas;balandis;gegužė;birželis;liepa;rugpjūtis;rugsėjis;spalis;lapkritis;gruodis"),mmm:_M("saus;vas;kov;bal;geg;birž;liep;rugp;rugs;spal;lapkr;gruod"),dddd:_W("sekmadienis;pirmadienis;antradienis;trečiadienis;ketvirtadienis;penktadienis;šeštadienis"),ddd:_W("sk;pr;an;tr;kt;pn;št"),ampm:_B("priešpiet;popiet"),currency:"€",format:xf({o:2,k:"-"}),sysdate:'yyyy "m." mmmm d "d.," dddd',systime:"hh:mm:ss"},"lt"),addLocale({decimal:",",mmmm:_M("janvāris;februāris;marts;aprīlis;maijs;jūnijs;jūlijs;augusts;septembris;oktobris;novembris;decembris"),mmm:_M("janv;febr;marts;apr;maijs;jūn;jūl;aug;sept;okt;nov;dec"),dddd:_W("svētdiena;pirmdiena;otrdiena;trešdiena;ceturtdiena;piektdiena;sestdiena"),ddd:_W("Svētd;Pirmd;Otrd;Trešd;Ceturtd;Piektd;Sestd"),ampm:_B("priekšp.;pēcp."),currency:"€",format:xf(fp1),sysdate:'dddd, yyyy. "gada" d. mmmm',systime:"hh:mm:ss"},"lv"),addLocale({group:",",decimal:".",mmmm:_M("ജനുവരി;ഫെബ്രുവരി;മാര്ച്ച്;ഏപ്രില്;മേയ്;ജൂൺ;ജൂലൈ;ആഗസ്റ്റ്;സെപ്റ്റംബര്;ഒക്ടോബര്;നവംബര്;ഡിസംബര്"),mmm:_M("ജനു;ഫെബ്രു;മാർ;ഏപ്രി;മേയ്;ജൂൺ;ജൂലൈ;ഓഗ;സെപ്റ്റം;ഒക്ടോ;നവം;ഡിസം"),dddd:_W("ഞായറാഴ്ച;തിങ്കളാഴ്ച;ചൊവ്വാഴ്ച;ബുധനാഴ്ച;വ്യാഴാഴ്ച;വെള്ളിയാഴ്ച;ശനിയാഴ്ച"),ddd:_W("ഞായർ;തിങ്കൾ;ചൊവ്വ;ബുധൻ;വ്യാഴം;വെള്ളി;ശനി"),currency:"₹",format:xf({d:0,m:0,h:0,y:0,f:0,o:1,k:"/",b:":",s:0}),sysdate:"yyyy, mmmm d, dddd",systime:"h:mm:ss AM/PM"},"ml"),addLocale({group:",",decimal:".",mmmm:_M("Нэгдүгээ~;Хоёрдугаа~;Гуравдугаа~;Дөрөвдүгээ~;Тавдугаа~;Зургаадугаа~;Долоодугаа~;Наймдугаа~;Есдүгээ~;Аравдугаа~;Арван нэгдүгээ~;Арван хоёрдугаар са","р сар"),mmm:_M("1~;2~;3~;4~;5~;6~;7~;8~;9~;10~;11~;12~","-р сар"),dddd:_W("ням;даваа;мягмар;лхагва;пүрэв;баасан;бямба"),ddd:_W("Ня;Да;Мя;Лха;Пү;Ба;Бя"),ampm:_B("ү.ө.;ү.х."),currency:"₮",format:xf({o:2,f:2,k:".",l:"."}),sysdate:"yyyy оны mmmmын d, dddd гараг",systime:"hh:mm:ss"},"mn"),addLocale({group:",",decimal:".",ampm:["म.पू.","म.नं."],mmmm:_M("जानेवारी;फेब्रुवारी;मार्च;एप्रिल;मे;जून;जुलै;ऑगस्ट;सप्टेंबर;ऑक्टोबर;नोव्हेंबर;डिसेंबर"),mmm:_M("जाने;फेब्रु;मार्च;एप्रि;मे;जून;जुलै;ऑग;सप्टें;ऑक्टो;नोव्हें;डिसें"),dddd:_W("रविवार;सोमवार;मंगळवार;बुधवार;गुरुवार;शुक्रवार;शनिवार"),ddd:_W("रवि;सोम;मंगळ;बुध;गुरु;शुक्र;शनि"),currency:"₹",format:xf(fp4),sysdate:"dd mmmm yyyy",systime:"hh:mm:ss"},"mr"),addLocale(xm({group:",",decimal:".",mmmm:_M("ဇန်နဝါရီ;ဖေဖော်ဝါရီ;မတ်;ဧပြီ;မေ;ဇွန်;ဇူလိုင်;ဩဂုတ်;စက်တင်ဘာ;အောက်တိုဘာ;နိုဝင်ဘာ;ဒီဇင်ဘာ"),mmm:_M("ဇန်;ဖေ;မတ်;ဧ;မေ;ဇွန်;ဇူ;ဩ;စက်;အောက်;နို;ဒီ"),dddd:_W("တနင်္ဂနွေ;တနင်္လာ;အင်္ဂါ;ဗုဒ္ဓဟူး;ကြာသပတေး;သောကြာ;စနေ"),ampm:_B("နံနက်;ညနေ"),currency:"K",format:xf({h:0,d:0,m:0}),sysdate:"yyyy၊ mmmm d၊ dddd",systime:"h:mm:ss"},-1,0),"my"),addLocale(xm({group:",",decimal:".",mmmm:_M("ਜਨਵਰੀ;ਫ਼ਰਵਰੀ;ਮਾਰਚ;ਅਪ੍ਰੈਲ;ਮਈ;ਜੂਨ;ਜੁਲਾਈ;ਅਗਸਤ;ਸਤੰਬਰ;ਅਕਤੂਬਰ;ਨਵੰਬਰ;ਦਸੰਬਰ"),dddd:_W("ਐਤਵਾਰ;ਸੋਮਵਾਰ;ਮੰਗਲਵਾਰ;ਬੁੱਧਵਾਰ;ਵੀਰਵਾਰ;ਸ਼ੁੱਕਰਵਾਰ;ਸ਼ਨਿੱਚਰਵਾਰ"),ddd:_W("ਐਤ;ਸੋਮ;ਮੰਗਲ;ਬੁੱਧ;ਵੀਰ;ਸ਼ੁਕਰ;ਸ਼ਨਿੱਚਰ"),ampm:["ਸਵੇਰ","ਸ਼ਾਮ"],currency:"₹",format:xf({d:1,i:1,y:1,f:2,o:1,k:"-",b:":",s:1}),sysdate:"dd mmmm yyyy dddd",systime:"AM/PM hh:mm:ss"}),"pa"),addLocale({group:".",decimal:",",mmmm:_M("ianuarie;februarie;martie;aprilie;mai;iunie;iulie;august;septem~;octom~;noiem~;decem~","brie"),mmm:_M("ian;feb;mar;apr;mai;iun;iul;aug;sept;oct;nov;dec"),dddd:_W("duminică;luni;marți;miercuri;joi;vineri;sâmbătă"),ddd:_W("dum;lun;mar;mie;joi;vin;sâm"),ampm:_B("a.m.;p.m."),currency:"lei",format:xf(fp1),sysdate:"dddd, d mmmm yyyy",systime:"hh:mm:ss"},"ro"),addLocale(xm({group:".",decimal:",",mmmm:_M("januar;februar;marec;april;maj;junij;julij;avgust;september;oktober;november;december"),dddd:_W("nedelja;ponedeljek;torek;sreda;četrtek;petek;sobota"),ampm:_B("dop.;pop."),currency:"€",format:xf({d:0,k:".",l:"."}),sysdate:"dddd, d. mmmm yyyy",systime:"hh:mm:ss"},3,3),"sl"),addLocale(xm({group:".",decimal:",",mmmm:_M("januar;februar;mart;april;maj;jun;jul;avgust;septembar;oktobar;novembar;decembar"),dddd:_W("nedelja;ponedeljak;utorak;sreda;četvrtak;petak;subota"),currency:"RSD",format:xf({d:0,m:0,k:".",l:"."}),sysdate:"dddd, d. mmmm yyyy.",systime:"hh:mm:ss"},3,3),"sr"),addLocale(xm({group:",",decimal:".",ampm:["காலை","மாலை"],mmmm:_M("ஜனவரி;பிப்ரவரி;மார்ச்;ஏப்ரல்;மே;ஜூன்;ஜூலை;ஆகஸ்ட்;செப்டம்பர்;அக்டோபர்;நவம்பர்;டிசம்பர்"),dddd:_W("ஞாயிறு;திங்கள்;செவ்வாய்;புதன்;வியாழன்;வெள்ளி;சனி"),currency:"₹",format:xf({d:1,y:0,f:2,o:1,k:"-",b:":",s:1}),sysdate:"dd mmmm yyyy",systime:"hh:mm:ss"}),"ta"),addLocale({group:",",decimal:".",mmmm:_M("జనవరి;ఫిబ్రవరి;మార్చి;ఏప్రిల్;మే;జూన్;జులై;ఆగస్టు;సెప్టెంబర్;అక్టోబర్;నవంబర్;డిసెంబర్"),mmm:_M("జన;ఫిబ్ర;మార్చి;ఏప్రి;మే;జూన్;జులై;ఆగ;సెప్టెం;అక్టో;నవం;డిసెం"),dddd:_W("ఆదివారం;సోమవారం;మంగళవారం;బుధవారం;గురువారం;శుక్రవారం;శనివారం"),ddd:_W("ఆది;సోమ;మంగళ;బుధ;గురు;శుక్ర;శని"),currency:"₹",format:xf({d:1,h:0,y:0,f:0,o:1,k:"-",b:":",s:0}),sysdate:"d, mmmm yyyy, dddd",systime:"h:mm:ss AM/PM"},"te"),addLocale({decimal:",",mmmm:_M("січень;лютий;березень;квітень;травень;червень;липень;серпень;вересень;жовтень;листопад;грудень"),mmm:_M("Січ;Лют;Бер;Кві;Тра;Чер;Лип;Сер;Вер;Жов;Лис;Гру"),dddd:_W("неділя;понеділок;вівторок;середа;четвер;п'ятниця;субота"),ddd:_W("Нд;Пн;Вт;Ср;Чт;Пт;Сб"),ampm:_B("дп;пп"),currency:"₴",format:xf({h:0,k:".",l:"."}),sysdate:'d mmmm yyyy "р."',systime:"h:mm:ss"},"uk"),addLocale({group:".",decimal:",",mmmm:_M("~Giêng;~Hai;~Ba;~Tư;~Năm;~Sáu;~Bảy;~Tám;~Chín;~Mười;~Mười Một;~Mười Hai","Tháng "),mmm:_M("~1;~2;~3;~4;~5;~6;~7;~8;~9;~10;~11;~12","Thg"),dddd:_W("Chủ Nhật;~Hai;~Ba;~Tư;~Năm;~Sáu;~Bảy","Thứ "),ddd:_W("CN;T2;T3;T4;T5;T6;T7"),ampm:_B("SA;CH"),currency:"₫",format:xf({h:0,d:1}),sysdate:"dd mmmm yyyy",systime:"h:mm:ss AM/PM"},"vi"),addLocale(xm({group:"٬",decimal:"٫",ampm:_B("ص;م"),percent:"٪",mmmm:_M("يناير;فبراير;مارس;أبريل;مايو;يونيو;يوليو;أغسطس;سبتمبر;أكتوبر;نوفمبر;ديسمبر"),dddd:_W("الأحد;الإثنين;الثلاثاء;الأربعاء;الخميس;الجمعة;السبت"),mmmm6:_M("رمضان;شوال;ذو القعدة;ذو الحجة;محرم;ربيع الأول;ربيع الآخرة;جمادى الأولى;جمادى الآخرة;رجب;شعبان;رمضان"),color:"اللون",colors:{أسود:C_BLACK,أبيض:C_WHITE,أحمر:C_RED,أخضر:C_GREEN,أزرق:C_BLUE,أصفر:C_YELLOW,ماجنتا:C_MAGENTA,سماوي:C_CYAN},currency:"",format:xf({f:2,i:1,y:1,s:1}),sysdate:"dd/mmmm/yyyy",systime:"hh:mm:ss AM/PM"},0,0),"ar"),addLocale({group:",",decimal:".",ampm:["AM","PM"],mmmm:_M("জানুয়ারী;ফেব্রুয়ারী;মার্চ;এপ্রিল;মে;জুন;জুলাই;আগস্ট;সেপ্টেম্বর;অক্টোবর;নভেম্বর;ডিসেম্বর"),mmm:_M("জানু;ফেব্রু;মার্চ;এপ্রিল;মে;জুন;জুলাই;আগ;সেপ্টে;অক্টো;নভে;ডিসে"),dddd:_W("রবিবার;সোমবার;মঙ্গলবার;বুধবার;বৃহস্পতিবার;শুক্রবার;শনিবার"),ddd:_W("রবি.;সোম.;মঙ্গল.;বুধ.;বৃহস্পতি.;শুক্র.;শনি."),currency:"₹",format:xf({f:2,y:1,k:"-",b:".",s:1}),sysdate:"dd mmmm yyyy",systime:"hh.mm.ss"},"bn"),addLocale({group:",",decimal:".",mmmm:_M("जनवरी;फरवरी;मार्च;अप्रैल;मई;जून;जुलाई;अगस्त;सितम्बर;अक्तूबर;नवम्बर;दिसम्बर"),mmm:_M("जनवरी;फरवरी;मार्च;अप्रैल;मई;जून;जुलाई;अगस्त;सितम्बर;अक्तूबर;नवम्बर;दिसम्बर"),dddd:_W("रविवार;सोमवार;मंगलवार;बुधवार;गुरुवार;शुक्रवार;शनिवार"),ddd:_W("रवि.;सोम.;मंगल.;बुध.;गुरु.;शुक्र.;शनि."),ampm:["पूर्वाह्न","अपराह्न"],currency:"₹",format:xf(fp4),sysdate:"dd mmmm yyyy",systime:"hh:mm:ss"},"hi")}var reEsc=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),reCurrencySymbol=new RegExp("^["+reEsc(currencySymbols.join(""))+"]");function getTokenHandlers(e){const t=[];t.push([TOKEN_GENERAL,/^General/i,0]),e.general&&e.general!=="General"&&t.push([TOKEN_GENERAL,new RegExp(`^${reEsc(e.general)}`,"i"),0]),e.colors&&t.push([TOKEN_COLOR,new RegExp(`^\\[(${Object.keys(e.colors).map(reEsc).join("|")})\\]`,"i"),1]),e.color&&t.push([TOKEN_COLOR,new RegExp(`^\\[(${reEsc(e.color)}\\s*\\d+)\\]`,"i"),1]);let r,i;if(e.opcodes){const u=reEsc(e.opcodes.dy??"y"),o=reEsc(e.opcodes.dm??"m"),a=reEsc(e.opcodes.dd??"d"),s=reEsc(e.opcodes.th??"h"),d=reEsc(e.opcodes.tm??"m"),c=reEsc(e.opcodes.ts??"s"),l=reEsc(e.opcodes.wd??"a"),f=reEsc(e.opcodes.en??"g"),h=`[${u+u.toUpperCase()}]+|[${o+o.toUpperCase()}]+|[${a+a.toUpperCase()}]+|[${s+s.toUpperCase()}]+|[${d+d.toUpperCase()}]+|[${c+c.toUpperCase()}]+|[${l+l.toUpperCase()}]{3,}|[${f+f.toUpperCase()}]+|[bB]+|e+`;r=new RegExp(`^(?:${h})`),i=new RegExp(`^(?:\\[(${reEsc(s)}+|${reEsc(d)}+|${reEsc(c)}+)\\]+)`,"i")}else r=/^(?:[hH]+|[mM]+|[sS]+|[yY]+|[bB]+|[dD]+|[gG]+|[aA]{3,}|e+)/,i=/^(?:\[(h+|m+|s+)\])/i;return(e.currency.length>1||!currencySymbols.includes(e.currency))&&t.push([TOKEN_CURRENCY,new RegExp(`^(?:${reEsc(e.currency)})`),0]),t.push([TOKEN_HASH,/^#/,0],[TOKEN_ZERO,/^0/,0],[TOKEN_QMARK,/^\?/,0],[TOKEN_SLASH,/^\//,0],[TOKEN_BREAK,/^;/,0],[TOKEN_TEXT,/^@/,0],[TOKEN_PLUS,/^\+/,0],[TOKEN_MINUS,/^-/,0],[TOKEN_POINT,/^\./,0],[TOKEN_SPACE,/^ /,0],[TOKEN_PERCENT,/^%/,0],[TOKEN_AMPM,/^(?:AM\/PM|am\/pm|A\/P)/,0],[TOKEN_CURRENCY,reCurrencySymbol,0],[TOKEN_DIGIT,/^[1-9]/,0],[TOKEN_CALENDAR,/^(?:B[12])/i,0],[TOKEN_ERROR,/^B$/,0],[TOKEN_DATETIME,r,0],[TOKEN_DURATION,i,1],[TOKEN_CONDITION,/^\[((?:<[=>]?|>=?|=)\s*(?:-?[.\d]+))\]/,1],[TOKEN_DBNUM,/^\[(DBNum[0-4]?\d)\]/i,1],[TOKEN_NATNUM,/^\[(NatNum[0-4]?\d)\]/i,1],[TOKEN_LOCALE,/^\[\$([^\]]*)\]/,1],[TOKEN_COLOR,/^\[(black|blue|cyan|green|magenta|red|white|yellow|color\s*\d+)\]/i,1],[TOKEN_MODIFIER,/^\[([^\]])\]/,1],[TOKEN_ESCAPED,/^\\(.)/,1],[TOKEN_STRING,/^"([^"]*?)"/,1],[TOKEN_SKIP,/^_(\\.|.)/,1],["EXP",/^[Ee]([+-])/,1],[TOKEN_FILL,/^\*(\\.|.)/,1],[TOKEN_PAREN,/^[()]/,0],[TOKEN_ERROR,/^[EÈÉÊËèéêëĒēĔĕĖėĘęĚěȄȅȆȇȨȩNnÑñŃńŅņŇňǸǹ["*/\\_]/,0],[TOKEN_CHAR,/^./,0]),t}var CODE_QMRK=63,CODE_HASH=35,CODE_ZERO=48,CODE_NINE=57,isNumOp$2=e=>{const t=(e||"\0").charCodeAt(0);return t===CODE_QMRK||t===CODE_HASH||t>=CODE_ZERO&&t<=CODE_NINE};function lexer(e,t){let r=0;const i=[],u=[];for(;r<e.length;){const o=e.slice(r);let a=0;const s=/^(,+)(.)?/.exec(o);if(s){const d=s[1];a=d.length;const c=e[r-1]||"";let l=!1,f=!1;isNumOp$2(c)?(l=!0,f=!0):c==="."&&(f=!0);const h=s[2]||"";if(l&&(!h||h===";")&&(l=!1),f&&isNumOp$2(h)&&(f=!1),l&&!f)i.push({type:TOKEN_GROUP,value:",",raw:d});else if(!l&&f)i.push({type:TOKEN_SCALE,value:",",raw:d});else if(l&&f){const p={type:TOKEN_SCALE,value:",",raw:d};i.push(p),u.push(p)}else i.push({type:TOKEN_COMMA,value:",",raw:d})}else{let d;for(const[c,l,f]of t){const h=l.exec(o);if(h){d={type:c,value:h[f||0],raw:h[0]},i.push(d),a=h[0].length;break}}u.length&&d?.raw===";"&&(u.length=0),d&&u.length&&isNumOp$2(d.raw)&&(u.forEach(c=>c.type=TOKEN_GROUP),u.length=0)}if(!a){const d=o[0];a=1,i.push({type:TOKEN_CHAR,value:d,raw:d})}r+=a}return i}function tokenize(e){return lexer(e,getTokenHandlers(defaultLocale))}var re_locale=/^([a-z\d]+)(?:[_-]([a-z\d]+))?(?:\.([a-z\d]+))?(?:@([a-z\d]+))?$/i,locales={},baseLocaleData={group:" ",decimal:".",positive:"+",negative:"-",percent:"%",exponent:"E",nan:"NaN",infinity:"∞",ampm:["AM","PM"],mmmm6:["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"],mmm6:["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],mmmm:["January","February","March","April","May","June","July","August","September","October","November","December"],mmm:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dddd:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ddd:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],bool:["TRUE","FALSE"],general:"General",currency:"$",sysdate:"dddd, mmmm d, yyyy",systime:"h:mm:ss AM/PM",color:"Color",colors:{black:"Black",white:"White",red:"Red",green:"Green",blue:"Blue",yellow:"Yellow",magenta:"Magenta",cyan:"Cyan"},format:{minus:!0,dateOrder:1,currencyPos:2,monthFirst:!0,padMm:!0,padDd:!0,padHh:!0}};function parseLocale(e){const t=re_locale.exec(e);if(!t)throw new SyntaxError(`Invalid locale: ${e}`);return{lang:t[1]+(t[2]?"-"+t[2]:""),language:t[1],territory:t[2]||""}}function resolveLocale(e){if(typeof e=="number")return codeToLocale[e&65535]||void 0;const t=parseInt(e,16);if(isFinite(t)&&codeToLocale[t&65535])return codeToLocale[t&65535]||void 0;if(re_locale.test(e))return e}function getLocale(e){let t;if(e){const r=resolveLocale(e);if(r){const i=parseLocale(r);t=locales[i.lang]||locales[i.language]||void 0}}return t}function isMonthFirst(e){const t=lexer(e||"",getTokenHandlers(baseLocaleData)),r=t.findIndex(u=>u.type==="DATETIME"&&/^m/i.test(u.value)),i=t.findIndex(u=>u.type==="DATETIME"&&/^dd?$/i.test(u.value));return r>=0&&i>=0&&r<i}function createLocale(e){const t=e.sysdate??baseLocaleData.sysdate;return{...baseLocaleData,...e,opcodes:{...baseLocaleData.opcodes,...e.opcodes},format:{...baseLocaleData.format,...e.format,monthFirst:e.format?.monthFirst??isMonthFirst(t)}}}function addLocale(e,t){const r=typeof t=="object"?t:parseLocale(t);return locales[r.lang]=createLocale(e),r.language!==r.lang&&!locales[r.language]&&(locales[r.language]=createLocale(e)),locales[r.lang]}initLocales();var defaultLocale=getLocale("en");if(!defaultLocale)throw new Error("numfmt default locale is missing!");var defaultOptions={overflow:"######",dateErrorThrows:!1,dateErrorNumber:!0,bigintErrorNumber:!1,dateSpanLarge:!0,leap1900:!0,nbsp:!1,throws:!0,invalid:"######",locale:"",ignoreTimezone:!1,grouping:[3,3],indexColors:!0,skipChar:"",fillChar:""},POW10=[];for(let e=0;e<=22;e++)POW10[e]=10**e;var CHAR_0$1=48,MIN_NORMAL=22250738585072014e-324,SPLIT=134217729;function pow10(e){return e>=0&&e<=22?POW10[e]:10**e}function scale15(e,t){const r=14-t;if(r>=0&&r<=22){const i=POW10[r],u=e*i;let o=SPLIT*e;const a=o-(o-e),s=e-a;o=SPLIT*i;const d=o-(o-i),c=i-d,l=a*d-u+a*c+s*d+s*c,f=Math.floor(u);return u-f-.5>-l?f+1:f}if(r<0&&r>=-22){const i=POW10[-r],u=e%i,o=Math.round((e-u)/i);return u>i/2?o+1:o}return NaN}function fromExponential(e){const t=e.indexOf("e"),r=+e.slice(t+1),i=e.charAt(0)+e.slice(2,t);if(i.length<=15)return[+i*POW10[15-i.length],r];let u=+i.slice(0,15);const o=i.charCodeAt(15);return(o>53||o===53&&/[1-9]/.test(i.slice(16)))&&u++,u>=1e15?[u/10,r+1]:[u,r]}function toDec15(e){if(e<MIN_NORMAL)return fromExponential(e.toExponential());let t=Math.floor(Math.log10(e));e<pow10(t)?t--:e>=pow10(t+1)&&t++;let r=scale15(e,t);return r>=1e15?(t++,r=scale15(e,t)):r<1e14&&(t--,r=scale15(e,t)),r!==r?fromExponential(e.toExponential(14)):r>=1e15?[r/10,t+1]:[r,t]}function fromDec(e,t){return t>=0&&t<=22?e*POW10[t]:t<0&&t>=-22?e/POW10[-t]:+(e+"e"+t)}function roundDigits(e,t){if(t>=15)return e;const r=pow10(15-t),i=Math.floor(e/r);return(e-i*r)*2>=r?i+1:i}function roundPlaces(e,t){if(!e)return[0,0];if(t>=0&&e<1e15&&Number.isInteger(e))return[e,0];const[r,i]=toDec15(e),u=i+1+t;return u>=15?[r,i-14]:[roundDigits(r,u),-t]}function roundSignificand(e,t,r,i){if(!e)return[0,0,0];let[u,o]=toDec15(e);for(;;){let a=r>1?Math.floor(o/r)*r:o;i||a++;const s=o-a+1+t;if(s>=15)return[u,o-14-a,a];const d=roundDigits(u,s);if(s<0||d<pow10(s))return[d,-t,a];u=1e14,o++}}function decToText(e,t){if(!e)return["",""];const r=String(e);if(t>=0)return[t?r+"0".repeat(t):r,""];const i=r.length+t;let u=r.length;for(;u>0&&r.charCodeAt(u-1)===CHAR_0$1;)u--;return[i>0?r.slice(0,i):"",u>i?(i>=0?"":"0".repeat(-i))+r.slice(Math.max(i,0),u):""]}function roundBinary(e,t=0){if(e<0)return-roundBinary(-e,t);if(t){const r=10**t||1;return Math.round(e*r)/r}return Math.round(e)}function round2(e,t=0){return typeof e!="number"?NaN:e<0?-round2(-e,t):!e||!isFinite(e)?e:fromDec(...roundPlaces(e,t))}var PRECISION=1e-13;function dec2frac(e,t=2,r=2){const i=e<0?-1:1,u=10**(t||2),o=10**(r||2);let a=Math.abs(e),s=0,d=0,c=0,l=1,f,h;if(e=a,e%1===0)h=[e*i,1];else if(e<1e-19)h=[i,1e19];else if(e>1e19)h=[1e19*i,1];else{do if(a=1/(a-Math.floor(a)),f=l,l=l*Math.floor(a)+s,s=f,d=c,c=Math.floor(e*l+.5),c>=u||l>=o)return[i*d,s];while(Math.abs(e-c/l)>=PRECISION&&a!==Math.floor(a));h=[i*c,l]}return h}var floor$1=Math.floor;function toYMD_1900(e,t=!0){if(t&&e>=0){if(e===0)return[1900,1,0];if(e===60)return[1900,2,29];if(e<60)return[1900,e<32?1:2,(e-1)%31+1]}let r=e+68569+2415019;const i=floor$1(4*r/146097);r=r-floor$1((146097*i+3)/4);const u=floor$1(4e3*(r+1)/1461001);r=r-floor$1(1461*u/4)+31;const o=floor$1(80*r/2447),a=r-floor$1(2447*o/80);r=floor$1(o/11);const s=o+2-12*r;return[100*(i-49)+u+r|0,s|0,a|0]}function toYMD_1904(e){return toYMD_1900(e+1462)}function toYMD_1317(e){if(e===60)throw new Error("#VALUE!");if(e<=1)return[1317,8,29];if(e<60)return[1317,e<32?9:10,1+(e-2)%30];const t=10631/30,r=8.01/60;let i=e+466935;const u=floor$1(i/10631);i=i-10631*u;const o=floor$1((i-r)/t);i=i-floor$1(o*t+r);const a=floor$1((i+28.5001)/29.5);return a===13?[30*u+o,12,30]:[30*u+o,a,i-floor$1(29.5001*a-29)]}function toYMD(e,t=0,r=!0){const i=floor$1(e);return t===6?toYMD_1317(i):t===-1?toYMD_1904(i):toYMD_1900(i,r)}var floor=Math.floor;function dateToSerial(e,t){let r;if(Array.isArray(e)){const[i,u,o,a,s,d]=e;r=Date.UTC(i,u==null?0:u-1,o??1,a||0,s||0,d||0)}else if(e instanceof Date&&(r=e.valueOf(),!t?.ignoreTimezone)){const i=new Date;i.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r=i.valueOf()}if(r!=null&&isFinite(r)){const i=floor(r/864e5),u=r-i*864e5;return i-(i<=-25509?-25568:-25569)+u/864e5}}var LRUCache=class{maxSize;entries=new Map;constructor(e){this.maxSize=e}get(e){const t=this.entries.get(e);return t!==void 0&&(this.entries.delete(e),this.entries.set(e,t)),t}set(e,t){this.entries.delete(e),this.entries.set(e,t),this.entries.size>this.maxSize&&this.entries.delete(this.entries.keys().next().value)}getOrSet(e,t){const r=this.entries.has(e)?this.entries.get(e):t(e);return this.set(e,r),r}},okDateFormats=["!d-m-y","!d-m-Y","!j-m-y","!j-m-Y","!d-n-y","!d-n-Y","!j-n-y","!j-n-Y","?m-d-y","?m-d-Y","?m-j-y","?m-j-Y","?n-d-y","?n-d-Y","?n-j-y","?n-j-Y","d-M-y","d-M-Y","j-M-y","j-M-Y","M-d-y","M-d-Y","M-j-y","M-j-Y","d-F-y","d-F-Y","F-d-y","F-d-Y","F-j-y","F-j-Y","j-F-y","j-F-Y","y-F-d","y-F-j","y-M-d","y-M-j","Y-F-d","Y-F-j","Y-M-d","Y-m-d","Y-M-j","Y-m-j","Y-n-d","Y-n-j","j-F","j-M","d-F","d-M","n-d","n-j","n-Y","m-d","m-j","m-Y","M-Y","M-y","F-y","F-Y","Y-M","Y-n","Y-m","Y-F","Y-M"],dateTrieDM={},dateTrieMD={};function packDate(e,t,r=1){if(e){const i=e[0],u=e.slice(1);i==="!"?packDate(u,t,4):i==="?"?packDate(u,t,2):(t[i]=t[i]||{},packDate(u,t[i],r))}else t.$=r}function addFormatToTrie(e,t){packDate(e,t),packDate(e+" x",t),packDate(e+" l",t),packDate(e+" l x",t),packDate("l "+e,t),packDate("l "+e+" x",t),packDate(e+" D",t),packDate(e+" D x",t),packDate("D "+e,t),packDate("D "+e+" x",t)}okDateFormats.forEach(e=>{e.startsWith("?")||addFormatToTrie(e,dateTrieDM),e.startsWith("!")||addFormatToTrie(e,dateTrieMD)});var currentYear$1=new Date().getUTCFullYear(),lookupsCache$1=new LRUCache(10),currentYear=new Date().getUTCFullYear(),lookupsCache=new LRUCache(10);function createPartition(e){return{scale:1,percent:!1,text:!1,parens:!1,fractions:!1,grouping:!1,exponential:!1,integer:!1,locale:"",pattern:"",int_max:0,frac_max:0,frac_min:0,man_p:"",num_p:"",num_min:0,den_min:0,den_max:0,date:0,tokensUsed:0,date_eval:!1,date_system:1,sec_decimals:0,general:!1,clock:24,int_min:0,int_pattern:[],frac_pattern:[],man_pattern:[],den_pattern:[],num_pattern:[],tokens:e??[],den_p:"",int_p:"",denominator:0,sysdate:!1,systime:!1}}function parseLocaleInstr(e){let t,r=0,i,u="";const o=/^([^-]*)-([0-9a-fA-F]{3,8})$/.exec(e);if(o){o[1]&&(u=o[1]);const s=parseInt(o[2],16),d=s>>24&255;d&&(r=d);const c=s>>16&255;c&&(t=c);const l=s&65535;if(l===63488)return{sysdate:!0};if(l===62464)return{systime:!0};l&&codeToLocale[l]&&(i=codeToLocale[l])}else{const s=/^([^-]*)-([a-z\d][a-z\d_.@-]*)?(?:,([a-f\d]{1,4}))?$/i.exec(e);if(s){let d=s[2];if(/^x-sysdate$/.test(d))return{sysdate:!0};if(/^x-systime$/.test(d))return{systime:!0};if(s[1]&&(u=s[1]),d&&(/-x-gannen$/i.test(d)&&(d=d.slice(0,-9)),i=resolveLocale(d)),s[3]){const c=parseInt(s[3],16),l=c>>8&255;l&&(r=l);const f=c&255;f&&(t=f)}}else return e.includes("-")?{currency:e}:{currency:e}}const a={};return t&&(a.calendar=t),r&&(a.numberStyle=r),i&&(a.locale=i),u&&(a.currency=u),a}function add(e,t){typeof e=="string"?t.push({type:TOKEN_STRING,value:e}):t.push(e)}var countNonHash=e=>{let t=0;for(let r=0;r<e.length;r++)e.charCodeAt(r)!==35&&t++;return t};function isNumOp(e,t){const r=e?.type;return r==="HASH"||r==="ZERO"||r==="QMARK"||r==="DIGIT"&&t==="DEN"}function parseFormatSection(e){const t=[],r=createPartition(t);let i="INT",u;const o=[];let a,s=!1,d=-1,c=!1,l="",f=!1;const h=y=>y==="DEN"?r.den_pattern:y==="INT"?r.int_pattern:y==="FRAC"?r.frac_pattern:y==="MAN"?r.man_pattern:[];for(;++d<e.length&&!c;){const y=e[d],E=y.type||"ERROR";if(l+=y.raw,E==="GENERAL")r.general=!0,add({type:E},t);else if(isNumOp(y,i)){const D=h(i);a&&(isNumOp(a,i)||a.type==="GROUP")?(D.push((D.pop()||"")+y.value),u&&"num"in u&&(u.num+=y.value)):(D.push(y.value),u={type:i,num:y.value},add(u,t))}else if(E==="PAREN")y.value==="("&&(r.parens=!0),add(y.value,t);else if(E==="DIGIT")add(y.value,t);else if(E==="SLASH"){f=!0;const D=h(i);if(D.length){if(!u)throw new SyntaxError("Format pattern is missing a numerator");r.fractions=!0;const b=D.pop();r.num_pattern.push(b),u.type="NUM",i="DEN",add({type:"DIV"},t)}else add(y.value,t)}else if(E==="COMMA")add(",",t);else if(E==="SCALE")r.scale=.001**y.raw.length;else if(E==="GROUP"){if(i==="INT"&&(r.grouping=!0),i==="DEN")throw new SyntaxError("Cannot group denominator digits")}else if(E==="SPACE")add({type:E},t);else if(E==="BREAK"){c=!0;break}else if(E==="TEXT")r.text=!0,add({type:E,value:y.value},t);else if(E==="PLUS"||E==="MINUS")add({type:E},t);else if(E==="DURATION"){const D=y.value.toLowerCase(),b=D[0];let _;b==="h"?_={type:T_TYPE_HOUR_E,size:16,pad:D.length}:b==="m"?_={type:T_TYPE_MIN_E,size:32,pad:D.length}:_={type:T_TYPE_SEC_E,size:64,pad:D.length},r.date=r.date|_.size,o.push(_),add(_,t)}else if(r.date&&E==="POINT"&&e[d+1]?.type==="ZERO"){let D=1;d++;let b="0";e[d+1]?.type==="ZERO"&&(b+="0",D=2,d++),e[d+1]?.type==="ZERO"&&(b+="0",D=3,d++),l+=b;const _=[64,128,256,512][D];r.date=r.date|_,r.date_eval=!0,r.sec_decimals=Math.max(r.sec_decimals,D),add({type:T_TYPE_SUBSEC,size:_,decimals:D},t)}else if(E==="CALENDAR")s||(y.value==="B2"||y.value==="b2"?r.date_system=6:r.date_system=1);else if(E==="DATETIME"){let D;const b=y.value.toLowerCase(),_=b[0];if(b==="y"||b==="yy")D={type:T_TYPE_YEAR_S,size:2};else if(_==="y"||_==="e")D={type:T_TYPE_YEAR,size:2};else if(b==="b"||b==="bb")D={type:T_TYPE_B_YEAR_S,size:2};else if(_==="b")D={type:T_TYPE_B_YEAR,size:2};else if(b==="d"||b==="dd")D={type:"DAY",size:8,pad:b==="dd"};else if(b==="ddd"||b==="aaa")D={type:T_TYPE_WEEKDAY_S,size:8};else if(_==="d"||_==="a")D={type:T_TYPE_WEEKDAY,size:8};else if(_==="h")D={type:T_TYPE_HOUR,size:16,pad:b.length>1};else if(_==="m"){b.length===3?D={type:T_TYPE_MNAME_S,size:4}:b.length===5?D={type:T_TYPE_MNAME_1,size:4}:b.length>=4&&(D={type:T_TYPE_MNAME,size:4});const w=o[o.length-1];!D&&w&&!w.used&&w.size&80&&(w.used=!0,D={type:"MIN",size:32,pad:b.length>1}),D||(D={type:T_TYPE_MON,size:4,pad:b.length>1,indeterminate:!0})}else if(_==="s"){D={type:"SEC",size:64,pad:b.length>1};const w=o[o.length-1];w&&w.size&32?D.used=!0:w&&"indeterminate"in w&&(delete w.indeterminate,w.size=32,w.type="MIN",D.used=!0)}D&&(r.date=r.date|D.size,r.date_eval=!0,o.push(D),add(D,t))}else if(E==="AMPM")r.clock=12,r.date=r.date|16,r.date_eval=!0,add({type:E,short:y.value==="A/P"},t);else if(E==="ESCAPED")add({type:TOKEN_STRING,value:y.value,escaped:!0},t);else if(E==="STRING"||E==="CHAR")add(y.value,t);else if(E==="CONDITION"){const D=/^(<[=>]?|>=?|=)\s*(-?[.\d]+)$/.exec(y.value);if(D)r.condition=[D[1],parseFloat(D[2])];else throw new Error("Invalid condition: "+y.value)}else if(E==="LOCALE"){const D=parseLocaleInstr(y.value);D.currency&&add({type:TOKEN_STRING,value:D.currency,escaped:!0},t),D.sysdate&&(r.sysdate=!0),D.systime&&(r.systime=!0),D.locale&&(r.locale=D.locale),(D.calendar===1||D.calendar===6)&&(r.date_system=D.calendar),s=!0}else if(E==="COLOR"){let D;const b=y.value.toLowerCase();(D=/^color\s*(\d+)$/i.exec(b))?r.color=parseInt(D[1],10):r.color=b}else if(E==="PERCENT")r.scale=100,r.percent=!0,add("%",t);else if(E==="POINT")add({type:E,value:y.value},t),r.date||(r.dec_fractions=!0,i=T_TYPE_FRAC);else if(E==="EXP"){r.exponential=!0;const D=y.value.includes("+");r.exp_plus=D,i="MAN",add({type:"EXP",plus:D},t)}else if(E==="SKIP")add({type:E,value:y.value},t);else if(E==="FILL")add({type:E,value:y.value},t);else if(E==="CURRENCY")add({type:E,value:y.value},t);else if(E==="DBNUM"){const D=parseInt(y.value.slice(5));if(D<1||D>4)throw new SyntaxError("Unknown modifier: "+y.value)}else throw E==="NATNUM"?new SyntaxError("Unknown modifier: "+y.value):E==="MODIFIER"?new SyntaxError("Unknown modifier: "+y.value):E==="ERROR"?new SyntaxError(`Illegal character: ${l}`):new SyntaxError(`Unknown token ${E} in ${l}`);a=y}if(r.tokensUsed=d,r.pattern=l,r.fractions&&r.dec_fractions||r.grouping&&!r.int_pattern.length||r.fractions&&r.exponential||r.fractions&&r.den_pattern.length*r.num_pattern.length===0||f&&!r.fractions&&!r.date||r.exponential&&(r.int_pattern.length||r.frac_pattern.length)*r.man_pattern.length===0)throw new SyntaxError(`Invalid pattern: ${l}`);const p=r.int_pattern.join(""),g=r.man_pattern.join(""),v=r.frac_pattern.join("");r.int_max=p.length,r.int_min=countNonHash(p);let x=0;for(let y=0;y<p.length;y++){const E=p[p.length-1-y];/^[0-9?]/.test(E)&&(x=y+1)}r.int_min=x,r.frac_max=v.length,r.frac_min=countNonHash(v);let A=r.num_pattern.join(""),m=r.den_pattern[0]||"";if(m.includes("?")||A.includes("?")?(m=m.replace(/\d/g,"?"),m=m.replace(/#$/g,"?"),r.num_min=countNonHash(A),r.den_max=m.length,r.den_min=countNonHash(m),A=A.replace(/#$/g,"?")):(r.num_min=countNonHash(A),r.den_max=m.length,r.den_min=countNonHash(m)),r.int_p=p,r.man_p=g,r.num_p=A,r.den_p=m,r.den_pattern.length&&(r.denominator=parseInt(r.den_pattern.join("").replace(/\D/g,""),10)),r.integer=!!p.length,!r.integer&&!r.exponential&&v.length){const y=r.tokens.findIndex(E=>E.type===TOKEN_POINT);r.tokens.splice(y,0,{type:"INT",num:"#"}),r.integer=!0,r.int_pattern=["#"],r.int_p="#"}if(!r.tokens.length&&/^\[(?!\$)/.test(r.pattern)&&(r.general=!0,add({type:TOKEN_GENERAL},t)),r.fractions)for(let y=0;y<t.length-1;y++){const E=t[y];if(E.type!=="STRING"&&E.type!=="SPACE")continue;const D=t[y+1].type;D==="NUM"?E.rule="num+int":D==="DIV"?E.rule="num":D==="DEN"&&(E.rule="den")}return r.grouping&&r.int_pattern.length>1&&(r.grouping=!1),r}var maybeAddMinus=e=>{const[t,r]=e.condition??["",0];r<0&&(t==="<"||t==="<="||t==="=")||r===0&&t==="<"||e.tokens.unshift({type:TOKEN_MINUS,volatile:!0})},clonePart=(e,t)=>{const r={};for(const i in e){const u=e[i];r[i]=Array.isArray(u)?[...u]:u}return t&&r.tokens&&r.tokens.unshift(t),r.generated=!0,r};function parsePattern(e){const t=[];let r=!1,i,u=null,o=0,a,s=0,d=0,c=tokenize(e);do{if(a=parseFormatSection(c),(a.date||a.general)&&(a.int_pattern.length||a.frac_pattern.length||a.scale!==1||a.text))throw new Error("Illegal format");if(a.condition&&(d++,r=!0),a.text){if(u)throw new Error("Unexpected partition");u=a}a.locale&&(i=resolveLocale(a.locale)),t.push(a),o=c[a.tokensUsed]?.type==="BREAK"?1:0,c=c.slice(a.tokensUsed+o),s++}while(o&&s<4&&d<3);if(o)throw new Error("Unexpected partition");if(d>2)throw new Error("Unexpected condition");const l=t[3];if(l&&(l.int_pattern.length||l.frac_pattern.length||l.date))throw new Error("Unexpected partition");if(r){t[0].condition||(t[0].condition=[">",0]);const f=t.length;if(f===1&&(t[1]=parseFormatSection(tokenize("General")),t[1].generated=!0),f<=2,f<3){const h=t[0],p=t[1];if(maybeAddMinus(h),p.condition)maybeAddMinus(p);else{const g=h.condition;g&&(g[0]==="="||g[1]>=0&&(g[0]===">"||g[0]===">="))&&p.tokens.unshift({type:TOKEN_MINUS,volatile:!0})}}else t.forEach(maybeAddMinus)}else{if(t.length<4&&u)for(let f=0,h=t.length;f<h;f++)t[f]===u&&t.splice(f,1);if(t.length<1&&u&&(t[0]=parseFormatSection(tokenize("General")),t[0].generated=!0),t.length<2){const f={type:TOKEN_MINUS,volatile:!0};t.push(clonePart(t[0],f))}if(t.length<3&&t.push(clonePart(t[0])),t.length<4)if(u)t.push(u);else{const f=parseFormatSection(tokenize("@"));f.generated=!0,t.push(f)}t[0].condition=[">",0],t[1].condition=["<",0],t[2].condition=void 0}return{pattern:e,partitions:t,locale:i}}var _parseDataCache=new LRUCache(MAX_CACHED_PATTERNS);function prepareFormatterData(e,t=!1){e||(e="General");let r=_parseDataCache.get(e);if(!r)try{r=parsePattern(e),_parseDataCache.set(e,r)}catch(i){if(t)throw i;const u=i&&typeof i=="object"&&"message"in i?String(i.message):"Unknown error",o=createPartition([{type:TOKEN_ERROR}]);o.error=!0,r={pattern:e,partitions:[o,o,o,o],error:u,locale:void 0}}return r}function clamp2(e){if(e===0)return e;const t=Math.ceil(Math.log10(e<0?-e:e)),r=10**(16-Math.floor(t));return isFinite(r)?Math.round(e*r)/r:0}function getExponent(e,t=0){const r=Math.floor(Math.log10(e));return t>1?Math.floor(r/t)*t:r}function getSignificand(e,t=1){return t<-300?parseFloat(e.toExponential().split("e")[0]):e*10**-t}var zero={total:1,sign:0,digits:1,period:0,int:1,frac:0};function numdec(e,t=!0){const r=Math.abs(e);if(!r)return zero;const i=t&&e<0?1:0,u=Math.floor(r),o=Math.floor(Math.log10(r)+1);let a=0,s=0;if(u!==r){a=1;const d=String(round2(r*10**-o,15));let c=d.length,l=!0,f=0;for(;f<=d.length;){if(d[f]==="."){c--;break}else d[f]==="0"&&l?c--:l=!1;f++}s=c-o,s<0&&(s=0,a=0)}return{total:i+Math.max(o,1)+a+s,digits:Math.max(o,0)+s,sign:i,period:a,int:Math.max(o,1),frac:s}}var fixLocale=(e,t)=>e.replace(/\./,t.decimal),getExp=(e,t,r)=>{const i=Math.abs(t);let u;return e===1?u=e:u=round2(e,5),[fixLocale(u+"",r),r.exponent,t<0?r.negative:r.positive,i<10?"0":"",i]};function general(e,t,r){if(typeof t=="string")e.push(t);else{const i=t|0;if(t===i)e.push(Math.abs(i));else{const u=Math.abs(t);let o=getExponent(u),a=getSignificand(u,o);a===10&&(a=1,o++);const s=numdec(u);if(o>=-4&&o<=-1){const d=u.toPrecision(10+o).replace(/\.?0+$/,"");e.push(fixLocale(d,r))}else if(o===10){const d=Math.round(u);d<1e11?e.push(d):e.push(...getExp(1,11,r))}else if(Math.abs(o)<=9)if(s.total<=11){const d=round2(u,9).toFixed(s.frac);e.push(fixLocale(d,r))}else o===9?e.push(Math.round(u)):o>=0&&o<9?e.push(fixLocale(String(round2(u,9-o)),r)):e.push(...getExp(a,o,r));else s.total>=12?e.push(...getExp(a,o,r)):e.push(fixLocale(round2(u,9).toFixed(s.frac),r))}}return e}function pad(e,t=!1){return e==="0"?"0":e==="?"?t?" ":" ":""}var DAYSIZE=86400,CHAR_0=48,CHAR_9=57,dateOverflows=(e,t,r)=>r?e<-694324||t>=35830291:e<0||t>=2958466;function runPart(e,t,r,i){let u="",o="",a="",s="",d="",c="",l=0,f=0;if(typeof e=="bigint"){if(e<=Number.MAX_SAFE_INTEGER&&e>=Number.MIN_SAFE_INTEGER)e=Number(e);else return r.bigintErrorNumber?String(e):r.overflow;f=e}else typeof e=="number"&&(f=Math.trunc(e));let h=0,p=0,g=1,v=0,x=0,A=0,m=0,y=0,E=0;const D=i||defaultLocale;if(!t.text&&isFinite(t.scale)&&t.scale!==1&&typeof e=="number"&&(e=clamp2(e*t.scale)),typeof e=="number"&&t.fractions){if(t.integer){const j=Math.abs(roundBinary(e,1));c+=j<1?"":Math.floor(j)}}else if(typeof e=="number"&&isFinite(e)&&(t.exponential||t.integer||t.dec_fractions)){let j,T;t.exponential?([j,T,l]=roundSignificand(Math.abs(e),t.frac_max,t.int_max,!!t.integer),u+=Math.abs(l),e=(e<0?-j:j)*pow10(T)):[j,T]=roundPlaces(Math.abs(e),t.frac_max);const[I,M]=decToText(j,T);t.integer&&(c=I),t.dec_fractions&&(d=M)}const b=r.grouping[0]??3,_=r.grouping[1]??b,w=!t.error&&(t.num_p.includes("0")||t.den_p.includes("0"));let B=w;if(t.fractions&&typeof e=="number"){B=w||!!(e%1);const j=Math.abs(t.integer?e%1:e);if(j)if(B=!0,t.denominator&&isFinite(t.denominator))s+=t.denominator,a+=roundBinary(j*t.denominator),a==="0"&&(a="",s="",B=w);else{const T=dec2frac(j,1/0,t.den_max);a+=T[0],s+=T[1],t.integer&&a==="0"&&(a="",s="",B=w)}else!e&&!t.integer&&(B=!0,a="0",s="1");t.integer&&!B&&!Math.trunc(e)&&(c="0")}if(t.date&&typeof e=="number"){f=Math.trunc(e);const j=DAYSIZE*(e-f);if(h=Math.floor(j),E=j-h,Math.abs(E)<1e-6?E=0:E>.9999&&(E=0,h+=1),E){const T=t.date&512||t.date&256||t.date&128;(T===512&&E>.9995||T===256&&E>.995||T===128&&E>.95||!T&&E>=.5)&&(h++,E=0)}if(h===DAYSIZE&&t.date&1008&&(h=0,f+=1),f||t.date_system){const T=toYMD(e+f-Math.trunc(e),t.date_system,r.leap1900);p=T[0],g=T[1],v=T[2]}if(h){const T=h<0?DAYSIZE+h:h;y=Math.floor(T)%60,m=Math.floor(T/60)%60,A=Math.floor(T/60/60)%60}if(x=(6+f)%7,t.date_eval&&dateOverflows(e,f+h/DAYSIZE,r.dateSpanLarge)){if(r.dateErrorThrows)throw new Error("Date out of bounds");return r.dateErrorNumber?general(e<0?[D.negative]:[],e,D).join(""):r.overflow}}const F=pad("?",r.nbsp);l<0?o="-":t.exp_plus&&(o="+");const $=[],L=(j,T,I,M)=>{const P=!M&&j.length>T.length?I.length+j.length-T.length:I.length;j.length<T.length&&(M+=j.length-T.length);for(let R=0;R<P;R++)$.push(j[R+M]||pad(I[R],r.nbsp));return P};let O=!1;const k={int:0,frac:0,man:0,num:0,den:0};for(let j=0,T=t.tokens.length;j<T;j++){const I=t.tokens[j],M=I.type,P="num"in I?I.num.length:0;if(M==="STRING"){const R=I.rule;R?R==="num"&&B||R==="num+int"&&B&&c||R==="den"&&B?$.push(I.value.replaceAll(" ",F)):(R==="num"&&t.num_min>0||t.den_min>0||R==="num+int"&&t.den_min>0&&(c||t.num_min)||R==="den"&&t.den_min>0||t.den_min>0)&&$.push(F.repeat(I.value.length)):$.push(I.value.replaceAll(" ",F))}else if(M==="SPACE")I.rule==="num+int"?(B||t.num_min||t.den_min)&&(c||t.num_min)&&$.push(F):$.push(F);else if(M==="ERROR")$.push(r.invalid);else if(M==="POINT")$.push(t.date?I.value:D.decimal);else if(M==="GENERAL")general($,e,D);else if(M==="EXP")$.push(D.exponent);else if(M==="MINUS")I.volatile&&t.date||I.volatile&&(typeof e!="number"||e>=0)||(I.volatile&&!t.fractions&&(t.integer||t.dec_fractions)?(typeof e=="number"&&e<0&&c&&c!=="0"||d)&&$.push(D.negative):$.push(D.negative));else if(M==="PLUS")$.push(D.positive);else if(M==="TEXT")$.push(e);else if(M==="FILL")r.fillChar&&$.push(r.fillChar,I.value);else if(M==="SKIP")r.skipChar?$.push(r.skipChar,I.value):$.push(r.nbsp?" ":" ");else if(M==="DIV")B?$.push("/"):t.num_min>0||t.den_min>0?$.push(F):$.push(pad("#",r.nbsp));else if(M==="INT")if(t.int_pattern.length===1){const R=t.int_p,N=t.exponential&&!e,W=N?Math.max(t.int_min,t.int_max,c.length):Math.max(t.int_min,c.length);let U="";for(let Y=W;Y>0;Y--){let ae=c.charAt(c.length-Y);N&&!ae&&(ae="0");const re=ae?"":R.charAt(R.length-Y)||R[0];let ie="";if(t.grouping){const se=Y-1-b;se>=0&&!(se%_)&&(ie=ae||re==="0"?D.group:pad("?",r.nbsp))}U+=(ae||pad(re,r.nbsp))+ie}$.push(U)}else k.int+=L(c,t.int_p,I.num,k.int);else if(M==="FRAC"){const R=k.frac;for(let N=0;N<P;N++)$.push(d[N+R]||pad(I.num[N],r.nbsp));k.frac+=P}else if(M==="MAN")k.man||$.push(o),k.man+=L(u,t.man_p,I.num,k.man);else if(M==="NUM")k.num+=L(a,t.num_p,I.num,k.num);else if(M==="DEN"){const R=k.den;for(let N=0;N<P;N++){let W=s[N+R];if(!W){const U=I.num.charCodeAt(N);U>CHAR_0&&U<=CHAR_9||O&&U===CHAR_0?(O=!0,W=r.nbsp?" ":" "):!O&&N===P-1&&U===CHAR_0&&!s?W="1":W=pad(I.num[N],r.nbsp)}$.push(W)}k.den+=P}else if(M==="YEAR")p<0&&$.push(D.negative),$.push(String(Math.abs(p)).padStart(4,"0"));else if(M==="YEAR-SHORT"){const R=p%100;$.push(R<10?"0":"",R)}else if(M==="MONTH")$.push(I.pad&&g<10?"0":"",g);else if(M==="MONTHNAME-SINGLE")t.date_system===6?$.push(D.mmmm6[g-1].charAt(0)):$.push(D.mmmm[g-1].charAt(0));else if(M==="MONTHNAME-SHORT")t.date_system===6?$.push(D.mmm6[g-1]):$.push(D.mmm[g-1]);else if(M==="MONTHNAME")t.date_system===6?$.push(D.mmmm6[g-1]):$.push(D.mmmm[g-1]);else if(I.type==="WEEKDAY-SHORT")$.push(D.ddd[x]);else if(I.type==="CURRENCY")$.push(I.value);else if(M==="WEEKDAY")$.push(D.dddd[x]);else if(M==="DAY")$.push(I.pad&&v<10?"0":"",v);else if(M==="HOUR"){const R=A%t.clock||(t.clock<24?t.clock:0);$.push(I.pad&&R<10?"0":"",R)}else if(M==="MIN")$.push(I.pad&&m<10?"0":"",m);else if(M==="SEC")$.push(I.pad&&y<10?"0":"",y);else if(M==="SUBSEC"){$.push(D.decimal);const R=E.toFixed(t.sec_decimals);$.push(R.slice(2,2+I.decimals))}else if(M==="AMPM"){const R=A<12?0:1;I.short?$.push("AP"[R]):$.push(D.ampm[R])}else if(M==="HOUR-ELAP"&&typeof e=="number"){e<0&&$.push(D.negative);const R=f*24+Math.floor(Math.abs(h)/3600);$.push(String(Math.abs(R)).padStart(I.pad,"0"))}else if(M==="MIN-ELAP"&&typeof e=="number"){e<0&&$.push(D.negative);const R=f*1440+Math.floor(Math.abs(h)/60);$.push(String(Math.abs(R)).padStart(I.pad,"0"))}else if(M==="SEC-ELAP"&&typeof e=="number"){e<0&&$.push(D.negative);const R=f*DAYSIZE+Math.abs(h);$.push(String(Math.abs(R)).padStart(I.pad,"0"))}else if(M==="B-YEAR")$.push(p+543);else if(M==="B-YEAR-SHORT"){const R=(p+543)%100;$.push(R<10?"0":"",R)}}return $.join("")}var default_text=parseFormatSection([{type:TOKEN_TEXT,value:"@",raw:"@"}]);function getPart(e,t){for(let r=0;r<3;r++){const i=t[r];if(i){let u=!1;if(i.condition){const o=i.condition[0],a=i.condition[1];o==="="?u=e===a:o==="<>"?u=e!==a:typeof e=="string"?u=!1:o===">"?u=e>a:o==="<"?u=e<a:o===">="?u=e>=a:o==="<="&&(u=e<=a)}else u=!0;if(u)return i}}}function formatValue(e,t,r){const i=t.partitions,u=getLocale(t.locale||r.locale)??defaultLocale,o=i[3]?i[3]:default_text;if(typeof e=="boolean"&&(e=u.bool[e?0:1]),e==null)return"";const a=typeof e=="bigint";if(typeof e!="number"&&!a)return runPart(String(e),o,r,u);if(!a&&!Number.isFinite(e))return Number.isNaN(e)?u.nan:(e<0?u.negative:"")+u.infinity;const s=e;let d=getPart(s,i);return d?.sysdate&&(d=prepareFormatterData(u.sysdate??"dd mmmm yyyy",!1).partitions[0]),d?.systime&&(d=prepareFormatterData(u.systime??"hh:mm:ss",!1).partitions[0]),d?runPart(s,d,r,u):r.overflow}function format(e,t,r={}){const i=Object.assign({},defaultOptions,r),u=prepareFormatterData(e,i.throws);return formatValue(dateToSerial(t,i)??t,u,i)}function isValidFormat(e){try{return prepareFormatterData(e,!0),!0}catch{return!1}}var rgbOfHex=e=>{const t=/^#?([0-9a-fA-F]{6})$/u.exec(e)?.[1]??"000000";return[0,2,4].map(r=>parseInt(t.slice(r,r+2),16)/255)},hex23=e=>Math.ceil(Math.min(1,Math.max(0,e))*255-.5-1e-9).toString(16).padStart(2,"0").toUpperCase(),hexOfRgb=([e,t,r])=>`#${hex23(e??0)}${hex23(t??0)}${hex23(r??0)}`;function toHsl([e,t,r]){const i=e??0,u=t??0,o=r??0,a=Math.max(i,u,o),s=Math.min(i,u,o),d=(a+s)/2;if(a===s)return[0,0,d];const c=a-s,l=d>.5?c/(2-a-s):c/(a+s);return[a===i?((u-o)/c+(u<o?6:0))*60:a===u?((o-i)/c+2)*60:((i-u)/c+4)*60,l,d]}function fromHsl([e,t,r]){const i=((e??0)%360+360)%360,u=t??0,o=r??0;if(u===0)return[o,o,o];const a=o<.5?o*(1+u):o+u-o*u,s=2*o-a,d=c=>{const l=(c%1+1)%1;return l<1/6?s+(a-s)*6*l:l<1/2?a:l<2/3?s+(a-s)*(2/3-l)*6:s};return[d(i/360+1/3),d(i/360),d(i/360-1/3)]}var WHOLE=1e5;function lumOf(e){const t=Math.round(e*WHOLE);return t>0?{lumMod:WHOLE-t,lumOff:t}:{lumMod:WHOLE+t}}function luminanceAt(e,t){const{lumMod:r,lumOff:i=0}=lumOf(t);return Math.min(1,Math.max(0,(e*r+i)/WHOLE))}function brightened(e,t){if(t===0)return hexOfRgb(rgbOfHex(e));const[r,i,u]=toHsl(rgbOfHex(e));return hexOfRgb(fromHsl([r,i,luminanceAt(u,t)]))}var themeColor=(e,t=0)=>t===0?e:{theme_color:e,brightness:t},themeColorOf=e=>typeof e=="string"?e:"theme_color"in e?e.theme_color:void 0;function colorRgb(e,t){return typeof e=="string"?t[e]:"rgb"in e?e.rgb:brightened(t[e.theme_color],e.brightness)}var CHART_DEFAULTS={fontSize:12,titleScale:1.2,gapWidth:150,holeSize:50,margin:6,gridline:"#D9D9D9",axisLine:"#BFBFBF",letter:.55,lineWidth:2.25,gridWidth:.75,marker:5},ACCENTS=["accent1","accent2","accent3","accent4","accent5","accent6"],accentOf=e=>ACCENTS[e%ACCENTS.length]??"accent1",isBar=e=>e.startsWith("column")||e.startsWith("bar"),isHorizontal=e=>e.startsWith("bar"),isLine=e=>e.startsWith("line"),isArea=e=>e.startsWith("area"),isRound=e=>e==="pie"||e==="doughnut",isScatter=e=>e.startsWith("scatter"),hasLines=e=>!isScatter(e)||e!=="scatter",hasMarkers=e=>e==="line-markers"||e==="scatter"||e==="scatter-lines",groupingOf=e=>e.endsWith("-100")?"percentStacked":e.endsWith("-stacked")?"stacked":isBar(e)?"clustered":"standard";function labelPositionsOf(e){return isArea(e)||e==="doughnut"?[]:e==="pie"?["bestFit","outEnd","inEnd","ctr"]:isLine(e)||isScatter(e)?["t","b","l","r","ctr"]:groupingOf(e)==="clustered"?["outEnd","inEnd","ctr","inBase"]:["inEnd","ctr","inBase"]}function labelPositionOf(e){const t=labelPositionsOf(e.type),r=e.labels?.position;if(r!==void 0&&t.includes(r))return r;if(t.length!==0)return e.type==="pie"?"ctr":isLine(e.type)||isScatter(e.type)?"t":groupingOf(e.type)==="clustered"?"outEnd":"ctr"}var variesOf=e=>e.vary_by_categories??isRound(e.type);function formatValue2(e,t="General"){return t==="General"||!isValidFormat(t)?String(Number(e.toPrecision(10))):format(t,e)}var NICE=[1,2,5,10];function chartScale(e,t,r,i,u={}){const o=e>0&&(t-e)/t<.16666666666666666?e:Math.min(e,0),a=t<=0&&e<0?0:t,s=u.minimum_scale??o,d=u.maximum_scale??a,c=d>s?d-s:1,l=Math.max(1,Math.floor(r/i)),f=c/l,h=10**Math.floor(Math.log10(f)),p=u.major_unit??(NICE.find(D=>D*h>=f)??10)*h,g=(D,b)=>Number((b(Number((D/p).toFixed(9)))*p).toPrecision(12)),v=a>0?a+c*.05:a===o?c:a,x=u.maximum_scale??g(v,Math.ceil),A=o<0?o-c*.05:o,m=u.minimum_scale??g(A,Math.floor),y=[],E=Math.round((x-m)/p);for(let D=0;D<=E;D++)y.push(Number((m+D*p).toPrecision(12)));return{min:m,max:x,major:p,ticks:y}}var textWidth=(e,t)=>{let r=0;for(const i of e)r+=(i.codePointAt(0)??0)>11903?1:CHART_DEFAULTS.letter;return r*t},num=e=>String(Number(e.toFixed(3)));function smoothPath(e){const t=r=>e[Math.max(0,Math.min(e.length-1,r))]??[0,0];return e.map(([r,i],u)=>{if(u===0)return`M${num(r)} ${num(i)}`;const[o,a]=t(u-2),[s,d]=t(u-1),[c,l]=t(u+1),f=`${num(s+(r-o)/6)} ${num(d+(i-a)/6)}`,h=`${num(r-(c-s)/6)} ${num(i-(l-d)/6)}`;return`C${f} ${h} ${num(r)} ${num(i)}`}).join(" ")}var linePath=e=>e.map(([t,r],i)=>`${i===0?"M":"L"}${num(t)} ${num(r)}`).join(" ");function slicePath(e,t,r,i,u,o){const a=(l,f)=>`${num(e+l*Math.sin(f))} ${num(t-l*Math.cos(f))}`,s=o-u>=Math.PI*2?u+Math.PI*2-1e-4:o,d=s-u>Math.PI?1:0,c=`M${a(r,u)} A${num(r)} ${num(r)} 0 ${String(d)} 1 ${a(r,s)}`;return i<=0?`${c} L${num(e)} ${num(t)} Z`:`${c} L${a(i,s)} A${num(i)} ${num(i)} 0 ${String(d)} 0 ${a(i,u)} Z`}function axisTitleRoom(e,t,r,i){const u=i*1.5;return t!==void 0&&t!==""&&(e.bottom-=u),r!==void 0&&r!==""&&(e.left+=u),{x:e.left-u/2,y:e.bottom+u/2}}function axisTitleWords(e,t,r,i,u,o,a){i!==void 0&&i!==""&&e.words.push({x:t.x+t.width/2,y:r.y,text:i,size:o,anchor:"middle",color:a}),u!==void 0&&u!==""&&e.words.push({x:r.x,y:t.y+t.height/2,text:u,size:o,anchor:"middle",color:a,rotate:-90})}var labelOf=(e,t,r,i,u)=>{const o=e.labels;if(!o)return"";const a=isRound(e.type),s=[];return o.show_series_name&&s.push(i.name),o.show_category_name&&s.push(u),(o.show_value??!(o.show_percentage??!1))&&s.push(formatValue2(t,o.number_format??i.number_format)),o.show_percentage&&a&&s.push(formatValue2(r,o.number_format??"0%")),s.join(", ")};function scatterDrawing(e,t,r,i,u){const o=CHART_DEFAULTS,a=e.category_axis??{},s=e.value_axis??{},d=axisTitleRoom(r,a.title,s.title,i),c=e.series.map(B=>B.values.flatMap((F,$)=>{const L=B.x?.[$]??(B.x?null:$+1);return L===null||F===null?[]:[[L,F]]})),l=c.flat().map(B=>B[0]),f=c.flat().map(B=>B[1]),h=B=>B.length>0?Math.min(...B):0,p=B=>B.length>0?Math.max(...B):1,g=s.number_format??e.series[0]?.number_format??"General",v=a.number_format??"General",x=i*.5,A=chartScale(h(f),p(f),r.bottom-r.top,i*2.4,s),m=s.visible===!1?0:Math.max(0,...A.ticks.map(B=>textWidth(formatValue2(B,g),i)))+x,y=a.visible===!1?0:i*1.2+x,E={x:r.left+m,y:r.top,width:r.right-r.left-m,height:r.bottom-r.top-y};t.plot=E,axisTitleWords(t,E,d,a.title,s.title,i,u);const D=chartScale(h(l),p(l),E.width,i*5,a),b=chartScale(h(f),p(f),E.height,i*2.4,s),_=B=>E.x+(Math.min(D.max,Math.max(D.min,B))-D.min)/(D.max-D.min)*E.width,w=B=>E.y+E.height-(Math.min(b.max,Math.max(b.min,B))-b.min)/(b.max-b.min)*E.height;for(const B of b.ticks){const F=w(B);(s.has_major_gridlines??!0)&&t.grid.push({d:`M${num(E.x)} ${num(F)} H${num(E.x+E.width)}`,color:s.gridline_color??{rgb:o.gridline},width:o.gridWidth}),s.visible!==!1&&t.words.push({x:E.x-x,y:F,text:formatValue2(B,g),size:i,anchor:"end",color:u})}for(const B of D.ticks){const F=_(B);a.has_major_gridlines===!0&&t.grid.push({d:`M${num(F)} ${num(E.y)} V${num(E.y+E.height)}`,color:a.gridline_color??{rgb:o.gridline},width:o.gridWidth}),a.visible!==!1&&t.words.push({x:F,y:E.y+E.height+x+i*.6,text:formatValue2(B,v),size:i,anchor:"middle",color:u})}t.axes.push({d:`M${num(E.x)} ${num(w(Math.max(b.min,Math.min(b.max,0))))} H${num(E.x+E.width)}`,color:a.line_color??{rgb:o.axisLine},width:o.gridWidth}),e.series.forEach((B,F)=>{const $=B.color??accentOf(F),L=(c[F]??[]).map(([O,k])=>[_(O),w(k)]);if(L.length!==0&&(hasLines(e.type)&&t.lines.push({d:e.type==="scatter-smooth"||B.smooth===!0?smoothPath(L):linePath(L),color:$,width:B.line_width??o.lineWidth,series:F}),hasMarkers(e.type)))for(const[O,k]of L)t.dots.push({x:O,y:k,r:(B.marker_size??o.marker)/2,color:$})})}function chartDrawing(e,t,r){const i=CHART_DEFAULTS,u=e.font_size??i.fontSize,o=e.font_color??"dk1",a={grid:[],shapes:[],boxes:[],lines:[],axes:[],dots:[],keys:[],words:[],plot:{x:0,y:0,width:0,height:0}},s={left:i.margin,top:i.margin,right:t-i.margin,bottom:r-i.margin};if(e.title!==void 0&&e.title!==""){const X=e.title_size??u*i.titleScale;a.words.push({x:t/2,y:s.top+X*.7,text:e.title,size:X,anchor:"middle",color:o}),s.top+=X*1.6}const d=isRound(e.type),c=variesOf(e),l=(X,H)=>c?e.category_colors?.[H]??accentOf(H):e.series[X]?.color??accentOf(X);if(e.legend!==void 0){const X=c?e.categories:e.series.map(pe=>pe.name),H=u*.6,Q=u*.4,ee=u*1.5,ce=X.map(pe=>H+Q+textWidth(pe,u)),Ae=(pe,ge,ve)=>{a.keys.push({x:ge,y:ve-H/2,width:H,height:H,color:c?e.category_colors?.[pe]??accentOf(pe):e.series[pe]?.color??accentOf(pe),series:c?0:pe,category:c?pe:0}),a.words.push({x:ge+H+Q,y:ve,text:X[pe]??"",size:u,anchor:"start",color:o})};if(e.legend==="top"||e.legend==="bottom"){const pe=ce.reduce((Ce,ne)=>Ce+ne,0)+u*(X.length-1),ge=e.legend==="top"?s.top+ee/2:s.bottom-ee/2;let ve=(t-pe)/2;X.forEach((Ce,ne)=>{Ae(ne,ve,ge),ve+=(ce[ne]??0)+u}),e.legend_overlay!==!0&&(e.legend==="top"?s.top+=ee:s.bottom-=ee)}else{const pe=Math.max(0,...ce),ge=e.legend==="left"?s.left:s.right-pe,ve=(s.top+s.bottom-ee*X.length)/2+ee/2;X.forEach((Ce,ne)=>{Ae(ne,ge,ve+ne*ee)}),e.legend_overlay!==!0&&(e.legend==="left"?s.left+=pe+u:s.right-=pe+u)}}const f=e.labels,h=f?.size??u,p=f?.color??o,g=(X,H,Q,ee,ce=p)=>{Q!==""&&a.words.push({x:X,y:H,text:Q,size:h,anchor:ee,color:ce})};if(d){const X=e.series[0],H=(X?.values??[]).map(ve=>Math.max(0,ve??0)),Q=H.reduce((ve,Ce)=>ve+Ce,0),ee=Math.max(0,Math.min(s.right-s.left,s.bottom-s.top)/2),ce=(s.left+s.right)/2,Ae=(s.top+s.bottom)/2,pe=e.type==="doughnut"?ee*((e.hole_size??i.holeSize)/100):0;a.plot={x:ce-ee,y:Ae-ee,width:ee*2,height:ee*2};let ge=0;return H.forEach((ve,Ce)=>{const ne=Q>0?ve/Q:0,S=ge+ne*Math.PI*2;if(ne>0){a.shapes.push({d:slicePath(ce,Ae,ee,pe,ge,S),color:"lt1",width:1,fill:l(0,Ce),series:0,category:Ce});const Z=(ge+S)/2,q=pe>0?(ee+pe)/2:labelPositionOf(e)==="inEnd"?ee*.85:ee*.6;X&&g(ce+q*Math.sin(Z),Ae-q*Math.cos(Z),labelOf(e,ve,ne,X,e.categories[Ce]??""),"middle",f?.color??"lt1")}ge=S}),a}if(isScatter(e.type))return scatterDrawing(e,a,s,u,o),a;const v=Math.max(1,e.categories.length),x=isHorizontal(e.type),A=groupingOf(e.type),m=A!=="clustered"&&A!=="standard",y=A==="percentStacked",E=e.series.map(X=>e.categories.map((H,Q)=>X.values[Q]??null)),D=e.categories.map((X,H)=>E.reduce((Q,ee)=>Q+Math.abs(ee[H]??0),0)),b=(X,H)=>{const Q=E[X]?.[H];if(Q==null)return null;const ee=D[H]??0;return y?ee>0?Q/ee:0:Q};let _=0,w=0;if(e.categories.forEach((X,H)=>{let Q=0,ee=0;e.series.forEach((ce,Ae)=>{const pe=b(Ae,H)??0;m?pe>=0?Q+=pe:ee+=pe:(Q=Math.max(Q,pe),ee=Math.min(ee,pe))}),w=Math.max(w,Q),_=Math.min(_,ee)}),!m){const X=E.flat().filter(H=>H!==null);X.length>0&&Math.min(...X)>0&&(_=Math.min(...X))}y&&(w=1,_=Math.min(_,0));const B=e.value_axis??{},F=e.category_axis??{},$=B.number_format??(y?"0%":e.series[0]?.number_format??"General"),L=x?s.right-s.left:s.bottom-s.top,O=x?u*5:u*2.4,k=chartScale(_,w,L,O,{...B,...y?{maximum_scale:B.maximum_scale??1}:{}}),j=B.visible===!1?[]:k.ticks.map(X=>formatValue2(X,$)),T=Math.max(0,...j.map(X=>textWidth(X,u))),I=F.visible!==!1,M=I?Math.max(0,...e.categories.map(X=>textWidth(X,u))):0,P=u*.5,R=x?B.title:F.title,N=x?F.title:B.title,W=axisTitleRoom(s,R,N,u),U=x?{x:s.left+(I?M+P:0),y:s.top,width:0,height:s.bottom-s.top-(B.visible===!1?0:u*1.2+P)}:{x:s.left+(B.visible===!1?0:T+P),y:s.top,width:0,height:s.bottom-s.top-(I?u*1.2+P:0)};U.width=s.right-U.x,a.plot=U,axisTitleWords(a,U,W,R,N,u,o);const Y=chartScale(_,w,x?U.width:U.height,O,{...B,...y?{maximum_scale:B.maximum_scale??1}:{}}),ae=X=>(Math.min(Y.max,Math.max(Y.min,X))-Y.min)/(Y.max-Y.min)*(x?U.width:U.height),re=X=>x?U.x+ae(X):U.y+U.height-ae(X),ie=isArea(e.type),se=F.reverse_order===!0,we=x?!se:se,xe=(x?U.height:U.width)/v,oe=ie?(x?U.height:U.width)/Math.max(1,v-1):xe,he=X=>{const H=ie?X*oe:(X+.5)*xe,Q=x?U.height:U.width,ee=we?Q-H:H;return(x?U.y:U.x)+ee},ye=re(Math.max(Y.min,Math.min(Y.max,0)));for(const X of Y.ticks){const H=re(X);(B.has_major_gridlines??!0)&&a.grid.push({d:x?`M${num(H)} ${num(U.y)} V${num(U.y+U.height)}`:`M${num(U.x)} ${num(H)} H${num(U.x+U.width)}`,color:B.gridline_color??{rgb:i.gridline},width:i.gridWidth}),B.visible!==!1&&a.words.push(x?{x:H,y:U.y+U.height+P+u*.6,text:formatValue2(X,$),size:u,anchor:"middle",color:o}:{x:U.x-P,y:H,text:formatValue2(X,$),size:u,anchor:"end",color:o})}if(a.axes.push({d:x?`M${num(ye)} ${num(U.y)} V${num(U.y+U.height)}`:`M${num(U.x)} ${num(ye)} H${num(U.x+U.width)}`,color:F.line_color??{rgb:i.axisLine},width:i.gridWidth}),I){const X=x?u*1.3:M+u,H=Math.max(1,Math.ceil(X/Math.max(1,oe)));e.categories.forEach((Q,ee)=>{if(ee%H!==0)return;const ce=he(ee);a.words.push(x?{x:U.x-P,y:ce,text:Q,size:u,anchor:"end",color:o}:{x:ce,y:U.y+U.height+P+u*.6,text:Q,size:u,anchor:"middle",color:o})})}if(isBar(e.type)){const X=(e.gap_width??i.gapWidth)/100,H=m?1:e.series.length,Q=m?1:(e.overlap??0)/100,ee=xe/(Math.max(1,H-(H-1)*Q)+X),ce=ee*(1-Q),Ae=ee+ce*(H-1);e.categories.forEach((pe,ge)=>{const ve=he(ge);let Ce=0,ne=0;e.series.forEach((S,Z)=>{const q=b(Z,ge);if(q===null)return;const K=m?q>=0?Ce:ne:0,G=K+q;m&&(q>=0?Ce=G:ne=G);const J=re(K),te=re(G),de=(m?ve-ee/2:ve-Ae/2+Z*ce)+(x&&we&&!m?Ae-ee-2*Z*ce:0),be=x?{x:Math.min(J,te),y:de,width:Math.abs(te-J),height:ee}:{x:de,y:Math.min(J,te),width:ee,height:Math.abs(te-J)};if(a.boxes.push({...be,color:l(Z,ge),series:Z,category:ge}),!f)return;const fe=labelOf(e,E[Z]?.[ge]??0,0,S,e.categories[ge]??""),me=labelPositionOf(e),ue=h*.8,$e=q>=0?1:-1,De=(ke,Se)=>me==="ctr"?(ke+Se)/2:me==="inBase"?ke+(Se>ke?ue:-ue):me==="inEnd"?Se-(Se>ke?ue:-ue):Se+(Se>=ke?ue:-ue);x?g(De(J,te),de+ee/2,fe,me==="outEnd"?$e>0?"start":"end":"middle"):g(de+ee/2,De(J,te),fe,"middle")})})}else{const X=e.categories.map(()=>0),H=e.series.map((Q,ee)=>{const ce=[],Ae=[];return e.categories.forEach((pe,ge)=>{const ve=b(ee,ge);if(ve===null)return;const Ce=m?X[ge]??0:0,ne=Ce+ve;m&&(X[ge]=ne);const S=he(ge),Z=q=>x?[re(q),S]:[S,re(q)];if(ce.push(Z(ne)),Ae.push(Z(Ce)),isLine(e.type)&&f){const q=labelPositionOf(e),[K,G]=Z(ne);g(K+(q==="r"?h:q==="l"?-h:0),G+(q==="t"?-h:q==="b"?h:0),labelOf(e,E[ee]?.[ge]??0,0,Q,e.categories[ge]??""),q==="r"?"start":q==="l"?"end":"middle")}}),{series:Q,s:ee,points:ce,base:Ae}});for(const{series:Q,s:ee,points:ce,base:Ae}of H){const pe=Q.color??accentOf(ee);if(isArea(e.type)&&ce.length>0)a.shapes.push({d:`${linePath([...ce,...[...Ae].reverse()])} Z`,color:pe,width:0,fill:pe,series:ee});else if(ce.length>0&&(a.lines.push({d:Q.smooth===!0?smoothPath(ce):linePath(ce),color:pe,width:Q.line_width??i.lineWidth,series:ee}),hasMarkers(e.type)))for(const[ge,ve]of ce)a.dots.push({x:ge,y:ve,r:(Q.marker_size??i.marker)/2,color:pe})}a.shapes.reverse()}return a}var colorOfFile2=e=>colorOfFile(e)??"dk1";function joinPath(e,t){if(t.startsWith("/"))return t.slice(1);const r=e===""?[]:e.split("/");for(const i of t.split("/"))i===""||i==="."||(i===".."?r.pop():r.push(i));return r.join("/")}var axisOf=e=>e&&{...e.min===void 0?{}:{minimum_scale:e.min},...e.max===void 0?{}:{maximum_scale:e.max},...e.major===void 0?{}:{major_unit:e.major},...e.gridlines===void 0?{}:{has_major_gridlines:e.gridlines},...e.visible===void 0?{}:{visible:e.visible},...e.format===void 0?{}:{number_format:e.format},...e.reverse===void 0?{}:{reverse_order:e.reverse},...e.gridline_color===void 0?{}:{gridline_color:colorOfFile2(e.gridline_color)},...e.line_color===void 0?{}:{line_color:colorOfFile2(e.line_color)}},labelsOf=e=>{if(!(e===void 0||e===!1))return e===!0?{show_value:!0}:{...e.value===void 0?{}:{show_value:e.value},...e.percentage===void 0?{}:{show_percentage:e.percentage},...e.category===void 0?{}:{show_category_name:e.category},...e.series===void 0?{}:{show_series_name:e.series},...e.format===void 0?{}:{number_format:e.format},...e.position===void 0?{}:{position:e.position},...e.size===void 0?{}:{size:e.size},...e.color===void 0?{}:{color:colorOfFile2(e.color)}}};function numberOf(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(e==null)return null;if(typeof e!="string")return;const t=e.trim();if(t==="")return null;const r=Number(t);return Number.isFinite(r)?r:void 0}function chartOfFile(e,t){const r=labelsOf(e.labels),i=isScatter(e.type);let u,o;const a=l=>({...l.color===void 0?{}:{color:colorOfFile2(l.color)},...l.format===void 0?{}:{number_format:l.format},...l.smooth===void 0?{}:{smooth:l.smooth},...l.line_width===void 0?{}:{line_width:l.line_width},...l.marker_size===void 0?{}:{marker_size:l.marker_size}});if(e.data!==void 0){let l;try{l=t.rows(e.data)}catch(x){t.problem(`${e.data} cannot be read: ${x instanceof Error?x.message:String(x)}`);return}if(!Array.isArray(l)||l.length===0){t.problem(`${e.data} holds no rows.`);return}const f=l,h=e.categories;if(typeof h!="string"){t.problem("with data, categories names its column.");return}const p=Object.keys(f[0]??{}),v=[h,...e.series.map(x=>typeof x=="string"?x:x.name)].filter(x=>!p.includes(x));if(v.length>0){t.problem(`${e.data} has no column ${v.join(", ")} (it has ${p.join(", ")}).`);return}u=f.map(x=>{const A=x[h];return typeof A=="string"||typeof A=="number"?String(A):""}),o=e.series.map(x=>{const A=typeof x=="string"?x:x.name,m=f.map((y,E)=>{const D=numberOf(y[A]);return D===void 0?(t.problem(`${String(e.data)} row ${String(E+1)}: ${JSON.stringify(y[A])} in ${A} is not a number.`),null):D});return{name:A,values:m,...i?{x:f.map(y=>numberOf(y[h])??null)}:{},...typeof x=="string"?{}:a(x)}})}else{if(typeof e.categories=="string"){t.problem("categories names a column, and there is no data to read.");return}if(e.categories===void 0&&!i){t.problem(`a ${e.type} chart has categories.`);return}u=e.categories??[];const l=[];for(const f of e.series){if(typeof f=="string"||!f.values){const h=typeof f=="string"?f:f.name;t.problem(`series ${h} has no values, and there is no data to read.`);return}if(i){if(f.x?.length!==f.values.length){t.problem(`series ${f.name} has an x for each of its values.`);return}}else f.values.length!==u.length&&t.problem(`series ${f.name} has ${String(f.values.length)} values for ${String(u.length)} categories.`);l.push({name:f.name,values:f.values,...i&&f.x?{x:f.x}:{},...a(f)})}o=l}const s=r?.position;s!==void 0&&!labelPositionsOf(e.type).includes(s)&&t.problem(`a ${e.type} chart has no label position ${s}, which PowerPoint would repair (it has ${labelPositionsOf(e.type).join(", ")||"none"}).`);const d=axisOf(e.value_axis),c=axisOf(e.category_axis);return{type:e.type,categories:u,series:o,...t.title===void 0?{}:{title:t.title},...e.legend===void 0?{}:{legend:e.legend},...r?{labels:r}:{},...e.gap_width===void 0?{}:{gap_width:e.gap_width},...e.overlap===void 0?{}:{overlap:e.overlap},...e.vary_by_categories===void 0?{}:{vary_by_categories:e.vary_by_categories},...e.hole_size===void 0?{}:{hole_size:e.hole_size},...d?{value_axis:d}:{},...c?{category_axis:c}:{},...e.size===void 0?{}:{font_size:e.size},...e.title_size===void 0?{}:{title_size:e.title_size},...e.color===void 0?{}:{font_color:colorOfFile2(e.color)},...e.data===void 0?{}:{source:joinPath(t.base,e.data)}}}var PRESETS2={accentBorderCallout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]}],text:["l","t","r","b"],paths:[{d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 t Z L x1 b"},{fill:"none",d:"M x1 y1 L x2 y2"}]},accentBorderCallout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]},{x:["adj6","-2147483647","2147483647"],y:["adj5","-2147483647","2147483647"],pos:["x3","y3"]}],text:["l","t","r","b"],paths:[{d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 t Z L x1 b"},{fill:"none",d:"M x1 y1 L x2 y2 L x3 y3"}]},accentBorderCallout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]},{x:["adj6","-2147483647","2147483647"],y:["adj5","-2147483647","2147483647"],pos:["x3","y3"]},{x:["adj8","-2147483647","2147483647"],y:["adj7","-2147483647","2147483647"],pos:["x4","y4"]}],text:["l","t","r","b"],paths:[{d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 t Z L x1 b"},{fill:"none",d:"M x1 y1 L x2 y2 L x3 y3 L x4 y4"}]},accentCallout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 t Z L x1 b"},{fill:"none",d:"M x1 y1 L x2 y2"}]},accentCallout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]},{x:["adj6","-2147483647","2147483647"],y:["adj5","-2147483647","2147483647"],pos:["x3","y3"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 t Z L x1 b"},{fill:"none",d:"M x1 y1 L x2 y2 L x3 y3"}]},accentCallout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]},{x:["adj6","-2147483647","2147483647"],y:["adj5","-2147483647","2147483647"],pos:["x3","y3"]},{x:["adj8","-2147483647","2147483647"],y:["adj7","-2147483647","2147483647"],pos:["x4","y4"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 t Z L x1 b"},{fill:"none",d:"M x1 y1 L x2 y2 L x3 y3 L x4 y4"}]},actionButtonBackPrevious:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M g11 vc L g12 g9 L g12 g10 Z"},{fill:"darken",stroke:!1,d:"M g11 vc L g12 g9 L g12 g10 Z"},{fill:"none",d:"M g11 vc L g12 g9 L g12 g10 Z"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonBeginning:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1 8"],["g15","*/ g13 1 4"],["g16","+- g11 g14 0"],["g17","+- g11 g15 0"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M g17 vc L g12 g9 L g12 g10 Z M g16 g9 L g11 g9 L g11 g10 L g16 g10 Z"},{fill:"darken",stroke:!1,d:"M g17 vc L g12 g9 L g12 g10 Z M g16 g9 L g11 g9 L g11 g10 L g16 g10 Z"},{fill:"none",d:"M g17 vc L g12 g9 L g12 g10 Z M g16 g9 L g16 g10 L g11 g10 L g11 g9 Z"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonBlank:{text:["l","t","r","b"],paths:[{d:"M l t L r t L r b L l b Z"}]},actionButtonDocument:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["dx1","*/ ss 9 32"],["g11","+- hc 0 dx1"],["g12","+- hc dx1 0"],["g13","*/ ss 3 16"],["g14","+- g12 0 g13"],["g15","+- g9 g13 0"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M g11 g9 L g14 g9 L g12 g15 L g12 g10 L g11 g10 Z"},{fill:"darkenLess",stroke:!1,d:"M g11 g9 L g14 g9 L g14 g15 L g12 g15 L g12 g10 L g11 g10 Z"},{fill:"darken",stroke:!1,d:"M g14 g9 L g14 g15 L g12 g15 Z"},{fill:"none",d:"M g11 g9 L g14 g9 L g12 g15 L g12 g10 L g11 g10 Z M g12 g15 L g14 g15 L g14 g9"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonEnd:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 3 4"],["g15","*/ g13 7 8"],["g16","+- g11 g14 0"],["g17","+- g11 g15 0"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M g16 vc L g11 g9 L g11 g10 Z M g17 g9 L g12 g9 L g12 g10 L g17 g10 Z"},{fill:"darken",stroke:!1,d:"M g16 vc L g11 g9 L g11 g10 Z M g17 g9 L g12 g9 L g12 g10 L g17 g10 Z"},{fill:"none",d:"M g16 vc L g11 g10 L g11 g9 Z M g17 g9 L g12 g9 L g12 g10 L g17 g10 Z"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonForwardNext:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M g12 vc L g11 g9 L g11 g10 Z"},{fill:"darken",stroke:!1,d:"M g12 vc L g11 g9 L g11 g10 Z"},{fill:"none",d:"M g12 vc L g11 g10 L g11 g9 Z"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonHelp:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g11","+- hc 0 dx2"],["g13","*/ ss 3 4"],["g14","*/ g13 1 7"],["g15","*/ g13 3 14"],["g16","*/ g13 2 7"],["g19","*/ g13 3 7"],["g20","*/ g13 4 7"],["g21","*/ g13 17 28"],["g23","*/ g13 21 28"],["g24","*/ g13 11 14"],["g27","+- g9 g16 0"],["g29","+- g9 g21 0"],["g30","+- g9 g23 0"],["g31","+- g9 g24 0"],["g33","+- g11 g15 0"],["g36","+- g11 g19 0"],["g37","+- g11 g20 0"],["g41","*/ g13 1 14"],["g42","*/ g13 3 28"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M g33 g27 A g16 g16 cd2 cd2 A g14 g15 0 cd4 A g41 g42 3cd4 -5400000 L g37 g30 L g36 g30 L g36 g29 A g14 g15 cd2 cd4 A g41 g42 cd4 -5400000 A g14 g14 0 -10800000 Z M hc g31 A g42 g42 3cd4 21600000 Z"},{fill:"darken",stroke:!1,d:"M g33 g27 A g16 g16 cd2 cd2 A g14 g15 0 cd4 A g41 g42 3cd4 -5400000 L g37 g30 L g36 g30 L g36 g29 A g14 g15 cd2 cd4 A g41 g42 cd4 -5400000 A g14 g14 0 -10800000 Z M hc g31 A g42 g42 3cd4 21600000 Z"},{fill:"none",d:"M g33 g27 A g16 g16 cd2 cd2 A g14 g15 0 cd4 A g41 g42 3cd4 -5400000 L g37 g30 L g36 g30 L g36 g29 A g14 g15 cd2 cd4 A g41 g42 cd4 -5400000 A g14 g14 0 -10800000 Z M hc g31 A g42 g42 3cd4 21600000 Z"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonHome:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1 16"],["g15","*/ g13 1 8"],["g16","*/ g13 3 16"],["g17","*/ g13 5 16"],["g18","*/ g13 7 16"],["g19","*/ g13 9 16"],["g20","*/ g13 11 16"],["g21","*/ g13 3 4"],["g22","*/ g13 13 16"],["g23","*/ g13 7 8"],["g24","+- g9 g14 0"],["g25","+- g9 g16 0"],["g26","+- g9 g17 0"],["g27","+- g9 g21 0"],["g28","+- g11 g15 0"],["g29","+- g11 g18 0"],["g30","+- g11 g19 0"],["g31","+- g11 g20 0"],["g32","+- g11 g22 0"],["g33","+- g11 g23 0"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M hc g9 L g11 vc L g28 vc L g28 g10 L g33 g10 L g33 vc L g12 vc L g32 g26 L g32 g24 L g31 g24 L g31 g25 Z"},{fill:"darkenLess",stroke:!1,d:"M g32 g26 L g32 g24 L g31 g24 L g31 g25 Z M g28 vc L g28 g10 L g29 g10 L g29 g27 L g30 g27 L g30 g10 L g33 g10 L g33 vc Z"},{fill:"darken",stroke:!1,d:"M hc g9 L g11 vc L g12 vc Z M g29 g27 L g30 g27 L g30 g10 L g29 g10 Z"},{fill:"none",d:"M hc g9 L g31 g25 L g31 g24 L g32 g24 L g32 g26 L g12 vc L g33 vc L g33 g10 L g28 g10 L g28 vc L g11 vc Z M g31 g25 L g32 g26 M g33 vc L g28 vc M g29 g10 L g29 g27 L g30 g27 L g30 g10"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonInformation:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g11","+- hc 0 dx2"],["g13","*/ ss 3 4"],["g14","*/ g13 1 32"],["g17","*/ g13 5 16"],["g18","*/ g13 3 8"],["g19","*/ g13 13 32"],["g20","*/ g13 19 32"],["g22","*/ g13 11 16"],["g23","*/ g13 13 16"],["g24","*/ g13 7 8"],["g25","+- g9 g14 0"],["g28","+- g9 g17 0"],["g29","+- g9 g18 0"],["g30","+- g9 g23 0"],["g31","+- g9 g24 0"],["g32","+- g11 g17 0"],["g34","+- g11 g19 0"],["g35","+- g11 g20 0"],["g37","+- g11 g22 0"],["g38","*/ g13 3 32"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M hc g9 A dx2 dx2 3cd4 21600000 Z"},{fill:"darken",stroke:!1,d:"M hc g9 A dx2 dx2 3cd4 21600000 Z M hc g25 A g38 g38 3cd4 21600000 M g32 g28 L g32 g29 L g34 g29 L g34 g30 L g32 g30 L g32 g31 L g37 g31 L g37 g30 L g35 g30 L g35 g28 Z"},{fill:"lighten",stroke:!1,d:"M hc g25 A g38 g38 3cd4 21600000 M g32 g28 L g35 g28 L g35 g30 L g37 g30 L g37 g31 L g32 g31 L g32 g30 L g34 g30 L g34 g29 L g32 g29 Z"},{fill:"none",d:"M hc g9 A dx2 dx2 3cd4 21600000 Z M hc g25 A g38 g38 3cd4 21600000 M g32 g28 L g35 g28 L g35 g30 L g37 g30 L g37 g31 L g32 g31 L g32 g30 L g34 g30 L g34 g29 L g32 g29 Z"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonMovie:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1455 21600"],["g15","*/ g13 1905 21600"],["g16","*/ g13 2325 21600"],["g17","*/ g13 16155 21600"],["g18","*/ g13 17010 21600"],["g19","*/ g13 19335 21600"],["g20","*/ g13 19725 21600"],["g21","*/ g13 20595 21600"],["g22","*/ g13 5280 21600"],["g23","*/ g13 5730 21600"],["g24","*/ g13 6630 21600"],["g25","*/ g13 7492 21600"],["g26","*/ g13 9067 21600"],["g27","*/ g13 9555 21600"],["g28","*/ g13 13342 21600"],["g29","*/ g13 14580 21600"],["g30","*/ g13 15592 21600"],["g31","+- g11 g14 0"],["g32","+- g11 g15 0"],["g33","+- g11 g16 0"],["g34","+- g11 g17 0"],["g35","+- g11 g18 0"],["g36","+- g11 g19 0"],["g37","+- g11 g20 0"],["g38","+- g11 g21 0"],["g39","+- g9 g22 0"],["g40","+- g9 g23 0"],["g41","+- g9 g24 0"],["g42","+- g9 g25 0"],["g43","+- g9 g26 0"],["g44","+- g9 g27 0"],["g45","+- g9 g28 0"],["g46","+- g9 g29 0"],["g47","+- g9 g30 0"],["g48","+- g9 g31 0"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M g11 g39 L g11 g44 L g31 g44 L g32 g43 L g33 g43 L g33 g47 L g35 g47 L g35 g45 L g36 g45 L g38 g46 L g12 g46 L g12 g41 L g38 g41 L g37 g42 L g35 g42 L g35 g41 L g34 g40 L g32 g40 L g31 g39 Z"},{fill:"darken",stroke:!1,d:"M g11 g39 L g11 g44 L g31 g44 L g32 g43 L g33 g43 L g33 g47 L g35 g47 L g35 g45 L g36 g45 L g38 g46 L g12 g46 L g12 g41 L g38 g41 L g37 g42 L g35 g42 L g35 g41 L g34 g40 L g32 g40 L g31 g39 Z"},{fill:"none",d:"M g11 g39 L g31 g39 L g32 g40 L g34 g40 L g35 g41 L g35 g42 L g37 g42 L g38 g41 L g12 g41 L g12 g46 L g38 g46 L g36 g45 L g35 g45 L g35 g47 L g33 g47 L g33 g43 L g32 g43 L g31 g44 L g11 g44 Z"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonReturn:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 7 8"],["g15","*/ g13 3 4"],["g16","*/ g13 5 8"],["g17","*/ g13 3 8"],["g18","*/ g13 1 4"],["g19","+- g9 g15 0"],["g20","+- g9 g16 0"],["g21","+- g9 g18 0"],["g22","+- g11 g14 0"],["g23","+- g11 g15 0"],["g24","+- g11 g16 0"],["g25","+- g11 g17 0"],["g26","+- g11 g18 0"],["g27","*/ g13 1 8"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M g12 g21 L g23 g9 L hc g21 L g24 g21 L g24 g20 A g27 g27 0 cd4 L g25 g19 A g27 g27 cd4 cd4 L g26 g21 L g11 g21 L g11 g20 A g17 g17 cd2 -5400000 L hc g10 A g17 g17 cd4 -5400000 L g22 g21 Z"},{fill:"darken",stroke:!1,d:"M g12 g21 L g23 g9 L hc g21 L g24 g21 L g24 g20 A g27 g27 0 cd4 L g25 g19 A g27 g27 cd4 cd4 L g26 g21 L g11 g21 L g11 g20 A g17 g17 cd2 -5400000 L hc g10 A g17 g17 cd4 -5400000 L g22 g21 Z"},{fill:"none",d:"M g12 g21 L g22 g21 L g22 g20 A g17 g17 0 cd4 L g25 g10 A g17 g17 cd4 cd4 L g11 g21 L g26 g21 L g26 g20 A g27 g27 cd2 -5400000 L hc g19 A g27 g27 cd4 -5400000 L g24 g21 L hc g21 L g23 g9 Z"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},actionButtonSound:{gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1 8"],["g15","*/ g13 5 16"],["g16","*/ g13 5 8"],["g17","*/ g13 11 16"],["g18","*/ g13 3 4"],["g19","*/ g13 7 8"],["g20","+- g9 g14 0"],["g21","+- g9 g15 0"],["g22","+- g9 g17 0"],["g23","+- g9 g19 0"],["g24","+- g11 g15 0"],["g25","+- g11 g16 0"],["g26","+- g11 g18 0"]],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z M g11 g21 L g11 g22 L g24 g22 L g25 g10 L g25 g9 L g24 g21 Z"},{fill:"darken",stroke:!1,d:"M g11 g21 L g11 g22 L g24 g22 L g25 g10 L g25 g9 L g24 g21 Z"},{fill:"none",d:"M g11 g21 L g24 g21 L g25 g9 L g25 g10 L g24 g22 L g11 g22 Z M g26 g21 L g12 g20 M g26 vc L g12 vc M g26 g22 L g12 g23"},{fill:"none",d:"M l t L r t L r b L l b Z"}]},arc:{av:[["adj1","val 16200000"],["adj2","val 0"]],gd:[["stAng","pin 0 adj1 21599999"],["enAng","pin 0 adj2 21599999"],["sw11","+- enAng 0 stAng"],["sw12","+- sw11 21600000 0"],["swAng","?: sw11 sw11 sw12"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["wt2","sin wd2 enAng"],["ht2","cos hd2 enAng"],["dx2","cat2 wd2 ht2 wt2"],["dy2","sat2 hd2 ht2 wt2"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["sw0","+- 21600000 0 stAng"],["da1","+- swAng 0 sw0"],["g1","max x1 x2"],["ir","?: da1 r g1"],["sw1","+- cd4 0 stAng"],["sw2","+- 27000000 0 stAng"],["sw3","?: sw1 sw1 sw2"],["da2","+- swAng 0 sw3"],["g5","max y1 y2"],["ib","?: da2 b g5"],["sw4","+- cd2 0 stAng"],["sw5","+- 32400000 0 stAng"],["sw6","?: sw4 sw4 sw5"],["da3","+- swAng 0 sw6"],["g9","min x1 x2"],["il","?: da3 l g9"],["sw7","+- 3cd4 0 stAng"],["sw8","+- 37800000 0 stAng"],["sw9","?: sw7 sw7 sw8"],["da4","+- swAng 0 sw9"],["g13","min y1 y2"],["it","?: da4 t g13"],["cang1","+- stAng 0 cd4"],["cang2","+- enAng cd4 0"],["cang3","+/ cang1 cang2 2"]],ah:[{ang:["adj1","0","21599999"],pos:["x1","y1"]},{ang:["adj2","0","21599999"],pos:["x2","y2"]}],text:["il","it","ir","ib"],paths:[{stroke:!1,d:"M x1 y1 A wd2 hd2 stAng swAng L hc vc Z"},{fill:"none",d:"M x1 y1 A wd2 hd2 stAng swAng"}]},bentArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 43750"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["a3","pin 0 adj3 50000"],["th","*/ ss a1 100000"],["aw2","*/ ss a2 100000"],["th2","*/ th 1 2"],["dh2","+- aw2 0 th2"],["ah","*/ ss a3 100000"],["bw","+- r 0 ah"],["bh","+- b 0 dh2"],["bs","min bw bh"],["maxAdj4","*/ 100000 bs ss"],["a4","pin 0 adj4 maxAdj4"],["bd","*/ ss a4 100000"],["bd3","+- bd 0 th"],["bd2","max bd3 0"],["x3","+- th bd2 0"],["x4","+- r 0 ah"],["y3","+- dh2 th 0"],["y4","+- y3 dh2 0"],["y5","+- dh2 bd 0"],["y6","+- y3 bd2 0"]],ah:[{x:["adj1","0","maxAdj1"],pos:["th","b"]},{y:["adj2","0","50000"],pos:["r","y4"]},{x:["adj3","0","50000"],pos:["x4","t"]},{x:["adj4","0","maxAdj4"],pos:["bd","t"]}],text:["l","t","r","b"],paths:[{d:"M l b L l y5 A bd bd cd2 cd4 L x4 dh2 L x4 t L r aw2 L x4 y4 L x4 y3 L x3 y3 A bd2 bd2 3cd4 -5400000 L th b Z"}]},bentConnector2:{text:["l","t","r","b"],paths:[{fill:"none",d:"M l t L r t L r b"}]},bentConnector3:{av:[["adj1","val 50000"]],gd:[["x1","*/ w adj1 100000"]],ah:[{x:["adj1","-2147483647","2147483647"],pos:["x1","vc"]}],text:["l","t","r","b"],paths:[{fill:"none",d:"M l t L x1 t L x1 b L r b"}]},bentConnector4:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["x1","*/ w adj1 100000"],["x2","+/ x1 r 2"],["y2","*/ h adj2 100000"],["y1","+/ t y2 2"]],ah:[{x:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{y:["adj2","-2147483647","2147483647"],pos:["x2","y2"]}],text:["l","t","r","b"],paths:[{fill:"none",d:"M l t L x1 t L x1 y2 L r y2 L r b"}]},bentConnector5:{av:[["adj1","val 50000"],["adj2","val 50000"],["adj3","val 50000"]],gd:[["x1","*/ w adj1 100000"],["x3","*/ w adj3 100000"],["x2","+/ x1 x3 2"],["y2","*/ h adj2 100000"],["y1","+/ t y2 2"],["y3","+/ b y2 2"]],ah:[{x:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{y:["adj2","-2147483647","2147483647"],pos:["x2","y2"]},{x:["adj3","-2147483647","2147483647"],pos:["x3","y3"]}],text:["l","t","r","b"],paths:[{fill:"none",d:"M l t L x1 t L x1 y2 L x3 y2 L x3 b L r b"}]},bentUpArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["a3","pin 0 adj3 50000"],["y1","*/ ss a3 100000"],["dx1","*/ ss a2 50000"],["x1","+- r 0 dx1"],["dx3","*/ ss a2 100000"],["x3","+- r 0 dx3"],["dx2","*/ ss a1 200000"],["x2","+- x3 0 dx2"],["x4","+- x3 dx2 0"],["dy2","*/ ss a1 100000"],["y2","+- b 0 dy2"],["x0","*/ x4 1 2"],["y3","+/ y2 b 2"],["y15","+/ y1 b 2"]],ah:[{y:["adj1","0","50000"],pos:["l","y2"]},{x:["adj2","0","50000"],pos:["x1","t"]},{y:["adj3","0","50000"],pos:["x2","y1"]}],text:["l","y2","x4","b"],paths:[{d:"M l y2 L x2 y2 L x2 y1 L x1 y1 L x3 t L r y1 L x4 y1 L x4 b L l b Z"}]},bevel:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"]],ah:[{x:["adj","0","50000"],pos:["x1","t"]}],text:["x1","x1","x2","y2"],paths:[{stroke:!1,d:"M x1 x1 L x2 x1 L x2 y2 L x1 y2 Z"},{fill:"lightenLess",stroke:!1,d:"M l t L r t L x2 x1 L x1 x1 Z"},{fill:"darkenLess",stroke:!1,d:"M l b L x1 y2 L x2 y2 L r b Z"},{fill:"lighten",stroke:!1,d:"M l t L x1 x1 L x1 y2 L l b Z"},{fill:"darken",stroke:!1,d:"M r t L r b L x2 y2 L x2 x1 Z"},{fill:"none",d:"M l t L r t L r b L l b Z M x1 x1 L x2 x1 L x2 y2 L x1 y2 Z M l t L x1 x1 M l b L x1 y2 M r t L x2 x1 M r b L x2 y2"}]},blockArc:{av:[["adj1","val 10800000"],["adj2","val 0"],["adj3","val 25000"]],gd:[["stAng","pin 0 adj1 21599999"],["istAng","pin 0 adj2 21599999"],["a3","pin 0 adj3 50000"],["sw11","+- istAng 0 stAng"],["sw12","+- sw11 21600000 0"],["swAng","?: sw11 sw11 sw12"],["iswAng","+- 0 0 swAng"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["wt3","sin wd2 istAng"],["ht3","cos hd2 istAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["dx3","cat2 wd2 ht3 wt3"],["dy3","sat2 hd2 ht3 wt3"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x3","+- hc dx3 0"],["y3","+- vc dy3 0"],["dr","*/ ss a3 100000"],["iwd2","+- wd2 0 dr"],["ihd2","+- hd2 0 dr"],["wt2","sin iwd2 istAng"],["ht2","cos ihd2 istAng"],["wt4","sin iwd2 stAng"],["ht4","cos ihd2 stAng"],["dx2","cat2 iwd2 ht2 wt2"],["dy2","sat2 ihd2 ht2 wt2"],["dx4","cat2 iwd2 ht4 wt4"],["dy4","sat2 ihd2 ht4 wt4"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["x4","+- hc dx4 0"],["y4","+- vc dy4 0"],["sw0","+- 21600000 0 stAng"],["da1","+- swAng 0 sw0"],["g1","max x1 x2"],["g2","max x3 x4"],["g3","max g1 g2"],["ir","?: da1 r g3"],["sw1","+- cd4 0 stAng"],["sw2","+- 27000000 0 stAng"],["sw3","?: sw1 sw1 sw2"],["da2","+- swAng 0 sw3"],["g5","max y1 y2"],["g6","max y3 y4"],["g7","max g5 g6"],["ib","?: da2 b g7"],["sw4","+- cd2 0 stAng"],["sw5","+- 32400000 0 stAng"],["sw6","?: sw4 sw4 sw5"],["da3","+- swAng 0 sw6"],["g9","min x1 x2"],["g10","min x3 x4"],["g11","min g9 g10"],["il","?: da3 l g11"],["sw7","+- 3cd4 0 stAng"],["sw8","+- 37800000 0 stAng"],["sw9","?: sw7 sw7 sw8"],["da4","+- swAng 0 sw9"],["g13","min y1 y2"],["g14","min y3 y4"],["g15","min g13 g14"],["it","?: da4 t g15"],["x5","+/ x1 x4 2"],["y5","+/ y1 y4 2"],["x6","+/ x3 x2 2"],["y6","+/ y3 y2 2"],["cang1","+- stAng 0 cd4"],["cang2","+- istAng cd4 0"],["cang3","+/ cang1 cang2 2"]],ah:[{ang:["adj1","0","21599999"],pos:["x1","y1"]},{r:["adj3","0","50000"],ang:["adj2","0","21599999"],pos:["x2","y2"]}],text:["il","it","ir","ib"],paths:[{d:"M x1 y1 A wd2 hd2 stAng swAng L x2 y2 A iwd2 ihd2 istAng iswAng Z"}]},borderCallout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]}],text:["l","t","r","b"],paths:[{d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 y1 L x2 y2"}]},borderCallout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]},{x:["adj6","-2147483647","2147483647"],y:["adj5","-2147483647","2147483647"],pos:["x3","y3"]}],text:["l","t","r","b"],paths:[{d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 y1 L x2 y2 L x3 y3"}]},borderCallout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]},{x:["adj6","-2147483647","2147483647"],y:["adj5","-2147483647","2147483647"],pos:["x3","y3"]},{x:["adj8","-2147483647","2147483647"],y:["adj7","-2147483647","2147483647"],pos:["x4","y4"]}],text:["l","t","r","b"],paths:[{d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 y1 L x2 y2 L x3 y3 L x4 y4"}]},bracePair:{av:[["adj","val 8333"]],gd:[["a","pin 0 adj 25000"],["x1","*/ ss a 100000"],["x2","*/ ss a 50000"],["x3","+- r 0 x2"],["x4","+- r 0 x1"],["y2","+- vc 0 x1"],["y3","+- vc x1 0"],["y4","+- b 0 x1"],["it","*/ x1 29289 100000"],["il","+- x1 it 0"],["ir","+- r 0 il"],["ib","+- b 0 it"]],ah:[{y:["adj","0","25000"],pos:["l","x1"]}],text:["il","il","ir","ib"],paths:[{stroke:!1,d:"M x2 b A x1 x1 cd4 cd4 L x1 y3 A x1 x1 0 -5400000 A x1 x1 cd4 -5400000 L x1 x1 A x1 x1 cd2 cd4 L x3 t A x1 x1 3cd4 cd4 L x4 y2 A x1 x1 cd2 -5400000 A x1 x1 3cd4 -5400000 L x4 y4 A x1 x1 0 cd4 Z"},{fill:"none",d:"M x2 b A x1 x1 cd4 cd4 L x1 y3 A x1 x1 0 -5400000 A x1 x1 cd4 -5400000 L x1 x1 A x1 x1 cd2 cd4 M x3 t A x1 x1 3cd4 cd4 L x4 y2 A x1 x1 cd2 -5400000 A x1 x1 3cd4 -5400000 L x4 y4 A x1 x1 0 cd4"}]},bracketPair:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],ah:[{y:["adj","0","50000"],pos:["l","x1"]}],text:["il","il","ir","ib"],paths:[{stroke:!1,d:"M l x1 A x1 x1 cd2 cd4 L x2 t A x1 x1 3cd4 cd4 L r y2 A x1 x1 0 cd4 L x1 b A x1 x1 cd4 cd4 Z"},{fill:"none",d:"M x1 b A x1 x1 cd4 cd4 L l x1 A x1 x1 cd2 cd4 M x2 t A x1 x1 3cd4 cd4 L r y2 A x1 x1 0 cd4"}]},callout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 y1 L x2 y2"}]},callout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]},{x:["adj6","-2147483647","2147483647"],y:["adj5","-2147483647","2147483647"],pos:["x3","y3"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 y1 L x2 y2 L x3 y3"}]},callout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],ah:[{x:["adj2","-2147483647","2147483647"],y:["adj1","-2147483647","2147483647"],pos:["x1","y1"]},{x:["adj4","-2147483647","2147483647"],y:["adj3","-2147483647","2147483647"],pos:["x2","y2"]},{x:["adj6","-2147483647","2147483647"],y:["adj5","-2147483647","2147483647"],pos:["x3","y3"]},{x:["adj8","-2147483647","2147483647"],y:["adj7","-2147483647","2147483647"],pos:["x4","y4"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l t L r t L r b L l b Z"},{fill:"none",d:"M x1 y1 L x2 y2 L x3 y3 L x4 y4"}]},can:{av:[["adj","val 25000"]],gd:[["maxAdj","*/ 50000 h ss"],["a","pin 0 adj maxAdj"],["y1","*/ ss a 200000"],["y2","+- y1 y1 0"],["y3","+- b 0 y1"]],ah:[{y:["adj","0","maxAdj"],pos:["hc","y2"]}],text:["l","y2","r","y3"],paths:[{stroke:!1,d:"M l y1 A wd2 y1 cd2 -10800000 L r y3 A wd2 y1 0 cd2 Z"},{fill:"lighten",stroke:!1,d:"M l y1 A wd2 y1 cd2 cd2 A wd2 y1 0 cd2 Z"},{fill:"none",d:"M r y1 A wd2 y1 0 cd2 A wd2 y1 cd2 cd2 L r y3 A wd2 y1 0 cd2 L l y1"}]},chartPlus:{paths:[{w:10,h:10,fill:"none",d:"M 5 0 L 5 10 M 0 5 L 10 5"},{w:10,h:10,stroke:!1,d:"M 0 0 L 0 10 L 10 10 L 10 0 Z"}]},chartStar:{paths:[{w:10,h:10,fill:"none",d:"M 0 0 L 10 10 M 0 10 L 10 0 M 5 0 L 5 10"},{w:10,h:10,stroke:!1,d:"M 0 0 L 0 10 L 10 10 L 10 0 Z"}]},chartX:{paths:[{w:10,h:10,fill:"none",d:"M 0 0 L 10 10 M 0 10 L 10 0"},{w:10,h:10,stroke:!1,d:"M 0 0 L 0 10 L 10 10 L 10 0 Z"}]},chevron:{av:[["adj","val 50000"]],gd:[["maxAdj","*/ 100000 w ss"],["a","pin 0 adj maxAdj"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["x3","*/ x2 1 2"],["dx","+- x2 0 x1"],["il","?: dx x1 l"],["ir","?: dx x2 r"]],ah:[{x:["adj","0","maxAdj"],pos:["x2","t"]}],text:["il","t","ir","b"],paths:[{d:"M l t L x2 t L r vc L x2 b L l b L x1 vc Z"}]},chord:{av:[["adj1","val 2700000"],["adj2","val 16200000"]],gd:[["stAng","pin 0 adj1 21599999"],["enAng","pin 0 adj2 21599999"],["sw1","+- enAng 0 stAng"],["sw2","+- sw1 21600000 0"],["swAng","?: sw1 sw1 sw2"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["wt2","sin wd2 enAng"],["ht2","cos hd2 enAng"],["dx2","cat2 wd2 ht2 wt2"],["dy2","sat2 hd2 ht2 wt2"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["x3","+/ x1 x2 2"],["y3","+/ y1 y2 2"],["midAng0","*/ swAng 1 2"],["midAng","+- stAng midAng0 cd2"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],ah:[{ang:["adj1","0","21599999"],pos:["x1","y1"]},{ang:["adj2","0","21599999"],pos:["x2","y2"]}],text:["il","it","ir","ib"],paths:[{d:"M x1 y1 A wd2 hd2 stAng swAng Z"}]},circularArrow:{av:[["adj1","val 12500"],["adj2","val 1142319"],["adj3","val 20457681"],["adj4","val 10800000"],["adj5","val 12500"]],gd:[["a5","pin 0 adj5 25000"],["maxAdj1","*/ a5 2 1"],["a1","pin 0 adj1 maxAdj1"],["enAng","pin 1 adj3 21599999"],["stAng","pin 0 adj4 21599999"],["th","*/ ss a1 100000"],["thh","*/ ss a5 100000"],["th2","*/ th 1 2"],["rw1","+- wd2 th2 thh"],["rh1","+- hd2 th2 thh"],["rw2","+- rw1 0 th"],["rh2","+- rh1 0 th"],["rw3","+- rw2 th2 0"],["rh3","+- rh2 th2 0"],["wtH","sin rw3 enAng"],["htH","cos rh3 enAng"],["dxH","cat2 rw3 htH wtH"],["dyH","sat2 rh3 htH wtH"],["xH","+- hc dxH 0"],["yH","+- vc dyH 0"],["rI","min rw2 rh2"],["u1","*/ dxH dxH 1"],["u2","*/ dyH dyH 1"],["u3","*/ rI rI 1"],["u4","+- u1 0 u3"],["u5","+- u2 0 u3"],["u6","*/ u4 u5 u1"],["u7","*/ u6 1 u2"],["u8","+- 1 0 u7"],["u9","sqrt u8"],["u10","*/ u4 1 dxH"],["u11","*/ u10 1 dyH"],["u12","+/ 1 u9 u11"],["u13","at2 1 u12"],["u14","+- u13 21600000 0"],["u15","?: u13 u13 u14"],["u16","+- u15 0 enAng"],["u17","+- u16 21600000 0"],["u18","?: u16 u16 u17"],["u19","+- u18 0 cd2"],["u20","+- u18 0 21600000"],["u21","?: u19 u20 u18"],["maxAng","abs u21"],["aAng","pin 0 adj2 maxAng"],["ptAng","+- enAng aAng 0"],["wtA","sin rw3 ptAng"],["htA","cos rh3 ptAng"],["dxA","cat2 rw3 htA wtA"],["dyA","sat2 rh3 htA wtA"],["xA","+- hc dxA 0"],["yA","+- vc dyA 0"],["wtE","sin rw1 stAng"],["htE","cos rh1 stAng"],["dxE","cat2 rw1 htE wtE"],["dyE","sat2 rh1 htE wtE"],["xE","+- hc dxE 0"],["yE","+- vc dyE 0"],["dxG","cos thh ptAng"],["dyG","sin thh ptAng"],["xG","+- xH dxG 0"],["yG","+- yH dyG 0"],["dxB","cos thh ptAng"],["dyB","sin thh ptAng"],["xB","+- xH 0 dxB 0"],["yB","+- yH 0 dyB 0"],["sx1","+- xB 0 hc"],["sy1","+- yB 0 vc"],["sx2","+- xG 0 hc"],["sy2","+- yG 0 vc"],["rO","min rw1 rh1"],["x1O","*/ sx1 rO rw1"],["y1O","*/ sy1 rO rh1"],["x2O","*/ sx2 rO rw1"],["y2O","*/ sy2 rO rh1"],["dxO","+- x2O 0 x1O"],["dyO","+- y2O 0 y1O"],["dO","mod dxO dyO 0"],["q1","*/ x1O y2O 1"],["q2","*/ x2O y1O 1"],["DO","+- q1 0 q2"],["q3","*/ rO rO 1"],["q4","*/ dO dO 1"],["q5","*/ q3 q4 1"],["q6","*/ DO DO 1"],["q7","+- q5 0 q6"],["q8","max q7 0"],["sdelO","sqrt q8"],["ndyO","*/ dyO -1 1"],["sdyO","?: ndyO -1 1"],["q9","*/ sdyO dxO 1"],["q10","*/ q9 sdelO 1"],["q11","*/ DO dyO 1"],["dxF1","+/ q11 q10 q4"],["q12","+- q11 0 q10"],["dxF2","*/ q12 1 q4"],["adyO","abs dyO"],["q13","*/ adyO sdelO 1"],["q14","*/ DO dxO -1"],["dyF1","+/ q14 q13 q4"],["q15","+- q14 0 q13"],["dyF2","*/ q15 1 q4"],["q16","+- x2O 0 dxF1"],["q17","+- x2O 0 dxF2"],["q18","+- y2O 0 dyF1"],["q19","+- y2O 0 dyF2"],["q20","mod q16 q18 0"],["q21","mod q17 q19 0"],["q22","+- q21 0 q20"],["dxF","?: q22 dxF1 dxF2"],["dyF","?: q22 dyF1 dyF2"],["sdxF","*/ dxF rw1 rO"],["sdyF","*/ dyF rh1 rO"],["xF","+- hc sdxF 0"],["yF","+- vc sdyF 0"],["x1I","*/ sx1 rI rw2"],["y1I","*/ sy1 rI rh2"],["x2I","*/ sx2 rI rw2"],["y2I","*/ sy2 rI rh2"],["dxI","+- x2I 0 x1I"],["dyI","+- y2I 0 y1I"],["dI","mod dxI dyI 0"],["v1","*/ x1I y2I 1"],["v2","*/ x2I y1I 1"],["DI","+- v1 0 v2"],["v3","*/ rI rI 1"],["v4","*/ dI dI 1"],["v5","*/ v3 v4 1"],["v6","*/ DI DI 1"],["v7","+- v5 0 v6"],["v8","max v7 0"],["sdelI","sqrt v8"],["v9","*/ sdyO dxI 1"],["v10","*/ v9 sdelI 1"],["v11","*/ DI dyI 1"],["dxC1","+/ v11 v10 v4"],["v12","+- v11 0 v10"],["dxC2","*/ v12 1 v4"],["adyI","abs dyI"],["v13","*/ adyI sdelI 1"],["v14","*/ DI dxI -1"],["dyC1","+/ v14 v13 v4"],["v15","+- v14 0 v13"],["dyC2","*/ v15 1 v4"],["v16","+- x1I 0 dxC1"],["v17","+- x1I 0 dxC2"],["v18","+- y1I 0 dyC1"],["v19","+- y1I 0 dyC2"],["v20","mod v16 v18 0"],["v21","mod v17 v19 0"],["v22","+- v21 0 v20"],["dxC","?: v22 dxC1 dxC2"],["dyC","?: v22 dyC1 dyC2"],["sdxC","*/ dxC rw2 rI"],["sdyC","*/ dyC rh2 rI"],["xC","+- hc sdxC 0"],["yC","+- vc sdyC 0"],["ist0","at2 sdxC sdyC"],["ist1","+- ist0 21600000 0"],["istAng","?: ist0 ist0 ist1"],["isw1","+- stAng 0 istAng"],["isw2","+- isw1 0 21600000"],["iswAng","?: isw1 isw2 isw1"],["p1","+- xF 0 xC"],["p2","+- yF 0 yC"],["p3","mod p1 p2 0"],["p4","*/ p3 1 2"],["p5","+- p4 0 thh"],["xGp","?: p5 xF xG"],["yGp","?: p5 yF yG"],["xBp","?: p5 xC xB"],["yBp","?: p5 yC yB"],["en0","at2 sdxF sdyF"],["en1","+- en0 21600000 0"],["en2","?: en0 en0 en1"],["sw0","+- en2 0 stAng"],["sw1","+- sw0 21600000 0"],["swAng","?: sw0 sw0 sw1"],["wtI","sin rw3 stAng"],["htI","cos rh3 stAng"],["dxI","cat2 rw3 htI wtI"],["dyI","sat2 rh3 htI wtI"],["xI","+- hc dxI 0"],["yI","+- vc dyI 0"],["aI","+- stAng 0 cd4"],["aA","+- ptAng cd4 0"],["aB","+- ptAng cd2 0"],["idx","cos rw1 2700000"],["idy","sin rh1 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],ah:[{ang:["adj2","0","maxAng"],pos:["xA","yA"]},{ang:["adj4","0","21599999"],pos:["xE","yE"]},{r:["adj1","0","maxAdj1"],ang:["adj3","0","21599999"],pos:["xF","yF"]},{r:["adj5","0","25000"],pos:["xB","yB"]}],text:["il","it","ir","ib"],paths:[{d:"M xE yE A rw1 rh1 stAng swAng L xGp yGp L xA yA L xBp yBp L xC yC A rw2 rh2 istAng iswAng Z"}]},cloud:{gd:[["il","*/ w 2977 21600"],["it","*/ h 3262 21600"],["ir","*/ w 17087 21600"],["ib","*/ h 17337 21600"],["g27","*/ w 67 21600"],["g28","*/ h 21577 21600"],["g29","*/ w 21582 21600"],["g30","*/ h 1235 21600"]],text:["il","it","ir","ib"],paths:[{w:43200,h:43200,d:"M 3900 14370 A 6753 9190 -11429249 7426832 A 5333 7267 -8646143 5396714 A 4365 5945 -8748475 5983381 A 4857 6595 -7859164 7034504 A 5333 7273 -4722533 6541615 A 6775 9220 -2776035 7816140 A 5785 7867 37501 6842000 A 6752 9215 1347096 6910353 A 7720 10543 3974558 4542661 A 4360 5918 -16496525 8804134 A 4345 5945 -14809710 9151131 Z"},{w:43200,h:43200,fill:"none",d:"M 4693 26177 A 4345 5945 5204520 1585770 M 6928 34899 A 4360 5918 4416628 686848 M 16478 39090 A 6752 9215 8257449 844866 M 28827 34751 A 6752 9215 387196 959901 M 34129 22954 A 5785 7867 -4217541 4255042 M 41798 15354 A 5333 7273 1819082 1665090 M 38324 5426 A 4857 6595 -824660 891534 M 29078 3952 A 4857 6595 -8950887 1091722 M 22141 4720 A 4365 5945 -9809656 1061181 M 14000 5192 A 6753 9190 -4002417 739161 M 4127 15789 A 6753 9190 9459261 711490"}]},cloudCallout:{av:[["adj1","val -20833"],["adj2","val 62500"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["ht","cat2 hd2 dxPos dyPos"],["wt","sat2 wd2 dxPos dyPos"],["g2","cat2 wd2 ht wt"],["g3","sat2 hd2 ht wt"],["g4","+- hc g2 0"],["g5","+- vc g3 0"],["g6","+- g4 0 xPos"],["g7","+- g5 0 yPos"],["g8","mod g6 g7 0"],["g9","*/ ss 6600 21600"],["g10","+- g8 0 g9"],["g11","*/ g10 1 3"],["g12","*/ ss 1800 21600"],["g13","+- g11 g12 0"],["g14","*/ g13 g6 g8"],["g15","*/ g13 g7 g8"],["g16","+- g14 xPos 0"],["g17","+- g15 yPos 0"],["g18","*/ ss 4800 21600"],["g19","*/ g11 2 1"],["g20","+- g18 g19 0"],["g21","*/ g20 g6 g8"],["g22","*/ g20 g7 g8"],["g23","+- g21 xPos 0"],["g24","+- g22 yPos 0"],["g25","*/ ss 1200 21600"],["g26","*/ ss 600 21600"],["x23","+- xPos g26 0"],["x24","+- g16 g25 0"],["x25","+- g23 g12 0"],["il","*/ w 2977 21600"],["it","*/ h 3262 21600"],["ir","*/ w 17087 21600"],["ib","*/ h 17337 21600"],["g27","*/ w 67 21600"],["g28","*/ h 21577 21600"],["g29","*/ w 21582 21600"],["g30","*/ h 1235 21600"],["pang","at2 dxPos dyPos"]],ah:[{x:["adj1","-2147483647","2147483647"],y:["adj2","-2147483647","2147483647"],pos:["xPos","yPos"]}],text:["il","it","ir","ib"],paths:[{w:43200,h:43200,d:"M 3900 14370 A 6753 9190 -11429249 7426832 A 5333 7267 -8646143 5396714 A 4365 5945 -8748475 5983381 A 4857 6595 -7859164 7034504 A 5333 7273 -4722533 6541615 A 6775 9220 -2776035 7816140 A 5785 7867 37501 6842000 A 6752 9215 1347096 6910353 A 7720 10543 3974558 4542661 A 4360 5918 -16496525 8804134 A 4345 5945 -14809710 9151131 Z"},{d:"M x23 yPos A g26 g26 0 21600000 Z"},{d:"M x24 g17 A g25 g25 0 21600000 Z"},{d:"M x25 g24 A g12 g12 0 21600000 Z"},{w:43200,h:43200,fill:"none",d:"M 4693 26177 A 4345 5945 5204520 1585770 M 6928 34899 A 4360 5918 4416628 686848 M 16478 39090 A 6752 9215 8257449 844866 M 28827 34751 A 6752 9215 387196 959901 M 34129 22954 A 5785 7867 -4217541 4255042 M 41798 15354 A 5333 7273 1819082 1665090 M 38324 5426 A 4857 6595 -824660 891534 M 29078 3952 A 4857 6595 -8950887 1091722 M 22141 4720 A 4365 5945 -9809656 1061181 M 14000 5192 A 6753 9190 -4002417 739161 M 4127 15789 A 6753 9190 9459261 711490"}]},corner:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj1","*/ 100000 h ss"],["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 maxAdj1"],["a2","pin 0 adj2 maxAdj2"],["x1","*/ ss a2 100000"],["dy1","*/ ss a1 100000"],["y1","+- b 0 dy1"],["cx1","*/ x1 1 2"],["cy1","+/ y1 b 2"],["d","+- w 0 h"],["it","?: d y1 t"],["ir","?: d r x1"]],ah:[{y:["adj1","0","maxAdj1"],pos:["l","y1"]},{x:["adj2","0","maxAdj2"],pos:["x1","t"]}],text:["l","it","ir","b"],paths:[{d:"M l t L x1 t L x1 y1 L r y1 L r b L l b Z"}]},cornerTabs:{gd:[["md","mod w h 0"],["dx","*/ 1 md 20"],["y1","+- 0 b dx"],["x1","+- 0 r dx"]],text:["dx","dx","x1","y1"],paths:[{d:"M l t L dx t L l dx Z"},{d:"M l y1 L dx b L l b Z"},{d:"M x1 t L r t L r dx Z"},{d:"M r y1 L r b L x1 b Z"}]},cube:{av:[["adj","val 25000"]],gd:[["a","pin 0 adj 100000"],["y1","*/ ss a 100000"],["y4","+- b 0 y1"],["y2","*/ y4 1 2"],["y3","+/ y1 b 2"],["x4","+- r 0 y1"],["x2","*/ x4 1 2"],["x3","+/ y1 r 2"]],ah:[{y:["adj","0","100000"],pos:["l","y1"]}],text:["l","y1","x4","b"],paths:[{stroke:!1,d:"M l y1 L x4 y1 L x4 b L l b Z"},{fill:"darkenLess",stroke:!1,d:"M x4 y1 L r t L r y4 L x4 b Z"},{fill:"lightenLess",stroke:!1,d:"M l y1 L y1 t L r t L x4 y1 Z"},{fill:"none",d:"M l y1 L y1 t L r t L r y4 L x4 b L l b Z M l y1 L x4 y1 L r t M x4 y1 L x4 b"}]},curvedConnector2:{text:["l","t","r","b"],paths:[{fill:"none",d:"M l t C wd2 t r hd2 r b"}]},curvedConnector3:{av:[["adj1","val 50000"]],gd:[["x2","*/ w adj1 100000"],["x1","+/ l x2 2"],["x3","+/ r x2 2"],["y3","*/ h 3 4"]],ah:[{x:["adj1","-2147483647","2147483647"],pos:["x2","vc"]}],text:["l","t","r","b"],paths:[{fill:"none",d:"M l t C x1 t x2 hd4 x2 vc C x2 y3 x3 b r b"}]},curvedConnector4:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["x2","*/ w adj1 100000"],["x1","+/ l x2 2"],["x3","+/ r x2 2"],["x4","+/ x2 x3 2"],["x5","+/ x3 r 2"],["y4","*/ h adj2 100000"],["y1","+/ t y4 2"],["y2","+/ t y1 2"],["y3","+/ y1 y4 2"],["y5","+/ b y4 2"]],ah:[{x:["adj1","-2147483647","2147483647"],pos:["x2","y1"]},{y:["adj2","-2147483647","2147483647"],pos:["x3","y4"]}],text:["l","t","r","b"],paths:[{fill:"none",d:"M l t C x1 t x2 y2 x2 y1 C x2 y3 x4 y4 x3 y4 C x5 y4 r y5 r b"}]},curvedConnector5:{av:[["adj1","val 50000"],["adj2","val 50000"],["adj3","val 50000"]],gd:[["x3","*/ w adj1 100000"],["x6","*/ w adj3 100000"],["x1","+/ x3 x6 2"],["x2","+/ l x3 2"],["x4","+/ x3 x1 2"],["x5","+/ x6 x1 2"],["x7","+/ x6 r 2"],["y4","*/ h adj2 100000"],["y1","+/ t y4 2"],["y2","+/ t y1 2"],["y3","+/ y1 y4 2"],["y5","+/ b y4 2"],["y6","+/ y5 y4 2"],["y7","+/ y5 b 2"]],ah:[{x:["adj1","-2147483647","2147483647"],pos:["x3","y1"]},{y:["adj2","-2147483647","2147483647"],pos:["x1","y4"]},{x:["adj3","-2147483647","2147483647"],pos:["x6","y5"]}],text:["l","t","r","b"],paths:[{fill:"none",d:"M l t C x2 t x3 y2 x3 y1 C x3 y3 x4 y4 x1 y4 C x5 y4 x6 y6 x6 y5 C x6 y7 x7 b r b"}]},curvedDownArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 100000"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["wR","+- wd2 0 q1"],["q7","*/ wR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idy","*/ q11 h q7"],["maxAdj3","*/ 100000 idy ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss adj3 100000"],["x3","+- wR th 0"],["q2","*/ h h 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dx","*/ q5 wR h"],["x5","+- wR dx 0"],["x7","+- x3 dx 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["x4","+- x5 0 dh"],["x8","+- x7 dh 0"],["aw2","*/ aw 1 2"],["x6","+- r 0 aw2"],["y1","+- b 0 ah"],["swAng","at2 ah dx"],["mswAng","+- 0 0 swAng"],["iy","+- b 0 idy"],["ix","+/ wR x3 2"],["q12","*/ th 1 2"],["dang2","at2 idy q12"],["stAng","+- 3cd4 swAng 0"],["stAng2","+- 3cd4 0 dang2"],["swAng2","+- dang2 0 cd4"],["swAng3","+- cd4 dang2 0"]],ah:[{x:["adj1","0","adj2"],pos:["x7","y1"]},{x:["adj2","0","maxAdj2"],pos:["x4","b"]},{y:["adj3","0","maxAdj3"],pos:["r","y1"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M x6 b L x4 y1 L x5 y1 A wR h stAng mswAng L x3 t A wR h 3cd4 swAng L x8 y1 Z"},{fill:"darkenLess",stroke:!1,d:"M ix iy A wR h stAng2 swAng2 L l b A wR h cd2 swAng3 Z"},{fill:"none",d:"M ix iy A wR h stAng2 swAng2 L l b A wR h cd2 cd4 L x3 t A wR h 3cd4 swAng L x8 y1 L x6 b L x4 y1 L x5 y1 A wR h stAng mswAng"}]},curvedLeftArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 a2"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["hR","+- hd2 0 q1"],["q7","*/ hR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idx","*/ q11 w q7"],["maxAdj3","*/ 100000 idx ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss a3 100000"],["y3","+- hR th 0"],["q2","*/ w w 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dy","*/ q5 hR w"],["y5","+- hR dy 0"],["y7","+- y3 dy 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["y4","+- y5 0 dh"],["y8","+- y7 dh 0"],["aw2","*/ aw 1 2"],["y6","+- b 0 aw2"],["x1","+- l ah 0"],["swAng","at2 ah dy"],["mswAng","+- 0 0 swAng"],["ix","+- l idx 0"],["iy","+/ hR y3 2"],["q12","*/ th 1 2"],["dang2","at2 idx q12"],["swAng2","+- dang2 0 swAng"],["swAng3","+- swAng dang2 0"],["stAng3","+- 0 0 dang2"]],ah:[{y:["adj1","0","a2"],pos:["x1","y5"]},{y:["adj2","0","maxAdj2"],pos:["r","y4"]},{x:["adj3","0","maxAdj3"],pos:["x1","b"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l y6 L x1 y4 L x1 y5 A w hR swAng swAng2 A w hR stAng3 swAng3 L x1 y8 Z"},{fill:"darkenLess",stroke:!1,d:"M r y3 A w hR 0 -5400000 L l t A w hR 3cd4 cd4 Z"},{fill:"none",d:"M r y3 A w hR 0 -5400000 L l t A w hR 3cd4 cd4 L r y3 A w hR 0 swAng L x1 y8 L l y6 L x1 y4 L x1 y5 A w hR swAng swAng2"}]},curvedRightArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 a2"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["hR","+- hd2 0 q1"],["q7","*/ hR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idx","*/ q11 w q7"],["maxAdj3","*/ 100000 idx ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss a3 100000"],["y3","+- hR th 0"],["q2","*/ w w 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dy","*/ q5 hR w"],["y5","+- hR dy 0"],["y7","+- y3 dy 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["y4","+- y5 0 dh"],["y8","+- y7 dh 0"],["aw2","*/ aw 1 2"],["y6","+- b 0 aw2"],["x1","+- r 0 ah"],["swAng","at2 ah dy"],["stAng","+- cd2 0 swAng"],["mswAng","+- 0 0 swAng"],["ix","+- r 0 idx"],["iy","+/ hR y3 2"],["q12","*/ th 1 2"],["dang2","at2 idx q12"],["swAng2","+- dang2 0 cd4"],["swAng3","+- cd4 dang2 0"],["stAng3","+- cd2 0 dang2"]],ah:[{y:["adj1","0","a2"],pos:["x1","y5"]},{y:["adj2","0","maxAdj2"],pos:["r","y4"]},{x:["adj3","0","maxAdj3"],pos:["x1","b"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M l hR A w hR cd2 mswAng L x1 y4 L r y6 L x1 y8 L x1 y7 A w hR stAng swAng Z"},{fill:"darkenLess",stroke:!1,d:"M r th A w hR 3cd4 swAng2 A w hR stAng3 swAng3 Z"},{fill:"none",d:"M l hR A w hR cd2 mswAng L x1 y4 L r y6 L x1 y8 L x1 y7 A w hR stAng swAng L l hR A w hR cd2 cd4 L r th A w hR 3cd4 swAng2"}]},curvedUpArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 100000"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["wR","+- wd2 0 q1"],["q7","*/ wR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idy","*/ q11 h q7"],["maxAdj3","*/ 100000 idy ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss adj3 100000"],["x3","+- wR th 0"],["q2","*/ h h 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dx","*/ q5 wR h"],["x5","+- wR dx 0"],["x7","+- x3 dx 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["x4","+- x5 0 dh"],["x8","+- x7 dh 0"],["aw2","*/ aw 1 2"],["x6","+- r 0 aw2"],["y1","+- t ah 0"],["swAng","at2 ah dx"],["mswAng","+- 0 0 swAng"],["iy","+- t idy 0"],["ix","+/ wR x3 2"],["q12","*/ th 1 2"],["dang2","at2 idy q12"],["swAng2","+- dang2 0 swAng"],["mswAng2","+- 0 0 swAng2"],["stAng3","+- cd4 0 swAng"],["swAng3","+- swAng dang2 0"],["stAng2","+- cd4 0 dang2"]],ah:[{x:["adj1","0","a2"],pos:["x7","y1"]},{x:["adj2","0","maxAdj2"],pos:["x4","t"]},{y:["adj3","0","maxAdj3"],pos:["r","y1"]}],text:["l","t","r","b"],paths:[{stroke:!1,d:"M x6 t L x8 y1 L x7 y1 A wR h stAng3 swAng3 A wR h stAng2 swAng2 L x4 y1 Z"},{fill:"darkenLess",stroke:!1,d:"M wR b A wR h cd4 cd4 L th t A wR h cd2 -5400000 Z"},{fill:"none",d:"M ix iy A wR h stAng2 swAng2 L x4 y1 L x6 t L x8 y1 L x7 y1 A wR h stAng3 swAng L wR b A wR h cd4 cd4 L th t A wR h cd2 -5400000"}]},decagon:{av:[["vf","val 105146"]],gd:[["shd2","*/ hd2 vf 100000"],["dx1","cos wd2 2160000"],["dx2","cos wd2 4320000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["dy1","sin shd2 4320000"],["dy2","sin shd2 2160000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"]],text:["x1","y2","x4","y3"],paths:[{d:"M l vc L x1 y2 L x2 y1 L x3 y1 L x4 y2 L r vc L x4 y3 L x3 y4 L x2 y4 L x1 y3 Z"}]},diagStripe:{av:[["adj","val 50000"]],gd:[["a","pin 0 adj 100000"],["x2","*/ w a 100000"],["x1","*/ x2 1 2"],["x3","+/ x2 r 2"],["y2","*/ h a 100000"],["y1","*/ y2 1 2"],["y3","+/ y2 b 2"]],ah:[{y:["adj","0","100000"],pos:["l","y2"]}],text:["l","t","x3","y3"],paths:[{d:"M l y2 L x2 t L r t L l b Z"}]},diamond:{gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],text:["wd4","hd4","ir","ib"],paths:[{d:"M l vc L hc t L r vc L hc b Z"}]},dodecagon:{gd:[["x1","*/ w 2894 21600"],["x2","*/ w 7906 21600"],["x3","*/ w 13694 21600"],["x4","*/ w 18706 21600"],["y1","*/ h 2894 21600"],["y2","*/ h 7906 21600"],["y3","*/ h 13694 21600"],["y4","*/ h 18706 21600"]],text:["x1","y1","x4","y4"],paths:[{d:"M l y2 L x1 y1 L x2 t L x3 t L x4 y1 L r y2 L r y3 L x4 y4 L x3 b L x2 b L x1 y4 L l y3 Z"}]},donut:{av:[["adj","val 25000"]],gd:[["a","pin 0 adj 50000"],["dr","*/ ss a 100000"],["iwd2","+- wd2 0 dr"],["ihd2","+- hd2 0 dr"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],ah:[{r:["adj","0","50000"],pos:["dr","vc"]}],text:["il","it","ir","ib"],paths:[{d:"M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z M dr vc A iwd2 ihd2 cd2 -5400000 A iwd2 ihd2 cd4 -5400000 A iwd2 ihd2 0 -5400000 A iwd2 ihd2 3cd4 -5400000 Z"}]},doubleWave:{av:[["adj1","val 6250"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 12500"],["a2","pin -10000 adj2 10000"],["y1","*/ h a1 100000"],["dy2","*/ y1 10 3"],["y2","+- y1 0 dy2"],["y3","+- y1 dy2 0"],["y4","+- b 0 y1"],["y5","+- y4 0 dy2"],["y6","+- y4 dy2 0"],["dx1","*/ w a2 100000"],["of2","*/ w a2 50000"],["x1","abs dx1"],["dx2","?: of2 0 of2"],["x2","+- l 0 dx2"],["dx8","?: of2 of2 0"],["x8","+- r 0 dx8"],["dx3","+/ dx2 x8 6"],["x3","+- x2 dx3 0"],["dx4","+/ dx2 x8 3"],["x4","+- x2 dx4 0"],["x5","+/ x2 x8 2"],["x6","+- x5 dx3 0"],["x7","+/ x6 x8 2"],["x9","+- l dx8 0"],["x15","+- r dx2 0"],["x10","+- x9 dx3 0"],["x11","+- x9 dx4 0"],["x12","+/ x9 x15 2"],["x13","+- x12 dx3 0"],["x14","+/ x13 x15 2"],["x16","+- r 0 x1"],["xAdj","+- hc dx1 0"],["il","max x2 x9"],["ir","min x8 x15"],["it","*/ h a1 50000"],["ib","+- b 0 it"]],ah:[{y:["adj1","0","12500"],pos:["l","y1"]},{x:["adj2","-10000","10000"],pos:["xAdj","b"]}],text:["il","it","ir","ib"],paths:[{d:"M x2 y1 C x3 y2 x4 y3 x5 y1 C x6 y2 x7 y3 x8 y1 L x15 y4 C x14 y6 x13 y5 x12 y4 C x11 y6 x10 y5 x9 y4 Z"}]},downArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 h ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dy1","*/ ss a2 100000"],["y1","+- b 0 dy1"],["dx1","*/ w a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy2","*/ x1 dy1 wd2"],["y2","+- y1 dy2 0"]],ah:[{x:["adj1","0","100000"],pos:["x1","t"]},{y:["adj2","0","maxAdj2"],pos:["l","y1"]}],text:["x1","t","x2","y2"],paths:[{d:"M l y1 L x1 y1 L x1 t L x2 t L x2 y1 L r y1 L hc b Z"}]},downArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 h ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss h"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dx1","*/ ss a2 100000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["dy3","*/ ss a3 100000"],["y3","+- b 0 dy3"],["y2","*/ h a4 100000"],["y1","*/ y2 1 2"]],ah:[{x:["adj1","0","maxAdj1"],pos:["x2","y3"]},{x:["adj2","0","maxAdj2"],pos:["x1","b"]},{y:["adj3","0","maxAdj3"],pos:["r","y3"]},{y:["adj4","0","maxAdj4"],pos:["l","y2"]}],text:["l","t","r","y2"],paths:[{d:"M l t L r t L r y2 L x3 y2 L x3 y3 L x4 y3 L hc b L x1 y3 L x2 y3 L x2 y2 L l y2 Z"}]},ellipse:{gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],text:["il","it","ir","ib"],paths:[{d:"M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z"}]},ellipseRibbon:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 12500"]],gd:[["a1","pin 0 adj1 100000"],["a2","pin 25000 adj2 75000"],["q10","+- 100000 0 a1"],["q11","*/ q10 1 2"],["q12","+- a1 0 q11"],["minAdj3","max 0 q12"],["a3","pin minAdj3 adj3 a1"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x3","+- x2 wd8 0"],["x4","+- r 0 x3"],["x5","+- r 0 x2"],["x6","+- r 0 wd8"],["dy1","*/ h a3 100000"],["f1","*/ 4 dy1 w"],["q1","*/ x3 x3 w"],["q2","+- x3 0 q1"],["y1","*/ f1 q2 1"],["cx1","*/ x3 1 2"],["cy1","*/ f1 cx1 1"],["cx2","+- r 0 cx1"],["q1","*/ h a1 100000"],["dy3","+- q1 0 dy1"],["q3","*/ x2 x2 w"],["q4","+- x2 0 q3"],["q5","*/ f1 q4 1"],["y3","+- q5 dy3 0"],["q6","+- dy1 dy3 y3"],["q7","+- q6 dy1 0"],["cy3","+- q7 dy3 0"],["rh","+- b 0 q1"],["q8","*/ dy1 14 16"],["y2","+/ q8 rh 2"],["y5","+- q5 rh 0"],["y6","+- y3 rh 0"],["cx4","*/ x2 1 2"],["q9","*/ f1 cx4 1"],["cy4","+- q9 rh 0"],["cx5","+- r 0 cx4"],["cy6","+- cy3 rh 0"],["y7","+- y1 dy3 0"],["cy7","+- q1 q1 y7"],["y8","+- b 0 dy1"]],ah:[{y:["adj1","0","100000"],pos:["hc","q1"]},{x:["adj2","25000","75000"],pos:["x2","b"]},{y:["adj3","minAdj3","a1"],pos:["l","y8"]}],text:["x2","q1","x5","y6"],paths:[{stroke:!1,d:"M l t Q cx1 cy1 x3 y1 L x2 y3 Q hc cy3 x5 y3 L x4 y1 Q cx2 cy1 r t L x6 y2 L r rh Q cx5 cy4 x5 y5 L x5 y6 Q hc cy6 x2 y6 L x2 y5 Q cx4 cy4 l rh L wd8 y2 Z"},{fill:"darkenLess",stroke:!1,d:"M x3 y7 L x3 y1 L x2 y3 Q hc cy3 x5 y3 L x4 y1 L x4 y7 Q hc cy7 x3 y7 Z"},{fill:"none",d:"M l t Q cx1 cy1 x3 y1 L x2 y3 Q hc cy3 x5 y3 L x4 y1 Q cx2 cy1 r t L x6 y2 L r rh Q cx5 cy4 x5 y5 L x5 y6 Q hc cy6 x2 y6 L x2 y5 Q cx4 cy4 l rh L wd8 y2 Z M x2 y5 L x2 y3 M x5 y3 L x5 y5 M x3 y1 L x3 y7 M x4 y7 L x4 y1"}]},ellipseRibbon2:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 12500"]],gd:[["a1","pin 0 adj1 100000"],["a2","pin 25000 adj2 75000"],["q10","+- 100000 0 a1"],["q11","*/ q10 1 2"],["q12","+- a1 0 q11"],["minAdj3","max 0 q12"],["a3","pin minAdj3 adj3 a1"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x3","+- x2 wd8 0"],["x4","+- r 0 x3"],["x5","+- r 0 x2"],["x6","+- r 0 wd8"],["dy1","*/ h a3 100000"],["f1","*/ 4 dy1 w"],["q1","*/ x3 x3 w"],["q2","+- x3 0 q1"],["u1","*/ f1 q2 1"],["y1","+- b 0 u1"],["cx1","*/ x3 1 2"],["cu1","*/ f1 cx1 1"],["cy1","+- b 0 cu1"],["cx2","+- r 0 cx1"],["q1","*/ h a1 100000"],["dy3","+- q1 0 dy1"],["q3","*/ x2 x2 w"],["q4","+- x2 0 q3"],["q5","*/ f1 q4 1"],["u3","+- q5 dy3 0"],["y3","+- b 0 u3"],["q6","+- dy1 dy3 u3"],["q7","+- q6 dy1 0"],["cu3","+- q7 dy3 0"],["cy3","+- b 0 cu3"],["rh","+- b 0 q1"],["q8","*/ dy1 14 16"],["u2","+/ q8 rh 2"],["y2","+- b 0 u2"],["u5","+- q5 rh 0"],["y5","+- b 0 u5"],["u6","+- u3 rh 0"],["y6","+- b 0 u6"],["cx4","*/ x2 1 2"],["q9","*/ f1 cx4 1"],["cu4","+- q9 rh 0"],["cy4","+- b 0 cu4"],["cx5","+- r 0 cx4"],["cu6","+- cu3 rh 0"],["cy6","+- b 0 cu6"],["u7","+- u1 dy3 0"],["y7","+- b 0 u7"],["cu7","+- q1 q1 u7"],["cy7","+- b 0 cu7"]],ah:[{y:["adj1","0","100000"],pos:["hc","rh"]},{x:["adj2","25000","100000"],pos:["x2","t"]},{y:["adj3","minAdj3","a1"],pos:["l","dy1"]}],text:["x2","y6","x5","rh"],paths:[{stroke:!1,d:"M l b Q cx1 cy1 x3 y1 L x2 y3 Q hc cy3 x5 y3 L x4 y1 Q cx2 cy1 r b L x6 y2 L r q1 Q cx5 cy4 x5 y5 L x5 y6 Q hc cy6 x2 y6 L x2 y5 Q cx4 cy4 l q1 L wd8 y2 Z"},{fill:"darkenLess",stroke:!1,d:"M x3 y7 L x3 y1 L x2 y3 Q hc cy3 x5 y3 L x4 y1 L x4 y7 Q hc cy7 x3 y7 Z"},{fill:"none",d:"M l b L wd8 y2 L l q1 Q cx4 cy4 x2 y5 L x2 y6 Q hc cy6 x5 y6 L x5 y5 Q cx5 cy4 r q1 L x6 y2 L r b Q cx2 cy1 x4 y1 L x5 y3 Q hc cy3 x2 y3 L x3 y1 Q cx1 cy1 l b Z M x2 y3 L x2 y5 M x5 y5 L x5 y3 M x3 y7 L x3 y1 M x4 y1 L x4 y7"}]},flowChartAlternateProcess:{gd:[["x2","+- r 0 ssd6"],["y2","+- b 0 ssd6"],["il","*/ ssd6 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],text:["il","il","ir","ib"],paths:[{d:"M l ssd6 A ssd6 ssd6 cd2 cd4 L x2 t A ssd6 ssd6 3cd4 cd4 L r y2 A ssd6 ssd6 0 cd4 L ssd6 b A ssd6 ssd6 cd4 cd4 Z"}]},flowChartCollate:{gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],text:["wd4","hd4","ir","ib"],paths:[{w:2,h:2,d:"M 0 0 L 2 0 L 1 1 L 2 2 L 0 2 L 1 1 Z"}]},flowChartConnector:{gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],text:["il","it","ir","ib"],paths:[{d:"M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z"}]},flowChartDecision:{gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],text:["wd4","hd4","ir","ib"],paths:[{w:2,h:2,d:"M 0 1 L 1 0 L 2 1 L 1 2 Z"}]},flowChartDelay:{gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],text:["l","it","ir","ib"],paths:[{d:"M l t L hc t A wd2 hd2 3cd4 cd2 L l b Z"}]},flowChartDisplay:{gd:[["x2","*/ w 5 6"]],text:["wd6","t","x2","b"],paths:[{w:6,h:6,d:"M 0 3 L 1 0 L 5 0 A 1 3 3cd4 cd2 L 1 6 Z"}]},flowChartDocument:{gd:[["y1","*/ h 17322 21600"],["y2","*/ h 20172 21600"]],text:["l","t","r","y1"],paths:[{w:21600,h:21600,d:"M 0 0 L 21600 0 L 21600 17322 C 10800 17322 10800 23922 0 20172 Z"}]},flowChartExtract:{gd:[["x2","*/ w 3 4"]],text:["wd4","vc","x2","b"],paths:[{w:2,h:2,d:"M 0 2 L 1 0 L 2 2 Z"}]},flowChartInputOutput:{gd:[["x3","*/ w 2 5"],["x4","*/ w 3 5"],["x5","*/ w 4 5"],["x6","*/ w 9 10"]],text:["wd5","t","x5","b"],paths:[{w:5,h:5,d:"M 0 5 L 1 0 L 5 0 L 4 5 Z"}]},flowChartInternalStorage:{text:["wd8","hd8","r","b"],paths:[{w:1,h:1,stroke:!1,d:"M 0 0 L 1 0 L 1 1 L 0 1 Z"},{w:8,h:8,fill:"none",d:"M 1 0 L 1 8 M 0 1 L 8 1"},{w:1,h:1,fill:"none",d:"M 0 0 L 1 0 L 1 1 L 0 1 Z"}]},flowChartMagneticDisk:{gd:[["y3","*/ h 5 6"]],text:["l","hd3","r","y3"],paths:[{w:6,h:6,stroke:!1,d:"M 0 1 A 3 1 cd2 cd2 L 6 5 A 3 1 0 cd2 Z"},{w:6,h:6,fill:"none",d:"M 6 1 A 3 1 0 cd2"},{w:6,h:6,fill:"none",d:"M 0 1 A 3 1 cd2 cd2 L 6 5 A 3 1 0 cd2 Z"}]},flowChartMagneticDrum:{gd:[["x2","*/ w 2 3"]],text:["wd6","t","x2","b"],paths:[{w:6,h:6,stroke:!1,d:"M 1 0 L 5 0 A 1 3 3cd4 cd2 L 1 6 A 1 3 cd4 cd2 Z"},{w:6,h:6,fill:"none",d:"M 5 6 A 1 3 cd4 cd2"},{w:6,h:6,fill:"none",d:"M 1 0 L 5 0 A 1 3 3cd4 cd2 L 1 6 A 1 3 cd4 cd2 Z"}]},flowChartMagneticTape:{gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"],["ang1","at2 w h"]],text:["il","it","ir","ib"],paths:[{d:"M hc b A wd2 hd2 cd4 cd4 A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 ang1 L r ib L r b Z"}]},flowChartManualInput:{text:["l","hd5","r","b"],paths:[{w:5,h:5,d:"M 0 1 L 5 0 L 5 5 L 0 5 Z"}]},flowChartManualOperation:{gd:[["x3","*/ w 4 5"],["x4","*/ w 9 10"]],text:["wd5","t","x3","b"],paths:[{w:5,h:5,d:"M 0 0 L 5 0 L 4 5 L 1 5 Z"}]},flowChartMerge:{gd:[["x2","*/ w 3 4"]],text:["wd4","t","x2","vc"],paths:[{w:2,h:2,d:"M 0 0 L 2 0 L 1 2 Z"}]},flowChartMultidocument:{gd:[["y2","*/ h 3675 21600"],["y8","*/ h 20782 21600"],["x3","*/ w 9298 21600"],["x4","*/ w 12286 21600"],["x5","*/ w 18595 21600"]],text:["l","y2","x5","y8"],paths:[{w:21600,h:21600,stroke:!1,d:"M 0 20782 C 9298 23542 9298 18022 18595 18022 L 18595 3675 L 0 3675 Z M 1532 3675 L 1532 1815 L 20000 1815 L 20000 16252 C 19298 16252 18595 16352 18595 16352 L 18595 3675 Z M 2972 1815 L 2972 0 L 21600 0 L 21600 14392 C 20800 14392 20000 14467 20000 14467 L 20000 1815 Z"},{w:21600,h:21600,fill:"none",d:"M 0 3675 L 18595 3675 L 18595 18022 C 9298 18022 9298 23542 0 20782 Z M 1532 3675 L 1532 1815 L 20000 1815 L 20000 16252 C 19298 16252 18595 16352 18595 16352 M 2972 1815 L 2972 0 L 21600 0 L 21600 14392 C 20800 14392 20000 14467 20000 14467"},{w:21600,h:21600,fill:"none",stroke:!1,d:"M 0 20782 C 9298 23542 9298 18022 18595 18022 L 18595 16352 C 18595 16352 19298 16252 20000 16252 L 20000 14467 C 20000 14467 20800 14392 21600 14392 L 21600 0 L 2972 0 L 2972 1815 L 1532 1815 L 1532 3675 L 0 3675 Z"}]},flowChartOfflineStorage:{gd:[["x4","*/ w 3 4"]],text:["wd4","t","x4","vc"],paths:[{w:2,h:2,stroke:!1,d:"M 0 0 L 2 0 L 1 2 Z"},{w:5,h:5,fill:"none",d:"M 2 4 L 3 4"},{w:2,h:2,fill:"none",d:"M 0 0 L 2 0 L 1 2 Z"}]},flowChartOffpageConnector:{gd:[["y1","*/ h 4 5"]],text:["l","t","r","y1"],paths:[{w:10,h:10,d:"M 0 0 L 10 0 L 10 8 L 5 10 L 0 8 Z"}]},flowChartOnlineStorage:{gd:[["x2","*/ w 5 6"]],text:["wd6","t","x2","b"],paths:[{w:6,h:6,d:"M 1 0 L 6 0 A 1 3 3cd4 -10800000 L 1 6 A 1 3 cd4 cd2 Z"}]},flowChartOr:{gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],text:["il","it","ir","ib"],paths:[{stroke:!1,d:"M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z"},{fill:"none",d:"M hc t L hc b M l vc L r vc"},{fill:"none",d:"M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z"}]},flowChartPredefinedProcess:{gd:[["x2","*/ w 7 8"]],text:["wd8","t","x2","b"],paths:[{w:1,h:1,stroke:!1,d:"M 0 0 L 1 0 L 1 1 L 0 1 Z"},{w:8,h:8,fill:"none",d:"M 1 0 L 1 8 M 7 0 L 7 8"},{w:1,h:1,fill:"none",d:"M 0 0 L 1 0 L 1 1 L 0 1 Z"}]},flowChartPreparation:{gd:[["x2","*/ w 4 5"]],text:["wd5","t","x2","b"],paths:[{w:10,h:10,d:"M 0 5 L 2 0 L 8 0 L 10 5 L 8 10 L 2 10 Z"}]},flowChartProcess:{text:["l","t","r","b"],paths:[{w:1,h:1,d:"M 0 0 L 1 0 L 1 1 L 0 1 Z"}]},flowChartPunchedCard:{text:["l","hd5","r","b"],paths:[{w:5,h:5,d:"M 0 1 L 1 0 L 5 0 L 5 5 L 0 5 Z"}]},flowChartPunchedTape:{gd:[["y2","*/ h 9 10"],["ib","*/ h 4 5"]],text:["l","hd5","r","ib"],paths:[{w:20,h:20,d:"M 0 2 A 5 2 cd2 -10800000 A 5 2 cd2 cd2 L 20 18 A 5 2 0 -10800000 A 5 2 0 cd2 Z"}]},flowChartSort:{gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],text:["wd4","hd4","ir","ib"],paths:[{w:2,h:2,stroke:!1,d:"M 0 1 L 1 0 L 2 1 L 1 2 Z"},{w:2,h:2,fill:"none",d:"M 0 1 L 2 1"},{w:2,h:2,fill:"none",d:"M 0 1 L 1 0 L 2 1 L 1 2 Z"}]},flowChartSummingJunction:{gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],text:["il","it","ir","ib"],paths:[{stroke:!1,d:"M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z"},{fill:"none",d:"M il it L ir ib M ir it L il ib"},{fill:"none",d:"M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z"}]},flowChartTerminator:{gd:[["il","*/ w 1018 21600"],["ir","*/ w 20582 21600"],["it","*/ h 3163 21600"],["ib","*/ h 18437 21600"]],text:["il","it","ir","ib"],paths:[{w:21600,h:21600,d:"M 3475 0 L 18125 0 A 3475 10800 3cd4 cd2 L 3475 21600 A 3475 10800 cd4 cd2 Z"}]},foldedCorner:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["dy2","*/ ss a 100000"],["dy1","*/ dy2 1 5"],["x1","+- r 0 dy2"],["x2","+- x1 dy1 0"],["y2","+- b 0 dy2"],["y1","+- y2 dy1 0"]],ah:[{x:["adj","0","50000"],pos:["x1","b"]}],text:["l","t","r","y2"],paths:[{stroke:!1,d:"M l t L r t L r y2 L x1 b L l b Z"},{fill:"darkenLess",stroke:!1,d:"M x1 b L x2 y1 L r y2 Z"},{fill:"none",d:"M x1 b L x2 y1 L r y2 L x1 b L l b L l t L r t L r y2"}]},frame:{av:[["adj1","val 12500"]],gd:[["a1","pin 0 adj1 50000"],["x1","*/ ss a1 100000"],["x4","+- r 0 x1"],["y4","+- b 0 x1"]],ah:[{x:["adj1","0","50000"],pos:["x1","t"]}],text:["x1","x1","x4","y4"],paths:[{d:"M l t L r t L r b L l b Z M x1 x1 L x1 y4 L x4 y4 L x4 x1 Z"}]},funnel:{gd:[["d","*/ ss 1 20"],["rw2","+- wd2 0 d"],["rh2","+- hd4 0 d"],["t1","cos wd2 480000"],["t2","sin hd4 480000"],["da","at2 t1 t2"],["2da","*/ da 2 1"],["stAng1","+- cd2 0 da"],["swAng1","+- cd2 2da 0"],["swAng3","+- cd2 0 2da"],["rw3","*/ wd2 1 4"],["rh3","*/ hd4 1 4"],["ct1","cos hd4 stAng1"],["st1","sin wd2 stAng1"],["m1","mod ct1 st1 0"],["n1","*/ wd2 hd4 m1"],["dx1","cos n1 stAng1"],["dy1","sin n1 stAng1"],["x1","+- hc dx1 0"],["y1","+- hd4 dy1 0"],["ct3","cos rh3 da"],["st3","sin rw3 da"],["m3","mod ct3 st3 0"],["n3","*/ rw3 rh3 m3"],["dx3","cos n3 da"],["dy3","sin n3 da"],["x3","+- hc dx3 0"],["vc3","+- b 0 rh3"],["y2","+- vc3 dy3 0"],["x2","+- wd2 0 rw2"],["cd","*/ cd2 2 1"]],text:["l","t","r","b"],paths:[{d:"M x1 y1 A wd2 hd4 stAng1 swAng1 L x3 y2 A rw3 rh3 da swAng3 Z M x2 hd4 A rw2 rh2 cd2 -21600000 Z"}]},gear6:{av:[["adj1","val 15000"],["adj2","val 3526"]],gd:[["a1","pin 0 adj1 20000"],["a2","pin 0 adj2 5358"],["th","*/ ss a1 100000"],["lFD","*/ ss a2 100000"],["th2","*/ th 1 2"],["l2","*/ lFD 1 2"],["l3","+- th2 l2 0"],["rh","+- hd2 0 th"],["rw","+- wd2 0 th"],["dr","+- rw 0 rh"],["maxr","?: dr rh rw"],["ha","at2 maxr l3"],["aA1","+- 19800000 0 ha"],["aD1","+- 19800000 ha 0"],["ta11","cos rw aA1"],["ta12","sin rh aA1"],["bA1","at2 ta11 ta12"],["cta1","cos rh bA1"],["sta1","sin rw bA1"],["ma1","mod cta1 sta1 0"],["na1","*/ rw rh ma1"],["dxa1","cos na1 bA1"],["dya1","sin na1 bA1"],["xA1","+- hc dxa1 0"],["yA1","+- vc dya1 0"],["td11","cos rw aD1"],["td12","sin rh aD1"],["bD1","at2 td11 td12"],["ctd1","cos rh bD1"],["std1","sin rw bD1"],["md1","mod ctd1 std1 0"],["nd1","*/ rw rh md1"],["dxd1","cos nd1 bD1"],["dyd1","sin nd1 bD1"],["xD1","+- hc dxd1 0"],["yD1","+- vc dyd1 0"],["xAD1","+- xA1 0 xD1"],["yAD1","+- yA1 0 yD1"],["lAD1","mod xAD1 yAD1 0"],["a1","at2 yAD1 xAD1"],["dxF1","sin lFD a1"],["dyF1","cos lFD a1"],["xF1","+- xD1 dxF1 0"],["yF1","+- yD1 dyF1 0"],["xE1","+- xA1 0 dxF1"],["yE1","+- yA1 0 dyF1"],["yC1t","sin th a1"],["xC1t","cos th a1"],["yC1","+- yF1 yC1t 0"],["xC1","+- xF1 0 xC1t"],["yB1","+- yE1 yC1t 0"],["xB1","+- xE1 0 xC1t"],["aD6","+- 3cd4 ha 0"],["td61","cos rw aD6"],["td62","sin rh aD6"],["bD6","at2 td61 td62"],["ctd6","cos rh bD6"],["std6","sin rw bD6"],["md6","mod ctd6 std6 0"],["nd6","*/ rw rh md6"],["dxd6","cos nd6 bD6"],["dyd6","sin nd6 bD6"],["xD6","+- hc dxd6 0"],["yD6","+- vc dyd6 0"],["xA6","+- hc 0 dxd6"],["xF6","+- xD6 0 lFD"],["xE6","+- xA6 lFD 0"],["yC6","+- yD6 0 th"],["swAng1","+- bA1 0 bD6"],["aA2","+- 1800000 0 ha"],["aD2","+- 1800000 ha 0"],["ta21","cos rw aA2"],["ta22","sin rh aA2"],["bA2","at2 ta21 ta22"],["yA2","+- h 0 yD1"],["td21","cos rw aD2"],["td22","sin rh aD2"],["bD2","at2 td21 td22"],["yD2","+- h 0 yA1"],["yC2","+- h 0 yB1"],["yB2","+- h 0 yC1"],["xB2","val xC1"],["swAng2","+- bA2 0 bD1"],["aD3","+- cd4 ha 0"],["td31","cos rw aD3"],["td32","sin rh aD3"],["bD3","at2 td31 td32"],["yD3","+- h 0 yD6"],["yB3","+- h 0 yC6"],["aD4","+- 9000000 ha 0"],["td41","cos rw aD4"],["td42","sin rh aD4"],["bD4","at2 td41 td42"],["xD4","+- w 0 xD1"],["xC4","+- w 0 xC1"],["xB4","+- w 0 xB1"],["aD5","+- 12600000 ha 0"],["td51","cos rw aD5"],["td52","sin rh aD5"],["bD5","at2 td51 td52"],["xD5","+- w 0 xA1"],["xC5","+- w 0 xB1"],["xB5","+- w 0 xC1"],["xCxn1","+/ xB1 xC1 2"],["yCxn1","+/ yB1 yC1 2"],["yCxn2","+- b 0 yCxn1"],["xCxn4","+/ r 0 xCxn1"]],ah:[{y:["adj1","0","20000"],pos:["xD6","yD6"]},{x:["adj2","0","5358"],pos:["xA6","yD6"]}],text:["xD5","yA1","xA1","yD2"],paths:[{d:"M xA1 yA1 L xB1 yB1 L xC1 yC1 L xD1 yD1 A rw rh bD1 swAng2 L xC1 yB2 L xB1 yC2 L xA1 yD2 A rw rh bD2 swAng1 L xF6 yB3 L xE6 yB3 L xA6 yD3 A rw rh bD3 swAng1 L xB4 yC2 L xC4 yB2 L xD4 yA2 A rw rh bD4 swAng2 L xB5 yC1 L xC5 yB1 L xD5 yA1 A rw rh bD5 swAng1 L xE6 yC6 L xF6 yC6 L xD6 yD6 A rw rh bD6 swAng1 Z"}]},gear9:{av:[["adj1","val 10000"],["adj2","val 1763"]],gd:[["a1","pin 0 adj1 20000"],["a2","pin 0 adj2 2679"],["th","*/ ss a1 100000"],["lFD","*/ ss a2 100000"],["th2","*/ th 1 2"],["l2","*/ lFD 1 2"],["l3","+- th2 l2 0"],["rh","+- hd2 0 th"],["rw","+- wd2 0 th"],["dr","+- rw 0 rh"],["maxr","?: dr rh rw"],["ha","at2 maxr l3"],["aA1","+- 18600000 0 ha"],["aD1","+- 18600000 ha 0"],["ta11","cos rw aA1"],["ta12","sin rh aA1"],["bA1","at2 ta11 ta12"],["cta1","cos rh bA1"],["sta1","sin rw bA1"],["ma1","mod cta1 sta1 0"],["na1","*/ rw rh ma1"],["dxa1","cos na1 bA1"],["dya1","sin na1 bA1"],["xA1","+- hc dxa1 0"],["yA1","+- vc dya1 0"],["td11","cos rw aD1"],["td12","sin rh aD1"],["bD1","at2 td11 td12"],["ctd1","cos rh bD1"],["std1","sin rw bD1"],["md1","mod ctd1 std1 0"],["nd1","*/ rw rh md1"],["dxd1","cos nd1 bD1"],["dyd1","sin nd1 bD1"],["xD1","+- hc dxd1 0"],["yD1","+- vc dyd1 0"],["xAD1","+- xA1 0 xD1"],["yAD1","+- yA1 0 yD1"],["lAD1","mod xAD1 yAD1 0"],["a1","at2 yAD1 xAD1"],["dxF1","sin lFD a1"],["dyF1","cos lFD a1"],["xF1","+- xD1 dxF1 0"],["yF1","+- yD1 dyF1 0"],["xE1","+- xA1 0 dxF1"],["yE1","+- yA1 0 dyF1"],["yC1t","sin th a1"],["xC1t","cos th a1"],["yC1","+- yF1 yC1t 0"],["xC1","+- xF1 0 xC1t"],["yB1","+- yE1 yC1t 0"],["xB1","+- xE1 0 xC1t"],["aA2","+- 21000000 0 ha"],["aD2","+- 21000000 ha 0"],["ta21","cos rw aA2"],["ta22","sin rh aA2"],["bA2","at2 ta21 ta22"],["cta2","cos rh bA2"],["sta2","sin rw bA2"],["ma2","mod cta2 sta2 0"],["na2","*/ rw rh ma2"],["dxa2","cos na2 bA2"],["dya2","sin na2 bA2"],["xA2","+- hc dxa2 0"],["yA2","+- vc dya2 0"],["td21","cos rw aD2"],["td22","sin rh aD2"],["bD2","at2 td21 td22"],["ctd2","cos rh bD2"],["std2","sin rw bD2"],["md2","mod ctd2 std2 0"],["nd2","*/ rw rh md2"],["dxd2","cos nd2 bD2"],["dyd2","sin nd2 bD2"],["xD2","+- hc dxd2 0"],["yD2","+- vc dyd2 0"],["xAD2","+- xA2 0 xD2"],["yAD2","+- yA2 0 yD2"],["lAD2","mod xAD2 yAD2 0"],["a2","at2 yAD2 xAD2"],["dxF2","sin lFD a2"],["dyF2","cos lFD a2"],["xF2","+- xD2 dxF2 0"],["yF2","+- yD2 dyF2 0"],["xE2","+- xA2 0 dxF2"],["yE2","+- yA2 0 dyF2"],["yC2t","sin th a2"],["xC2t","cos th a2"],["yC2","+- yF2 yC2t 0"],["xC2","+- xF2 0 xC2t"],["yB2","+- yE2 yC2t 0"],["xB2","+- xE2 0 xC2t"],["swAng1","+- bA2 0 bD1"],["aA3","+- 1800000 0 ha"],["aD3","+- 1800000 ha 0"],["ta31","cos rw aA3"],["ta32","sin rh aA3"],["bA3","at2 ta31 ta32"],["cta3","cos rh bA3"],["sta3","sin rw bA3"],["ma3","mod cta3 sta3 0"],["na3","*/ rw rh ma3"],["dxa3","cos na3 bA3"],["dya3","sin na3 bA3"],["xA3","+- hc dxa3 0"],["yA3","+- vc dya3 0"],["td31","cos rw aD3"],["td32","sin rh aD3"],["bD3","at2 td31 td32"],["ctd3","cos rh bD3"],["std3","sin rw bD3"],["md3","mod ctd3 std3 0"],["nd3","*/ rw rh md3"],["dxd3","cos nd3 bD3"],["dyd3","sin nd3 bD3"],["xD3","+- hc dxd3 0"],["yD3","+- vc dyd3 0"],["xAD3","+- xA3 0 xD3"],["yAD3","+- yA3 0 yD3"],["lAD3","mod xAD3 yAD3 0"],["a3","at2 yAD3 xAD3"],["dxF3","sin lFD a3"],["dyF3","cos lFD a3"],["xF3","+- xD3 dxF3 0"],["yF3","+- yD3 dyF3 0"],["xE3","+- xA3 0 dxF3"],["yE3","+- yA3 0 dyF3"],["yC3t","sin th a3"],["xC3t","cos th a3"],["yC3","+- yF3 yC3t 0"],["xC3","+- xF3 0 xC3t"],["yB3","+- yE3 yC3t 0"],["xB3","+- xE3 0 xC3t"],["swAng2","+- bA3 0 bD2"],["aA4","+- 4200000 0 ha"],["aD4","+- 4200000 ha 0"],["ta41","cos rw aA4"],["ta42","sin rh aA4"],["bA4","at2 ta41 ta42"],["cta4","cos rh bA4"],["sta4","sin rw bA4"],["ma4","mod cta4 sta4 0"],["na4","*/ rw rh ma4"],["dxa4","cos na4 bA4"],["dya4","sin na4 bA4"],["xA4","+- hc dxa4 0"],["yA4","+- vc dya4 0"],["td41","cos rw aD4"],["td42","sin rh aD4"],["bD4","at2 td41 td42"],["ctd4","cos rh bD4"],["std4","sin rw bD4"],["md4","mod ctd4 std4 0"],["nd4","*/ rw rh md4"],["dxd4","cos nd4 bD4"],["dyd4","sin nd4 bD4"],["xD4","+- hc dxd4 0"],["yD4","+- vc dyd4 0"],["xAD4","+- xA4 0 xD4"],["yAD4","+- yA4 0 yD4"],["lAD4","mod xAD4 yAD4 0"],["a4","at2 yAD4 xAD4"],["dxF4","sin lFD a4"],["dyF4","cos lFD a4"],["xF4","+- xD4 dxF4 0"],["yF4","+- yD4 dyF4 0"],["xE4","+- xA4 0 dxF4"],["yE4","+- yA4 0 dyF4"],["yC4t","sin th a4"],["xC4t","cos th a4"],["yC4","+- yF4 yC4t 0"],["xC4","+- xF4 0 xC4t"],["yB4","+- yE4 yC4t 0"],["xB4","+- xE4 0 xC4t"],["swAng3","+- bA4 0 bD3"],["aA5","+- 6600000 0 ha"],["aD5","+- 6600000 ha 0"],["ta51","cos rw aA5"],["ta52","sin rh aA5"],["bA5","at2 ta51 ta52"],["td51","cos rw aD5"],["td52","sin rh aD5"],["bD5","at2 td51 td52"],["xD5","+- w 0 xA4"],["xC5","+- w 0 xB4"],["xB5","+- w 0 xC4"],["swAng4","+- bA5 0 bD4"],["aD6","+- 9000000 ha 0"],["td61","cos rw aD6"],["td62","sin rh aD6"],["bD6","at2 td61 td62"],["xD6","+- w 0 xA3"],["xC6","+- w 0 xB3"],["xB6","+- w 0 xC3"],["aD7","+- 11400000 ha 0"],["td71","cos rw aD7"],["td72","sin rh aD7"],["bD7","at2 td71 td72"],["xD7","+- w 0 xA2"],["xC7","+- w 0 xB2"],["xB7","+- w 0 xC2"],["aD8","+- 13800000 ha 0"],["td81","cos rw aD8"],["td82","sin rh aD8"],["bD8","at2 td81 td82"],["xA8","+- w 0 xD1"],["xD8","+- w 0 xA1"],["xC8","+- w 0 xB1"],["xB8","+- w 0 xC1"],["aA9","+- 3cd4 0 ha"],["aD9","+- 3cd4 ha 0"],["td91","cos rw aD9"],["td92","sin rh aD9"],["bD9","at2 td91 td92"],["ctd9","cos rh bD9"],["std9","sin rw bD9"],["md9","mod ctd9 std9 0"],["nd9","*/ rw rh md9"],["dxd9","cos nd9 bD9"],["dyd9","sin nd9 bD9"],["xD9","+- hc dxd9 0"],["yD9","+- vc dyd9 0"],["ta91","cos rw aA9"],["ta92","sin rh aA9"],["bA9","at2 ta91 ta92"],["xA9","+- hc 0 dxd9"],["xF9","+- xD9 0 lFD"],["xE9","+- xA9 lFD 0"],["yC9","+- yD9 0 th"],["swAng5","+- bA9 0 bD8"],["xCxn1","+/ xB1 xC1 2"],["yCxn1","+/ yB1 yC1 2"],["xCxn2","+/ xB2 xC2 2"],["yCxn2","+/ yB2 yC2 2"],["xCxn3","+/ xB3 xC3 2"],["yCxn3","+/ yB3 yC3 2"],["xCxn4","+/ xB4 xC4 2"],["yCxn4","+/ yB4 yC4 2"],["xCxn5","+/ r 0 xCxn4"],["xCxn6","+/ r 0 xCxn3"],["xCxn7","+/ r 0 xCxn2"],["xCxn8","+/ r 0 xCxn1"]],ah:[{y:["adj1","0","20000"],pos:["xD9","yD9"]},{x:["adj2","0","2679"],pos:["xA9","yD9"]}],text:["xA8","yD1","xD1","yD3"],paths:[{d:"M xA1 yA1 L xB1 yB1 L xC1 yC1 L xD1 yD1 A rw rh bD1 swAng1 L xB2 yB2 L xC2 yC2 L xD2 yD2 A rw rh bD2 swAng2 L xB3 yB3 L xC3 yC3 L xD3 yD3 A rw rh bD3 swAng3 L xB4 yB4 L xC4 yC4 L xD4 yD4 A rw rh bD4 swAng4 L xB5 yC4 L xC5 yB4 L xD5 yA4 A rw rh bD5 swAng3 L xB6 yC3 L xC6 yB3 L xD6 yA3 A rw rh bD6 swAng2 L xB7 yC2 L xC7 yB2 L xD7 yA2 A rw rh bD7 swAng1 L xB8 yC1 L xC8 yB1 L xD8 yA1 A rw rh bD8 swAng5 L xE9 yC9 L xF9 yC9 L xD9 yD9 A rw rh bD9 swAng5 Z"}]},halfFrame:{av:[["adj1","val 33333"],["adj2","val 33333"]],gd:[["maxAdj2","*/ 100000 w ss"],["a2","pin 0 adj2 maxAdj2"],["x1","*/ ss a2 100000"],["g1","*/ h x1 w"],["g2","+- h 0 g1"],["maxAdj1","*/ 100000 g2 ss"],["a1","pin 0 adj1 maxAdj1"],["y1","*/ ss a1 100000"],["dx2","*/ y1 w h"],["x2","+- r 0 dx2"],["dy2","*/ x1 h w"],["y2","+- b 0 dy2"],["cx1","*/ x1 1 2"],["cy1","+/ y2 b 2"],["cx2","+/ x2 r 2"],["cy2","*/ y1 1 2"]],ah:[{y:["adj1","0","maxAdj1"],pos:["l","y1"]},{x:["adj2","0","maxAdj2"],pos:["x1","t"]}],text:["l","t","r","b"],paths:[{d:"M l t L r t L x2 y1 L x1 y1 L x1 y2 L l b Z"}]},heart:{gd:[["dx1","*/ w 49 48"],["dx2","*/ w 10 48"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- t 0 hd3"],["il","*/ w 1 6"],["ir","*/ w 5 6"],["ib","*/ h 2 3"]],text:["il","hd4","ir","ib"],paths:[{d:"M hc hd4 C x3 y1 x4 hd4 hc b C x1 hd4 x2 y1 hc hd4 Z"}]},heptagon:{av:[["hf","val 102572"],["vf","val 105210"]],gd:[["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","*/ swd2 97493 100000"],["dx2","*/ swd2 78183 100000"],["dx3","*/ swd2 43388 100000"],["dy1","*/ shd2 62349 100000"],["dy2","*/ shd2 22252 100000"],["dy3","*/ shd2 90097 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x5","+- hc dx2 0"],["x6","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc dy2 0"],["y3","+- svc dy3 0"],["ib","+- b 0 y1"]],text:["x2","y1","x5","ib"],paths:[{d:"M x1 y2 L x2 y1 L hc t L x5 y1 L x6 y2 L x4 y3 L x3 y3 Z"}]},hexagon:{av:[["adj","val 25000"],["vf","val 115470"]],gd:[["maxAdj","*/ 50000 w ss"],["a","pin 0 adj maxAdj"],["shd2","*/ hd2 vf 100000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["dy1","sin shd2 3600000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["q1","*/ maxAdj -1 2"],["q2","+- a q1 0"],["q3","?: q2 4 2"],["q4","?: q2 3 2"],["q5","?: q2 q1 0"],["q6","+/ a q5 q1"],["q7","*/ q6 q4 -1"],["q8","+- q3 q7 0"],["il","*/ w q8 24"],["it","*/ h q8 24"],["ir","+- r 0 il"],["ib","+- b 0 it"]],ah:[{x:["adj","0","maxAdj"],pos:["x1","t"]}],text:["il","it","ir","ib"],paths:[{d:"M l vc L x1 y1 L x2 y1 L r vc L x2 y2 L x1 y2 Z"}]},homePlate:{av:[["adj","val 50000"]],gd:[["maxAdj","*/ 100000 w ss"],["a","pin 0 adj maxAdj"],["dx1","*/ ss a 100000"],["x1","+- r 0 dx1"],["ir","+/ x1 r 2"],["x2","*/ x1 1 2"]],ah:[{x:["adj","0","maxAdj"],pos:["x1","t"]}],text:["l","t","ir","b"],paths:[{d:"M l t L x1 t L r vc L x1 b L l b Z"}]},horizontalScroll:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 25000"],["ch","*/ ss a 100000"],["ch2","*/ ch 1 2"],["ch4","*/ ch 1 4"],["y3","+- ch ch2 0"],["y4","+- ch ch 0"],["y6","+- b 0 ch"],["y7","+- b 0 ch2"],["y5","+- y6 0 ch2"],["x3","+- r 0 ch"],["x4","+- r 0 ch2"]],ah:[{x:["adj","0","25000"],pos:["ch","t"]}],text:["ch","ch","x4","y6"],paths:[{stroke:!1,d:"M r ch2 A ch2 ch2 0 cd4 L x4 ch2 A ch4 ch4 0 cd2 L x3 ch L ch2 ch A ch2 ch2 3cd4 -5400000 L l y7 A ch2 ch2 cd2 -10800000 L ch y6 L x4 y6 A ch2 ch2 cd4 -5400000 Z M ch2 y4 A ch2 ch2 cd4 -5400000 A ch4 ch4 0 -10800000 Z"},{fill:"darkenLess",stroke:!1,d:"M ch2 y4 A ch2 ch2 cd4 -5400000 A ch4 ch4 0 -10800000 Z M x4 ch A ch2 ch2 cd4 -16200000 A ch4 ch4 cd2 -10800000 Z"},{fill:"none",d:"M l y3 A ch2 ch2 cd2 cd4 L x3 ch L x3 ch2 A ch2 ch2 cd2 cd2 L r y5 A ch2 ch2 0 cd4 L ch y6 L ch y7 A ch2 ch2 0 cd2 Z M x3 ch L x4 ch A ch2 ch2 cd4 -5400000 M x4 ch L x4 ch2 A ch4 ch4 0 cd2 M ch2 y4 L ch2 y3 A ch4 ch4 cd2 cd2 A ch2 ch2 0 cd2 M ch y3 L ch y6"}]},irregularSeal1:{gd:[["x5","*/ w 4627 21600"],["x12","*/ w 8485 21600"],["x21","*/ w 16702 21600"],["x24","*/ w 14522 21600"],["y3","*/ h 6320 21600"],["y6","*/ h 8615 21600"],["y9","*/ h 13937 21600"],["y18","*/ h 13290 21600"]],text:["x5","y3","x21","y9"],paths:[{w:21600,h:21600,d:"M 10800 5800 L 14522 0 L 14155 5325 L 18380 4457 L 16702 7315 L 21097 8137 L 17607 10475 L 21600 13290 L 16837 12942 L 18145 18095 L 14020 14457 L 13247 19737 L 10532 14935 L 8485 21600 L 7715 15627 L 4762 17617 L 5667 13937 L 135 14587 L 3722 11775 L 0 8615 L 4627 7617 L 370 2295 L 7312 6320 L 8352 2295 Z"}]},irregularSeal2:{gd:[["x2","*/ w 9722 21600"],["x5","*/ w 5372 21600"],["x16","*/ w 11612 21600"],["x19","*/ w 14640 21600"],["y2","*/ h 1887 21600"],["y3","*/ h 6382 21600"],["y8","*/ h 12877 21600"],["y14","*/ h 19712 21600"],["y16","*/ h 18842 21600"],["y17","*/ h 15935 21600"],["y24","*/ h 6645 21600"]],text:["x5","y3","x19","y17"],paths:[{w:21600,h:21600,d:"M 11462 4342 L 14790 0 L 14525 5777 L 18007 3172 L 16380 6532 L 21600 6645 L 16985 9402 L 18270 11290 L 16380 12310 L 18877 15632 L 14640 14350 L 14942 17370 L 12180 15935 L 11612 18842 L 9872 17370 L 8700 19712 L 7527 18125 L 4917 21600 L 4805 18240 L 1285 17825 L 3330 15370 L 0 12877 L 3935 11592 L 1172 8270 L 5372 7817 L 4502 3625 L 8550 6382 L 9722 1887 Z"}]},leftArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dx2","*/ ss a2 100000"],["x2","+- l dx2 0"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["dx1","*/ y1 dx2 hd2"],["x1","+- x2 0 dx1"]],ah:[{y:["adj1","0","100000"],pos:["r","y1"]},{x:["adj2","0","maxAdj2"],pos:["x2","t"]}],text:["x1","y1","r","y2"],paths:[{d:"M l vc L x2 t L x2 y1 L r y1 L r y2 L x2 y2 L x2 b Z"}]},leftArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 w ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss w"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dy1","*/ ss a2 100000"],["dy2","*/ ss a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["x1","*/ ss a3 100000"],["dx2","*/ w a4 100000"],["x2","+- r 0 dx2"],["x3","+/ x2 r 2"]],ah:[{y:["adj1","0","maxAdj1"],pos:["x1","y2"]},{y:["adj2","0","maxAdj2"],pos:["l","y1"]},{x:["adj3","0","maxAdj3"],pos:["x1","t"]},{x:["adj4","0","maxAdj4"],pos:["x2","b"]}],text:["x2","t","r","b"],paths:[{d:"M l vc L x1 y1 L x1 y2 L x2 y2 L x2 t L r t L r b L x2 b L x2 y3 L x1 y3 L x1 y4 Z"}]},leftBrace:{av:[["adj1","val 8333"],["adj2","val 50000"]],gd:[["a2","pin 0 adj2 100000"],["q1","+- 100000 0 a2"],["q2","min q1 a2"],["q3","*/ q2 1 2"],["maxAdj1","*/ q3 h ss"],["a1","pin 0 adj1 maxAdj1"],["y1","*/ ss a1 100000"],["y3","*/ h a2 100000"],["y4","+- y3 y1 0"],["dx1","cos wd2 2700000"],["dy1","sin y1 2700000"],["il","+- r 0 dx1"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],ah:[{y:["adj1","0","maxAdj1"],pos:["hc","y1"]},{y:["adj2","0","100000"],pos:["l","y3"]}],text:["il","it","r","ib"],paths:[{stroke:!1,d:"M r b A wd2 y1 cd4 cd4 L hc y4 A wd2 y1 0 -5400000 A wd2 y1 cd4 -5400000 L hc y1 A wd2 y1 cd2 cd4 Z"},{fill:"none",d:"M r b A wd2 y1 cd4 cd4 L hc y4 A wd2 y1 0 -5400000 A wd2 y1 cd4 -5400000 L hc y1 A wd2 y1 cd2 cd4"}]},leftBracket:{av:[["adj","val 8333"]],gd:[["maxAdj","*/ 50000 h ss"],["a","pin 0 adj maxAdj"],["y1","*/ ss a 100000"],["y2","+- b 0 y1"],["dx1","cos w 2700000"],["dy1","sin y1 2700000"],["il","+- r 0 dx1"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],ah:[{y:["adj","0","maxAdj"],pos:["l","y1"]}],text:["il","it","r","ib"],paths:[{stroke:!1,d:"M r b A w y1 cd4 cd4 L l y1 A w y1 cd2 cd4 Z"},{fill:"none",d:"M r b A w y1 cd4 cd4 L l y1 A w y1 cd2 cd4"}]},leftCircularArrow:{av:[["adj1","val 12500"],["adj2","val -1142319"],["adj3","val 1142319"],["adj4","val 10800000"],["adj5","val 12500"]],gd:[["a5","pin 0 adj5 25000"],["maxAdj1","*/ a5 2 1"],["a1","pin 0 adj1 maxAdj1"],["enAng","pin 1 adj3 21599999"],["stAng","pin 0 adj4 21599999"],["th","*/ ss a1 100000"],["thh","*/ ss a5 100000"],["th2","*/ th 1 2"],["rw1","+- wd2 th2 thh"],["rh1","+- hd2 th2 thh"],["rw2","+- rw1 0 th"],["rh2","+- rh1 0 th"],["rw3","+- rw2 th2 0"],["rh3","+- rh2 th2 0"],["wtH","sin rw3 enAng"],["htH","cos rh3 enAng"],["dxH","cat2 rw3 htH wtH"],["dyH","sat2 rh3 htH wtH"],["xH","+- hc dxH 0"],["yH","+- vc dyH 0"],["rI","min rw2 rh2"],["u1","*/ dxH dxH 1"],["u2","*/ dyH dyH 1"],["u3","*/ rI rI 1"],["u4","+- u1 0 u3"],["u5","+- u2 0 u3"],["u6","*/ u4 u5 u1"],["u7","*/ u6 1 u2"],["u8","+- 1 0 u7"],["u9","sqrt u8"],["u10","*/ u4 1 dxH"],["u11","*/ u10 1 dyH"],["u12","+/ 1 u9 u11"],["u13","at2 1 u12"],["u14","+- u13 21600000 0"],["u15","?: u13 u13 u14"],["u16","+- u15 0 enAng"],["u17","+- u16 21600000 0"],["u18","?: u16 u16 u17"],["u19","+- u18 0 cd2"],["u20","+- u18 0 21600000"],["u21","?: u19 u20 u18"],["u22","abs u21"],["minAng","*/ u22 -1 1"],["u23","abs adj2"],["a2","*/ u23 -1 1"],["aAng","pin minAng a2 0"],["ptAng","+- enAng aAng 0"],["wtA","sin rw3 ptAng"],["htA","cos rh3 ptAng"],["dxA","cat2 rw3 htA wtA"],["dyA","sat2 rh3 htA wtA"],["xA","+- hc dxA 0"],["yA","+- vc dyA 0"],["wtE","sin rw1 stAng"],["htE","cos rh1 stAng"],["dxE","cat2 rw1 htE wtE"],["dyE","sat2 rh1 htE wtE"],["xE","+- hc dxE 0"],["yE","+- vc dyE 0"],["wtD","sin rw2 stAng"],["htD","cos rh2 stAng"],["dxD","cat2 rw2 htD wtD"],["dyD","sat2 rh2 htD wtD"],["xD","+- hc dxD 0"],["yD","+- vc dyD 0"],["dxG","cos thh ptAng"],["dyG","sin thh ptAng"],["xG","+- xH dxG 0"],["yG","+- yH dyG 0"],["dxB","cos thh ptAng"],["dyB","sin thh ptAng"],["xB","+- xH 0 dxB 0"],["yB","+- yH 0 dyB 0"],["sx1","+- xB 0 hc"],["sy1","+- yB 0 vc"],["sx2","+- xG 0 hc"],["sy2","+- yG 0 vc"],["rO","min rw1 rh1"],["x1O","*/ sx1 rO rw1"],["y1O","*/ sy1 rO rh1"],["x2O","*/ sx2 rO rw1"],["y2O","*/ sy2 rO rh1"],["dxO","+- x2O 0 x1O"],["dyO","+- y2O 0 y1O"],["dO","mod dxO dyO 0"],["q1","*/ x1O y2O 1"],["q2","*/ x2O y1O 1"],["DO","+- q1 0 q2"],["q3","*/ rO rO 1"],["q4","*/ dO dO 1"],["q5","*/ q3 q4 1"],["q6","*/ DO DO 1"],["q7","+- q5 0 q6"],["q8","max q7 0"],["sdelO","sqrt q8"],["ndyO","*/ dyO -1 1"],["sdyO","?: ndyO -1 1"],["q9","*/ sdyO dxO 1"],["q10","*/ q9 sdelO 1"],["q11","*/ DO dyO 1"],["dxF1","+/ q11 q10 q4"],["q12","+- q11 0 q10"],["dxF2","*/ q12 1 q4"],["adyO","abs dyO"],["q13","*/ adyO sdelO 1"],["q14","*/ DO dxO -1"],["dyF1","+/ q14 q13 q4"],["q15","+- q14 0 q13"],["dyF2","*/ q15 1 q4"],["q16","+- x2O 0 dxF1"],["q17","+- x2O 0 dxF2"],["q18","+- y2O 0 dyF1"],["q19","+- y2O 0 dyF2"],["q20","mod q16 q18 0"],["q21","mod q17 q19 0"],["q22","+- q21 0 q20"],["dxF","?: q22 dxF1 dxF2"],["dyF","?: q22 dyF1 dyF2"],["sdxF","*/ dxF rw1 rO"],["sdyF","*/ dyF rh1 rO"],["xF","+- hc sdxF 0"],["yF","+- vc sdyF 0"],["x1I","*/ sx1 rI rw2"],["y1I","*/ sy1 rI rh2"],["x2I","*/ sx2 rI rw2"],["y2I","*/ sy2 rI rh2"],["dxI","+- x2I 0 x1I"],["dyI","+- y2I 0 y1I"],["dI","mod dxI dyI 0"],["v1","*/ x1I y2I 1"],["v2","*/ x2I y1I 1"],["DI","+- v1 0 v2"],["v3","*/ rI rI 1"],["v4","*/ dI dI 1"],["v5","*/ v3 v4 1"],["v6","*/ DI DI 1"],["v7","+- v5 0 v6"],["v8","max v7 0"],["sdelI","sqrt v8"],["v9","*/ sdyO dxI 1"],["v10","*/ v9 sdelI 1"],["v11","*/ DI dyI 1"],["dxC1","+/ v11 v10 v4"],["v12","+- v11 0 v10"],["dxC2","*/ v12 1 v4"],["adyI","abs dyI"],["v13","*/ adyI sdelI 1"],["v14","*/ DI dxI -1"],["dyC1","+/ v14 v13 v4"],["v15","+- v14 0 v13"],["dyC2","*/ v15 1 v4"],["v16","+- x1I 0 dxC1"],["v17","+- x1I 0 dxC2"],["v18","+- y1I 0 dyC1"],["v19","+- y1I 0 dyC2"],["v20","mod v16 v18 0"],["v21","mod v17 v19 0"],["v22","+- v21 0 v20"],["dxC","?: v22 dxC1 dxC2"],["dyC","?: v22 dyC1 dyC2"],["sdxC","*/ dxC rw2 rI"],["sdyC","*/ dyC rh2 rI"],["xC","+- hc sdxC 0"],["yC","+- vc sdyC 0"],["ist0","at2 sdxC sdyC"],["ist1","+- ist0 21600000 0"],["istAng0","?: ist0 ist0 ist1"],["isw1","+- stAng 0 istAng0"],["isw2","+- isw1 21600000 0"],["iswAng0","?: isw1 isw1 isw2"],["istAng","+- istAng0 iswAng0 0"],["iswAng","+- 0 0 iswAng0"],["p1","+- xF 0 xC"],["p2","+- yF 0 yC"],["p3","mod p1 p2 0"],["p4","*/ p3 1 2"],["p5","+- p4 0 thh"],["xGp","?: p5 xF xG"],["yGp","?: p5 yF yG"],["xBp","?: p5 xC xB"],["yBp","?: p5 yC yB"],["en0","at2 sdxF sdyF"],["en1","+- en0 21600000 0"],["en2","?: en0 en0 en1"],["sw0","+- en2 0 stAng"],["sw1","+- sw0 0 21600000"],["swAng","?: sw0 sw1 sw0"],["stAng0","+- stAng swAng 0"],["swAng0","+- 0 0 swAng"],["wtI","sin rw3 stAng"],["htI","cos rh3 stAng"],["dxI","cat2 rw3 htI wtI"],["dyI","sat2 rh3 htI wtI"],["xI","+- hc dxI 0"],["yI","+- vc dyI 0"],["aI","+- stAng cd4 0"],["aA","+- ptAng 0 cd4"],["aB","+- ptAng cd2 0"],["idx","cos rw1 2700000"],["idy","sin rh1 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],ah:[{ang:["adj2","minAng","0"],pos:["xA","yA"]},{ang:["adj4","0","21599999"],pos:["xE","yE"]},{r:["adj1","0","maxAdj1"],ang:["adj3","0","21599999"],pos:["xF","yF"]},{r:["adj5","0","25000"],pos:["xB","yB"]}],text:["il","it","ir","ib"],paths:[{d:"M xE yE L xD yD A rw2 rh2 istAng iswAng L xBp yBp L xA yA L xGp yGp L xF yF A rw1 rh1 stAng0 swAng0 Z"}]},leftRightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 50000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["x2","*/ ss a2 100000"],["x3","+- r 0 x2"],["dy","*/ h a1 200000"],["y1","+- vc 0 dy"],["y2","+- vc dy 0"],["dx1","*/ y1 x2 hd2"],["x1","+- x2 0 dx1"],["x4","+- x3 dx1 0"]],ah:[{y:["adj1","0","100000"],pos:["x3","y1"]},{x:["adj2","0","maxAdj2"],pos:["x2","t"]}],text:["x1","y1","x4","y2"],paths:[{d:"M l vc L x2 t L x2 y1 L x3 y1 L x3 t L r vc L x3 b L x3 y2 L x2 y2 L x2 b Z"}]},leftRightArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 48123"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 50000 w ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss wd2"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dy1","*/ ss a2 100000"],["dy2","*/ ss a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["x1","*/ ss a3 100000"],["x4","+- r 0 x1"],["dx2","*/ w a4 200000"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"]],ah:[{y:["adj1","0","maxAdj1"],pos:["x1","y2"]},{y:["adj2","0","maxAdj2"],pos:["l","y1"]},{x:["adj3","0","maxAdj3"],pos:["x1","t"]},{x:["adj4","0","maxAdj4"],pos:["x2","b"]}],text:["x2","t","x3","b"],paths:[{d:"M l vc L x1 y1 L x1 y2 L x2 y2 L x2 t L x3 t L x3 y2 L x4 y2 L x4 y1 L r vc L x4 y4 L x4 y3 L x3 y3 L x3 b L x2 b L x2 y3 L x1 y3 L x1 y4 Z"}]},leftRightCircularArrow:{av:[["adj1","val 12500"],["adj2","val 1142319"],["adj3","val 20457681"],["adj4","val 11942319"],["adj5","val 12500"]],gd:[["a5","pin 0 adj5 25000"],["maxAdj1","*/ a5 2 1"],["a1","pin 0 adj1 maxAdj1"],["enAng","pin 1 adj3 21599999"],["stAng","pin 0 adj4 21599999"],["th","*/ ss a1 100000"],["thh","*/ ss a5 100000"],["th2","*/ th 1 2"],["rw1","+- wd2 th2 thh"],["rh1","+- hd2 th2 thh"],["rw2","+- rw1 0 th"],["rh2","+- rh1 0 th"],["rw3","+- rw2 th2 0"],["rh3","+- rh2 th2 0"],["wtH","sin rw3 enAng"],["htH","cos rh3 enAng"],["dxH","cat2 rw3 htH wtH"],["dyH","sat2 rh3 htH wtH"],["xH","+- hc dxH 0"],["yH","+- vc dyH 0"],["rI","min rw2 rh2"],["u1","*/ dxH dxH 1"],["u2","*/ dyH dyH 1"],["u3","*/ rI rI 1"],["u4","+- u1 0 u3"],["u5","+- u2 0 u3"],["u6","*/ u4 u5 u1"],["u7","*/ u6 1 u2"],["u8","+- 1 0 u7"],["u9","sqrt u8"],["u10","*/ u4 1 dxH"],["u11","*/ u10 1 dyH"],["u12","+/ 1 u9 u11"],["u13","at2 1 u12"],["u14","+- u13 21600000 0"],["u15","?: u13 u13 u14"],["u16","+- u15 0 enAng"],["u17","+- u16 21600000 0"],["u18","?: u16 u16 u17"],["u19","+- u18 0 cd2"],["u20","+- u18 0 21600000"],["u21","?: u19 u20 u18"],["maxAng","abs u21"],["aAng","pin 0 adj2 maxAng"],["ptAng","+- enAng aAng 0"],["wtA","sin rw3 ptAng"],["htA","cos rh3 ptAng"],["dxA","cat2 rw3 htA wtA"],["dyA","sat2 rh3 htA wtA"],["xA","+- hc dxA 0"],["yA","+- vc dyA 0"],["dxG","cos thh ptAng"],["dyG","sin thh ptAng"],["xG","+- xH dxG 0"],["yG","+- yH dyG 0"],["dxB","cos thh ptAng"],["dyB","sin thh ptAng"],["xB","+- xH 0 dxB 0"],["yB","+- yH 0 dyB 0"],["sx1","+- xB 0 hc"],["sy1","+- yB 0 vc"],["sx2","+- xG 0 hc"],["sy2","+- yG 0 vc"],["rO","min rw1 rh1"],["x1O","*/ sx1 rO rw1"],["y1O","*/ sy1 rO rh1"],["x2O","*/ sx2 rO rw1"],["y2O","*/ sy2 rO rh1"],["dxO","+- x2O 0 x1O"],["dyO","+- y2O 0 y1O"],["dO","mod dxO dyO 0"],["q1","*/ x1O y2O 1"],["q2","*/ x2O y1O 1"],["DO","+- q1 0 q2"],["q3","*/ rO rO 1"],["q4","*/ dO dO 1"],["q5","*/ q3 q4 1"],["q6","*/ DO DO 1"],["q7","+- q5 0 q6"],["q8","max q7 0"],["sdelO","sqrt q8"],["ndyO","*/ dyO -1 1"],["sdyO","?: ndyO -1 1"],["q9","*/ sdyO dxO 1"],["q10","*/ q9 sdelO 1"],["q11","*/ DO dyO 1"],["dxF1","+/ q11 q10 q4"],["q12","+- q11 0 q10"],["dxF2","*/ q12 1 q4"],["adyO","abs dyO"],["q13","*/ adyO sdelO 1"],["q14","*/ DO dxO -1"],["dyF1","+/ q14 q13 q4"],["q15","+- q14 0 q13"],["dyF2","*/ q15 1 q4"],["q16","+- x2O 0 dxF1"],["q17","+- x2O 0 dxF2"],["q18","+- y2O 0 dyF1"],["q19","+- y2O 0 dyF2"],["q20","mod q16 q18 0"],["q21","mod q17 q19 0"],["q22","+- q21 0 q20"],["dxF","?: q22 dxF1 dxF2"],["dyF","?: q22 dyF1 dyF2"],["sdxF","*/ dxF rw1 rO"],["sdyF","*/ dyF rh1 rO"],["xF","+- hc sdxF 0"],["yF","+- vc sdyF 0"],["x1I","*/ sx1 rI rw2"],["y1I","*/ sy1 rI rh2"],["x2I","*/ sx2 rI rw2"],["y2I","*/ sy2 rI rh2"],["dxI","+- x2I 0 x1I"],["dyI","+- y2I 0 y1I"],["dI","mod dxI dyI 0"],["v1","*/ x1I y2I 1"],["v2","*/ x2I y1I 1"],["DI","+- v1 0 v2"],["v3","*/ rI rI 1"],["v4","*/ dI dI 1"],["v5","*/ v3 v4 1"],["v6","*/ DI DI 1"],["v7","+- v5 0 v6"],["v8","max v7 0"],["sdelI","sqrt v8"],["v9","*/ sdyO dxI 1"],["v10","*/ v9 sdelI 1"],["v11","*/ DI dyI 1"],["dxC1","+/ v11 v10 v4"],["v12","+- v11 0 v10"],["dxC2","*/ v12 1 v4"],["adyI","abs dyI"],["v13","*/ adyI sdelI 1"],["v14","*/ DI dxI -1"],["dyC1","+/ v14 v13 v4"],["v15","+- v14 0 v13"],["dyC2","*/ v15 1 v4"],["v16","+- x1I 0 dxC1"],["v17","+- x1I 0 dxC2"],["v18","+- y1I 0 dyC1"],["v19","+- y1I 0 dyC2"],["v20","mod v16 v18 0"],["v21","mod v17 v19 0"],["v22","+- v21 0 v20"],["dxC","?: v22 dxC1 dxC2"],["dyC","?: v22 dyC1 dyC2"],["sdxC","*/ dxC rw2 rI"],["sdyC","*/ dyC rh2 rI"],["xC","+- hc sdxC 0"],["yC","+- vc sdyC 0"],["wtI","sin rw3 stAng"],["htI","cos rh3 stAng"],["dxI","cat2 rw3 htI wtI"],["dyI","sat2 rh3 htI wtI"],["xI","+- hc dxI 0"],["yI","+- vc dyI 0"],["lptAng","+- stAng 0 aAng"],["wtL","sin rw3 lptAng"],["htL","cos rh3 lptAng"],["dxL","cat2 rw3 htL wtL"],["dyL","sat2 rh3 htL wtL"],["xL","+- hc dxL 0"],["yL","+- vc dyL 0"],["dxK","cos thh lptAng"],["dyK","sin thh lptAng"],["xK","+- xI dxK 0"],["yK","+- yI dyK 0"],["dxJ","cos thh lptAng"],["dyJ","sin thh lptAng"],["xJ","+- xI 0 dxJ 0"],["yJ","+- yI 0 dyJ 0"],["p1","+- xF 0 xC"],["p2","+- yF 0 yC"],["p3","mod p1 p2 0"],["p4","*/ p3 1 2"],["p5","+- p4 0 thh"],["xGp","?: p5 xF xG"],["yGp","?: p5 yF yG"],["xBp","?: p5 xC xB"],["yBp","?: p5 yC yB"],["en0","at2 sdxF sdyF"],["en1","+- en0 21600000 0"],["en2","?: en0 en0 en1"],["od0","+- en2 0 enAng"],["od1","+- od0 21600000 0"],["od2","?: od0 od0 od1"],["st0","+- stAng 0 od2"],["st1","+- st0 21600000 0"],["st2","?: st0 st0 st1"],["sw0","+- en2 0 st2"],["sw1","+- sw0 21600000 0"],["swAng","?: sw0 sw0 sw1"],["ist0","at2 sdxC sdyC"],["ist1","+- ist0 21600000 0"],["istAng","?: ist0 ist0 ist1"],["id0","+- istAng 0 enAng"],["id1","+- id0 0 21600000"],["id2","?: id0 id1 id0"],["ien0","+- stAng 0 id2"],["ien1","+- ien0 0 21600000"],["ien2","?: ien1 ien1 ien0"],["isw1","+- ien2 0 istAng"],["isw2","+- isw1 0 21600000"],["iswAng","?: isw1 isw2 isw1"],["wtE","sin rw1 st2"],["htE","cos rh1 st2"],["dxE","cat2 rw1 htE wtE"],["dyE","sat2 rh1 htE wtE"],["xE","+- hc dxE 0"],["yE","+- vc dyE 0"],["wtD","sin rw2 ien2"],["htD","cos rh2 ien2"],["dxD","cat2 rw2 htD wtD"],["dyD","sat2 rh2 htD wtD"],["xD","+- hc dxD 0"],["yD","+- vc dyD 0"],["xKp","?: p5 xE xK"],["yKp","?: p5 yE yK"],["xJp","?: p5 xD xJ"],["yJp","?: p5 yD yJ"],["aL","+- lptAng 0 cd4"],["aA","+- ptAng cd4 0"],["aB","+- ptAng cd2 0"],["aJ","+- lptAng cd2 0"],["idx","cos rw1 2700000"],["idy","sin rh1 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],ah:[{ang:["adj2","0","maxAng"],pos:["xA","yA"]},{ang:["adj4","0","21599999"],pos:["xE","yE"]},{r:["adj1","0","maxAdj1"],ang:["adj3","0","21599999"],pos:["xF","yF"]},{r:["adj5","0","25000"],pos:["xB","yB"]}],text:["il","it","ir","ib"],paths:[{d:"M xL yL L xKp yKp L xE yE A rw1 rh1 st2 swAng L xGp yGp L xA yA L xBp yBp L xC yC A rw2 rh2 istAng iswAng L xJp yJp Z"}]},leftRightRibbon:{av:[["adj1","val 50000"],["adj2","val 50000"],["adj3","val 16667"]],gd:[["a3","pin 0 adj3 33333"],["maxAdj1","+- 100000 0 a3"],["a1","pin 0 adj1 maxAdj1"],["w1","+- wd2 0 wd32"],["maxAdj2","*/ 100000 w1 ss"],["a2","pin 0 adj2 maxAdj2"],["x1","*/ ss a2 100000"],["x4","+- r 0 x1"],["dy1","*/ h a1 200000"],["dy2","*/ h a3 -200000"],["ly1","+- vc dy2 dy1"],["ry4","+- vc dy1 dy2"],["ly2","+- ly1 dy1 0"],["ry3","+- b 0 ly2"],["ly4","*/ ly2 2 1"],["ry1","+- b 0 ly4"],["ly3","+- ly4 0 ly1"],["ry2","+- b 0 ly3"],["hR","*/ a3 ss 400000"],["x2","+- hc 0 wd32"],["x3","+- hc wd32 0"],["y1","+- ly1 hR 0"],["y2","+- ry2 0 hR"]],ah:[{y:["adj1","0","maxAdj1"],pos:["x4","ry2"]},{x:["adj2","0","maxAdj2"],pos:["x1","t"]},{y:["adj3","0","33333"],pos:["x3","ry2"]}],text:["x1","ly1","x4","ry4"],paths:[{stroke:!1,d:"M l ly2 L x1 t L x1 ly1 L hc ly1 A wd32 hR 3cd4 cd2 A wd32 hR 3cd4 -10800000 L x4 ry2 L x4 ry1 L r ry3 L x4 b L x4 ry4 L hc ry4 A wd32 hR cd4 cd4 L x2 ly3 L x1 ly3 L x1 ly4 Z"},{fill:"darkenLess",stroke:!1,d:"M x3 y1 A wd32 hR 0 cd4 A wd32 hR 3cd4 -10800000 L x3 ry2 Z"},{fill:"none",d:"M l ly2 L x1 t L x1 ly1 L hc ly1 A wd32 hR 3cd4 cd2 A wd32 hR 3cd4 -10800000 L x4 ry2 L x4 ry1 L r ry3 L x4 b L x4 ry4 L hc ry4 A wd32 hR cd4 cd4 L x2 ly3 L x1 ly3 L x1 ly4 Z M x3 y1 L x3 ry2 M x2 y2 L x2 ly3"}]},leftRightUpArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["q1","+- 100000 0 maxAdj1"],["maxAdj3","*/ q1 1 2"],["a3","pin 0 adj3 maxAdj3"],["x1","*/ ss a3 100000"],["dx2","*/ ss a2 100000"],["x2","+- hc 0 dx2"],["x5","+- hc dx2 0"],["dx3","*/ ss a1 200000"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x6","+- r 0 x1"],["dy2","*/ ss a2 50000"],["y2","+- b 0 dy2"],["y4","+- b 0 dx2"],["y3","+- y4 0 dx3"],["y5","+- y4 dx3 0"],["il","*/ dx3 x1 dx2"],["ir","+- r 0 il"]],ah:[{x:["adj1","0","maxAdj1"],pos:["x3","x1"]},{x:["adj2","0","50000"],pos:["x2","t"]},{y:["adj3","0","maxAdj3"],pos:["r","x1"]}],text:["il","y3","ir","y5"],paths:[{d:"M l y4 L x1 y2 L x1 y3 L x3 y3 L x3 x1 L x2 x1 L hc t L x5 x1 L x4 x1 L x4 y3 L x6 y3 L x6 y2 L r y4 L x6 b L x6 y5 L x1 y5 L x1 b Z"}]},leftUpArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","+- 100000 0 maxAdj1"],["a3","pin 0 adj3 maxAdj3"],["x1","*/ ss a3 100000"],["dx2","*/ ss a2 50000"],["x2","+- r 0 dx2"],["y2","+- b 0 dx2"],["dx4","*/ ss a2 100000"],["x4","+- r 0 dx4"],["y4","+- b 0 dx4"],["dx3","*/ ss a1 200000"],["x3","+- x4 0 dx3"],["x5","+- x4 dx3 0"],["y3","+- y4 0 dx3"],["y5","+- y4 dx3 0"],["il","*/ dx3 x1 dx4"],["cx1","+/ x1 x5 2"],["cy1","+/ x1 y5 2"]],ah:[{y:["adj1","0","maxAdj1"],pos:["x3","y3"]},{x:["adj2","0","50000"],pos:["x2","t"]},{y:["adj3","0","maxAdj3"],pos:["x3","x1"]}],text:["il","y3","x4","y5"],paths:[{d:"M l y4 L x1 y2 L x1 y3 L x3 y3 L x3 x1 L x2 x1 L x4 t L r x1 L x5 x1 L x5 y5 L x1 y5 L x1 b Z"}]},lightningBolt:{gd:[["x1","*/ w 5022 21600"],["x3","*/ w 8472 21600"],["x4","*/ w 8757 21600"],["x5","*/ w 10012 21600"],["x8","*/ w 12860 21600"],["x9","*/ w 13917 21600"],["x11","*/ w 16577 21600"],["y1","*/ h 3890 21600"],["y2","*/ h 6080 21600"],["y4","*/ h 7437 21600"],["y6","*/ h 9705 21600"],["y7","*/ h 12007 21600"],["y10","*/ h 14277 21600"],["y11","*/ h 14915 21600"]],text:["x4","y4","x9","y10"],paths:[{w:21600,h:21600,d:"M 8472 0 L 12860 6080 L 11050 6797 L 16577 12007 L 14767 12877 L 21600 21600 L 10012 14915 L 12222 13987 L 5022 9705 L 7602 8382 L 0 3890 Z"}]},line:{paths:[{d:"M l t L r b"}]},lineInv:{paths:[{d:"M l b L r t"}]},mathDivide:{av:[["adj1","val 23520"],["adj2","val 5880"],["adj3","val 11760"]],gd:[["a1","pin 1000 adj1 36745"],["ma1","+- 0 0 a1"],["ma3h","+/ 73490 ma1 4"],["ma3w","*/ 36745 w h"],["maxAdj3","min ma3h ma3w"],["a3","pin 1000 adj3 maxAdj3"],["m4a3","*/ -4 a3 1"],["maxAdj2","+- 73490 m4a3 a1"],["a2","pin 0 adj2 maxAdj2"],["dy1","*/ h a1 200000"],["yg","*/ h a2 100000"],["rad","*/ h a3 100000"],["dx1","*/ w 73490 200000"],["y3","+- vc 0 dy1"],["y4","+- vc dy1 0"],["a","+- yg rad 0"],["y2","+- y3 0 a"],["y1","+- y2 0 rad"],["y5","+- b 0 y1"],["x1","+- hc 0 dx1"],["x3","+- hc dx1 0"],["x2","+- hc 0 rad"]],ah:[{y:["adj1","1000","36745"],pos:["l","y3"]},{y:["adj2","0","maxAdj2"],pos:["r","y2"]},{x:["adj3","1000","maxAdj3"],pos:["x2","t"]}],text:["x1","y3","x3","y4"],paths:[{d:"M hc y1 A rad rad 3cd4 21600000 Z M hc y5 A rad rad cd4 21600000 Z M x1 y3 L x3 y3 L x3 y4 L x1 y4 Z"}]},mathEqual:{av:[["adj1","val 23520"],["adj2","val 11760"]],gd:[["a1","pin 0 adj1 36745"],["2a1","*/ a1 2 1"],["mAdj2","+- 100000 0 2a1"],["a2","pin 0 adj2 mAdj2"],["dy1","*/ h a1 100000"],["dy2","*/ h a2 200000"],["dx1","*/ w 73490 200000"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y1","+- y2 0 dy1"],["y4","+- y3 dy1 0"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["yC1","+/ y1 y2 2"],["yC2","+/ y3 y4 2"]],ah:[{y:["adj1","0","36745"],pos:["l","y1"]},{y:["adj2","0","mAdj2"],pos:["r","y2"]}],text:["x1","y1","x2","y4"],paths:[{d:"M x1 y1 L x2 y1 L x2 y2 L x1 y2 Z M x1 y3 L x2 y3 L x2 y4 L x1 y4 Z"}]},mathMinus:{av:[["adj1","val 23520"]],gd:[["a1","pin 0 adj1 100000"],["dy1","*/ h a1 200000"],["dx1","*/ w 73490 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"]],ah:[{y:["adj1","0","100000"],pos:["l","y1"]}],text:["x1","y1","x2","y2"],paths:[{d:"M x1 y1 L x2 y1 L x2 y2 L x1 y2 Z"}]},mathMultiply:{av:[["adj1","val 23520"]],gd:[["a1","pin 0 adj1 51965"],["th","*/ ss a1 100000"],["a","at2 w h"],["sa","sin 1 a"],["ca","cos 1 a"],["ta","tan 1 a"],["dl","mod w h 0"],["rw","*/ dl 51965 100000"],["lM","+- dl 0 rw"],["xM","*/ ca lM 2"],["yM","*/ sa lM 2"],["dxAM","*/ sa th 2"],["dyAM","*/ ca th 2"],["xA","+- xM 0 dxAM"],["yA","+- yM dyAM 0"],["xB","+- xM dxAM 0"],["yB","+- yM 0 dyAM"],["xBC","+- hc 0 xB"],["yBC","*/ xBC ta 1"],["yC","+- yBC yB 0"],["xD","+- r 0 xB"],["xE","+- r 0 xA"],["yFE","+- vc 0 yA"],["xFE","*/ yFE 1 ta"],["xF","+- xE 0 xFE"],["xL","+- xA xFE 0"],["yG","+- b 0 yA"],["yH","+- b 0 yB"],["yI","+- b 0 yC"],["xC2","+- r 0 xM"],["yC3","+- b 0 yM"]],ah:[{y:["adj1","0","51965"],pos:["l","th"]}],text:["xA","yB","xE","yH"],paths:[{d:"M xA yA L xB yB L hc yC L xD yB L xE yA L xF vc L xE yG L xD yH L hc yI L xB yH L xA yG L xL vc Z"}]},mathNotEqual:{av:[["adj1","val 23520"],["adj2","val 6600000"],["adj3","val 11760"]],gd:[["a1","pin 0 adj1 50000"],["crAng","pin 4200000 adj2 6600000"],["2a1","*/ a1 2 1"],["maxAdj3","+- 100000 0 2a1"],["a3","pin 0 adj3 maxAdj3"],["dy1","*/ h a1 100000"],["dy2","*/ h a3 200000"],["dx1","*/ w 73490 200000"],["x1","+- hc 0 dx1"],["x8","+- hc dx1 0"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y1","+- y2 0 dy1"],["y4","+- y3 dy1 0"],["cadj2","+- crAng 0 cd4"],["xadj2","tan hd2 cadj2"],["len","mod xadj2 hd2 0"],["bhw","*/ len dy1 hd2"],["bhw2","*/ bhw 1 2"],["x7","+- hc xadj2 bhw2"],["dx67","*/ xadj2 y1 hd2"],["x6","+- x7 0 dx67"],["dx57","*/ xadj2 y2 hd2"],["x5","+- x7 0 dx57"],["dx47","*/ xadj2 y3 hd2"],["x4","+- x7 0 dx47"],["dx37","*/ xadj2 y4 hd2"],["x3","+- x7 0 dx37"],["dx27","*/ xadj2 2 1"],["x2","+- x7 0 dx27"],["rx7","+- x7 bhw 0"],["rx6","+- x6 bhw 0"],["rx5","+- x5 bhw 0"],["rx4","+- x4 bhw 0"],["rx3","+- x3 bhw 0"],["rx2","+- x2 bhw 0"],["dx7","*/ dy1 hd2 len"],["rxt","+- x7 dx7 0"],["lxt","+- rx7 0 dx7"],["rx","?: cadj2 rxt rx7"],["lx","?: cadj2 x7 lxt"],["dy3","*/ dy1 xadj2 len"],["dy4","+- 0 0 dy3"],["ry","?: cadj2 dy3 t"],["ly","?: cadj2 t dy4"],["dlx","+- w 0 rx"],["drx","+- w 0 lx"],["dly","+- h 0 ry"],["dry","+- h 0 ly"],["xC1","+/ rx lx 2"],["xC2","+/ drx dlx 2"],["yC1","+/ ry ly 2"],["yC2","+/ y1 y2 2"],["yC3","+/ y3 y4 2"],["yC4","+/ dry dly 2"]],ah:[{y:["adj1","0","50000"],pos:["l","y1"]},{ang:["adj2","4200000","6600000"],pos:["lx","t"]},{y:["adj3","0","maxAdj3"],pos:["r","y2"]}],text:["x1","y1","x8","y4"],paths:[{d:"M x1 y1 L x6 y1 L lx ly L rx ry L rx6 y1 L x8 y1 L x8 y2 L rx5 y2 L rx4 y3 L x8 y3 L x8 y4 L rx3 y4 L drx dry L dlx dly L x3 y4 L x1 y4 L x1 y3 L x4 y3 L x5 y2 L x1 y2 Z"}]},mathPlus:{av:[["adj1","val 23520"]],gd:[["a1","pin 0 adj1 73490"],["dx1","*/ w 73490 200000"],["dy1","*/ h 73490 200000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dx2"],["y3","+- vc dx2 0"],["y4","+- vc dy1 0"]],ah:[{y:["adj1","0","73490"],pos:["l","y2"]}],text:["x1","y2","x4","y3"],paths:[{d:"M x1 y2 L x2 y2 L x2 y1 L x3 y1 L x3 y2 L x4 y2 L x4 y3 L x3 y3 L x3 y4 L x2 y4 L x2 y3 L x1 y3 Z"}]},moon:{av:[["adj","val 50000"]],gd:[["a","pin 0 adj 87500"],["g0","*/ ss a 100000"],["g0w","*/ g0 w ss"],["g1","+- ss 0 g0"],["g2","*/ g0 g0 g1"],["g3","*/ ss ss g1"],["g4","*/ g3 2 1"],["g5","+- g4 0 g2"],["g6","+- g5 0 g0"],["g6w","*/ g6 w ss"],["g7","*/ g5 1 2"],["g8","+- g7 0 g0"],["dy1","*/ g8 hd2 ss"],["g10h","+- vc 0 dy1"],["g11h","+- vc dy1 0"],["g12","*/ g0 9598 32768"],["g12w","*/ g12 w ss"],["g13","+- ss 0 g12"],["q1","*/ ss ss 1"],["q2","*/ g13 g13 1"],["q3","+- q1 0 q2"],["q4","sqrt q3"],["dy4","*/ q4 hd2 ss"],["g15h","+- vc 0 dy4"],["g16h","+- vc dy4 0"],["g17w","+- g6w 0 g0w"],["g18w","*/ g17w 1 2"],["dx2p","+- g0w g18w w"],["dx2","*/ dx2p -1 1"],["dy2","*/ hd2 -1 1"],["stAng1","at2 dx2 dy2"],["enAngp1","at2 dx2 hd2"],["enAng1","+- enAngp1 0 21600000"],["swAng1","+- enAng1 0 stAng1"]],ah:[{x:["adj","0","87500"],pos:["g0w","vc"]}],text:["g12w","g15h","g0w","g16h"],paths:[{d:"M r b A w hd2 cd4 cd2 A g18w dy1 stAng1 swAng1 Z"}]},nonIsoscelesTrapezoid:{av:[["adj1","val 25000"],["adj2","val 25000"]],gd:[["maxAdj","*/ 50000 w ss"],["a1","pin 0 adj1 maxAdj"],["a2","pin 0 adj2 maxAdj"],["x1","*/ ss a1 200000"],["x2","*/ ss a1 100000"],["dx3","*/ ss a2 100000"],["x3","+- r 0 dx3"],["x4","+/ r x3 2"],["il","*/ wd3 a1 maxAdj"],["adjm","max a1 a2"],["it","*/ hd3 adjm maxAdj"],["irt","*/ wd3 a2 maxAdj"],["ir","+- r 0 irt"]],ah:[{x:["adj1","0","maxAdj"],pos:["x2","t"]},{x:["adj2","0","maxAdj"],pos:["x3","t"]}],text:["il","it","ir","b"],paths:[{d:"M l b L x2 t L x3 t L r b Z"}]},noSmoking:{av:[["adj","val 18750"]],gd:[["a","pin 0 adj 50000"],["dr","*/ ss a 100000"],["iwd2","+- wd2 0 dr"],["ihd2","+- hd2 0 dr"],["ang","at2 w h"],["ct","cos ihd2 ang"],["st","sin iwd2 ang"],["m","mod ct st 0"],["n","*/ iwd2 ihd2 m"],["drd2","*/ dr 1 2"],["dang","at2 n drd2"],["dang2","*/ dang 2 1"],["swAng","+- -10800000 dang2 0"],["t3","at2 w h"],["stAng1","+- t3 0 dang"],["stAng2","+- stAng1 0 cd2"],["ct1","cos ihd2 stAng1"],["st1","sin iwd2 stAng1"],["m1","mod ct1 st1 0"],["n1","*/ iwd2 ihd2 m1"],["dx1","cos n1 stAng1"],["dy1","sin n1 stAng1"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x2","+- hc 0 dx1"],["y2","+- vc 0 dy1"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],ah:[{r:["adj","0","50000"],pos:["dr","vc"]}],text:["il","it","ir","ib"],paths:[{d:"M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z M x1 y1 A iwd2 ihd2 stAng1 swAng Z M x2 y2 A iwd2 ihd2 stAng2 swAng Z"}]},notchedRightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dx2","*/ ss a2 100000"],["x2","+- r 0 dx2"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["x1","*/ dy1 dx2 hd2"],["x3","+- r 0 x1"]],ah:[{y:["adj1","0","100000"],pos:["r","y1"]},{x:["adj2","0","maxAdj2"],pos:["x2","t"]}],text:["x1","y1","x3","y2"],paths:[{d:"M l y1 L x2 y1 L x2 t L r vc L x2 b L x2 y2 L l y2 L x1 vc Z"}]},octagon:{av:[["adj","val 29289"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 1 2"],["ir","+- r 0 il"],["ib","+- b 0 il"]],ah:[{x:["adj","0","50000"],pos:["x1","t"]}],text:["il","il","ir","ib"],paths:[{d:"M l x1 L x1 t L x2 t L r x1 L r y2 L x2 b L x1 b L l y2 Z"}]},parallelogram:{av:[["adj","val 25000"]],gd:[["maxAdj","*/ 100000 w ss"],["a","pin 0 adj maxAdj"],["x1","*/ ss a 200000"],["x2","*/ ss a 100000"],["x6","+- r 0 x1"],["x5","+- r 0 x2"],["x3","*/ x5 1 2"],["x4","+- r 0 x3"],["il","*/ wd2 a maxAdj"],["q1","*/ 5 a maxAdj"],["q2","+/ 1 q1 12"],["il","*/ q2 w 1"],["it","*/ q2 h 1"],["ir","+- r 0 il"],["ib","+- b 0 it"],["q3","*/ h hc x2"],["y1","pin 0 q3 h"],["y2","+- b 0 y1"]],ah:[{x:["adj","0","maxAdj"],pos:["x2","t"]}],text:["il","it","ir","ib"],paths:[{d:"M l b L x2 t L r t L x5 b Z"}]},pentagon:{av:[["hf","val 105146"],["vf","val 110557"]],gd:[["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","cos swd2 1080000"],["dx2","cos swd2 18360000"],["dy1","sin shd2 1080000"],["dy2","sin shd2 18360000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc 0 dy2"],["it","*/ y1 dx2 dx1"]],text:["x2","it","x3","y2"],paths:[{d:"M x1 y1 L hc t L x4 y1 L x3 y2 L x2 y2 Z"}]},pie:{av:[["adj1","val 0"],["adj2","val 16200000"]],gd:[["stAng","pin 0 adj1 21599999"],["enAng","pin 0 adj2 21599999"],["sw1","+- enAng 0 stAng"],["sw2","+- sw1 21600000 0"],["swAng","?: sw1 sw1 sw2"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["wt2","sin wd2 enAng"],["ht2","cos hd2 enAng"],["dx2","cat2 wd2 ht2 wt2"],["dy2","sat2 hd2 ht2 wt2"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],ah:[{ang:["adj1","0","21599999"],pos:["x1","y1"]},{ang:["adj2","0","21599999"],pos:["x2","y2"]}],text:["il","ir","it","ib"],paths:[{d:"M x1 y1 A wd2 hd2 stAng swAng L hc vc Z"}]},pieWedge:{gd:[["g1","cos w 13500000"],["g2","sin h 13500000"],["x1","+- r g1 0"],["y1","+- b g2 0"]],text:["x1","y1","r","b"],paths:[{d:"M l b A w h cd2 cd4 L r b Z"}]},plaque:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 70711 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],ah:[{x:["adj","0","50000"],pos:["x1","t"]}],text:["il","il","ir","ib"],paths:[{d:"M l x1 A x1 x1 cd4 -5400000 L x2 t A x1 x1 cd2 -5400000 L r y2 A x1 x1 3cd4 -5400000 L x1 b A x1 x1 0 -5400000 Z"}]},plaqueTabs:{gd:[["md","mod w h 0"],["dx","*/ 1 md 20"],["y1","+- 0 b dx"],["x1","+- 0 r dx"]],text:["dx","dx","x1","y1"],paths:[{d:"M l t L dx t A dx dx 0 cd4 Z"},{d:"M l y1 A dx dx 3cd4 cd4 L l b Z"},{d:"M r t L r dx A dx dx cd4 cd4 Z"},{d:"M x1 b A dx dx cd2 cd4 L r b Z"}]},plus:{av:[["adj","val 25000"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["d","+- w 0 h"],["il","?: d l x1"],["ir","?: d r x2"],["it","?: d x1 t"],["ib","?: d y2 b"]],ah:[{x:["adj","0","50000"],pos:["x1","t"]}],text:["il","it","ir","ib"],paths:[{d:"M l x1 L x1 x1 L x1 t L x2 t L x2 x1 L r x1 L r y2 L x2 y2 L x2 b L x1 b L x1 y2 L l y2 Z"}]},quadArrow:{av:[["adj1","val 22500"],["adj2","val 22500"],["adj3","val 22500"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["q1","+- 100000 0 maxAdj1"],["maxAdj3","*/ q1 1 2"],["a3","pin 0 adj3 maxAdj3"],["x1","*/ ss a3 100000"],["dx2","*/ ss a2 100000"],["x2","+- hc 0 dx2"],["x5","+- hc dx2 0"],["dx3","*/ ss a1 200000"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x6","+- r 0 x1"],["y2","+- vc 0 dx2"],["y5","+- vc dx2 0"],["y3","+- vc 0 dx3"],["y4","+- vc dx3 0"],["y6","+- b 0 x1"],["il","*/ dx3 x1 dx2"],["ir","+- r 0 il"]],ah:[{x:["adj1","0","maxAdj1"],pos:["x3","x1"]},{x:["adj2","0","50000"],pos:["x2","t"]},{y:["adj3","0","maxAdj3"],pos:["r","x1"]}],text:["il","y3","ir","y4"],paths:[{d:"M l vc L x1 y2 L x1 y3 L x3 y3 L x3 x1 L x2 x1 L hc t L x5 x1 L x4 x1 L x4 y3 L x6 y3 L x6 y2 L r vc L x6 y5 L x6 y4 L x4 y4 L x4 y6 L x5 y6 L hc b L x2 y6 L x3 y6 L x3 y4 L x1 y4 L x1 y5 Z"}]},quadArrowCallout:{av:[["adj1","val 18515"],["adj2","val 18515"],["adj3","val 18515"],["adj4","val 48123"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","+- 50000 0 a2"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 2 1"],["maxAdj4","+- 100000 0 q2"],["a4","pin a1 adj4 maxAdj4"],["dx2","*/ ss a2 100000"],["dx3","*/ ss a1 200000"],["ah","*/ ss a3 100000"],["dx1","*/ w a4 200000"],["dy1","*/ h a4 200000"],["x8","+- r 0 ah"],["x2","+- hc 0 dx1"],["x7","+- hc dx1 0"],["x3","+- hc 0 dx2"],["x6","+- hc dx2 0"],["x4","+- hc 0 dx3"],["x5","+- hc dx3 0"],["y8","+- b 0 ah"],["y2","+- vc 0 dy1"],["y7","+- vc dy1 0"],["y3","+- vc 0 dx2"],["y6","+- vc dx2 0"],["y4","+- vc 0 dx3"],["y5","+- vc dx3 0"]],ah:[{x:["adj1","0","maxAdj1"],pos:["x4","ah"]},{x:["adj2","0","50000"],pos:["x3","t"]},{y:["adj3","0","maxAdj3"],pos:["r","ah"]},{y:["adj4","a1","maxAdj4"],pos:["l","y2"]}],text:["x2","y2","x7","y7"],paths:[{d:"M l vc L ah y3 L ah y4 L x2 y4 L x2 y2 L x4 y2 L x4 ah L x3 ah L hc t L x6 ah L x5 ah L x5 y2 L x7 y2 L x7 y4 L x8 y4 L x8 y3 L r vc L x8 y6 L x8 y5 L x7 y5 L x7 y7 L x5 y7 L x5 y8 L x6 y8 L hc b L x3 y8 L x4 y8 L x4 y7 L x2 y7 L x2 y5 L ah y5 L ah y6 Z"}]},rect:{text:["l","t","r","b"],paths:[{d:"M l t L r t L r b L l b Z"}]},ribbon:{av:[["adj1","val 16667"],["adj2","val 50000"]],gd:[["a1","pin 0 adj1 33333"],["a2","pin 25000 adj2 75000"],["x10","+- r 0 wd8"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x9","+- hc dx2 0"],["x3","+- x2 wd32 0"],["x8","+- x9 0 wd32"],["x5","+- x2 wd8 0"],["x6","+- x9 0 wd8"],["x4","+- x5 0 wd32"],["x7","+- x6 wd32 0"],["y1","*/ h a1 200000"],["y2","*/ h a1 100000"],["y4","+- b 0 y2"],["y3","*/ y4 1 2"],["hR","*/ h a1 400000"],["y5","+- b 0 hR"],["y6","+- y2 0 hR"]],ah:[{y:["adj1","0","33333"],pos:["hc","y2"]},{x:["adj2","25000","75000"],pos:["x2","t"]}],text:["x2","y2","x9","b"],paths:[{stroke:!1,d:"M l t L x4 t A wd32 hR 3cd4 cd2 L x3 y1 A wd32 hR 3cd4 -10800000 L x8 y2 A wd32 hR cd4 -10800000 L x7 y1 A wd32 hR cd4 cd2 L r t L x10 y3 L r y4 L x9 y4 L x9 y5 A wd32 hR 0 cd4 L x3 b A wd32 hR cd4 cd4 L x2 y4 L l y4 L wd8 y3 Z"},{fill:"darkenLess",stroke:!1,d:"M x5 hR A wd32 hR 0 cd4 L x3 y1 A wd32 hR 3cd4 -10800000 L x5 y2 Z M x6 hR A wd32 hR cd2 -5400000 L x8 y1 A wd32 hR 3cd4 cd2 L x6 y2 Z"},{fill:"none",d:"M l t L x4 t A wd32 hR 3cd4 cd2 L x3 y1 A wd32 hR 3cd4 -10800000 L x8 y2 A wd32 hR cd4 -10800000 L x7 y1 A wd32 hR cd4 cd2 L r t L x10 y3 L r y4 L x9 y4 L x9 y5 A wd32 hR 0 cd4 L x3 b A wd32 hR cd4 cd4 L x2 y4 L l y4 L wd8 y3 Z M x5 hR L x5 y2 M x6 y2 L x6 hR M x2 y4 L x2 y6 M x9 y6 L x9 y4"}]},ribbon2:{av:[["adj1","val 16667"],["adj2","val 50000"]],gd:[["a1","pin 0 adj1 33333"],["a2","pin 25000 adj2 75000"],["x10","+- r 0 wd8"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x9","+- hc dx2 0"],["x3","+- x2 wd32 0"],["x8","+- x9 0 wd32"],["x5","+- x2 wd8 0"],["x6","+- x9 0 wd8"],["x4","+- x5 0 wd32"],["x7","+- x6 wd32 0"],["dy1","*/ h a1 200000"],["y1","+- b 0 dy1"],["dy2","*/ h a1 100000"],["y2","+- b 0 dy2"],["y4","+- t dy2 0"],["y3","+/ y4 b 2"],["hR","*/ h a1 400000"],["y6","+- b 0 hR"],["y7","+- y1 0 hR"]],ah:[{y:["adj1","0","33333"],pos:["hc","y2"]},{x:["adj2","25000","75000"],pos:["x2","b"]}],text:["x2","t","x9","y2"],paths:[{stroke:!1,d:"M l b L x4 b A wd32 hR cd4 -10800000 L x3 y1 A wd32 hR cd4 cd2 L x8 y2 A wd32 hR 3cd4 cd2 L x7 y1 A wd32 hR 3cd4 -10800000 L r b L x10 y3 L r y4 L x9 y4 L x9 hR A wd32 hR 0 -5400000 L x3 t A wd32 hR 3cd4 -5400000 L x2 y4 L l y4 L wd8 y3 Z"},{fill:"darkenLess",stroke:!1,d:"M x5 y6 A wd32 hR 0 -5400000 L x3 y1 A wd32 hR cd4 cd2 L x5 y2 Z M x6 y6 A wd32 hR cd2 cd4 L x8 y1 A wd32 hR cd4 -10800000 L x6 y2 Z"},{fill:"none",d:"M l b L wd8 y3 L l y4 L x2 y4 L x2 hR A wd32 hR cd2 cd4 L x8 t A wd32 hR 3cd4 cd4 L x9 y4 L x9 y4 L r y4 L x10 y3 L r b L x7 b A wd32 hR cd4 cd2 L x8 y1 A wd32 hR cd4 -10800000 L x3 y2 A wd32 hR 3cd4 -10800000 L x4 y1 A wd32 hR 3cd4 cd2 Z M x5 y2 L x5 y6 M x6 y6 L x6 y2 M x2 y7 L x2 y4 M x9 y4 L x9 y7"}]},rightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dx1","*/ ss a2 100000"],["x1","+- r 0 dx1"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["dx2","*/ y1 dx1 hd2"],["x2","+- x1 dx2 0"]],ah:[{y:["adj1","0","100000"],pos:["l","y1"]},{x:["adj2","0","maxAdj2"],pos:["x1","t"]}],text:["l","y1","x2","y2"],paths:[{d:"M l y1 L x1 y1 L x1 t L r vc L x1 b L x1 y2 L l y2 Z"}]},rightArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 w ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss w"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dy1","*/ ss a2 100000"],["dy2","*/ ss a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["dx3","*/ ss a3 100000"],["x3","+- r 0 dx3"],["x2","*/ w a4 100000"],["x1","*/ x2 1 2"]],ah:[{y:["adj1","0","maxAdj1"],pos:["x3","y2"]},{y:["adj2","0","maxAdj2"],pos:["r","y1"]},{x:["adj3","0","maxAdj3"],pos:["x3","t"]},{x:["adj4","0","maxAdj4"],pos:["x2","b"]}],text:["l","t","x2","b"],paths:[{d:"M l t L x2 t L x2 y2 L x3 y2 L x3 y1 L r vc L x3 y4 L x3 y3 L x2 y3 L x2 b L l b Z"}]},rightBrace:{av:[["adj1","val 8333"],["adj2","val 50000"]],gd:[["a2","pin 0 adj2 100000"],["q1","+- 100000 0 a2"],["q2","min q1 a2"],["q3","*/ q2 1 2"],["maxAdj1","*/ q3 h ss"],["a1","pin 0 adj1 maxAdj1"],["y1","*/ ss a1 100000"],["y3","*/ h a2 100000"],["y2","+- y3 0 y1"],["y4","+- b 0 y1"],["dx1","cos wd2 2700000"],["dy1","sin y1 2700000"],["ir","+- l dx1 0"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],ah:[{y:["adj1","0","maxAdj1"],pos:["hc","y1"]},{y:["adj2","0","100000"],pos:["r","y3"]}],text:["l","it","ir","ib"],paths:[{stroke:!1,d:"M l t A wd2 y1 3cd4 cd4 L hc y2 A wd2 y1 cd2 -5400000 A wd2 y1 3cd4 -5400000 L hc y4 A wd2 y1 0 cd4 Z"},{fill:"none",d:"M l t A wd2 y1 3cd4 cd4 L hc y2 A wd2 y1 cd2 -5400000 A wd2 y1 3cd4 -5400000 L hc y4 A wd2 y1 0 cd4"}]},rightBracket:{av:[["adj","val 8333"]],gd:[["maxAdj","*/ 50000 h ss"],["a","pin 0 adj maxAdj"],["y1","*/ ss a 100000"],["y2","+- b 0 y1"],["dx1","cos w 2700000"],["dy1","sin y1 2700000"],["ir","+- l dx1 0"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],ah:[{y:["adj","0","maxAdj"],pos:["r","y1"]}],text:["l","it","ir","ib"],paths:[{stroke:!1,d:"M l t A w y1 3cd4 cd4 L r y2 A w y1 0 cd4 Z"},{fill:"none",d:"M l t A w y1 3cd4 cd4 L r y2 A w y1 0 cd4"}]},round1Rect:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ ss a 100000"],["x1","+- r 0 dx1"],["idx","*/ dx1 29289 100000"],["ir","+- r 0 idx"]],ah:[{x:["adj","0","50000"],pos:["x1","t"]}],text:["l","t","ir","b"],paths:[{d:"M l t L x1 t A dx1 dx1 3cd4 cd4 L r b L l b Z"}]},round2DiagRect:{av:[["adj1","val 16667"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["x1","*/ ss a1 100000"],["y1","+- b 0 x1"],["a","*/ ss a2 100000"],["x2","+- r 0 a"],["y2","+- b 0 a"],["dx1","*/ x1 29289 100000"],["dx2","*/ a 29289 100000"],["d","+- dx1 0 dx2"],["dx","?: d dx1 dx2"],["ir","+- r 0 dx"],["ib","+- b 0 dx"]],ah:[{x:["adj1","0","50000"],pos:["x1","t"]},{x:["adj2","0","50000"],pos:["x2","t"]}],text:["dx","dx","ir","ib"],paths:[{d:"M x1 t L x2 t A a a 3cd4 cd4 L r y1 A x1 x1 0 cd4 L a b A a a cd4 cd4 L l x1 A x1 x1 cd2 cd4 Z"}]},round2SameRect:{av:[["adj1","val 16667"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["tx1","*/ ss a1 100000"],["tx2","+- r 0 tx1"],["bx1","*/ ss a2 100000"],["bx2","+- r 0 bx1"],["by1","+- b 0 bx1"],["d","+- tx1 0 bx1"],["tdx","*/ tx1 29289 100000"],["bdx","*/ bx1 29289 100000"],["il","?: d tdx bdx"],["ir","+- r 0 il"],["ib","+- b 0 bdx"]],ah:[{x:["adj1","0","50000"],pos:["tx2","t"]},{x:["adj2","0","50000"],pos:["bx1","b"]}],text:["il","tdx","ir","ib"],paths:[{d:"M tx1 t L tx2 t A tx1 tx1 3cd4 cd4 L r by1 A bx1 bx1 0 cd4 L bx1 b A bx1 bx1 cd4 cd4 L l tx1 A tx1 tx1 cd2 cd4 Z"}]},roundRect:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],ah:[{x:["adj","0","50000"],pos:["x1","t"]}],text:["il","il","ir","ib"],paths:[{d:"M l x1 A x1 x1 cd2 cd4 L x2 t A x1 x1 3cd4 cd4 L r y2 A x1 x1 0 cd4 L x1 b A x1 x1 cd4 cd4 Z"}]},rtTriangle:{gd:[["it","*/ h 7 12"],["ir","*/ w 7 12"],["ib","*/ h 11 12"]],text:["wd12","it","ir","ib"],paths:[{d:"M l b L l t L r b Z"}]},smileyFace:{av:[["adj","val 4653"]],gd:[["a","pin -4653 adj 4653"],["x1","*/ w 4969 21699"],["x2","*/ w 6215 21600"],["x3","*/ w 13135 21600"],["x4","*/ w 16640 21600"],["y1","*/ h 7570 21600"],["y3","*/ h 16515 21600"],["dy2","*/ h a 100000"],["y2","+- y3 0 dy2"],["y4","+- y3 dy2 0"],["dy3","*/ h a 50000"],["y5","+- y4 dy3 0"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"],["wR","*/ w 1125 21600"],["hR","*/ h 1125 21600"]],ah:[{y:["adj","-4653","4653"],pos:["hc","y4"]}],text:["il","it","ir","ib"],paths:[{stroke:!1,d:"M l vc A wd2 hd2 cd2 21600000 Z"},{fill:"darkenLess",d:"M x2 y1 A wR hR cd2 21600000 M x3 y1 A wR hR cd2 21600000"},{fill:"none",d:"M x1 y2 Q hc y5 x4 y2"},{fill:"none",d:"M l vc A wd2 hd2 cd2 21600000 Z"}]},snip1Rect:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ ss a 100000"],["x1","+- r 0 dx1"],["it","*/ dx1 1 2"],["ir","+/ x1 r 2"]],ah:[{x:["adj","0","50000"],pos:["x1","t"]}],text:["l","it","ir","b"],paths:[{d:"M l t L x1 t L r dx1 L r b L l b Z"}]},snip2DiagRect:{av:[["adj1","val 0"],["adj2","val 16667"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["lx1","*/ ss a1 100000"],["lx2","+- r 0 lx1"],["ly1","+- b 0 lx1"],["rx1","*/ ss a2 100000"],["rx2","+- r 0 rx1"],["ry1","+- b 0 rx1"],["d","+- lx1 0 rx1"],["dx","?: d lx1 rx1"],["il","*/ dx 1 2"],["ir","+- r 0 il"],["ib","+- b 0 il"]],ah:[{x:["adj1","0","50000"],pos:["lx1","t"]},{x:["adj2","0","50000"],pos:["rx2","t"]}],text:["il","il","ir","ib"],paths:[{d:"M lx1 t L rx2 t L r rx1 L r ly1 L lx2 b L rx1 b L l ry1 L l lx1 Z"}]},snip2SameRect:{av:[["adj1","val 16667"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["tx1","*/ ss a1 100000"],["tx2","+- r 0 tx1"],["bx1","*/ ss a2 100000"],["bx2","+- r 0 bx1"],["by1","+- b 0 bx1"],["d","+- tx1 0 bx1"],["dx","?: d tx1 bx1"],["il","*/ dx 1 2"],["ir","+- r 0 il"],["it","*/ tx1 1 2"],["ib","+/ by1 b 2"]],ah:[{x:["adj1","0","50000"],pos:["tx2","t"]},{x:["adj2","0","50000"],pos:["bx1","b"]}],text:["il","it","ir","ib"],paths:[{d:"M tx1 t L tx2 t L r tx1 L r by1 L bx2 b L bx1 b L l by1 L l tx1 Z"}]},snipRoundRect:{av:[["adj1","val 16667"],["adj2","val 16667"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["x1","*/ ss a1 100000"],["dx2","*/ ss a2 100000"],["x2","+- r 0 dx2"],["il","*/ x1 29289 100000"],["ir","+/ x2 r 2"]],ah:[{x:["adj1","0","50000"],pos:["x1","t"]},{x:["adj2","0","50000"],pos:["x2","t"]}],text:["il","il","ir","b"],paths:[{d:"M x1 t L x2 t L r dx2 L r b L l b L l x1 A x1 x1 cd2 cd4 Z"}]},squareTabs:{gd:[["md","mod w h 0"],["dx","*/ 1 md 20"],["y1","+- 0 b dx"],["x1","+- 0 r dx"]],text:["dx","dx","x1","y1"],paths:[{d:"M l t L dx t L dx dx L l dx Z"},{d:"M l y1 L dx y1 L dx b L l b Z"},{d:"M x1 t L r t L r dx L x1 dx Z"},{d:"M x1 y1 L r y1 L r b L x1 b Z"}]},star10:{av:[["adj","val 42533"],["hf","val 105146"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["dx1","*/ swd2 95106 100000"],["dx2","*/ swd2 58779 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["dy1","*/ hd2 80902 100000"],["dy2","*/ hd2 30902 100000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 80902 100000"],["sdx2","*/ iwd2 30902 100000"],["sdy1","*/ ihd2 95106 100000"],["sdy2","*/ ihd2 58779 100000"],["sx1","+- hc 0 iwd2"],["sx2","+- hc 0 sdx1"],["sx3","+- hc 0 sdx2"],["sx4","+- hc sdx2 0"],["sx5","+- hc sdx1 0"],["sx6","+- hc iwd2 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc sdy2 0"],["sy4","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["sx2","sy2","sx5","sy3"],paths:[{d:"M x1 y2 L sx2 sy2 L x2 y1 L sx3 sy1 L hc t L sx4 sy1 L x3 y1 L sx5 sy2 L x4 y2 L sx6 vc L x4 y3 L sx5 sy3 L x3 y4 L sx4 sy4 L hc b L sx3 sy4 L x2 y4 L sx2 sy3 L x1 y3 L sx1 vc Z"}]},star12:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","cos wd2 1800000"],["dy1","sin hd2 3600000"],["x1","+- hc 0 dx1"],["x3","*/ w 3 4"],["x4","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y3","*/ h 3 4"],["y4","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","cos iwd2 900000"],["sdx2","cos iwd2 2700000"],["sdx3","cos iwd2 4500000"],["sdy1","sin ihd2 4500000"],["sdy2","sin ihd2 2700000"],["sdy3","sin ihd2 900000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc sdx3 0"],["sx5","+- hc sdx2 0"],["sx6","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc sdy3 0"],["sy5","+- vc sdy2 0"],["sy6","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["sx2","sy2","sx5","sy5"],paths:[{d:"M l vc L sx1 sy3 L x1 hd4 L sx2 sy2 L wd4 y1 L sx3 sy1 L hc t L sx4 sy1 L x3 y1 L sx5 sy2 L x4 hd4 L sx6 sy3 L r vc L sx6 sy4 L x4 y3 L sx5 sy5 L x3 y4 L sx4 sy6 L hc b L sx3 sy6 L wd4 y4 L sx2 sy5 L x1 y3 L sx1 sy4 Z"}]},star16:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ wd2 92388 100000"],["dx2","*/ wd2 70711 100000"],["dx3","*/ wd2 38268 100000"],["dy1","*/ hd2 92388 100000"],["dy2","*/ hd2 70711 100000"],["dy3","*/ hd2 38268 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x5","+- hc dx2 0"],["x6","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc 0 dy3"],["y4","+- vc dy3 0"],["y5","+- vc dy2 0"],["y6","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 98079 100000"],["sdx2","*/ iwd2 83147 100000"],["sdx3","*/ iwd2 55557 100000"],["sdx4","*/ iwd2 19509 100000"],["sdy1","*/ ihd2 98079 100000"],["sdy2","*/ ihd2 83147 100000"],["sdy3","*/ ihd2 55557 100000"],["sdy4","*/ ihd2 19509 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc 0 sdx4"],["sx5","+- hc sdx4 0"],["sx6","+- hc sdx3 0"],["sx7","+- hc sdx2 0"],["sx8","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc 0 sdy4"],["sy5","+- vc sdy4 0"],["sy6","+- vc sdy3 0"],["sy7","+- vc sdy2 0"],["sy8","+- vc sdy1 0"],["idx","cos iwd2 2700000"],["idy","sin ihd2 2700000"],["il","+- hc 0 idx"],["it","+- vc 0 idy"],["ir","+- hc idx 0"],["ib","+- vc idy 0"],["yAdj","+- vc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["il","it","ir","ib"],paths:[{d:"M l vc L sx1 sy4 L x1 y3 L sx2 sy3 L x2 y2 L sx3 sy2 L x3 y1 L sx4 sy1 L hc t L sx5 sy1 L x4 y1 L sx6 sy2 L x5 y2 L sx7 sy3 L x6 y3 L sx8 sy4 L r vc L sx8 sy5 L x6 y4 L sx7 sy6 L x5 y5 L sx6 sy7 L x4 y6 L sx5 sy8 L hc b L sx4 sy8 L x3 y6 L sx3 sy7 L x2 y5 L sx2 sy6 L x1 y4 L sx1 sy5 Z"}]},star24:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","cos wd2 900000"],["dx2","cos wd2 1800000"],["dx3","cos wd2 2700000"],["dx4","val wd4"],["dx5","cos wd2 4500000"],["dy1","sin hd2 4500000"],["dy2","sin hd2 3600000"],["dy3","sin hd2 2700000"],["dy4","val hd4"],["dy5","sin hd2 900000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc 0 dx4"],["x5","+- hc 0 dx5"],["x6","+- hc dx5 0"],["x7","+- hc dx4 0"],["x8","+- hc dx3 0"],["x9","+- hc dx2 0"],["x10","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc 0 dy3"],["y4","+- vc 0 dy4"],["y5","+- vc 0 dy5"],["y6","+- vc dy5 0"],["y7","+- vc dy4 0"],["y8","+- vc dy3 0"],["y9","+- vc dy2 0"],["y10","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 99144 100000"],["sdx2","*/ iwd2 92388 100000"],["sdx3","*/ iwd2 79335 100000"],["sdx4","*/ iwd2 60876 100000"],["sdx5","*/ iwd2 38268 100000"],["sdx6","*/ iwd2 13053 100000"],["sdy1","*/ ihd2 99144 100000"],["sdy2","*/ ihd2 92388 100000"],["sdy3","*/ ihd2 79335 100000"],["sdy4","*/ ihd2 60876 100000"],["sdy5","*/ ihd2 38268 100000"],["sdy6","*/ ihd2 13053 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc 0 sdx4"],["sx5","+- hc 0 sdx5"],["sx6","+- hc 0 sdx6"],["sx7","+- hc sdx6 0"],["sx8","+- hc sdx5 0"],["sx9","+- hc sdx4 0"],["sx10","+- hc sdx3 0"],["sx11","+- hc sdx2 0"],["sx12","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc 0 sdy4"],["sy5","+- vc 0 sdy5"],["sy6","+- vc 0 sdy6"],["sy7","+- vc sdy6 0"],["sy8","+- vc sdy5 0"],["sy9","+- vc sdy4 0"],["sy10","+- vc sdy3 0"],["sy11","+- vc sdy2 0"],["sy12","+- vc sdy1 0"],["idx","cos iwd2 2700000"],["idy","sin ihd2 2700000"],["il","+- hc 0 idx"],["it","+- vc 0 idy"],["ir","+- hc idx 0"],["ib","+- vc idy 0"],["yAdj","+- vc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["il","it","ir","ib"],paths:[{d:"M l vc L sx1 sy6 L x1 y5 L sx2 sy5 L x2 y4 L sx3 sy4 L x3 y3 L sx4 sy3 L x4 y2 L sx5 sy2 L x5 y1 L sx6 sy1 L hc t L sx7 sy1 L x6 y1 L sx8 sy2 L x7 y2 L sx9 sy3 L x8 y3 L sx10 sy4 L x9 y4 L sx11 sy5 L x10 y5 L sx12 sy6 L r vc L sx12 sy7 L x10 y6 L sx11 sy8 L x9 y7 L sx10 sy9 L x8 y8 L sx9 sy10 L x7 y9 L sx8 sy11 L x6 y10 L sx7 sy12 L hc b L sx6 sy12 L x5 y10 L sx5 sy11 L x4 y9 L sx4 sy10 L x3 y8 L sx3 sy9 L x2 y7 L sx2 sy8 L x1 y6 L sx1 sy7 Z"}]},star32:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ wd2 98079 100000"],["dx2","*/ wd2 92388 100000"],["dx3","*/ wd2 83147 100000"],["dx4","cos wd2 2700000"],["dx5","*/ wd2 55557 100000"],["dx6","*/ wd2 38268 100000"],["dx7","*/ wd2 19509 100000"],["dy1","*/ hd2 98079 100000"],["dy2","*/ hd2 92388 100000"],["dy3","*/ hd2 83147 100000"],["dy4","sin hd2 2700000"],["dy5","*/ hd2 55557 100000"],["dy6","*/ hd2 38268 100000"],["dy7","*/ hd2 19509 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc 0 dx4"],["x5","+- hc 0 dx5"],["x6","+- hc 0 dx6"],["x7","+- hc 0 dx7"],["x8","+- hc dx7 0"],["x9","+- hc dx6 0"],["x10","+- hc dx5 0"],["x11","+- hc dx4 0"],["x12","+- hc dx3 0"],["x13","+- hc dx2 0"],["x14","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc 0 dy3"],["y4","+- vc 0 dy4"],["y5","+- vc 0 dy5"],["y6","+- vc 0 dy6"],["y7","+- vc 0 dy7"],["y8","+- vc dy7 0"],["y9","+- vc dy6 0"],["y10","+- vc dy5 0"],["y11","+- vc dy4 0"],["y12","+- vc dy3 0"],["y13","+- vc dy2 0"],["y14","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 99518 100000"],["sdx2","*/ iwd2 95694 100000"],["sdx3","*/ iwd2 88192 100000"],["sdx4","*/ iwd2 77301 100000"],["sdx5","*/ iwd2 63439 100000"],["sdx6","*/ iwd2 47140 100000"],["sdx7","*/ iwd2 29028 100000"],["sdx8","*/ iwd2 9802 100000"],["sdy1","*/ ihd2 99518 100000"],["sdy2","*/ ihd2 95694 100000"],["sdy3","*/ ihd2 88192 100000"],["sdy4","*/ ihd2 77301 100000"],["sdy5","*/ ihd2 63439 100000"],["sdy6","*/ ihd2 47140 100000"],["sdy7","*/ ihd2 29028 100000"],["sdy8","*/ ihd2 9802 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc 0 sdx4"],["sx5","+- hc 0 sdx5"],["sx6","+- hc 0 sdx6"],["sx7","+- hc 0 sdx7"],["sx8","+- hc 0 sdx8"],["sx9","+- hc sdx8 0"],["sx10","+- hc sdx7 0"],["sx11","+- hc sdx6 0"],["sx12","+- hc sdx5 0"],["sx13","+- hc sdx4 0"],["sx14","+- hc sdx3 0"],["sx15","+- hc sdx2 0"],["sx16","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc 0 sdy4"],["sy5","+- vc 0 sdy5"],["sy6","+- vc 0 sdy6"],["sy7","+- vc 0 sdy7"],["sy8","+- vc 0 sdy8"],["sy9","+- vc sdy8 0"],["sy10","+- vc sdy7 0"],["sy11","+- vc sdy6 0"],["sy12","+- vc sdy5 0"],["sy13","+- vc sdy4 0"],["sy14","+- vc sdy3 0"],["sy15","+- vc sdy2 0"],["sy16","+- vc sdy1 0"],["idx","cos iwd2 2700000"],["idy","sin ihd2 2700000"],["il","+- hc 0 idx"],["it","+- vc 0 idy"],["ir","+- hc idx 0"],["ib","+- vc idy 0"],["yAdj","+- vc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["il","it","ir","ib"],paths:[{d:"M l vc L sx1 sy8 L x1 y7 L sx2 sy7 L x2 y6 L sx3 sy6 L x3 y5 L sx4 sy5 L x4 y4 L sx5 sy4 L x5 y3 L sx6 sy3 L x6 y2 L sx7 sy2 L x7 y1 L sx8 sy1 L hc t L sx9 sy1 L x8 y1 L sx10 sy2 L x9 y2 L sx11 sy3 L x10 y3 L sx12 sy4 L x11 y4 L sx13 sy5 L x12 y5 L sx14 sy6 L x13 y6 L sx15 sy7 L x14 y7 L sx16 sy8 L r vc L sx16 sy9 L x14 y8 L sx15 sy10 L x13 y9 L sx14 sy11 L x12 y10 L sx13 sy12 L x11 y11 L sx12 sy13 L x10 y12 L sx11 sy14 L x9 y13 L sx10 sy15 L x8 y14 L sx9 sy16 L hc b L sx8 sy16 L x7 y14 L sx7 sy15 L x6 y13 L sx6 sy14 L x5 y12 L sx5 sy13 L x4 y11 L sx4 sy12 L x3 y10 L sx3 sy11 L x2 y9 L sx2 sy10 L x1 y8 L sx1 sy9 Z"}]},star4:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 50000"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx","cos iwd2 2700000"],["sdy","sin ihd2 2700000"],["sx1","+- hc 0 sdx"],["sx2","+- hc sdx 0"],["sy1","+- vc 0 sdy"],["sy2","+- vc sdy 0"],["yAdj","+- vc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["sx1","sy1","sx2","sy2"],paths:[{d:"M l vc L sx1 sy1 L hc t L sx2 sy1 L r vc L sx2 sy2 L hc b L sx1 sy2 Z"}]},star5:{av:[["adj","val 19098"],["hf","val 105146"],["vf","val 110557"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","cos swd2 1080000"],["dx2","cos swd2 18360000"],["dy1","sin shd2 1080000"],["dy2","sin shd2 18360000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc 0 dy2"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ shd2 a 50000"],["sdx1","cos iwd2 20520000"],["sdx2","cos iwd2 3240000"],["sdy1","sin ihd2 3240000"],["sdy2","sin ihd2 20520000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc sdx2 0"],["sx4","+- hc sdx1 0"],["sy1","+- svc 0 sdy1"],["sy2","+- svc 0 sdy2"],["sy3","+- svc ihd2 0"],["yAdj","+- svc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["sx1","sy1","sx4","sy3"],paths:[{d:"M x1 y1 L sx2 sy1 L hc t L sx3 sy1 L x4 y1 L sx4 sy2 L x3 y2 L hc sy3 L x2 y2 L sx1 sy2 Z"}]},star6:{av:[["adj","val 28868"],["hf","val 115470"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["dx1","cos swd2 1800000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["y2","+- vc hd4 0"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx2","*/ iwd2 1 2"],["sx1","+- hc 0 iwd2"],["sx2","+- hc 0 sdx2"],["sx3","+- hc sdx2 0"],["sx4","+- hc iwd2 0"],["sdy1","sin ihd2 3600000"],["sy1","+- vc 0 sdy1"],["sy2","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["sx1","sy1","sx4","sy2"],paths:[{d:"M x1 hd4 L sx2 sy1 L hc t L sx3 sy1 L x2 hd4 L sx4 vc L x2 y2 L sx3 sy2 L hc b L sx2 sy2 L x1 y2 L sx1 vc Z"}]},star7:{av:[["adj","val 34601"],["hf","val 102572"],["vf","val 105210"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","*/ swd2 97493 100000"],["dx2","*/ swd2 78183 100000"],["dx3","*/ swd2 43388 100000"],["dy1","*/ shd2 62349 100000"],["dy2","*/ shd2 22252 100000"],["dy3","*/ shd2 90097 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x5","+- hc dx2 0"],["x6","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc dy2 0"],["y3","+- svc dy3 0"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ shd2 a 50000"],["sdx1","*/ iwd2 97493 100000"],["sdx2","*/ iwd2 78183 100000"],["sdx3","*/ iwd2 43388 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc sdx3 0"],["sx5","+- hc sdx2 0"],["sx6","+- hc sdx1 0"],["sdy1","*/ ihd2 90097 100000"],["sdy2","*/ ihd2 22252 100000"],["sdy3","*/ ihd2 62349 100000"],["sy1","+- svc 0 sdy1"],["sy2","+- svc 0 sdy2"],["sy3","+- svc sdy3 0"],["sy4","+- svc ihd2 0"],["yAdj","+- svc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["sx2","sy1","sx5","sy3"],paths:[{d:"M x1 y2 L sx1 sy2 L x2 y1 L sx3 sy1 L hc t L sx4 sy1 L x5 y1 L sx6 sy2 L x6 y2 L sx5 sy3 L x4 y3 L hc sy4 L x3 y3 L sx2 sy3 Z"}]},star8:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","cos wd2 2700000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy1","sin hd2 2700000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 92388 100000"],["sdx2","*/ iwd2 38268 100000"],["sdy1","*/ ihd2 92388 100000"],["sdy2","*/ ihd2 38268 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc sdx2 0"],["sx4","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc sdy2 0"],["sy4","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],ah:[{y:["adj","0","50000"],pos:["hc","yAdj"]}],text:["sx1","sy1","sx4","sy4"],paths:[{d:"M l vc L sx1 sy2 L x1 y1 L sx2 sy1 L hc t L sx3 sy1 L x2 y1 L sx4 sy2 L r vc L sx4 sy3 L x2 y2 L sx3 sy4 L hc b L sx2 sy4 L x1 y2 L sx1 sy3 Z"}]},straightConnector1:{text:["l","t","r","b"],paths:[{fill:"none",d:"M l t L r b"}]},stripedRightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 84375 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["x4","*/ ss 5 32"],["dx5","*/ ss a2 100000"],["x5","+- r 0 dx5"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["dx6","*/ dy1 dx5 hd2"],["x6","+- r 0 dx6"]],ah:[{y:["adj1","0","100000"],pos:["l","y1"]},{x:["adj2","0","maxAdj2"],pos:["x5","t"]}],text:["x4","y1","x6","y2"],paths:[{d:"M l y1 L ssd32 y1 L ssd32 y2 L l y2 Z M ssd16 y1 L ssd8 y1 L ssd8 y2 L ssd16 y2 Z M x4 y1 L x5 y1 L x5 t L r vc L x5 b L x5 y2 L x4 y2 Z"}]},sun:{av:[["adj","val 25000"]],gd:[["a","pin 12500 adj 46875"],["g0","+- 50000 0 a"],["g1","*/ g0 30274 32768"],["g2","*/ g0 12540 32768"],["g3","+- g1 50000 0"],["g4","+- g2 50000 0"],["g5","+- 50000 0 g1"],["g6","+- 50000 0 g2"],["g7","*/ g0 23170 32768"],["g8","+- 50000 g7 0"],["g9","+- 50000 0 g7"],["g10","*/ g5 3 4"],["g11","*/ g6 3 4"],["g12","+- g10 3662 0"],["g13","+- g11 3662 0"],["g14","+- g11 12500 0"],["g15","+- 100000 0 g10"],["g16","+- 100000 0 g12"],["g17","+- 100000 0 g13"],["g18","+- 100000 0 g14"],["ox1","*/ w 18436 21600"],["oy1","*/ h 3163 21600"],["ox2","*/ w 3163 21600"],["oy2","*/ h 18436 21600"],["x8","*/ w g8 100000"],["x9","*/ w g9 100000"],["x10","*/ w g10 100000"],["x12","*/ w g12 100000"],["x13","*/ w g13 100000"],["x14","*/ w g14 100000"],["x15","*/ w g15 100000"],["x16","*/ w g16 100000"],["x17","*/ w g17 100000"],["x18","*/ w g18 100000"],["x19","*/ w a 100000"],["wR","*/ w g0 100000"],["hR","*/ h g0 100000"],["y8","*/ h g8 100000"],["y9","*/ h g9 100000"],["y10","*/ h g10 100000"],["y12","*/ h g12 100000"],["y13","*/ h g13 100000"],["y14","*/ h g14 100000"],["y15","*/ h g15 100000"],["y16","*/ h g16 100000"],["y17","*/ h g17 100000"],["y18","*/ h g18 100000"]],ah:[{x:["adj","12500","46875"],pos:["x19","vc"]}],text:["x9","y9","x8","y8"],paths:[{d:"M r vc L x15 y18 L x15 y14 Z M ox1 oy1 L x16 y13 L x17 y12 Z M hc t L x18 y10 L x14 y10 Z M ox2 oy1 L x13 y12 L x12 y13 Z M l vc L x10 y14 L x10 y18 Z M ox2 oy2 L x12 y17 L x13 y16 Z M hc b L x14 y15 L x18 y15 Z M ox1 oy2 L x17 y16 L x16 y17 Z M x19 vc A wR hR cd2 21600000 Z"}]},swooshArrow:{av:[["adj1","val 25000"],["adj2","val 16667"]],gd:[["a1","pin 1 adj1 75000"],["maxAdj2","*/ 70000 w ss"],["a2","pin 0 adj2 maxAdj2"],["ad1","*/ h a1 100000"],["ad2","*/ ss a2 100000"],["xB","+- r 0 ad2"],["yB","+- t ssd8 0"],["alfa","*/ cd4 1 14"],["dx0","tan ssd8 alfa"],["xC","+- xB 0 dx0"],["dx1","tan ad1 alfa"],["yF","+- yB ad1 0"],["xF","+- xB dx1 0"],["xE","+- xF dx0 0"],["yE","+- yF ssd8 0"],["dy2","+- yE 0 t"],["dy22","*/ dy2 1 2"],["dy3","*/ h 1 20"],["yD","+- t dy22 dy3"],["dy4","*/ hd6 1 1"],["yP1","+- hd6 dy4 0"],["xP1","val wd6"],["dy5","*/ hd6 1 2"],["yP2","+- yF dy5 0"],["xP2","val wd4"]],ah:[{y:["adj1","1","75000"],pos:["xF","yF"]},{x:["adj2","0","maxAdj2"],pos:["xB","yB"]}],text:["l","t","r","b"],paths:[{d:"M l b Q xP1 yP1 xB yB L xC t L r yD L xE yE L xF yF Q xP2 yP2 l b Z"}]},teardrop:{av:[["adj","val 100000"]],gd:[["a","pin 0 adj 200000"],["r2","sqrt 2"],["tw","*/ wd2 r2 1"],["th","*/ hd2 r2 1"],["sw","*/ tw a 100000"],["sh","*/ th a 100000"],["dx1","cos sw 2700000"],["dy1","sin sh 2700000"],["x1","+- hc dx1 0"],["y1","+- vc 0 dy1"],["x2","+/ hc x1 2"],["y2","+/ vc y1 2"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],ah:[{x:["adj","0","200000"],pos:["x1","t"]}],text:["il","it","ir","ib"],paths:[{d:"M l vc A wd2 hd2 cd2 cd4 Q x2 t x1 y1 Q r y2 r vc A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z"}]},trapezoid:{av:[["adj","val 25000"]],gd:[["maxAdj","*/ 50000 w ss"],["a","pin 0 adj maxAdj"],["x1","*/ ss a 200000"],["x2","*/ ss a 100000"],["x3","+- r 0 x2"],["x4","+- r 0 x1"],["il","*/ wd3 a maxAdj"],["it","*/ hd3 a maxAdj"],["ir","+- r 0 il"]],ah:[{x:["adj","0","maxAdj"],pos:["x2","t"]}],text:["il","it","ir","b"],paths:[{d:"M l b L x2 t L x3 t L r b Z"}]},triangle:{av:[["adj","val 50000"]],gd:[["a","pin 0 adj 100000"],["x1","*/ w a 200000"],["x2","*/ w a 100000"],["x3","+- x1 wd2 0"]],ah:[{x:["adj","0","100000"],pos:["x2","t"]}],text:["x1","vc","x3","b"],paths:[{d:"M l b L x2 t L r b Z"}]},upArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 h ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss h"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dx1","*/ ss a2 100000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","*/ ss a3 100000"],["dy2","*/ h a4 100000"],["y2","+- b 0 dy2"],["y3","+/ y2 b 2"]],ah:[{x:["adj1","0","maxAdj1"],pos:["x2","y1"]},{x:["adj2","0","maxAdj2"],pos:["x1","t"]},{y:["adj3","0","maxAdj3"],pos:["r","y1"]},{y:["adj4","0","maxAdj4"],pos:["l","y2"]}],text:["l","y2","r","b"],paths:[{d:"M l y2 L x2 y2 L x2 y1 L x1 y1 L hc t L x4 y1 L x3 y1 L x3 y2 L r y2 L r b L l b Z"}]},upDownArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 50000 h ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["y2","*/ ss a2 100000"],["y3","+- b 0 y2"],["dx1","*/ w a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy1","*/ x1 y2 wd2"],["y1","+- y2 0 dy1"],["y4","+- y3 dy1 0"]],ah:[{x:["adj1","0","100000"],pos:["x1","y3"]},{y:["adj2","0","maxAdj2"],pos:["l","y2"]}],text:["x1","y1","x2","y4"],paths:[{d:"M l y2 L hc t L r y2 L x2 y2 L x2 y3 L r y3 L hc b L l y3 L x1 y3 L x1 y2 Z"}]},upArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 h ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dy2","*/ ss a2 100000"],["y2","+- t dy2 0"],["dx1","*/ w a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy1","*/ x1 dy2 wd2"],["y1","+- y2 0 dy1"]],ah:[{x:["adj1","0","100000"],pos:["x1","b"]},{y:["adj2","0","maxAdj2"],pos:["l","y2"]}],text:["x1","y1","x2","b"],paths:[{d:"M l y2 L hc t L r y2 L x2 y2 L x2 b L x1 b L x1 y2 Z"}]},upDownArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 48123"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 50000 h ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss hd2"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dx1","*/ ss a2 100000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","*/ ss a3 100000"],["y4","+- b 0 y1"],["dy2","*/ h a4 200000"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"]],ah:[{x:["adj1","0","maxAdj1"],pos:["x2","y1"]},{x:["adj2","0","maxAdj2"],pos:["x1","t"]},{y:["adj3","0","maxAdj3"],pos:["r","y1"]},{y:["adj4","0","maxAdj4"],pos:["l","y2"]}],text:["l","y2","r","y3"],paths:[{d:"M l y2 L x2 y2 L x2 y1 L x1 y1 L hc t L x4 y1 L x3 y1 L x3 y2 L r y2 L r y3 L x3 y3 L x3 y4 L x4 y4 L hc b L x1 y4 L x2 y4 L x2 y3 L l y3 Z"}]},uturnArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 43750"],["adj5","val 75000"]],gd:[["a2","pin 0 adj2 25000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["q2","*/ a1 ss h"],["q3","+- 100000 0 q2"],["maxAdj3","*/ q3 h ss"],["a3","pin 0 adj3 maxAdj3"],["q1","+- a3 a1 0"],["minAdj5","*/ q1 ss h"],["a5","pin minAdj5 adj5 100000"],["th","*/ ss a1 100000"],["aw2","*/ ss a2 100000"],["th2","*/ th 1 2"],["dh2","+- aw2 0 th2"],["y5","*/ h a5 100000"],["ah","*/ ss a3 100000"],["y4","+- y5 0 ah"],["x9","+- r 0 dh2"],["bw","*/ x9 1 2"],["bs","min bw y4"],["maxAdj4","*/ bs 100000 ss"],["a4","pin 0 adj4 maxAdj4"],["bd","*/ ss a4 100000"],["bd3","+- bd 0 th"],["bd2","max bd3 0"],["x3","+- th bd2 0"],["x8","+- r 0 aw2"],["x6","+- x8 0 aw2"],["x7","+- x6 dh2 0"],["x4","+- x9 0 bd"],["x5","+- x7 0 bd2"],["cx","+/ th x7 2"]],ah:[{x:["adj1","0","maxAdj1"],pos:["th","b"]},{x:["adj2","0","25000"],pos:["x6","b"]},{y:["adj3","0","maxAdj3"],pos:["x6","y4"]},{x:["adj4","0","maxAdj4"],pos:["bd","t"]},{y:["adj5","minAdj5","100000"],pos:["r","y5"]}],text:["l","t","r","b"],paths:[{d:"M l b L l bd A bd bd cd2 cd4 L x4 t A bd bd 3cd4 cd4 L x9 y4 L r y4 L x8 y5 L x6 y4 L x7 y4 L x7 x3 A bd2 bd2 0 -5400000 L x3 th A bd2 bd2 3cd4 -5400000 L th b Z"}]},verticalScroll:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 25000"],["ch","*/ ss a 100000"],["ch2","*/ ch 1 2"],["ch4","*/ ch 1 4"],["x3","+- ch ch2 0"],["x4","+- ch ch 0"],["x6","+- r 0 ch"],["x7","+- r 0 ch2"],["x5","+- x6 0 ch2"],["y3","+- b 0 ch"],["y4","+- b 0 ch2"]],ah:[{y:["adj","0","25000"],pos:["l","ch"]}],text:["ch","ch","x6","y4"],paths:[{stroke:!1,d:"M ch2 b A ch2 ch2 cd4 -5400000 L ch2 y4 A ch4 ch4 cd4 -10800000 L ch y3 L ch ch2 A ch2 ch2 cd2 cd4 L x7 t A ch2 ch2 3cd4 cd2 L x6 ch L x6 y4 A ch2 ch2 0 cd4 Z M x4 ch2 A ch2 ch2 0 cd4 A ch4 ch4 cd4 cd2 Z"},{fill:"darkenLess",stroke:!1,d:"M x4 ch2 A ch2 ch2 0 cd4 A ch4 ch4 cd4 cd2 Z M ch y4 A ch2 ch2 0 3cd4 A ch4 ch4 3cd4 cd2 Z"},{fill:"none",d:"M ch y3 L ch ch2 A ch2 ch2 cd2 cd4 L x7 t A ch2 ch2 3cd4 cd2 L x6 ch L x6 y4 A ch2 ch2 0 cd4 L ch2 b A ch2 ch2 cd4 cd2 Z M x3 t A ch2 ch2 3cd4 cd2 A ch4 ch4 cd4 cd2 L x4 ch2 M x6 ch L x3 ch M ch2 y3 A ch4 ch4 3cd4 cd2 L ch y4 M ch2 b A ch2 ch2 cd4 -5400000 L ch y3"}]},wave:{av:[["adj1","val 12500"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 20000"],["a2","pin -10000 adj2 10000"],["y1","*/ h a1 100000"],["dy2","*/ y1 10 3"],["y2","+- y1 0 dy2"],["y3","+- y1 dy2 0"],["y4","+- b 0 y1"],["y5","+- y4 0 dy2"],["y6","+- y4 dy2 0"],["dx1","*/ w a2 100000"],["of2","*/ w a2 50000"],["x1","abs dx1"],["dx2","?: of2 0 of2"],["x2","+- l 0 dx2"],["dx5","?: of2 of2 0"],["x5","+- r 0 dx5"],["dx3","+/ dx2 x5 3"],["x3","+- x2 dx3 0"],["x4","+/ x3 x5 2"],["x6","+- l dx5 0"],["x10","+- r dx2 0"],["x7","+- x6 dx3 0"],["x8","+/ x7 x10 2"],["x9","+- r 0 x1"],["xAdj","+- hc dx1 0"],["xAdj2","+- hc 0 dx1"],["il","max x2 x6"],["ir","min x5 x10"],["it","*/ h a1 50000"],["ib","+- b 0 it"]],ah:[{y:["adj1","0","20000"],pos:["l","y1"]},{x:["adj2","-10000","10000"],pos:["xAdj","b"]}],text:["il","it","ir","ib"],paths:[{d:"M x2 y1 C x3 y2 x4 y3 x5 y1 L x10 y4 C x8 y6 x7 y5 x6 y4 Z"}]},wedgeEllipseCallout:{av:[["adj1","val -20833"],["adj2","val 62500"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["sdx","*/ dxPos h 1"],["sdy","*/ dyPos w 1"],["pang","at2 sdx sdy"],["stAng","+- pang 660000 0"],["enAng","+- pang 0 660000"],["dx1","cos wd2 stAng"],["dy1","sin hd2 stAng"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["dx2","cos wd2 enAng"],["dy2","sin hd2 enAng"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["stAng1","at2 dx1 dy1"],["enAng1","at2 dx2 dy2"],["swAng1","+- enAng1 0 stAng1"],["swAng2","+- swAng1 21600000 0"],["swAng","?: swAng1 swAng1 swAng2"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],ah:[{x:["adj1","-2147483647","2147483647"],y:["adj2","-2147483647","2147483647"],pos:["xPos","yPos"]}],text:["il","it","ir","ib"],paths:[{d:"M xPos yPos L x1 y1 A wd2 hd2 stAng1 swAng Z"}]},wedgeRectCallout:{av:[["adj1","val -20833"],["adj2","val 62500"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["dx","+- xPos 0 hc"],["dy","+- yPos 0 vc"],["dq","*/ dxPos h w"],["ady","abs dyPos"],["adq","abs dq"],["dz","+- ady 0 adq"],["xg1","?: dxPos 7 2"],["xg2","?: dxPos 10 5"],["x1","*/ w xg1 12"],["x2","*/ w xg2 12"],["yg1","?: dyPos 7 2"],["yg2","?: dyPos 10 5"],["y1","*/ h yg1 12"],["y2","*/ h yg2 12"],["t1","?: dxPos l xPos"],["xl","?: dz l t1"],["t2","?: dyPos x1 xPos"],["xt","?: dz t2 x1"],["t3","?: dxPos xPos r"],["xr","?: dz r t3"],["t4","?: dyPos xPos x1"],["xb","?: dz t4 x1"],["t5","?: dxPos y1 yPos"],["yl","?: dz y1 t5"],["t6","?: dyPos t yPos"],["yt","?: dz t6 t"],["t7","?: dxPos yPos y1"],["yr","?: dz y1 t7"],["t8","?: dyPos yPos b"],["yb","?: dz t8 b"]],ah:[{x:["adj1","-2147483647","2147483647"],y:["adj2","-2147483647","2147483647"],pos:["xPos","yPos"]}],text:["l","t","r","b"],paths:[{d:"M l t L x1 t L xt yt L x2 t L r t L r y1 L xr yr L r y2 L r b L x2 b L xb yb L x1 b L l b L l y2 L xl yl L l y1 Z"}]},wedgeRoundRectCallout:{av:[["adj1","val -20833"],["adj2","val 62500"],["adj3","val 16667"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["dq","*/ dxPos h w"],["ady","abs dyPos"],["adq","abs dq"],["dz","+- ady 0 adq"],["xg1","?: dxPos 7 2"],["xg2","?: dxPos 10 5"],["x1","*/ w xg1 12"],["x2","*/ w xg2 12"],["yg1","?: dyPos 7 2"],["yg2","?: dyPos 10 5"],["y1","*/ h yg1 12"],["y2","*/ h yg2 12"],["t1","?: dxPos l xPos"],["xl","?: dz l t1"],["t2","?: dyPos x1 xPos"],["xt","?: dz t2 x1"],["t3","?: dxPos xPos r"],["xr","?: dz r t3"],["t4","?: dyPos xPos x1"],["xb","?: dz t4 x1"],["t5","?: dxPos y1 yPos"],["yl","?: dz y1 t5"],["t6","?: dyPos t yPos"],["yt","?: dz t6 t"],["t7","?: dxPos yPos y1"],["yr","?: dz y1 t7"],["t8","?: dyPos yPos b"],["yb","?: dz t8 b"],["u1","*/ ss adj3 100000"],["u2","+- r 0 u1"],["v2","+- b 0 u1"],["il","*/ u1 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],ah:[{x:["adj1","-2147483647","2147483647"],y:["adj2","-2147483647","2147483647"],pos:["xPos","yPos"]}],text:["il","il","ir","ib"],paths:[{d:"M l u1 A u1 u1 cd2 cd4 L x1 t L xt yt L x2 t L u2 t A u1 u1 3cd4 cd4 L r y1 L xr yr L r y2 L r v2 A u1 u1 0 cd4 L x2 b L xb yb L x1 b L u1 b A u1 u1 cd4 cd4 L l y2 L xl yl L l y1 Z"}]}},PRESET_NAMES=Object.keys(PRESETS2);function presetAdjustments(e){return(PRESETS2[e]?.av??[]).map(([t,r])=>({name:t,value:Number(r.split(/\s+/u)[1]??0)}))}var DEG=6e4,rad=e=>e/DEG*(Math.PI/180);function builtins(e,t){const r=Math.min(e,t),i=new Map([["w",e],["h",t],["l",0],["t",0],["r",e],["b",t],["hc",e/2],["vc",t/2],["ls",Math.max(e,t)],["ss",r],["cd2",108e5],["cd4",54e5],["cd8",27e5],["3cd4",162e5],["3cd8",81e5],["5cd8",135e5],["7cd8",189e5]]);for(const u of[2,3,4,5,6,8,10,12,32])i.set(`wd${String(u)}`,e/u),i.set(`hd${String(u)}`,t/u);for(const u of[2,4,6,8,16,32])i.set(`ssd${String(u)}`,r/u);return i}function formula(e,t){const[r="",...i]=e.trim().split(/\s+/u),[u=0,o=0,a=0]=i.map(s=>t.get(s)??Number(s));switch(r){case"*/":return a===0?0:u*o/a;case"+-":return u+o-a;case"+/":return a===0?0:(u+o)/a;case"?:":return u>0?o:a;case"abs":return Math.abs(u);case"at2":return Math.atan2(o,u)*180*DEG/Math.PI;case"cat2":return u*Math.cos(Math.atan2(a,o));case"cos":return u*Math.cos(rad(o));case"max":return Math.max(u,o);case"min":return Math.min(u,o);case"mod":return Math.sqrt(u*u+o*o+a*a);case"pin":return o<u?u:o>a?a:o;case"sat2":return u*Math.sin(Math.atan2(a,o));case"sin":return u*Math.sin(rad(o));case"sqrt":return Math.sqrt(u);case"tan":return u*Math.tan(rad(o));case"val":return u;default:return 0}}var n=e=>String(Math.round(e*1e3)/1e3);function arc(e,t,r,i,u,o){const a=E=>Math.atan2(r*Math.sin(rad(E)),i*Math.cos(rad(E))),s=a(u),d=o<0?-1:1,c=Math.floor(Math.abs(o)/216e5),l=Math.abs(o)-c*216e5;let f=a(u+d*l)-s;for(;d*f<0;)f+=d*2*Math.PI;l===0&&(f=0);const h=s+f+d*c*2*Math.PI,p=e-r*Math.cos(s),g=t-i*Math.sin(s),v=Math.max(1,Math.ceil(Math.abs(h-s)/(Math.PI/2)-1e-9)),x=(h-s)/v,A=4/3*Math.tan(x/4),m=[];let y=s;for(let E=0;E<v;E++){const D=y+x,[b,_,w,B]=[Math.cos(y),Math.sin(y),Math.cos(D),Math.sin(D)];m.push(`C ${n(p+r*(b-A*_))} ${n(g+i*(_+A*b))} ${n(p+r*(w+A*B))} ${n(g+i*(B-A*w))} ${n(p+r*w)} ${n(g+i*B)}`),y=D}return{d:m,x:p+r*Math.cos(h),y:g+i*Math.sin(h)}}function guidesOf(e,t,r,i){const u=builtins(t,r);for(const[o,a]of e.av??[])u.set(o,i[o]??formula(a,u));for(const[o,a]of e.gd??[])u.set(o,formula(a,u));return u}var valueOf=(e,t)=>t.get(e)??Number(e);function evaluate(e,t,r,i={}){const u=guidesOf(e,t,r,i),o=f=>valueOf(f,u),a=e.paths.map(f=>{const h=f.w?t/f.w:1,p=f.h?r/f.h:1,g=f.d.split(" "),v=[];let x=0,A=0,m={x:0,y:0};for(let y=0;y<g.length;){const E=g[y++],D=()=>o(g[y++]??"0");if(E==="M"||E==="L")x=D()*h,A=D()*p,E==="M"&&(m={x,y:A}),v.push(`${E} ${n(x)} ${n(A)}`);else if(E==="Q"){const[b,_]=[D()*h,D()*p],[w,B]=[D()*h,D()*p];v.push(`C ${n(x+2/3*(b-x))} ${n(A+2/3*(_-A))} ${n(w+2/3*(b-w))} ${n(B+2/3*(_-B))} ${n(w)} ${n(B)}`),[x,A]=[w,B]}else if(E==="C"){const b=[D()*h,D()*p,D()*h,D()*p,D()*h,D()*p];v.push(`C ${b.map(n).join(" ")}`),[x,A]=[b[4]??0,b[5]??0]}else if(E==="A"){const[b,_,w,B]=[D()*h,D()*p,D(),D()],F=arc(x,A,b,_,w,B);v.push(...F.d),[x,A]=[F.x,F.y]}else E==="Z"&&(v.push("Z"),[x,A]=[m.x,m.y])}return{d:v.join(" "),fill:f.fill??"norm",stroke:f.stroke!==!1}}),[s="l",d="t",c="r",l="b"]=e.text??[];return{paths:a,text:{left:o(s),top:o(d),right:o(c),bottom:o(l)}}}function presetOutline(e,t,r,i=[]){const u=PRESETS2[e];if(u)return evaluate(u,t,r,ownOf(u,i))}function ownOf(e,t){const r={};return(e.av??[]).forEach(([i],u)=>{const o=t[u];o!==void 0&&(r[i]=o*1e5)}),r}var PHI=(Math.sqrt(5)-1)/2,LEVELS=9,levels2=e=>Array.from({length:LEVELS},(t,r)=>e(r)),OFFICE_TEXT_STYLES={title:levels2(()=>({alignment:"l",line_spacing:{lines:.9},space_before:0,bullet:null,font:{name:"+mj-lt",size:Pt(44),color:"dk1"}})),body:levels2(e=>({alignment:"l",line_spacing:{lines:.9},space_before:Pt(e===0?10:5),bullet:"•",bullet_font:"Arial",margin_left:Emu2(228600+e*457200),indent:Emu2(-228600),font:{name:"+mn-lt",size:Pt([28,24,20][e]??18),color:"dk1"}})),other:levels2(e=>({alignment:"l",margin_left:Emu2(e*457200),font:{name:"+mn-lt",size:Pt(18),color:"dk1"}}))},TEXT_FALLBACK={alignment:"l",line_spacing:{lines:1},space_before:0,space_after:0,indent:0,font:{name:"+mn-lt",size:Pt(18),color:"dk1"}},TEXT_INSETS={left:Inches(.1),top:Inches(.05),right:Inches(.1),bottom:Inches(.05)},styleKindOf=e=>e===void 0||e==="dt"||e==="ftr"||e==="sldNum"?"other":e==="title"||e==="ctrTitle"?"title":"body";function placeholderFrame(e){const t=e==="dt"||e==="ftr"||e==="sldNum";return{vertical_anchor:e==="title"||e==="ctrTitle"||t?"ctr":"t",auto_size:t?"none":"text",word_wrap:!0}}var placeholderLevels=e=>levels2(e==="subTitle"?t=>({bullet:null,margin_left:Inches(.5*t),indent:0}):()=>({})),FOOTER_IDX={dt:10,ftr:11,sldNum:12},TEXTBOX_FRAME={word_wrap:!1,auto_size:"shape"},DRAWN_TEXTBOX_FRAME={word_wrap:!0,auto_size:"shape"},AUTOSHAPE_STYLE={fill:"accent1",line:"accent1",line_width:Emu2(6350),font_color:"lt1",vertical_anchor:"ctr",alignment:"ctr"},CONNECTOR_STYLE={line:"accent1",line_width:Emu2(12700)},CONNECTOR_GEOMETRIES=["line","straightConnector1","bentConnector2","bentConnector3","bentConnector4","bentConnector5","curvedConnector2","curvedConnector3","curvedConnector4","curvedConnector5"],CONNECTORS=new Set(CONNECTOR_GEOMETRIES),isConnectorGeometry=e=>e!==void 0&&CONNECTORS.has(e),SHADOW_DEFAULTS={color:{rgb:"#000000"},blur:Pt(4),distance:Pt(3),angle:45,transparency:.6},BASE_TYPE={title:"title",ctrTitle:"title",subTitle:"body",body:"body",pic:"body",media:"body",obj:"body",dt:"dt",ftr:"ftr",sldNum:"sldNum"};function masterPlaceholder(e,t){const r=BASE_TYPE[t];return e.shapes.find(i=>i.kind==="placeholder"&&i.placeholder?.type===r)}var Unsupported=class extends Error{constructor(e){super(`${e} (allyhub slides capabilities lists what the API holds).`),this.name="Unsupported"}},refuse=e=>{throw new Unsupported(e)},RGB=/^#?[0-9a-f]{6}$/iu,rgbOf=e=>{if(!RGB.test(e))throw new Error(`rgb ${e} is not RRGGBB.`);return`#${e.replace("#","").toUpperCase()}`},RGBColor=Object.assign(function(t,r,i){for(const a of[t,r,i])if(!Number.isInteger(a)||a<0||a>255)throw new Error(`RGBColor(${String(t)}, ${String(r)}, ${String(i)}): each is 0 to 255.`);const u=`#${[t,r,i].map(a=>a.toString(16).padStart(2,"0")).join("").toUpperCase()}`;return new.target===void 0?u:new String(u)},{from_string:e=>rgbOf(e)}),ColorFormat=class{read;write;constructor(e,t){return this.read=e,this.write=t,strict2(this,"ColorFormat")}get theme_color(){const e=this.read();return e===void 0?void 0:themeColorOf(e)}set theme_color(e){this.write(e===void 0?void 0:themeColor(e,this.brightness))}get brightness(){const e=this.read();return typeof e=="object"&&"brightness"in e?e.brightness:0}set brightness(e){if(!(e>=-1&&e<=1))throw new RangeError(`brightness ${String(e)} is not a number from -1.0 to 1.0.`);const t=this.read();if(t===void 0)throw new TypeError("There is no colour to set the brightness of: set theme_color first.");const r=themeColorOf(t);if(r!==void 0)this.write(themeColor(r,e));else if(e!==0)throw new TypeError("Only a theme colour has a brightness here, so an RGB colour does not: set theme_color first, or rgb to the colour it makes.")}get rgb(){const e=this.read();return typeof e=="object"&&"rgb"in e?e.rgb:void 0}set rgb(e){this.write(e===void 0?void 0:{rgb:rgbOf(e)})}},Font=class{def;constructor(e){return this.def=e,strict2(this,"Font")}_set(e,t){t===void 0?Reflect.deleteProperty(this.def,e):this.def[e]=t}get strike(){return this.def.strike}set strike(e){this._set("strike",e)}get baseline(){return this.def.baseline}set baseline(e){this._set("baseline",e)}get highlight(){return this.def.highlight}set highlight(e){this._set("highlight",e)}get name(){return this.def.name}set name(e){this._set("name",e)}get size(){return lengthOr(this.def.size)}set size(e){this._set("size",e)}get bold(){return this.def.bold}set bold(e){this._set("bold",e)}get italic(){return this.def.italic}set italic(e){this._set("italic",e)}get underline(){return this.def.underline}set underline(e){this._set("underline",e)}get spacing(){return lengthOr(this.def.spacing)}set spacing(e){this._set("spacing",e)}get color(){return new ColorFormat(()=>this.def.color,e=>{this._set("color",e)})}},Hyperlink=class{def;constructor(e){return this.def=e,strict2(this,"_Hyperlink")}get address(){return this.def.font?.link}set address(e){this.def.font??={},e===void 0?Reflect.deleteProperty(this.def.font,"link"):this.def.font.link=e}},Run=class{def;constructor(e){return this.def=e,strict2(this,"_Run")}get text(){return this.def.text}set text(e){this.def.text=e}get font(){return this.def.font??={},new Font(this.def.font)}get hyperlink(){return new Hyperlink(this.def)}},spacingIn=e=>{if(!Number.isFinite(e)||e<=0)throw new Error(`line_spacing ${String(e)} is not over 0.`);return Number.isInteger(e)&&e>=EMU_PER_PT?{fixed:e}:{lines:e}},spacingOut=e=>e===void 0?void 0:"lines"in e?e.lines:length(e.fixed),runsOf=e=>e.split(/\n|\v/u).flatMap((t,r)=>[...r>0?[{text:"\v"}]:[],...t===""?[]:[{text:t}]]),Format=class{_set(e,t){t===void 0?Reflect.deleteProperty(this.fmt,e):this.fmt[e]=t}get alignment(){return this.fmt.alignment}set alignment(e){this._set("alignment",e)}get line_spacing(){return spacingOut(this.fmt.line_spacing)}set line_spacing(e){this._set("line_spacing",e===void 0?void 0:spacingIn(e))}get space_before(){return lengthOr(this.fmt.space_before)}set space_before(e){this._set("space_before",e)}get space_after(){return lengthOr(this.fmt.space_after)}set space_after(e){this._set("space_after",e)}get font(){return this.fmt.font??={},new Font(this.fmt.font)}},Paragraph=class extends Format{fmt;constructor(e){return super(),this.fmt=e,strict2(this,"_Paragraph")}get text(){return this.fmt.runs.map(e=>e.text).join("")}set text(e){this.fmt.runs=runsOf(e)}get runs(){return this.fmt.runs.filter(e=>e.text!=="\v").map(e=>new Run(e))}add_run(){const e={text:""};return this.fmt.runs.push(e),new Run(e)}add_line_break(){this.fmt.runs.push({text:"\v"})}clear(){return this.fmt.runs=[],this}get level(){return this.fmt.level}set level(e){if(!Number.isInteger(e)||e<0||e>8)throw new Error(`level ${String(e)} is not 0 to 8.`);this.fmt.level=e}},ListLevel=class extends Format{fmt;constructor(e){return super(),this.fmt=e,strict2(this,"ListLevel")}get numbered(){return this.fmt.numbered}set numbered(e){this._set("numbered",e)}get bullet(){return this.fmt.bullet}set bullet(e){this._set("bullet",e)}get bullet_font(){return this.fmt.bullet_font}set bullet_font(e){this._set("bullet_font",e)}get margin_left(){return lengthOr(this.fmt.margin_left)}set margin_left(e){this._set("margin_left",e)}get indent(){return lengthOr(this.fmt.indent)}set indent(e){this._set("indent",e)}},listStyleOf=e=>Object.freeze(e.map(t=>new ListLevel(t))),newLevels=()=>Array.from({length:9},()=>({})),newText=()=>({paragraphs:[],levels:newLevels()}),TextFrame=class{def;constructor(e){return this.def=e,strict2(this,"TextFrame")}_set(e,t){t===void 0?Reflect.deleteProperty(this.def,e):this.def[e]=t}get text(){return this.def.paragraphs.map(e=>e.runs.map(t=>t.text).join("")).join(`
|
|
73
|
+
`)}set text(e){this.def.paragraphs=e.split(`
|
|
74
|
+
`).map(t=>({runs:runsOf(t),level:0}))}get paragraphs(){return this.def.paragraphs.length===0&&this.def.paragraphs.push({runs:[],level:0}),this.def.paragraphs.map(e=>new Paragraph(e))}add_paragraph(){this.def.paragraphs.length===0&&this.def.paragraphs.push({runs:[],level:0});const e={runs:[],level:0};return this.def.paragraphs.push(e),new Paragraph(e)}clear(){const e=this.def.paragraphs[0];this.def.paragraphs=e?[{...e,runs:[]}]:[]}fit_text(e,t=18,r,i){this.def.auto_size="text",this.def.word_wrap=!0;for(const u of this.def.paragraphs)for(const o of u.runs)o.font={...o.font,size:Math.trunc(t*EMU_PER_PT),...e===void 0?{}:{name:e},...r===void 0?{}:{bold:r},...i===void 0?{}:{italic:i}}}get list_style(){return listStyleOf(this.def.levels)}get vertical_anchor(){return this.def.vertical_anchor}set vertical_anchor(e){this._set("vertical_anchor",e)}get auto_size(){return this.def.auto_size}set auto_size(e){this._set("auto_size",e)}get word_wrap(){return this.def.word_wrap}set word_wrap(e){this._set("word_wrap",e)}get margin_left(){return length(this.def.margin_left??TEXT_INSETS.left)}set margin_left(e){this.def.margin_left=e}get margin_top(){return length(this.def.margin_top??TEXT_INSETS.top)}set margin_top(e){this.def.margin_top=e}get margin_right(){return length(this.def.margin_right??TEXT_INSETS.right)}set margin_right(e){this.def.margin_right=e}get margin_bottom(){return length(this.def.margin_bottom??TEXT_INSETS.bottom)}set margin_bottom(e){this.def.margin_bottom=e}},FillFormat=class{read;write;start;shape;constructor(e,t,r="lt1",i){return this.read=e,this.write=t,this.start=r,this.shape=i,strict2(this,"FillFormat")}solid(){const e=this.read();this.shape&&Reflect.deleteProperty(this.shape,"gradient"),e==null&&this.write(this.start)}background(){this.shape&&Reflect.deleteProperty(this.shape,"gradient"),this.write(null)}_shape(e){if(!this.shape)throw new TypeError(`Only a shape's fill has ${e}.`);return this.shape}gradient(){this._shape("a gradient").gradient??={angle:90,stops:[{at:0,color:"accent1"},{at:1,color:"accent2"}]}}get gradient_angle(){return this._gradient().angle}set gradient_angle(e){this._gradient().angle=e}get gradient_stops(){return this._gradient().stops}set gradient_stops(e){if(e.length<2)throw new Error("A gradient has two stops at least.");this._gradient().stops=e.map(t=>({...t}))}_gradient(){const{gradient:e}=this._shape("a gradient");if(!e)throw new TypeError("This fill is no gradient: call fill.gradient() first.");return e}get transparency(){return this._shape("a transparency").fill_transparency??0}set transparency(e){if(!(e>=0&&e<=1))throw new Error(`A transparency is a share, 0 to 1, not ${String(e)}.`);this._shape("a transparency").fill_transparency=e}get type(){if(this.shape?.gradient)return"gradient";const e=this.read();return e===void 0?void 0:e===null?"background":"solid"}get fore_color(){const e=this.read();if(e==null)throw new TypeError("This fill is not solid, so it has no fore_color: call fill.solid() first.");return new ColorFormat(()=>this.read()??void 0,t=>{this.write(t??this.start)})}},ShadowFormat=class{def;constructor(e){return this.def=e,strict2(this,"ShadowFormat")}_shadow(){return this.def.shadow??={...SHADOW_DEFAULTS},this.def.shadow}get inherit(){return this.def.shadow===void 0}set inherit(e){e?Reflect.deleteProperty(this.def,"shadow"):this._shadow()}get blur_radius(){return length(this._shadow().blur)}set blur_radius(e){this._shadow().blur=e}get distance(){return length(this._shadow().distance)}set distance(e){this._shadow().distance=e}get angle(){return this._shadow().angle}set angle(e){this._shadow().angle=e}get transparency(){return this._shadow().transparency}set transparency(e){this._shadow().transparency=e}get color(){const e=this._shadow();return new ColorFormat(()=>e.color,t=>{e.color=t??SHADOW_DEFAULTS.color})}},LineFormat=class{def;constructor(e){return this.def=e,strict2(this,"LineFormat")}get color(){return new ColorFormat(()=>this.def.line??void 0,e=>{this.def.line=e??null})}get fill(){return new FillFormat(()=>this.def.line,e=>{this.def.line=e},"dk1")}get width(){return length(this.def.line_width??0)}set width(e){this.def.line_width=e}get dash_style(){return this.def.line_dash??null}set dash_style(e){e===null?delete this.def.line_dash:this.def.line_dash=e}get begin_arrow(){return this.def.line_begin??"none"}set begin_arrow(e){this.def.line_begin=e}get end_arrow(){return this.def.line_end??"none"}set end_arrow(e){this.def.line_end=e}},Background=class{holder;constructor(e){return this.holder=e,strict2(this,"_Background")}get fill(){return new FillFormat(()=>this.holder.background,e=>{this.holder.background=e??"lt1"})}},adjustmentDefaults=e=>presetAdjustments(e).map(t=>t.value/1e5),Adjustments=class{def;constructor(e){return this.def=e,strict2(this,"Adjustments",{index:t=>this._values()[t],setIndex:(t,r)=>{this._set(t,Number(r))}})}_values(){return this.def.adjustments??adjustmentDefaults(this.def.geometry??"rect")}get length(){return this._values().length}_set(e,t){const r=this._values();if(e<0||e>=r.length)throw new RangeError(`adjustments[${String(e)}]: ${this.def.geometry??"this shape"} has ${String(r.length)}.`);if(!Number.isFinite(t))throw new Error(`adjustments[${String(e)}] = ${String(t)} is not a number.`);r[e]=t,this.def.adjustments=r}},NO_FRAME={left:0,top:0,width:0,height:0},Shape=class{def;inherit;constructor(e,t=()=>{}){return this.def=e,this.inherit=t,strict2(this,"Shape")}get _def(){return this.def}_frame(){return this.def.frame??this.inherit()??NO_FRAME}_own(){return this.def.frame??={...this._frame()},this.def.frame}get name(){return this.def.name}set name(e){this.def.name=e}get shape_type(){return this.def.path?"freeform":isConnectorGeometry(this.def.geometry)?"line":this.def.kind}get is_placeholder(){return this.def.kind==="placeholder"}get has_table(){return this.def.table!==void 0}get has_chart(){return this.def.chart!==void 0}get chart(){if(!this.def.chart)throw new Error(`${this.def.name} is not a chart.`);return new Chart(this.def.chart)}get table(){if(!this.def.table)throw new Error(`${this.def.name} is not a table.`);return new Table(this.def.table)}get placeholder_format(){if(!this.def.placeholder)throw new Error(`${this.def.name} is not a placeholder.`);return strict2({...this.def.placeholder},"_PlaceholderFormat")}get left(){return length(this._frame().left)}set left(e){this._own().left=e}get top(){return length(this._frame().top)}set top(e){this._own().top=e}get width(){return length(this._frame().width)}set width(e){this._own().width=e}get height(){return length(this._frame().height)}set height(e){this._own().height=e}get rotation(){return this.def.rotation??0}set rotation(e){if(!Number.isFinite(e))throw new Error(`${this.def.name}: rotation is a number of degrees.`);const t=(Math.trunc(e*6e4)%216e5+216e5)%216e5/6e4;t===0?Reflect.deleteProperty(this.def,"rotation"):this.def.rotation=t}get has_text_frame(){return this.def.text!==void 0}get text_frame(){if(!this.def.text)throw new Error(`${this.def.name} (a ${this.shape_type}) has no text frame: has_text_frame is false.`);return new TextFrame(this.def.text)}get text(){return this.text_frame.text}set text(e){this.text_frame.text=e}get fill(){return new FillFormat(()=>this.def.fill,e=>{this.def.fill=e},"lt1",this.def)}get line(){return new LineFormat(this.def)}get shadow(){return new ShadowFormat(this.def)}get adjustments(){return new Adjustments(this.def)}},isLength=e=>typeof e=="number"&&Number.isFinite(e),frameOf=(e,t,r,i,{line:u=!1}={})=>{for(const[o,a]of Object.entries({left:e,top:t,width:r,height:i}))if(!isLength(a))throw new Error(`${o} ${String(a)} is not a length (Emu, Inches, Pt, Cm, Mm).`);if(u?r<0||i<0:r<=0||i<=0)throw new Error("A shape's width and height are over 0.");return{left:Math.trunc(e),top:Math.trunc(t),width:Math.trunc(r),height:Math.trunc(i)}},GEOMETRIES=new Set(Object.values(MSO_SHAPE)),FreeformBuilder=class{steps;sx;sy;make;constructor(e,t,r){return this.steps=[{op:"move",x:e[0],y:e[1]}],[this.sx,this.sy]=typeof t=="number"?[t,t]:t,this.make=r,strict2(this,"FreeformBuilder")}add_line_segments(e,t=!0){for(const[r,i]of e)this.steps.push({op:"line",x:r,y:i});return t&&this.steps.push({op:"close"}),this}add_curve_segment(e,t,r,i,u,o){return this.steps.push({op:"curve",x1:e,y1:t,x2:r,y2:i,x:u,y:o}),this}move_to(e,t){return this.steps.push({op:"move",x:e,y:t}),this}convert_to_shape(e=0,t=0){this.steps.length<2&&refuse("convert_to_shape(): a freeform needs a segment.");const r=this.steps.flatMap(l=>l.op==="close"?[]:l.op==="curve"?[[l.x1,l.y1],[l.x2,l.y2],[l.x,l.y]]:[[l.x,l.y]]),i=r.map(l=>l[0]),u=r.map(l=>l[1]),o=Math.min(...i),a=Math.min(...u),s=Math.max(...i)-o,d=Math.max(...u)-a,c=(l,f)=>({x:l-o,y:f-a});return this.make({w:s,h:d,steps:this.steps.map(l=>{if(l.op==="close")return l;if(l.op!=="curve")return{op:l.op,...c(l.x,l.y)};const f=c(l.x1,l.y1),h=c(l.x2,l.y2);return{op:"curve",x1:f.x,y1:f.y,x2:h.x,y2:h.y,...c(l.x,l.y)}})},frameOf(Math.round(o*this.sx)+e,Math.round(a*this.sy)+t,Math.round(s*this.sx),Math.round(d*this.sy)))}},GroupShape=class{list;_name;make;constructor(e,t,r){return this.list=e,this._name=t,this.make=r,strict2(this,"GroupShape")}members(){return this.list.filter(e=>e.group===this._name)}box(){const e=this.members().flatMap(i=>i.frame?[i.frame]:[]),t=Math.min(...e.map(i=>i.left)),r=Math.min(...e.map(i=>i.top));return{left:e.length>0?t:0,top:e.length>0?r:0,right:Math.max(0,...e.map(i=>i.left+i.width)),bottom:Math.max(0,...e.map(i=>i.top+i.height))}}get shapes(){return this.make(this._name)}get shape_type(){return MSO_SHAPE_TYPE.GROUP}get name(){return this._name}set name(e){for(const t of this.members())t.group=e;this._name=e}get left(){return length(this.box().left)}set left(e){const t=e-this.box().left;for(const r of this.members())r.frame&&(r.frame.left+=t)}get top(){return length(this.box().top)}set top(e){const t=e-this.box().top;for(const r of this.members())r.frame&&(r.frame.top+=t)}get width(){const e=this.box();return length(e.right-e.left)}get height(){const e=this.box();return length(e.bottom-e.top)}},Cell=class{def;table;row;col;constructor(e,t,r,i){return this.def=e,this.table=t,this.row=r,this.col=i,strict2(this,"_Cell")}get text_frame(){return new TextFrame(this.def.text)}get text(){return this.text_frame.text}set text(e){this.text_frame.text=e}get fill(){return new FillFormat(()=>this.def.fill,e=>{this.def.fill=e})}get borders(){return this.def.borders??{}}set borders(e){this.def.borders=e}get margin_left(){return length(this.def.text.margin_left??TEXT_INSETS.left)}set margin_left(e){this.def.text.margin_left=e}get margin_right(){return length(this.def.text.margin_right??TEXT_INSETS.right)}set margin_right(e){this.def.text.margin_right=e}get margin_top(){return length(this.def.text.margin_top??TEXT_INSETS.top)}set margin_top(e){this.def.text.margin_top=e}get margin_bottom(){return length(this.def.text.margin_bottom??TEXT_INSETS.bottom)}set margin_bottom(e){this.def.text.margin_bottom=e}get vertical_anchor(){return this.def.text.vertical_anchor}set vertical_anchor(e){e===void 0?delete this.def.text.vertical_anchor:this.def.text.vertical_anchor=e}get is_merge_origin(){return(this.def.span_width??1)>1||(this.def.span_height??1)>1}get is_spanned(){return this.def.spanned===!0}get span_width(){return this.def.span_width??1}get span_height(){return this.def.span_height??1}merge(e){const t=[this.row,e.row].sort((s,d)=>s-d),r=[this.col,e.col].sort((s,d)=>s-d),[i=0,u=0]=t,[o=0,a=0]=r;for(let s=i;s<=u;s++)for(let d=o;d<=a;d++){const c=this.table.rows[s]?.cells[d];c&&(s===i&&d===o?(a>o&&(c.span_width=a-o+1),u>i&&(c.span_height=u-i+1)):c.spanned=!0)}}split(){const e=this.span_width,t=this.span_height;delete this.def.span_width,delete this.def.span_height;for(let r=this.row;r<this.row+t;r++)for(let i=this.col;i<this.col+e;i++){const u=this.table.rows[r]?.cells[i];u&&delete u.spanned}}},Column=class{def;at;constructor(e,t){return this.def=e,this.at=t,strict2(this,"_Column")}get width(){return length(this.def.columns[this.at]??0)}set width(e){this.def.columns[this.at]=e}},Row=class{def;at;constructor(e,t){return this.def=e,this.at=t,strict2(this,"_Row")}get row(){const e=this.def.rows[this.at];if(!e)throw new Error(`The table has no row ${String(this.at)}.`);return e}get height(){return length(this.row.height)}set height(e){this.row.height=e}},Table=class{def;constructor(e){return this.def=e,strict2(this,"Table")}cell(e,t){const r=this.def.rows[e]?.cells[t];if(!r)throw new Error(`cell(): the table has ${String(this.def.rows.length)} rows and ${String(this.def.columns.length)} columns.`);return new Cell(r,this.def,e,t)}*iter_cells(){for(let e=0;e<this.def.rows.length;e++)for(let t=0;t<this.def.columns.length;t++)yield this.cell(e,t)}get columns(){return this.def.columns.map((e,t)=>new Column(this.def,t))}get rows(){return this.def.rows.map((e,t)=>new Row(this.def,t))}flag(e){return this.def[e]===!0}get first_row(){return this.flag("first_row")}set first_row(e){this.def.first_row=e}get first_col(){return this.flag("first_col")}set first_col(e){this.def.first_col=e}get last_row(){return this.flag("last_row")}set last_row(e){this.def.last_row=e}get last_col(){return this.flag("last_col")}set last_col(e){this.def.last_col=e}get horz_banding(){return this.flag("horz_banding")}set horz_banding(e){this.def.horz_banding=e}get vert_banding(){return this.flag("vert_banding")}set vert_banding(e){this.def.vert_banding=e}};function freeShapeName(e,t,r=[]){const i=new Set([...e,...r].map(o=>o.name));let u=1;for(;i.has(`${t}-${String(u)}`);)u++;return`${t}-${String(u)}`}var ShapeCollection=class Pe{list;base;components;inherit;group;under;constructor(t,r,i,u=()=>{},o=()=>[],a){return this.list=t,this.base=r,this.components=i,this.inherit=u,this.under=o,this.group=a,strict2(this,"SlideShapes",{index:s=>this._at(s)})}_wrap(t){return new Shape(t,()=>this.inherit(t))}_at(t){const r=this.list[t];return r?this._wrap(r):void 0}*[Symbol.iterator](){for(const t of this.list)yield this._wrap(t)}get length(){return this.list.length}get(t){const r=this.list.find(i=>i.name===t);return r?this._wrap(r):void 0}get title(){const t=this.list.find(r=>r.placeholder?.type==="title"||r.placeholder?.type==="ctrTitle");return t?this._wrap(t):void 0}get placeholders(){return new Placeholders(this.list,this.inherit)}_add(t,r){const i={name:freeShapeName(this.list,t,this.under()),...r,...this.group===void 0?{}:{group:this.group}};return this.list.push(i),this._wrap(i)}add_textbox(t,r,i,u){return this._add("textbox",{kind:"textbox",frame:frameOf(t,r,i,u),text:{...newText(),...TEXTBOX_FRAME}})}add_picture(t,r,i,u,o){return(u===void 0||o===void 0)&&refuse("add_picture() takes a width and a height here: a picture's own size is not read while a deck's code runs"),this._add("picture",{kind:"picture",frame:frameOf(r,i,u??0,o??0),media:{path:t,base:this.base}})}add_movie(t,r,i,u,o,a={}){return this._add("movie",{kind:"movie",frame:frameOf(r,i,u,o),media:{path:t,base:this.base,...a.poster_frame_time===void 0?{}:{poster:a.poster_frame_time}}})}add_shape(t,r,i,u,o){GEOMETRIES.has(t)||refuse(`add_shape(): ${t} is not one of MSO_SHAPE's ${Object.keys(MSO_SHAPE).join(", ")}`);const a=newText();return a.vertical_anchor=AUTOSHAPE_STYLE.vertical_anchor,a.paragraphs=[{runs:[],level:0,alignment:AUTOSHAPE_STYLE.alignment}],this._add("shape",{kind:"autoshape",frame:frameOf(r,i,u,o),geometry:t,fill:AUTOSHAPE_STYLE.fill,line:AUTOSHAPE_STYLE.line,line_width:AUTOSHAPE_STYLE.line_width,text:a})}add_table(t,r,i,u,o,a){(t<1||r<1)&&refuse("add_table(): a table has at least a row and a column.");const s=Math.floor(o/r),d=Math.floor(a/t);return this._add("table",{kind:"table",frame:frameOf(i,u,o,a),table:{columns:Array.from({length:r},()=>s),rows:Array.from({length:t},()=>({height:d,cells:Array.from({length:r},()=>({text:newText()}))}))}})}add_chart(t,r,i,u,o,a){return this._add("chart",{kind:"chart",frame:frameOf(r,i,u,o),chart:{type:t,categories:[...a.categories],series:a._series()}})}add_group_shape(){this.group!==void 0&&refuse("add_group_shape(): a group here holds shapes, not another group.");let t=1;for(;this.list.some(r=>r.group===`group-${String(t)}`);)t++;return new GroupShape(this.list,`group-${String(t)}`,r=>new Pe(this.list,this.base,this.components,this.inherit,this.under,r))}build_freeform(t=0,r=0,i=1){return new FreeformBuilder([t,r],i,(u,o)=>{const a=newText();return a.vertical_anchor=AUTOSHAPE_STYLE.vertical_anchor,a.paragraphs=[{runs:[],level:0,alignment:AUTOSHAPE_STYLE.alignment}],this._add("freeform",{kind:"autoshape",frame:o,path:u,fill:AUTOSHAPE_STYLE.fill,line:AUTOSHAPE_STYLE.line,line_width:AUTOSHAPE_STYLE.line_width,text:a})})}add_connector(t,r,i,u,o){isConnectorGeometry(t)||refuse(`add_connector(): ${t} is not one of MSO_CONNECTOR's ${Object.keys(MSO_CONNECTOR).join(", ")}, nor a connector's preset (${CONNECTOR_GEOMETRIES.join(", ")})`);const a=frameOf(Math.min(r,u),Math.min(i,o),Math.abs(u-r),Math.abs(o-i),{line:!0}),s=u<r,d=o<i;return this._add("connector",{kind:"autoshape",frame:a,geometry:t,...s||d?{flip:{...s?{h:s}:{},...d?{v:d}:{}}}:{},line:CONNECTOR_STYLE.line,line_width:CONNECTOR_STYLE.line_width})}add_component(t,r,i,u,o,a={}){if(!Object.hasOwn(this.components(),t))throw new Error(`add_component(): the presentation has no component ${t}; add it with prs.components.add("${t}", { … }) first.`);return this._add(t,{kind:"component",frame:frameOf(r,i,u,o),component:{name:t,props:a}})}},NAME_OF_TYPE={title:"title",ctrTitle:"title",subTitle:"subtitle",body:"body",pic:"picture",media:"media",obj:"content",dt:"date",ftr:"footer",sldNum:"slide-number"},Placeholders=class{list;inherit;constructor(e,t=()=>{}){return this.list=e,this.inherit=t,strict2(this,"placeholders",{index:r=>this.get(r)})}_wrap(e){return new Shape(e,()=>this.inherit(e))}*[Symbol.iterator](){for(const e of this.list)e.kind==="placeholder"&&(yield this._wrap(e))}get length(){return this.list.filter(e=>e.kind==="placeholder").length}get(e){const t=this.list.find(r=>r.kind==="placeholder"&&(typeof e=="number"?r.placeholder?.idx===e:r.name===e||r.placeholder?.type===e));return t?this._wrap(t):void 0}add(e,t,r,i,u,o={}){const a=typeof t=="object"?t:o,s=typeof t=="object"?void 0:t;Object.values(PP_PLACEHOLDER).includes(e)||refuse(`placeholders.add(): ${e} is not one of PP_PLACEHOLDER's ${Object.keys(PP_PLACEHOLDER).join(", ")}`);const d=this.list.filter(g=>g.kind==="placeholder"),c=new Set(d.map(g=>g.placeholder?.idx));let l=e==="title"||e==="ctrTitle"?0:FOOTER_IDX[e]??1;for(;c.has(l)&&l!==0;)l++;if(c.has(l))throw new Error("A layout has one title placeholder (idx 0).");const f=a.name??NAME_OF_TYPE[e];if(this.list.some(g=>g.name===f))throw new Error(`Two shapes are ${f}: give the placeholder a name ({ name }).`);const h=[s,r,i,u].filter(g=>g!==void 0);if(h.length!==0&&h.length!==4)throw new Error("placeholders.add(type, left, top, width, height): give all four, or none to take the master's frame.");const p={name:f,kind:"placeholder",placeholder:{type:e,idx:l},...h.length===4?{frame:frameOf(s??0,r??0,i??0,u??0)}:{},text:{paragraphs:[],levels:placeholderLevels(e)}};return this.list.push(p),this._wrap(p)}},SlideLayout=class{def;master;ctx;constructor(e,t,r){return this.def=e,this.master=t,this.ctx=r,strict2(this,"SlideLayout")}get _def(){return this.def}inherit=e=>e.placeholder?masterPlaceholder(this.master._def,e.placeholder.type)?.frame:void 0;get name(){return this.def.name}get slide_master(){return this.master}get display_master_shapes(){return this.def.display_master_shapes??!0}set display_master_shapes(e){e?delete this.def.display_master_shapes:this.def.display_master_shapes=!1}get background(){return new Background(this.def)}get placeholders(){return new Placeholders(this.def.shapes,this.inherit)}get shapes(){return new ShapeCollection(this.def.shapes,this.ctx.base,this.ctx.components,this.inherit,()=>this.master._def.shapes)}},SlideLayouts=class{list;make;constructor(e,t){return this.list=e,this.make=t,strict2(this,"SlideLayouts",{index:r=>this.list[r]})}*[Symbol.iterator](){yield*this.list}get length(){return this.list.length}get_by_name(e,t){return this.list.find(r=>r.name===e)??t}index(e){const t=this.list.indexOf(e);if(t<0)throw new Error(`${e.name} is not among these layouts.`);return t}add(e,t){if(!this.make)throw new Error("A layout is added to a master: master.slide_layouts.add(name).");const r=this.make(e);return t?.(r),r}},TextStyles=class{def;constructor(e){return this.def=e,strict2(this,"text_styles")}get title_style(){return listStyleOf(this.def.title)}get body_style(){return listStyleOf(this.def.body)}get other_style(){return listStyleOf(this.def.other)}},SlideMaster=class{def;layouts=[];ctx;allLayouts;constructor(e,t,r){return this.def=e,this.ctx=t,this.allLayouts=r,strict2(this,"SlideMaster")}get _def(){return this.def}get name(){return this.def.name}get background(){return new Background(this.def)}get placeholders(){return new Placeholders(this.def.shapes)}get shapes(){return new ShapeCollection(this.def.shapes,this.ctx.base,this.ctx.components)}get text_styles(){return new TextStyles(this.def.text_styles)}get slide_layouts(){return new SlideLayouts(this.layouts,e=>{if(this.allLayouts.some(i=>i.name===e))throw new Error(`Two layouts are "${e}": a layout's name is unique in the deck, as slides.yaml names it.`);const t={name:e,master:this.def.name,shapes:[]};this.def.layouts.push(t);const r=new SlideLayout(t,this,this.ctx);return this.layouts.push(r),this.allLayouts.push(r),r})}},SlideMasters=class{list;make;constructor(e,t){return this.list=e,this.make=t,strict2(this,"SlideMasters",{index:r=>this.list[r]})}*[Symbol.iterator](){yield*this.list}get length(){return this.list.length}index(e){return this.list.indexOf(e)}add(e,t){const r=this.make(e);return t?.(r),r}},GeneratedSlide=class{own;def;layout;constructor(e,t,r){this.def=e,this.layout=t,this.own=t._def.shapes.filter(u=>u.kind==="placeholder").map(u=>({name:u.name,kind:"placeholder",...u.placeholder?{placeholder:{...u.placeholder}}:{},text:newText()}));const i=u=>{const o=t._def.shapes.find(a=>a.kind==="placeholder"&&a.placeholder?.idx===u.placeholder?.idx);return o?o.frame??(o.placeholder?masterPlaceholder(t.slide_master._def,o.placeholder.type)?.frame:void 0):void 0};return this._shapes=new ShapeCollection(this.own,r.base,r.components,i,()=>[...t.slide_master._def.shapes,...t._def.shapes]),this._placeholders=new Placeholders(this.own,i),strict2(this,"Slide")}_shapes;_placeholders;get shapes(){return this._shapes}get placeholders(){return this._placeholders}get slide_id(){return this.def.id}get slide_layout(){return this.layout}get has_notes_slide(){return this.def.notes!==void 0}get notes_slide(){const e=this.def;return strict2({notes_text_frame:strict2({get text(){return e.notes??""},set text(t){e.notes=t}},"TextFrame")},"NotesSlide")}get transition(){return this.def.transition}set transition(e){e===void 0?delete this.def.transition:this.def.transition=e}get animations(){return new Animations(this.def.animations??=[])}_done(){const e={},t=[];for(const r of this.own)r.kind==="placeholder"&&r.placeholder?(r.text?.paragraphs.some(i=>i.runs.length>0)&&(e[r.placeholder.idx]=r.text.paragraphs),r.frame&&t.push({...r,text:newText()})):t.push(r);return{...this.def,shapes:t,text:e}}},Animations=class{list;constructor(e){return this.list=e,strict2(this,"Animations")}add(e,t,r={}){this.list.push({shape:typeof e=="string"?e:e.name,effect:t,...r})}get length(){return this.list.length}},GeneratedSlides=class{gen;constructor(e){return this.gen=e,strict2(this,"slides")}add_slide(e,t){return this.gen._add(e,t)}},Generator=class{list=[];prs;ctx;constructor(e,t){return this.prs=e,this.ctx=t,strict2(this,"Generator")}data(e){return this.ctx.data(e)}get slides(){return new GeneratedSlides(this)}_add(e,t){const r=typeof e=="string"?this.prs._layout(e):e;if(!r)throw new Error(`add_slide(): the presentation has no layout ${typeof e=="string"?e:e.name}.`);if(!/^[A-Za-z0-9_-]+$/u.test(t))throw new Error(`add_slide(): ${t} is not an id of letters, digits, _ and -.`);if(this.list.some(u=>u.slide_id===t))throw new Error(`add_slide(): two slides are ${t}.`);const i=new GeneratedSlide({id:t,layout:r.name,shapes:[],text:{}},r,this.prs._ctx);return this.list.push(i),i}_made(){return this.list.map(e=>e._done())}},cloneStyles=()=>JSON.parse(JSON.stringify(OFFICE_TEXT_STYLES)),Presentation=class{masters=[];layouts=[];def;_ctx;constructor(e,t){return this.def={slide_width:e[0],slide_height:e[1],masters:[],components:{},generators:{}},this._ctx={base:t,components:()=>this.def.components},strict2(this,"Presentation")}get _def(){return this.def}get slide_width(){return length(this.def.slide_width)}set slide_width(e){this.def.slide_width=e}get slide_height(){return length(this.def.slide_height)}set slide_height(e){this.def.slide_height=e}get slide_masters(){return new SlideMasters(this.masters,e=>{if(this.masters.some(i=>i.name===e))throw new Error(`Two masters are "${e}".`);const t={name:e,background:"lt1",text_styles:cloneStyles(),shapes:[],layouts:[]};this.def.masters.push(t);const r=new SlideMaster(t,this._ctx,this.layouts);return this.masters.push(r),r})}get slide_master(){const e=this.masters[0];if(!e)throw new Error("The presentation has no master yet: prs.slide_masters.add(name) makes one.");return e}get slide_layouts(){const e=this.masters[0];return e?e.slide_layouts:new SlideLayouts([])}get slides(){return refuse("A deck's slides are slides.yaml's, in order, each on a layout, and their words the script's; slides made from data are a generator's (prs.generators.add)")}save(){return refuse("A deck is not saved by its code: allyhub render writes its PDF, pictures and PPTX")}get theme(){return this.def.theme??={},this.def.theme}set theme(e){this.def.theme=e}get components(){return strict2({add:(e,t)=>{if(Object.hasOwn(this.def.components,e))throw new Error(`Two components are "${e}".`);const r=framedComponent(e,t);if(!r)throw new Error(`Component ${e} is not a component: give what defineComponent makes, or { props, layers }.`);this.def.components[e]=r}},"components")}get generators(){return strict2({add:(e,t)=>{if(Object.hasOwn(this.def.generators,e))throw new Error(`Two generators are "${e}".`);this.def.generators[e]={name:e,make:r=>{const i=new Generator(this,r);return t(i),i._made()}}}},"generators")}_layout(e){return this.layouts.find(t=>t.name===e)}},DECK_BRAND="__allyhubDeck";function isDeck(e){return typeof e=="object"&&e!==null&&DECK_BRAND in e}function evaluateDeck(e){const t=e.options.size??"16:9",r=typeof t=="string"?SLIDE_SIZES[t]:[t.width,t.height],i=e.written.file.split("/").slice(0,-1).join("/"),u=new Presentation(r,i);return e.options.theme&&(u.theme=JSON.parse(JSON.stringify(e.options.theme))),e.build(u),u._def}var pointsOf=e=>e===void 0?void 0:e/Pt(1),ChartFont=class{read;write;constructor(e,t){return this.read=e,this.write=t,strict2(this,"ChartFont")}get size(){const e=this.read().size;return e===void 0?void 0:length(Pt(e))}set size(e){const t=this.read(),r=pointsOf(e);this.write({...t.color===void 0?{}:{color:t.color},...r===void 0?{}:{size:r}})}get color(){return new ColorFormat(()=>this.read().color,e=>{const{size:t}=this.read();this.write({...t===void 0?{}:{size:t},...e===void 0?{}:{color:e}})})}},ChartLine=class{read;write;constructor(e,t){return this.read=e,this.write=t,strict2(this,"ChartLine")}get color(){return new ColorFormat(this.read,this.write)}},ChartSeries=class{def;at;constructor(e,t){return this.def=e,this.at=t,strict2(this,"ChartSeries")}get name(){return this.def.name}get values(){return this.def.values}get marker(){const e=this.def;return strict2({get size(){return e.marker_size},set size(t){t===void 0?delete e.marker_size:e.marker_size=t}},"Marker")}get smooth(){return this.def.smooth===!0}set smooth(e){this.def.smooth=e}get format(){const e=this.def;return strict2({line:strict2({get width(){return e.line_width===void 0?void 0:length(Pt(e.line_width))},set width(t){t===void 0?delete e.line_width:e.line_width=t/Pt(1)}},"LineFormat"),fill:new FillFormat(()=>this.def.color??accentOf(this.at),t=>{t!==null&&(this.def.color=t)})},"ChartFormat")}},DataLabels=class{def;constructor(e){return this.def=e,strict2(this,"DataLabels")}get show_value(){return this.def.show_value??!1}set show_value(e){this.def.show_value=e}get show_percentage(){return this.def.show_percentage??!1}set show_percentage(e){this.def.show_percentage=e}get show_category_name(){return this.def.show_category_name??!1}set show_category_name(e){this.def.show_category_name=e}get show_series_name(){return this.def.show_series_name??!1}set show_series_name(e){this.def.show_series_name=e}get number_format(){return this.def.number_format??"General"}set number_format(e){this.def.number_format=e}get position(){return this.def.position}set position(e){e===void 0?delete this.def.position:this.def.position=e}get font(){return new ChartFont(()=>({...this.def.size===void 0?{}:{size:this.def.size},...this.def.color===void 0?{}:{color:this.def.color}}),e=>{delete this.def.size,delete this.def.color,Object.assign(this.def,e)})}},ChartPlot=class{def;constructor(e){return this.def=e,strict2(this,"ChartPlot")}get categories(){return this.def.categories}get series(){return this.def.series.map((e,t)=>new ChartSeries(e,t))}get has_data_labels(){return this.def.labels!==void 0}set has_data_labels(e){e?this.def.labels??={show_value:!0}:delete this.def.labels}get data_labels(){return this.def.labels??={show_value:!0},new DataLabels(this.def.labels)}get gap_width(){return this.def.gap_width??150}set gap_width(e){this.def.gap_width=e}get overlap(){return this.def.overlap??0}set overlap(e){this.def.overlap=e}get vary_by_categories(){return this.def.vary_by_categories??isRound(this.def.type)}set vary_by_categories(e){this.def.vary_by_categories=e}},ChartLegend=class{def;constructor(e){return this.def=e,strict2(this,"ChartLegend")}get position(){return this.def.legend??"right"}set position(e){this.def.legend=e}get include_in_layout(){return this.def.legend_overlay!==!0}set include_in_layout(e){e?delete this.def.legend_overlay:this.def.legend_overlay=!0}},TickLabels=class{def;constructor(e){return this.def=e,strict2(this,"TickLabels")}get number_format(){return this.def.number_format??"General"}set number_format(e){this.def.number_format=e}},MajorGridlines=class{line;constructor(e){return this.line=e,strict2(this,"MajorGridlines")}get format(){return new ChartFormat(this.line)}},ChartFormat=class{held;constructor(e){return this.held=e,strict2(this,"ChartFormat")}get line(){return this.held}},ChartAxis=class{def;constructor(e){return this.def=e,strict2(this,"ChartAxis")}get minimum_scale(){return this.def.minimum_scale}set minimum_scale(e){e===void 0?delete this.def.minimum_scale:this.def.minimum_scale=e}get maximum_scale(){return this.def.maximum_scale}set maximum_scale(e){e===void 0?delete this.def.maximum_scale:this.def.maximum_scale=e}get major_unit(){return this.def.major_unit}set major_unit(e){e===void 0?delete this.def.major_unit:this.def.major_unit=e}get has_major_gridlines(){return this.def.has_major_gridlines??!0}set has_major_gridlines(e){this.def.has_major_gridlines=e}get visible(){return this.def.visible??!0}set visible(e){this.def.visible=e}get reverse_order(){return this.def.reverse_order??!1}set reverse_order(e){this.def.reverse_order=e}get tick_labels(){return new TickLabels(this.def)}get major_gridlines(){return new MajorGridlines(new ChartLine(()=>this.def.gridline_color,e=>{e===void 0?delete this.def.gridline_color:this.def.gridline_color=e}))}get format(){return new ChartFormat(new ChartLine(()=>this.def.line_color,e=>{e===void 0?delete this.def.line_color:this.def.line_color=e}))}},Chart=class{def;constructor(e){return this.def=e,strict2(this,"Chart")}get chart_type(){return this.def.type}get has_legend(){return this.def.legend!==void 0}set has_legend(e){e?this.def.legend??="right":delete this.def.legend}get legend(){return new ChartLegend(this.def)}get has_title(){return this.def.title!==void 0}set has_title(e){e?this.def.title??="":delete this.def.title}get chart_title(){const e=this.def;return strict2({font:strict2({get size(){return e.title_size===void 0?void 0:length(Pt(e.title_size))},set size(t){t===void 0?delete e.title_size:e.title_size=t/Pt(1)}},"Font"),text_frame:strict2({get text(){return e.title??""},set text(t){e.title=t}},"TextFrame")},"ChartTitle")}get font(){return new ChartFont(()=>({...this.def.font_size===void 0?{}:{size:this.def.font_size},...this.def.font_color===void 0?{}:{color:this.def.font_color}}),e=>{delete this.def.font_size,delete this.def.font_color,e.size!==void 0&&(this.def.font_size=e.size),e.color!==void 0&&(this.def.font_color=e.color)})}get plots(){return[new ChartPlot(this.def)]}get series(){return this.def.series.map((e,t)=>new ChartSeries(e,t))}get value_axis(){return this.def.value_axis??={},new ChartAxis(this.def.value_axis)}get category_axis(){return this.def.category_axis??={},new ChartAxis(this.def.category_axis)}replace_data(e){const t=this.def.series;this.def.categories=[...e.categories],this.def.series=e._series().map((r,i)=>{const u=t[i]?.color;return u===void 0?r:{...r,color:u}})}},DECK_FONTS={major:"Arial",minor:"Arial",major_east_asian:"Microsoft YaHei",minor_east_asian:"Microsoft YaHei",code:"Courier New"},EAST_ASIAN_FONT=DECK_FONTS.minor_east_asian,OFFICE_THEME={name:"Office",colors:{dk1:"#000000",lt1:"#FFFFFF",dk2:"#44546A",lt2:"#E7E6E6",accent1:"#4472C4",accent2:"#ED7D31",accent3:"#A5A5A5",accent4:"#FFC000",accent5:"#5B9BD5",accent6:"#70AD47",hlink:"#0563C1",folHlink:"#954F72"},fonts:{major:"Calibri Light",minor:"Calibri",major_east_asian:EAST_ASIAN_FONT,minor_east_asian:EAST_ASIAN_FONT,code:DECK_FONTS.code}};function themeOfLook(e){return{name:e.name??"look",colors:{...OFFICE_THEME.colors,dk1:e.color.fg,lt1:e.color.bg,dk2:e.color.muted,lt2:e.color.surface,accent1:e.color.accent},fonts:{...DECK_FONTS}}}function themeOver(e,t){return t?{name:t.name??e.name,colors:{...e.colors,...t.colors},fonts:{...e.fonts,...t.fonts}}:e}var fontFace=e=>(e.split(",")[0]??e).trim().replace(/^["']|["']$/gu,"").replace(/ Variable$/u,"");function deckCode(e,t){const r={};for(const[u,o]of Object.entries(e.generators))try{r[u]=o.make({data:t??(()=>{throw new Error("No data here.")})})}catch(a){r[u]={error:a instanceof Error?a.message:String(a),...a instanceof Error&&a.stack!==void 0?{stack:a.stack}:{}}}const i={slide_width:e.slide_width,slide_height:e.slide_height,...e.theme===void 0?{}:{theme:e.theme},masters:e.masters,components:Object.fromEntries(Object.entries(e.components).map(([u,o])=>[u,{props:o.props}])),generators:r};return plainCode(i)}function plainCode(e){const t=JSON.stringify(e),r=JSON.parse(t);if(!isDeckCode(r))throw new Error("The deck's code made something that is not data.");return r}function isDeckCode(e){return DeckCodeSchema.safeParse(e).success}function joinPath2(e,t){if(t.startsWith("/"))return t.slice(1);const r=e===""?[]:e.split("/");for(const i of t.split("/"))i===""||i==="."||(i===".."?r.pop():r.push(i));return r.join("/")}var NO_FRAME2={left:0,top:0,width:0,height:0},fallbackLevels=()=>Array.from({length:9},()=>({...TEXT_FALLBACK,font:{...TEXT_FALLBACK.font},margin_left:0}));function levelsOver(e,...t){return e.map((r,i)=>{let u={...r,font:{...r.font}};for(const o of t){const a=o?.[i];a&&(u={...u,...a.alignment===void 0?{}:{alignment:a.alignment},...a.line_spacing===void 0?{}:{line_spacing:a.line_spacing},...a.space_before===void 0?{}:{space_before:a.space_before},...a.space_after===void 0?{}:{space_after:a.space_after},...a.margin_left===void 0?{}:{margin_left:a.margin_left},...a.indent===void 0?{}:{indent:a.indent},font:{...u.font,...a.font}},a.numbered!==void 0&&(u.numbered=a.numbered,delete u.bullet),a.bullet===null?(delete u.bullet,delete u.numbered):a.bullet!==void 0?(delete u.numbered,u.bullet={char:a.bullet,...a.bullet_font===void 0?{}:{font:a.bullet_font}}):a.bullet_font!==void 0&&u.bullet&&(u.bullet={...u.bullet,font:a.bullet_font}))}return u})}function bodyOf(e,...t){const r=t.filter(u=>u!==void 0),i=u=>{for(let o=r.length-1;o>=0;o--){const a=r[o]?.[u];if(a!==void 0)return a}};return{vertical_anchor:i("vertical_anchor")??e.vertical_anchor,auto_size:i("auto_size")??e.auto_size,word_wrap:i("word_wrap")??e.word_wrap,margins:{left:i("margin_left")??TEXT_INSETS.left,top:i("margin_top")??TEXT_INSETS.top,right:i("margin_right")??TEXT_INSETS.right,bottom:i("margin_bottom")??TEXT_INSETS.bottom}}}var PLAIN={vertical_anchor:"t",auto_size:"none",word_wrap:!0};function plainStyle(e,t){return{...bodyOf(PLAIN,t),levels:levelsOver(fallbackLevels(),e.text_styles.other,t.levels)}}function placeholderStyle(e,t,...r){return{...bodyOf(placeholderFrame(t),...r),levels:levelsOver(fallbackLevels(),e.text_styles[styleKindOf(t)],...r.map(i=>i?.levels))}}var AUTOSHAPE_LEVELS=Array.from({length:9},()=>({font:{color:AUTOSHAPE_STYLE.font_color}})),AUTOSHAPE_FRAME={vertical_anchor:AUTOSHAPE_STYLE.vertical_anchor};function autoshapeStyle(e,t){return{...bodyOf(PLAIN,t),levels:levelsOver(fallbackLevels(),e.text_styles.other,AUTOSHAPE_LEVELS,t.levels)}}var ownOf2=e=>{const t={...e};return delete t.paragraphs,t},fileFrame=e=>({paragraphs:[],levels:[],...e}),lineOfFile=e=>e==="none"?null:colorOfFile3(e),WORDS_SPAN=/<span((?:\s+(?:color|font|size|bold|italic|underline|link|highlight|baseline|strike)="[^"\n]*")+)\s*>(.*?)<\/span>/gu,SPAN_ATTR=/(color|font|size|bold|italic|underline|link|highlight|baseline|strike)="([^"\n]*)"/gu,SPAN=57344,SPANS=256,SPAN_END="",SPAN_PART=/[\ue000-\ue100]|[^\ue000-\ue100]+/gu,colorOfFile3=e=>colorOfFile(e)??"dk1";function effectsOfFile(e){const{shadow:t,gradient:r}=e;return{...e.fill_transparency===void 0?{}:{fill_transparency:e.fill_transparency},...r?{gradient:{angle:r.angle??0,stops:r.stops.map(i=>({at:i.at,color:colorOfFile3(i.color),...i.transparency===void 0?{}:{transparency:i.transparency}}))}}:{},...t?{shadow:{color:t.color===void 0?SHADOW_DEFAULTS.color:colorOfFile3(t.color),blur:t.blur===void 0?SHADOW_DEFAULTS.blur:Pt(t.blur),distance:t.distance===void 0?SHADOW_DEFAULTS.distance:Pt(t.distance),angle:t.angle??SHADOW_DEFAULTS.angle,transparency:t.transparency??SHADOW_DEFAULTS.transparency}}:{}}}function tableOf(e,t,r=[]){return{...e,rows:e.rows.map((i,u)=>({height:i.height,cells:i.cells.map(o=>{const a=r[u];return{...o,text:{paragraphs:o.text.paragraphs,style:withFileStyle({...plainStyle(t,o.text),auto_size:"shape"},a),own:ownOf2(o.text),empty:!1},...a?{fileText:a}:{}}})}))}}function withFileStyle(e,t){return t?{...e,...t.anchor===void 0?{}:{vertical_anchor:t.anchor},levels:e.levels.map(r=>{const i={...r.font,...t.size===void 0?{}:{size:Pt(t.size)},...t.bold===void 0?{}:{bold:t.bold},...t.italic===void 0?{}:{italic:t.italic},...t.underline===void 0?{}:{underline:t.underline},...t.strike===void 0?{}:{strike:t.strike},...t.font===void 0?{}:{name:t.font}};t.color!==void 0&&(i.color=colorOfFile3(t.color));const u={...r,font:i,...t.align===void 0?{}:{alignment:t.align},...t.line_spacing===void 0?{}:{line_spacing:{lines:t.line_spacing}},...t.space_before===void 0?{}:{space_before:Pt(t.space_before)},...t.space_after===void 0?{}:{space_after:Pt(t.space_after)}};return t.numbered!==void 0?(u.numbered=t.numbered,delete u.bullet):t.bullet===!1?(delete u.bullet,delete u.numbered):t.bullet!==void 0&&(u.bullet={char:t.bullet},delete u.numbered),(t.numbered!==void 0||t.bullet!==void 0&&t.bullet!==!1)&&r.margin_left===0?{...u,margin_left:LIST_INDENT,indent:-LIST_INDENT}:u})}:e}function underFileStyle(e,t){if(!t)return[...e];const r=t.numbered!==void 0||t.bullet!==void 0;return e.map(i=>{const u={...i};return t.align!==void 0&&delete u.alignment,t.line_spacing!==void 0&&delete u.line_spacing,t.space_before!==void 0&&delete u.space_before,t.space_after!==void 0&&delete u.space_after,r&&(delete u.bullet,delete u.bullet_font,delete u.numbered),u})}function spanFont(e){const t={};for(const[,r,i=""]of e.matchAll(SPAN_ATTR))if(r==="font")t.name=i.trim();else if(r==="link")t.link=i.trim();else if(r==="highlight")t.highlight=i.trim().toUpperCase();else if(r==="bold")t.bold=i.trim()!=="false";else if(r==="italic")t.italic=i.trim()!=="false";else if(r==="strike")t.strike=i.trim()!=="false";else if(r==="underline")t.underline=i.trim()!=="false";else if(r==="size"){const u=Number(i);Number.isFinite(u)&&u>0&&(t.size=Pt(u))}else if(r==="baseline"){const u=Number(i);Number.isFinite(u)&&(t.baseline=u)}else{const u=colorOfFile(i.trim());u!==void 0&&(t.color=u)}return t}var LIST_INDENT=342900;function paragraphsOfWords(e,t=0,r=DECK_FONTS.code){return e===void 0?[]:typeof e=="string"?e.split(/\r?\n/u).map(i=>{const u=[],o=i.replace(WORDS_SPAN,(c,l,f)=>(u.push(spanFont(l)),`${String.fromCharCode(SPAN+u.length-1)}${f}${SPAN_END}`)),a=readMarks(o);let s;const d=markRuns(a.text,a.marks).flatMap(c=>{const l=c.kinds.includes("code"),f={...c.kinds.includes("strong")?{bold:!0}:{},...c.kinds.includes("em")?{italic:!0}:{},...l?{name:r}:{}};return[...c.text.matchAll(SPAN_PART)].flatMap(h=>{const p=h[0],g=p.charCodeAt(0);if(p===SPAN_END)return s=void 0,[];if(g>=SPAN&&g<SPAN+SPANS)return s=u[g-SPAN],[];const v={...s,...f};return[{text:p,...Object.keys(v).length>0?{font:v}:{},...l?{code:!0}:{}}]})});return{runs:d.length>0?d:[{text:""}],level:t}}):e.flatMap(i=>paragraphsOfWords(i,Array.isArray(i)?Math.min(t+1,8):t,r))}var frameOfFile=e=>({left:Pt(e.x),top:Pt(e.y),width:Pt(e.w),height:Pt(e.h)}),HEADER_FOOTER=new Set(["dt","ftr","sldNum"]),placementOfFile=e=>({...e.locked?{locked:!0}:{},...e.rotation===void 0||e.rotation===0?{}:{rotation:e.rotation},...e.flip_h||e.flip_v?{flip:{...e.flip_h?{h:!0}:{},...e.flip_v?{v:!0}:{}}}:{}});function backgroundOver(e,t,r){if(!t)return;t.fill!==void 0&&(e.background=colorOfFile3(t.fill));const i=t.gradient&&effectsOfFile({gradient:t.gradient}).gradient;i&&(e.background_gradient=i),t.picture!==void 0&&(e.background_picture=joinPath2(r,t.picture))}var cropOf=e=>e===void 0?void 0:{left:e.left??0,top:e.top??0,right:e.right??0,bottom:e.bottom??0};function resolveDeck(e){const{code:t,file:r,words:i,prefix:u,base:o}=e,a=[],s=themeOver(e.theme??OFFICE_THEME,t.theme),d=new Map;for(const m of t.masters)for(const y of m.layouts)d.set(y.name,{layout:y,master:m});const c=[],l=(m,y,E)=>({name:m.name,kind:m.kind,frame:{...m.frame??NO_FRAME2},...m.flip?{flip:{...m.flip}}:{},...m.rotation===void 0?{}:{rotation:m.rotation},level:y,...m.text?{text:{paragraphs:m.text.paragraphs,style:m.kind==="autoshape"?autoshapeStyle(E,m.text):plainStyle(E,m.text),own:ownOf2(m.text),empty:!1}}:{},...m.fill===void 0?{}:{fill:m.fill},...m.fill_transparency===void 0?{}:{fill_transparency:m.fill_transparency},...m.gradient?{gradient:m.gradient}:{},...m.shadow?{shadow:m.shadow}:{},...m.line===void 0?{}:{line:m.line},...m.line_width===void 0?{}:{line_width:m.line_width},...m.line_dash===void 0?{}:{line_dash:m.line_dash},...m.line_begin===void 0?{}:{line_begin:m.line_begin},...m.line_end===void 0?{}:{line_end:m.line_end},...m.path?{path:m.path}:{},...m.table?{table:tableOf(m.table,E)}:{},...m.chart?{chart:m.chart}:{},...m.group===void 0?{}:{group:m.group},...m.geometry?{geometry:m.geometry}:{},...m.adjustments?{adjustments:[...m.adjustments]}:{},...m.media?{media:{path:joinPath2(m.media.base,m.media.path),...m.media.poster===void 0?{}:{poster:m.media.poster}}}:{},...m.component?{component:{...m.component}}:{},sources:{frame:{from:y}}}),f=(m,y)=>{const E=m.placeholder?.type??"body",D=masterPlaceholder(y,E),b=m.frame??D?.frame??NO_FRAME2;return{name:m.name,kind:"placeholder",frame:{...b},level:"slide",...m.placeholder?{placeholder:{...m.placeholder}}:{},text:{paragraphs:[],style:placeholderStyle(y,E,D?.text,m.text),empty:!0},...m.fill===void 0?{}:{fill:m.fill},...m.line===void 0?{}:{line:m.line},sources:{frame:{from:m.frame||!D?"layout":"master"},text:{from:"layout"}}}},h=(m,y,E)=>{const D=t.components[m];if(!D){a.push({...E,message:/\.[cm]?[jt]sx?(?:#|$)/u.test(m)?`${m} names no component: its module has no such export, or the export is not made with defineComponent.`:`There is no component ${m} in slides.ts (it has ${Object.keys(t.components).join(", ")||"none"}).`});return}for(const b of Object.keys(y??{}))Object.hasOwn(D.props,b)||a.push({...E,message:`Component ${m} has no prop ${b} a person sets (it has ${Object.keys(D.props).join(", ")||"none"}).`});return{name:m,props:{...y??{}}}},p=(m,y,E,D,b)=>{const _={slide:D,shape:m,path:E};if(!y.frame){a.push({..._,message:`Shape ${m} is the slide's own: it needs a frame { x, y, w, h } in points.`});return}const w=frameOfFile(y.frame),B={frame:{from:"slide",path:`${E}.frame`}},F={name:m,frame:w,level:"slide",...y.fill===void 0?{}:{fill:lineOfFile(y.fill)},...effectsOfFile(y),...y.line===void 0?{}:{line:lineOfFile(y.line)},...y.line_dash===void 0?{}:{line_dash:y.line_dash},...y.line_begin===void 0?{}:{line_begin:y.line_begin},...y.line_end===void 0?{}:{line_end:y.line_end},...y.group===void 0?{}:{group:y.group},...placementOfFile(y)};if(y.textbox)return{...F,kind:"textbox",text:{paragraphs:paragraphsOfWords(i(`${u}.${D}.${m}`),0,s.fonts.code),style:withFileStyle(plainStyle(b,fileFrame(DRAWN_TEXTBOX_FRAME)),y.text),own:ownOf2(fileFrame(DRAWN_TEXTBOX_FRAME)),empty:!1},...y.text?{fileText:{...y.text}}:{},sources:{...B,text:{from:"slide",path:`${E}.text`}}};if(y.picture!==void 0){const L=cropOf(y.crop);return{...F,kind:"picture",media:{path:joinPath2(o,y.picture),...L?{crop:L}:{}},sources:{...B,media:{from:"slide",path:`${E}.picture`}}}}if(y.movie!==void 0)return{...F,kind:"movie",media:{path:joinPath2(o,y.movie),...y.poster===void 0?{}:{poster:y.poster}},sources:{...B,media:{from:"slide",path:`${E}.movie`}}};if(y.chart){const L=i(`${u}.${D}.${m}`),O=chartOfFile(y.chart,{title:typeof L=="string"?L:void 0,base:o,rows:k=>e.data?.(k),problem:k=>{a.push({..._,message:`Chart ${m}: ${k}`})}});return O?{...F,kind:"chart",chart:O,sources:B}:void 0}if(y.table){const L=y.table,O=w.width/L.columns.reduce((I,M)=>I+M,0),k=w.height/L.rows.reduce((I,M)=>I+M.height,0),j=i(`${u}.${D}.${m}`),T=Array.isArray(j)?j:[];return T.length>L.rows.length&&a.push({..._,message:`Table ${m} has ${String(L.rows.length)} rows and its words ${String(T.length)}.`}),{...F,kind:"table",table:tableOf({columns:L.columns.map(I=>Math.round(I*O)),rows:L.rows.map((I,M)=>{const P=T[M],R=Array.isArray(P)?P:P===void 0?[]:[P];return{height:Math.round(I.height*k),cells:L.columns.map((N,W)=>({text:{levels:[],paragraphs:paragraphsOfWords(R[W],0,s.fonts.code)},...I.fill===void 0?{}:{fill:colorOfFile3(I.fill)},...I.line===void 0?{}:{borders:{bottom:{color:colorOfFile3(I.line),width:Pt(1)}}}}))}})},b,L.rows.map(I=>I.text)),sources:B}}const $=y.path&&pathSteps(y.path.d);if(y.path&&!$){a.push({..._,message:`Shape ${m}'s path starts with M and says only M, L, C and Z, absolute.`});return}if(y.geometry!==void 0||y.path&&$){const L=!y.path&&isConnectorGeometry(y.geometry);return{...F,kind:"autoshape",...y.path&&$?{path:{w:y.path.w,h:y.path.h,steps:$}}:y.geometry===void 0?{}:{geometry:y.geometry,...y.adjustments?{adjustments:[...y.adjustments]}:{}},...L?{line:y.line===void 0?CONNECTOR_STYLE.line:lineOfFile(y.line),line_width:y.line_width===void 0?CONNECTOR_STYLE.line_width:Pt(y.line_width)}:{fill:y.fill===void 0?AUTOSHAPE_STYLE.fill:lineOfFile(y.fill),line:y.line===void 0?AUTOSHAPE_STYLE.line:lineOfFile(y.line),line_width:y.line_width===void 0?AUTOSHAPE_STYLE.line_width:Pt(y.line_width)},...y.text&&!L?{fileText:{...y.text}}:{},...L?{}:{text:{paragraphs:paragraphsOfWords(i(`${u}.${D}.${m}`)).map(O=>y.text?.align===void 0?{alignment:AUTOSHAPE_STYLE.alignment,...O}:O),style:withFileStyle(autoshapeStyle(b,fileFrame(AUTOSHAPE_FRAME)),y.text),own:ownOf2(fileFrame(AUTOSHAPE_FRAME)),empty:!1}},sources:{...B,fill:{from:"slide",path:`${E}.fill`}}}}if(y.component!==void 0){const L=h(y.component,y.props,_);return L?{...F,kind:"component",component:L,sources:B}:void 0}},g=(m,y,E)=>{if(y.frame&&(m.frame=frameOfFile(y.frame),m.sources.frame={from:"slide",path:`${E}.frame`}),Object.assign(m,placementOfFile(y)),y.text&&m.text&&(m.text.style=withFileStyle(m.text.style,y.text),m.text.paragraphs=underFileStyle(m.text.paragraphs,y.text),m.fileText={...y.text},m.sources.text={from:"slide",path:`${E}.text`}),y.line!==void 0&&(m.line=lineOfFile(y.line),m.sources.line={from:"slide",path:`${E}.line`}),y.line_width!==void 0&&(m.line_width=Pt(y.line_width)),y.line_dash!==void 0&&(m.line_dash=y.line_dash),y.line_begin!==void 0&&(m.line_begin=y.line_begin),y.line_end!==void 0&&(m.line_end=y.line_end),y.fill!==void 0&&(m.fill=lineOfFile(y.fill),m.sources.fill={from:"slide",path:`${E}.fill`}),Object.assign(m,effectsOfFile(y)),(y.picture!==void 0||y.movie!==void 0)&&(m.placeholder?.type==="pic"||m.placeholder?.type==="media"||m.placeholder?.type==="obj")){const D=cropOf(y.crop);m.kind=y.picture!==void 0?"picture":"movie",m.media={path:joinPath2(o,y.picture??y.movie??""),...D?{crop:D}:{},...y.poster===void 0?{}:{poster:y.poster}},m.sources.media={from:"slide",path:`${E}.${y.picture!==void 0?"picture":"movie"}`},delete m.text}},v=(m,y,E,D,b)=>{const _=d.get(y);if(!_){a.push({slide:m,path:`slides.${String(E)}.layout`,message:`Slide ${m} is on the layout "${y}", which slides.ts does not have (it has ${[...d.keys()].join(", ")||"none"}).`});return}const{layout:w,master:B}=_,F=[...(w.display_master_shapes===!1?[]:B.shapes).filter(L=>L.kind!=="placeholder").map(L=>l(L,"master",B)),...w.shapes.filter(L=>L.kind!=="placeholder").map(L=>l(L,"layout",B))],$=w.shapes.filter(L=>L.kind==="placeholder").map((L,O)=>({shape:f(L,B),order:O}));return{slide:{id:m,layout:w.name,master:B.name,hidden:D,background:w.background??B.background,shapes:F,animations:[],file:{index:E,...b===void 0?{}:{generate:b}}},placed:$,master:B}},x=(m,y,E,D,b,_,w,B,F,$=()=>{})=>{const L=new Set(E.map(I=>I.shape.name));let O=E.length;for(const[I,M]of Object.entries(D??{})){const P=_(I);if(P===void 0)continue;const R=`${b}.shapes.${I}`,N=M.textbox!==void 0||M.geometry!==void 0||M.path!==void 0||M.table!==void 0||M.chart!==void 0||M.component!==void 0||(M.picture!==void 0||M.movie!==void 0)&&!L.has(P),W=E.find(Y=>Y.shape.name===P);if(W&&!N){g(W.shape,M,R),W.shown=!0,M.z!==void 0&&(W.z=M.z);continue}if(W){a.push({slide:m.id,shape:P,path:R,message:`Slide ${m.id} has a ${W.shape.kind} ${P} already: a shape of its own needs another name.`});continue}if(!N){a.push({slide:m.id,shape:P,path:R,message:`Slide ${m.id} has no shape ${P} to change (its layout's placeholders and its own shapes are ${[...L].join(", ")||"none"}).`});continue}const U=p(P,M,R,m.id,y);U&&(E.push({shape:U,order:O++,...M.z===void 0?{}:{z:M.z}}),L.add(P))}const k=E.filter(I=>I.shown===!0||!HEADER_FOOTER.has(I.shape.placeholder?.type??"")||w(I.shape)!==void 0);E.splice(0,E.length,...k),E.sort((I,M)=>(I.z??0)-(M.z??0)||I.order-M.order);const j=new Map(E.flatMap((I,M)=>I.shape.group===void 0?[]:[[I.shape.group,M]])),T=E.flatMap((I,M)=>{const P=I.shape.group;return P===void 0?[I]:j.get(P)===M?E.filter(R=>R.shape.group===P):[]});E.splice(0,E.length,...T);for(const I of E){const M=$(I.shape);M!==void 0&&(I.shape.alt=M);const P=I.shape.text;if(I.shape.kind==="placeholder"&&P){const R=w(I.shape);P.paragraphs=paragraphsOfWords(R,0,s.fonts.code),P.empty=P.paragraphs.length===0||P.paragraphs.every(N=>N.runs.every(W=>W.text===""))}}m.shapes.push(...E.map(I=>I.shape)),B!==void 0&&B.trim()!==""&&(m.notes=B);for(const[I,M]of(F??[]).entries()){const P=_(M.shape);if(P===void 0)continue;const R={slide:m.id,shape:P,path:`${b}.animations.${String(I)}`},N=m.shapes.find(U=>U.name===P&&U.level==="slide");if(!N){a.push({...R,message:`Slide ${m.id} has no shape ${P} to animate (it has ${m.shapes.filter(U=>U.level==="slide").map(U=>U.name).join(", ")}).`});continue}if(M.paragraph!==void 0&&M.paragraph>=(N.text?.paragraphs.length??0)){a.push({...R,message:`Shape ${P} has no paragraph ${String(M.paragraph)} to animate (it has ${String(N.text?.paragraphs.length??0)}).`});continue}const W=resolveAnimation({...M,shape:P});W?m.animations.push(W):a.push({...R,message:`The animation of ${P} needs a path that starts with M and says only M, L and C, absolute.`})}},A=new Set;return r.slides.forEach((m,y)=>{const E=`slides.${String(y)}`;if(m.layout!==void 0){const B=v(m.id,m.layout,y,m.hidden===!0);if(!B)return;const F=i(`${u}.${m.id}.notes`);m.transition&&(B.slide.transition=resolveTransition(m.transition)),m.advance_after!==void 0&&(B.slide.advance=m.advance_after),backgroundOver(B.slide,m.background,o),x(B.slide,B.master,B.placed,m.shapes,E,$=>$,$=>i(`${u}.${m.id}.${$.name}`),typeof F=="string"?F:void 0,m.animations,$=>{const L=i(`${u}.${m.id}.alt.${$.name}`);return typeof L=="string"?L:void 0}),c.push(B.slide),A.add(m.id);return}const D=m.generate??"",b=t.generators[D];if(b===void 0){a.push({slide:m.id,path:`${E}.generate`,message:`There is no generator ${D} in slides.ts (it has ${Object.keys(t.generators).join(", ")||"none"}).`});return}if(!Array.isArray(b)){a.push({slide:m.id,path:`${E}.generate`,message:`Generator ${D} threw: ${b.error}`,...b.stack===void 0?{}:{stack:b.stack}});return}const _=b,w=new Set(Array.isArray(m.hidden)?m.hidden:[]);for(const B of _){const F=`${m.id}/${B.id}`,$=v(F,B.layout,y,w.has(B.id),D);if(!$)continue;for(const k of B.shapes){const j=k.placeholder?$.placed.find(T=>T.shape.placeholder?.idx===k.placeholder?.idx):void 0;if(j)k.frame&&(j.shape.frame={...k.frame}),j.shape.sources.frame={from:"code"},j.shown=!0;else{const T=l(k,"layout",$.master);$.placed.push({shape:{...T,level:"slide",sources:{frame:{from:"code"}}},order:$.placed.length})}}const L=`${B.id}/`,O=B.transition??(B===_[0]?m.transition:void 0);backgroundOver($.slide,m.background,o),O&&($.slide.transition=resolveTransition(O)),x($.slide,$.master,$.placed,m.shapes,E,k=>k.startsWith(L)?k.slice(L.length):void 0,k=>{const j=k.placeholder===void 0?void 0:B.text[k.placeholder.idx];return j===void 0?void 0:j.map(T=>T.runs.map(I=>I.text).join(""))},B.notes,[...(B.animations??[]).map(k=>({...k,shape:`${L}${k.shape}`})),...m.animations??[]]);for(const k of $.slide.shapes){const j=k.placeholder===void 0?void 0:B.text[k.placeholder.idx];j&&k.text&&(k.text.paragraphs=j,k.text.empty=!1)}c.push($.slide),A.add(F)}for(const B of Object.keys(m.shapes??{})){const[F]=B.split("/");F!==void 0&&!_.some($=>$.id===F)&&a.push({slide:m.id,path:`${E}.shapes.${B}`,message:`Generator ${D} makes no slide ${F}: ${B} changes nothing.`})}}),c.forEach((m,y)=>{for(const E of m.shapes)E.placeholder?.type==="sldNum"&&E.text&&(E.text.paragraphs=[{level:0,runs:[{text:String(y+1),field:"slidenum"}]}],E.text.empty=!1)}),{deck:{width:t.slide_width,height:t.slide_height,theme:s,slides:c},problems:a}}function slideIdentity(e,t){return{schema:"allyhub-slide-v1",size:[e.width,e.height],theme:e.theme,slide:{...t,file:void 0,advance:void 0}}}var slideSign=(e,t)=>JSON.stringify(slideIdentity(e,t)),SHAPE_ATTR="data-ak-shape",LINE_WIDTH=Pt(.75),SINGLE_SPACING=1.2,MIN_FONT_SCALE=.25;function themeCss(e){const t={};for(const[r,i]of Object.entries(e.colors))t[`--ak-theme-${r}`]=i;return t["--ak-theme-major"]=family(e.fonts.major,LATIN_FALLBACK),t["--ak-theme-minor"]=family(e.fonts.minor,LATIN_FALLBACK),t["--ak-theme-major-ea"]=family(e.fonts.major_east_asian,EAST_ASIAN_FALLBACK),t["--ak-theme-minor-ea"]=family(e.fonts.minor_east_asian,EAST_ASIAN_FALLBACK),t}var EAST_ASIAN_FALLBACK='"Noto Sans SC", sans-serif',LATIN_FALLBACK=`"${DECK_FONTS.minor}", ${EAST_ASIAN_FALLBACK}`,family=(e,t)=>e.includes(",")||e.includes('"')?e:`"${e}", ${t}`,colorCss=(e,t)=>e==null?"transparent":colorRgb(e,t),fontCss=e=>e===void 0?void 0:e==="+mj-lt"?"var(--ak-theme-major)":e==="+mn-lt"?"var(--ak-theme-minor)":family(e,LATIN_FALLBACK),ALIGN={l:"left",ctr:"center",r:"right",just:"justify"},ANCHOR={t:"flex-start",ctr:"center",b:"flex-end"},EAST_ASIAN=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\u2E80-\u2FDF\u3000-\u303F\uFF00-\uFFEF]/u,AMBIGUOUS=/[\u2018\u2019\u201C\u201D\u2026\u2014\u2013\u2025\u00B7]/u;function eastAsianRuns(e,t){const r=[];for(const i of e){const u=EAST_ASIAN.test(i)||t&&AMBIGUOUS.test(i),o=r.at(-1);o?.ea===u?o.text+=i:r.push({text:i,ea:u})}return r}var fit=e=>`calc(${String(e)}px * var(--ak-fit, 1))`;function styleRun(e,t,r,i){if(!t)return;const u=fontCss(t.name);u&&(e.style.fontFamily=u),t.size!==void 0&&(e.style.fontSize=fit(t.size*r)),t.bold!==void 0&&(e.style.fontWeight=t.bold?"700":"400"),t.italic!==void 0&&(e.style.fontStyle=t.italic?"italic":"normal"),(t.underline!==void 0||t.strike!==void 0||t.link)&&(e.style.textDecorationLine=[t.underline===!0||t.link!==void 0?"underline":"",t.strike===!0?"line-through":""].filter(o=>o!=="").join(" ")||"none"),t.highlight!==void 0&&(e.style.backgroundColor=t.highlight),t.baseline!==void 0&&t.baseline!==0&&(e.style.fontSize="0.66em",e.style.verticalAlign=`${String(t.baseline/.66)}em`),t.spacing!==void 0&&(e.style.letterSpacing=fit(t.spacing*r)),t.link!==void 0?e.style.color=colorCss("hlink",i):t.color!==void 0&&(e.style.color=colorCss(t.color,i))}function bulletStyle(){if(document.getElementById("ak-bullet-style"))return;const e=document.createElement("style");e.id="ak-bullet-style",e.textContent="[data-ak-bullet]::before{content:attr(data-ak-bullet)}",document.head.append(e)}function paragraphStyle(e,t){const r=t[e.level]??t[0];if(!r)throw new Error("A text style has nine levels.");return{...r,...e.alignment===void 0?{}:{alignment:e.alignment},...e.line_spacing===void 0?{}:{line_spacing:e.line_spacing},...e.space_before===void 0?{}:{space_before:e.space_before},...e.space_after===void 0?{}:{space_after:e.space_after},...e.margin_left===void 0?{}:{margin_left:e.margin_left},...e.indent===void 0?{}:{indent:e.indent},...e.numbered===void 0?{}:{numbered:e.numbered},font:{...r.font,...e.font}}}function numberText(e,t){const r=u=>(u>26?r(Math.floor((u-1)/26)):"")+String.fromCharCode(97+(u-1)%26),i=u=>{const o=[[1e3,"m"],[900,"cm"],[500,"d"],[400,"cd"],[100,"c"],[90,"xc"],[50,"l"],[40,"xl"],[10,"x"],[9,"ix"],[5,"v"],[4,"iv"],[1,"i"]];let a="",s=u;for(const[d,c]of o)for(;s>=d;)a+=c,s-=d;return a};return e==="arabicParenR"?`${String(t)})`:e==="alphaLcPeriod"?`${r(t)}.`:e==="alphaUcPeriod"?`${r(t).toUpperCase()}.`:e==="romanLcPeriod"?`${i(t)}.`:e==="romanUcPeriod"?`${i(t).toUpperCase()}.`:`${String(t)}.`}function paragraphLabels(e,t){const r=[];return e.map(i=>{const u=paragraphStyle(i,t);r.length=i.level+1,u.numbered===void 0?r[i.level]=0:r[i.level]=(r[i.level]??0)+1;const o=i.runs.some(a=>a.text!==""&&a.text!=="\v");return u.numbered===void 0?o?u.bullet?.char:void 0:numberText(u.numbered,r[i.level]??1)})}function paragraphElement(e,t,r,i,u,o){const a=paragraphStyle(e,r),s=document.createElement("div");s.dataset.akParagraph=String(t),s.dataset.akLevel=String(e.level);const d=a.font.size*u,c="lines"in a.line_spacing?String(a.line_spacing.lines*SINGLE_SPACING):fit(a.line_spacing.fixed*u),l=a.numbered===void 0&&i!==void 0;if(Object.assign(s.style,{position:"relative",textAlign:ALIGN[a.alignment],paddingLeft:`${String(a.margin_left*u)}px`,textIndent:l?"0px":`${String(a.indent*u)}px`,marginTop:t===0?"0px":fit(a.space_before*u),marginBottom:fit(a.space_after*u),lineHeight:c,fontSize:fit(d),minHeight:"lines"in a.line_spacing?fit(d*a.line_spacing.lines*SINGLE_SPACING):c}),styleRun(s,a.font,u,o),i!==void 0){bulletStyle();const f=document.createElement("span");f.dataset.akBullet=i;const h=a.numbered===void 0?a.bullet?.font:void 0;Object.assign(f.style,{position:"absolute",left:`${String((a.margin_left+a.indent)*u)}px`,...h===void 0?{}:{fontFamily:fontCss(h)}}),s.append(f)}return s}var exactSpacing=(e,t)=>!("lines"in paragraphStyle(e,t).line_spacing);function runElement(e,t,r,i=!1,u){const o=document.createElement("span");styleRun(o,e.font,t,r);const a=e.text===void 0?u:runLang(e.text,u);return a!==void 0&&a!==u&&(o.lang=a),i&&(o.style.lineHeight="0"),e.font?.link!==void 0&&(o.dataset.akLink=e.font.link),o}function eastAsianFace(e,t){return`var(--ak-theme-${(e.font?.name??t)==="+mj-lt"?"major":"minor"}-ea)`}function setText(e,t,r,i,u){const o=isCjk(i);e.replaceChildren();const a=paragraphLabels(t.paragraphs,t.style.levels);t.paragraphs.forEach((s,d)=>{const c=paragraphElement(s,d,t.style.levels,a[d],r,u),l=paragraphStyle(s,t.style.levels).font.name,f=exactSpacing(s,t.style.levels);for(const h of s.runs){const p=runElement(h,r,u,f,i),g=eastAsianFace(h,l);for(const v of eastAsianRuns(h.text.replaceAll("\v",`
|
|
75
|
+
`),o)){if(!v.ea){p.append(v.text);continue}const x=document.createElement("span");x.style.fontFamily=g,x.textContent=v.text,p.append(x)}c.append(p)}e.append(c)})}var isCjk=e=>e!==void 0&&/^(zh|ja|ko)(-|$)/iu.test(e);function textFrame(e,t,r,i){const{style:u}=e,o=u.auto_size==="shape",a=document.createElement("div");a.dataset.akText="",a.dataset.akAutofit=u.auto_size,Object.assign(a.style,{position:o?"relative":"absolute",inset:o?"auto":"0px",minHeight:"100%",display:"flex",flexDirection:"column",justifyContent:ANCHOR[u.vertical_anchor],padding:`${String(u.margins.top*t)}px ${String(u.margins.right*t)}px ${String(u.margins.bottom*t)}px ${String(u.margins.left*t)}px`,whiteSpace:u.word_wrap?"pre-wrap":"pre",overflowWrap:"break-word",boxSizing:"border-box"});const s=document.createElement("div");return s.dataset.akBody="",a.append(s),setText(s,e,t,r,i),r!==void 0&&(a.lang=r),isCjk(r)&&(a.dataset.akCjk=""),a}function fitText(e){const t=e.querySelector("[data-ak-body]");if(!t||e.dataset.akAutofit!=="text")return 1;const r=e.clientHeight-parseFloat(getComputedStyle(e).paddingTop)-parseFloat(getComputedStyle(e).paddingBottom),i=a=>(e.style.setProperty("--ak-fit",String(a)),t.scrollHeight<=r+.5);if(i(1))return delete e.dataset.akFontScale,1;let u=MIN_FONT_SCALE,o=1;if(!i(u))return e.dataset.akFontScale=u.toFixed(2),u;for(;o-u>.01;){const a=(u+o)/2;i(a)?u=a:o=a}return i(u),e.dataset.akFontScale=u.toFixed(2),u}function stepsOf(e,t,r,i){const u=e.split(" "),o=[],a=s=>{const d=Number(u[s]),c=Number(u[s+1]);return[i?.h?t-d:d,i?.v?r-c:c]};for(let s=0;s<u.length;){const d=u[s++];d==="M"||d==="L"?(o.push({op:d,at:[a(s)]}),s+=2):d==="C"?(o.push({op:d,at:[a(s),a(s+2),a(s+4)]}),s+=6):d==="Z"&&o.push({op:d})}return o}var dOf=e=>e.map(t=>t.op==="Z"?"Z":`${t.op}${t.at.map(([r,i])=>`${String(r)} ${String(i)}`).join(" ")}`).join(" ");function endOf(e,t){const r=e.flatMap(o=>o.op==="Z"?[]:o.at),i=t?[...r].reverse():r,u=i[0];if(u)for(const o of i.slice(1)){const a=Math.hypot(u[0]-o[0],u[1]-o[1]);if(a>1e-6)return{at:u,out:[(u[0]-o[0])/a,(u[1]-o[1])/a]}}}function moveEnd(e,t,r,i){const u=e.filter(s=>s.op!=="Z"),o=t?u[u.length-1]:u[0];if(!o)return;const a=t?o.at.slice(o.op==="C"?-2:-1):[...o.at,...u[1]?.op==="C"?u[1].at.slice(0,1):[]];for(const s of a)s[0]+=r,s[1]+=i}function drawConnector(e,t,r,i,u){if(t.line===null)return;const o=t.frame.width*r,a=t.frame.height*r,s=(presetOutline(t.geometry??"line",o,a,t.adjustments)?.paths??[]).filter(x=>x.stroke).map(x=>stepsOf(x.d,o,a,t.flip)),d=s[0],c=s[s.length-1];if(!d||!c)return;const l="http://www.w3.org/2000/svg",f=document.createElementNS(l,"svg");f.setAttribute("width",String(Math.max(o,1))),f.setAttribute("height",String(Math.max(a,1))),Object.assign(f.style,{position:"absolute",left:"0px",top:"0px",overflow:"visible"});const h=colorCss(t.line??CONNECTOR_STYLE.line,u),p=Math.max(i,HEAD_BASE*r),g=x=>x===void 0||x==="none"||x==="arrow"?0:p*1.5,v=[];for(const[x,A,m]of[[t.line_begin,d,!1],[t.line_end,c,!0]]){const y=endOf(A,m);if(!y)continue;const[E,D]=y.at,[b,_]=y.out,w=lineHead(x,E,D,b,_,i,p,h);w&&v.push(w);const B=g(x);B>0&&moveEnd(A,m,-b*B,-_*B)}for(const x of s){const A=document.createElementNS(l,"path");A.setAttribute("d",dOf(x)),A.setAttribute("fill","none"),A.setAttribute("stroke",h),A.setAttribute("stroke-width",String(i));const m=dashOf(t.line_dash,i);m&&A.setAttribute("stroke-dasharray",m),f.append(A)}f.append(...v),e.append(f)}var DASHES={sysDash:[3,1],sysDot:[1,1],dash:[4,3],dashDot:[4,3,1,3],lgDash:[8,3],lgDashDot:[8,3,1,3],lgDashDotDot:[8,3,1,3,1,3]},dashOf=(e,t)=>e&&DASHES[e]?.map(r=>String(r*t)).join(" "),HEAD_BASE=25200;function lineHead(e,t,r,i,u,o,a,s){if(e===void 0||e==="none")return;const d="http://www.w3.org/2000/svg",c=a*(e==="arrow"?3.5:3),l=(g,v)=>`${String(t-i*g-u*v)},${String(r-u*g+i*v)}`;if(e==="oval"){const g=document.createElementNS(d,"circle");return g.setAttribute("cx",String(t)),g.setAttribute("cy",String(r)),g.setAttribute("r",String(c/2)),g.setAttribute("fill",s),g}const f=e==="arrow",h=document.createElementNS(d,f?"polyline":"polygon"),p={triangle:[l(0,0),l(c,c/2),l(c,-c/2)],stealth:[l(0,0),l(c,c/2),l(c*.7,0),l(c,-c/2)],diamond:[l(-c/2,0),l(0,c/2),l(c/2,0),l(0,-c/2)],arrow:[l(c,c/2),l(0,0),l(c,-c/2)]}[e];return h.setAttribute("points",p.join(" ")),f?(h.setAttribute("fill","none"),h.setAttribute("stroke",s),h.setAttribute("stroke-width",String(o))):h.setAttribute("fill",s),h}function drawPath(e,t,r,i,u,o){const a=t.frame.width*i,s=t.frame.height*i,d="http://www.w3.org/2000/svg",c=document.createElementNS(d,"svg");c.setAttribute("width",String(Math.max(a,1))),c.setAttribute("height",String(Math.max(s,1))),Object.assign(c.style,{position:"absolute",left:"0px",top:"0px",overflow:"visible"}),flipCss(c,t);let l=colorCss(t.fill,o);if(t.gradient){const f=`ak-gradient-${String(gradients++)}`;c.append(svgGradient(d,f,t.gradient,t.frame,o)),l=`url(#${f})`}for(const f of r){const h=document.createElementNS(d,"path");if(h.setAttribute("d",f.d),h.setAttribute("fill-rule","evenodd"),h.setAttribute("fill",f.fill==="none"||t.fill===null||t.fill===void 0?f.fill==="none"||!t.gradient?"none":l:f.fill==="norm"?l:SHADE[f.fill](colorCss(t.fill,o))),t.fill_transparency!==void 0&&h.setAttribute("fill-opacity",String(1-t.fill_transparency)),f.stroke&&t.line!==void 0&&t.line!==null){h.setAttribute("stroke",colorCss(t.line,o)),h.setAttribute("stroke-width",String(u)),h.setAttribute("stroke-linejoin","round");const p=dashOf(t.line_dash,u);p&&h.setAttribute("stroke-dasharray",p)}c.append(h)}e.append(c)}var SHADE={darken:e=>`color-mix(in srgb, ${e} 60%, black)`,darkenLess:e=>`color-mix(in srgb, ${e} 80%, black)`,lighten:e=>`color-mix(in srgb, ${e} 60%, white)`,lightenLess:e=>`color-mix(in srgb, ${e} 80%, white)`};function freeformPaths(e,t){const r=e.path;if(!r)return[];const i=r.w===0?0:e.frame.width*t/r.w,u=r.h===0?0:e.frame.height*t/r.h;return[{d:r.steps.map(a=>a.op==="close"?"Z":a.op==="move"?`M${String(a.x*i)} ${String(a.y*u)}`:a.op==="line"?`L${String(a.x*i)} ${String(a.y*u)}`:`C${String(a.x1*i)} ${String(a.y1*u)} ${String(a.x2*i)} ${String(a.y2*u)} ${String(a.x*i)} ${String(a.y*u)}`).join(""),fill:"norm",stroke:!0}]}function flipCss(e,t){!t.flip?.h&&!t.flip?.v||(e.style.transform=`scale(${t.flip.h?"-1":"1"}, ${t.flip.v?"-1":"1"})`)}var CSS_GEOMETRIES=new Set(["rect","roundRect","ellipse"]),seen=(e,t,r)=>t===void 0||t===0?colorCss(e,r):`color-mix(in srgb, ${colorCss(e,r)} ${String((1-t)*100)}%, transparent)`,gradientCss=(e,t)=>`linear-gradient(${String(e.angle+90)}deg, ${e.stops.map(r=>`${seen(r.color,r.transparency,t)} ${String(r.at*100)}%`).join(", ")})`,fillCss=(e,t)=>e.gradient?gradientCss(e.gradient,t):e.fill===null||e.fill===void 0?"transparent":seen(e.fill,e.fill_transparency,t),gradients=0;function svgGradient(e,t,r,i,u){const o=document.createElementNS(e,"linearGradient");o.id=t;const a=r.angle*Math.PI/180,s=Math.cos(a),d=Math.sin(a),c=(Math.abs(i.width*s)+Math.abs(i.height*d))/Math.max(i.width,i.height,1)/2;o.setAttribute("x1",String(.5-s*c)),o.setAttribute("y1",String(.5-d*c)),o.setAttribute("x2",String(.5+s*c)),o.setAttribute("y2",String(.5+d*c));for(const l of r.stops){const f=document.createElementNS(e,"stop");f.setAttribute("offset",String(l.at)),f.setAttribute("stop-color",colorCss(l.color,u)),l.transparency!==void 0&&f.setAttribute("stop-opacity",String(1-l.transparency)),o.append(f)}return o}function shadowCss(e,t,r,i){const u=t.angle*Math.PI/180,o=t.distance*r;e.style.filter=`drop-shadow(${String(o*Math.cos(u))}px ${String(o*Math.sin(u))}px ${String(t.blur*r)}px ${seen(t.color,t.transparency,i)})`}function geometryCss(e,t,r){const i=t.geometry??"rect",u=t.frame.width*r,o=t.frame.height*r;i==="roundRect"?e.style.borderRadius=`${String(Math.min(u,o)*Math.min(.5,Math.max(0,t.adjustments?.[0]??adjustmentDefaults("roundRect")[0]??0)))}px`:i==="ellipse"&&(e.style.borderRadius="50%")}var BORDERS={left:"borderLeft",right:"borderRight",top:"borderTop",bottom:"borderBottom"},SVG="http://www.w3.org/2000/svg";function drawChart(e,t,r,i,u){const o=r.width/EMU_PER_PT,a=r.height/EMU_PER_PT,s=i*EMU_PER_PT,d=chartDrawing(t,o,a),c=document.createElementNS(SVG,"svg");c.setAttribute("viewBox",`0 0 ${String(o)} ${String(a)}`),c.setAttribute("width","100%"),c.setAttribute("height","100%"),Object.assign(c.style,{position:"absolute",inset:"0px",overflow:"visible"});const l=(h,p)=>{const g=document.createElementNS(SVG,h);for(const[v,x]of Object.entries(p))g.setAttribute(v,String(x));c.append(g)},f=h=>{l("path",{d:h.d,fill:h.fill===void 0?"none":colorCss(h.fill,u),stroke:h.width>0?colorCss(h.color,u):"none","stroke-width":h.width,"stroke-linejoin":"round"})};for(const h of[...d.grid,...d.shapes])f(h);for(const h of[...d.boxes,...d.keys])l("rect",{x:h.x,y:h.y,width:h.width,height:h.height,fill:colorCss(h.color,u)});for(const h of[...d.axes,...d.lines])f(h);for(const h of d.dots)l("circle",{cx:h.x,cy:h.y,r:h.r,fill:colorCss(h.color,u)});e.append(c);for(const h of d.words){const p=document.createElement("div");p.textContent=h.text,Object.assign(p.style,{position:"absolute",left:`${String(h.x*s)}px`,top:`${String(h.y*s)}px`,transform:`translate(${{start:"0",middle:"-50%",end:"-100%"}[h.anchor]}, -50%)`,fontSize:`${String(h.size*s)}px`,lineHeight:"1",whiteSpace:"nowrap",color:colorCss(h.color,u),fontFamily:"var(--ak-theme-minor)"}),e.append(p)}}function drawTable(e,t,r,i,u){const o=document.createElement("table");Object.assign(o.style,{borderCollapse:"collapse",tableLayout:"fixed",width:`${String(t.columns.reduce((s,d)=>s+d,0)*r)}px`});const a=document.createElement("colgroup");for(const s of t.columns){const d=document.createElement("col");d.style.width=`${String(s*r)}px`,a.append(d)}o.append(a);for(const[s,d]of t.rows.entries()){const c=document.createElement("tr");c.style.height=`${String(d.height*r)}px`;for(const[l,f]of d.cells.entries()){if(f.spanned)continue;const h=document.createElement("td");h.dataset.akCell=`${String(s)},${String(l)}`,f.span_width&&(h.colSpan=f.span_width),f.span_height&&(h.rowSpan=f.span_height),h.style.padding="0px",h.style.verticalAlign={t:"top",ctr:"middle",b:"bottom"}[f.text.style.vertical_anchor],f.fill!==void 0&&(h.style.background=colorCss(f.fill,u));for(const[g,v]of Object.entries(BORDERS)){const x=f.borders?.[g];x&&(h.style[v]=`${String(x.width*r)}px solid ${colorCss(x.color,u)}`)}const p=textFrame(f.text,r,i,u);p.style.minHeight="0px",h.append(p),c.append(h)}o.append(c)}e.style.height="auto",e.append(o)}function drawShape(e,t,r){const{k:i,colors:u}=r;if(t.kind==="placeholder"&&t.text?.empty===!0&&!r.editing)return;const o=document.createElement("div");o.setAttribute(SHAPE_ATTR,`${e}/${t.name}`);const{left:a,top:s,width:d,height:c}=t.frame;Object.assign(o.style,{position:"absolute",left:`${String(a*i)}px`,top:`${String(s*i)}px`,width:`${String(d*i)}px`,height:`${String(c*i)}px`}),t.rotation!==void 0&&(o.style.transform=`rotate(${String(t.rotation)}deg)`);const l=(t.line_width??LINE_WIDTH)*i;if(t.chart)drawChart(o,t.chart,t.frame,i,u);else if(t.table)return drawTable(o,t.table,i,r.lang,u),o;if(t.shadow&&shadowCss(o,t.shadow,i,u),t.alt!==void 0&&o.setAttribute("aria-label",t.alt),t.kind==="autoshape"){if(!t.path&&isConnectorGeometry(t.geometry))return drawConnector(o,t,i,l,u),o;const f=t.path?freeformPaths(t,i):CSS_GEOMETRIES.has(t.geometry??"rect")?void 0:presetOutline(t.geometry??"rect",t.frame.width*i,t.frame.height*i,t.adjustments)?.paths;if(f)return drawPath(o,t,f,i,l,u),t.text&&o.append(textFrame(t.text,i,r.lang,u)),o;o.style.background=fillCss(t,u),geometryCss(o,t,i)}else(t.fill!==void 0||t.gradient)&&(o.style.background=fillCss(t,u));if(t.line!==void 0&&t.line!==null&&(o.style.outline=`${String(l)}px ${t.line_dash===void 0||t.line_dash==="solid"?"solid":"dashed"} ${colorCss(t.line,u)}`),t.text?.style.auto_size==="shape"&&(o.style.height="auto",o.style.minHeight="0px",t.text.style.word_wrap||(o.style.width="max-content")),t.kind==="picture"&&t.media){o.style.overflow="hidden";const f=document.createElement("img");f.alt=t.alt??"",f.src=r.url(t.media.path),flipCss(f,t);const h=t.media.crop??{left:0,top:0,right:0,bottom:0},p=1-h.left-h.right,g=1-h.top-h.bottom;Object.assign(f.style,{position:"absolute",width:`${String(100/p)}%`,height:`${String(100/g)}%`,left:`${String(-h.left/p*100)}%`,top:`${String(-h.top/g*100)}%`,maxWidth:"none"}),t.flip&&(f.style.transformOrigin=`${String(50/p-h.left/p*100)}% ${String(50/g-h.top/g*100)}%`),o.append(f)}else if(t.kind==="movie"&&t.media&&!r.playing)o.dataset.akFilm="";else if(t.kind==="movie"&&t.media){const f=document.createElement("video");f.src=r.url(t.media.path),f.muted=!0,f.playsInline=!0,f.preload="auto",t.media.poster!==void 0&&(f.currentTime=t.media.poster),Object.assign(f.style,{width:"100%",height:"100%",objectFit:"fill"}),o.append(f)}return t.text&&o.append(textFrame(t.text,i,r.lang,u)),o}function drawSlide(e,t){const r=document.createElement("div");r.dataset.akSlide=e.id,Object.assign(r.style,{position:"absolute",inset:"0px",background:colorCss(e.background,t.colors),overflow:"hidden"}),e.background_gradient&&(r.style.background=gradientCss(e.background_gradient,t.colors)),e.background_picture!==void 0&&(r.style.background=`${colorCss(e.background,t.colors)} url(${JSON.stringify(t.url(e.background_picture))}) center / 100% 100% no-repeat`);for(const i of e.shapes){const u=drawShape(e.id,i,t);u&&r.append(u)}return r}var context,ctx=()=>context??=document.createElement("canvas").getContext("2d");function wordsOf(e,t){const r=ctx();if(!r)return[];const i=getComputedStyle(e);r.font=`${i.fontStyle} ${i.fontWeight} ${i.fontSize} ${i.fontFamily}`;const u=[],o=document.createRange();for(const a of e.childNodes){if(a.nodeType!==Node.TEXT_NODE)continue;const s=a.textContent??"";for(const d of s.matchAll(/\S+/gu)){o.setStart(a,d.index),o.setEnd(a,d.index+d[0].length);const c=r.measureText(d[0]);for(const l of o.getClientRects()){if(l.width===0)continue;const f=l.top+c.fontBoundingBoxAscent*t;u.push({left:l.left,right:l.right,top:f-c.actualBoundingBoxAscent*t,bottom:f+c.actualBoundingBoxDescent*t,baseline:f})}}}return u}function inkLines(e,t,r){const i=t.getBoundingClientRect(),u=i.width>0?i.width/r:1,o=e.flatMap(d=>wordsOf(d,u)).sort((d,c)=>d.baseline-c.baseline||d.left-c.left),a=[];for(const d of o){const c=a.at(-1);c&&Math.abs(d.baseline-c.baseline)<=(d.bottom-d.top)/4?(c.left=Math.min(c.left,d.left),c.right=Math.max(c.right,d.right),c.top=Math.min(c.top,d.top),c.bottom=Math.max(c.bottom,d.bottom)):a.push({...d})}const s=(d,c)=>(d-c)/u;return a.map(d=>[s(d.left,i.left),s(d.top,i.top),(d.right-d.left)/u,(d.bottom-d.top)/u])}function union2(e){if(e.length===0)return null;const t=Math.floor(Math.min(...e.map(o=>o[0]))),r=Math.floor(Math.min(...e.map(o=>o[1]))),i=Math.ceil(Math.max(...e.map(o=>o[0]+o[2]))),u=Math.ceil(Math.max(...e.map(o=>o[1]+o[3])));return[t,r,i-t,u-r]}var SLIDE_LAYER="slide",SLIDES_KEPT=5,PLAYING_GAP=.5,VIDEO_DRIFT=.3,NO_SAFE2={top:0,bottom:0,left:0,right:0};async function playOut(e){e.muted=!1,await e.play().catch(async()=>{e.muted=!0,await e.play().catch(()=>{})})}function wordsReader(e){const t=r=>{if(e.peek(r)!==void 0)return e.s(r);const i=[...new Set(e.keysUnder(r).map(u=>u.slice(r.length+1).split(".")[0]).filter(u=>u!==void 0&&/^\d+$/u.test(u)))].sort((u,o)=>Number(u)-Number(o));if(i.length!==0)return i.map(u=>t(`${r}.${u}`)).filter(u=>u!==void 0)};return t}var isDrawn=e=>!(e.kind==="placeholder"&&e.text?.empty===!0),isGraphic=e=>typeof e=="object"&&e!==null&&e[LAYER_BRAND]==="graphic";async function loadStyles2(e){for(const t of e.styles??[]){const r=document.createElement("link");r.rel="stylesheet",r.href=t;const i=new Promise(u=>{r.onload=u,r.onerror=u});document.head.append(r),await i}}async function importDeck(e){await loadStyles2(e);let t;try{t=await consoleAtAsync({phase:"module"},()=>import(e.module))}catch(u){const o=u instanceof Error?u:new Error(String(u));throw new LoadFailure("load_failed",`Failed to load the deck's module: ${o.message}
|
|
76
|
+
${o.stack??""}`)}const r=t.default;if(!isDeck(r))throw new LoadFailure("no_content",`The default export of ${e.file} is not a presentation({ … }) from @allyhub/sdk/slides.`);let i;try{i=consoleAt({phase:"build"},()=>evaluateDeck(r))}catch(u){throw new LoadFailure("load_failed",`The deck's code failed: ${u instanceof Error?u.message:String(u)}`)}for(const[u,o]of Object.entries(moduleComponents(t)))Object.hasOwn(i.components,u)||(i.components[u]=o);return i}function moduleComponents(e){const t=e.components,r={};if(typeof t!="object"||t===null)return r;for(const[i,u]of Object.entries(t)){const o=framedComponent(i,u);o&&(r[i]=o)}return r}async function deckCodeOf(e,t){const{log:r}=createEnv(e,t),i=await importDeck(e);return{code:consoleAt({phase:"build"},()=>deckCode(i,o=>r.readData(o))),theme:lookTheme(e)}}var lookTheme=e=>themeOfLook(e.looks?.clean??CLEAN_LOOK);async function loadDeck(e,t,r){const i=createEnv(e,t),{log:u,ledger:o,guards:a}=i,[s,d]=e.format.split("x").map(Number);if(!(s>0&&d>0))throw new LoadFailure("bad_format",`${e.piece} is drawn at ${e.format}: a deck's stage is WIDTHxHEIGHT pixels.`);const c=await importDeck(e),l=isDeckCode(e.code)?e.code:consoleAt({phase:"build"},()=>deckCode(c,S=>u.readData(S))),f=messagePrefix(e.piece),h=e.looks?.clean??CLEAN_LOOK,p=e.file.split("/").slice(0,-1).join("/"),g={file:`${p===""?"":`${p}/`}${SLIDES_FILE}`},{deck:v}=resolveDeck({code:l,file:e.slides??{slides:[]},words:wordsReader(u),prefix:f,base:p,theme:lookTheme(e),data:S=>u.readData(S)});let x=v;if(x.slides.length===0)throw new LoadFailure("no_parts","The deck has no slides to draw (AK-K003).");const A=s/x.width;Object.assign(r.style,{position:"relative",width:`${String(s)}px`,height:`${String(d)}px`,overflow:"hidden"});const m=()=>{for(const[S,Z]of Object.entries({...lookCss(h),...themeCss(x.theme)}))r.style.setProperty(S,Z)};m(),r.replaceChildren();const y=t.purpose==="play";t.purpose==="render"&&(document.documentElement.style.background="transparent",document.body.style.background="transparent");const E=new Map,D=S=>E.get(S)??u.mediaAt(S),b=S=>D(S)?.url??"",_=S=>Math.round(S*DECK_FPS)/DECK_FPS,w=i.combo.lang,B=(S,Z,q)=>{const K=clockOf(S,Z===0),{rests:G,comesOn:J,goesOff:te}=K,de=q+(G.at(-1)??0),be=S.shapes.flatMap(Ee=>Ee.kind!=="movie"||!Ee.media?[]:[{shape:Ee.name,from:J(Ee.name),poster:Ee.media.poster??0,length:D(Ee.media.path)?.duration??0,rest:G.at(-1)??0}]),fe=Math.max(de+1/DECK_FPS,...be.map(Ee=>q+Ee.from+Ee.length-Ee.poster)),me=[],ue=[],$e=new Map,De=[!1];for(const Ee of S.shapes){isDrawn(Ee)&&($e.set(Ee.name,De.length-1),De[De.length-1]=!0);const V=Ee.component&&isDrawn(Ee)?c.components[Ee.component.name]:void 0;if(V){const le=consoleAt({phase:"build",part:S.id},()=>V.layers(Ee.component?.props??{},{width:Ee.frame.width*A,height:Ee.frame.height*A,slide:S.id}));for(const Be of le)isGraphic(Be)?me.push({shape:Ee.name,layer:Be}):o.problems.push(problem("AK-M011",`Component ${V.name} on slide ${S.id} drew something that is not a graphic layer (custom(), a component): a footage layer is a movie shape on a slide.`,{part:S.id,where:g}))}if(Ee.kind==="movie"&&Ee.media&&!y&&D(Ee.media.path)){const le=[Ee.frame.left*A,Ee.frame.top*A,Ee.frame.width*A,Ee.frame.height*A],Be=_(J(Ee.name)),_e=te(Ee.name);ue.push({part:S.id,file:Ee.media.path,start:q+Be,end:_e===void 0?fe:q+_(_e),from:(Ee.media.poster??0)-((G.at(-1)??0)-Be),speed:1,gainDb:0,audio:!1,fit:"cover",box:le,picture:le,over:De.length}),De.push(!1)}}for(;De.length>1&&De.at(-1)===!1;)De.pop();const ke=De.length,Se=_(de),je=Ee=>me.filter(V=>V.shape===Ee).map(V=>V.layer.component);return{slide:S,sign:slideSign(x,S),clock:K,movies:be,footage:ue,planeOf:$e,planes:ke,made:me,part:{key:S.id,layers:[...new Set(me.map(Ee=>Ee.layer.component))],start:q,end:fe,planes:Array.from({length:ke},(Ee,V)=>({layers:[{component:SLIDE_LAYER,start:q,end:fe},...S.shapes.filter(le=>$e.get(le.name)===V).flatMap(le=>je(le.name)).map(le=>({component:le,start:q,end:fe}))]})),still:Se,...G.length>1?{steps:G.map(Ee=>Math.round((q+Ee)*DECK_FPS)/DECK_FPS)}:{},...titled(S),...S.hidden?{hidden:!0}:{}}}},F=S=>{let Z=0;return S.slides.map((q,K)=>{const G=B(q,K,Z);return Z=G.part.end,G})};let $=F(x);const L=$.at(-1)?.part.end??0,O={fps:DECK_FPS,width:s,height:d,paper:`${String(x.width/EMU_PER_INCH)}in ${String(x.height/EMU_PER_INCH)}in`,duration:L,background:x.theme.colors.lt1,parts:$.map(S=>S.part),cues:[],...$.some(S=>S.footage.length>0)?{footage:$.flatMap(S=>S.footage)}:{},audio:{}},k=new Map,j=new Map;let T,I;const M=async S=>{const{slide:Z,part:q}=S,K=drawSlide(Z,{k:A,url:b,editing:!1,playing:y,...w===void 0?{}:{lang:w},colors:x.theme.colors});K.style.visibility="hidden",r.append(K);const G=Array.from({length:S.planes},()=>[]),J=[],te=[];for(const de of Z.shapes){const be=K.querySelector(`[${SHAPE_ATTR}="${CSS.escape(`${Z.id}/${de.name}`)}"]`);if(be){G[S.planeOf.get(de.name)??0]?.push(be);for(const[fe,{layer:me}]of S.made.filter(ue=>ue.shape===de.name).entries()){const ue=document.createElement("div");Object.assign(ue.style,{position:"absolute",inset:"0px"}),be.append(ue);const $e=stageContext({look:h,width:de.frame.width*A,height:de.frame.height*A,start:q.start,end:q.end,combo:i.combo,format:e.format,asset:De=>u.asset(De),wait:De=>te.push(De),report:De=>o.problems.push(problem(De.code,De.message,{part:Z.id,where:g}))});J.push({layer:me,el:ue,ctx:$e,props:me.props,from:S.clock.comesOn(de.name)}),consoleAt({phase:"mount",part:Z.id,layer:me.component,index:fe},()=>{me.mount(ue,me.props,$e)})}}}await loadTextFonts(K),K.style.visibility="visible";for(const de of K.querySelectorAll("[data-ak-autofit='text']"))fitText(de);return K.style.visibility="hidden",await Promise.all(te),{slide:Z,slot:S,el:K,part:q,layers:J,targets:animationTargets(S.clock.timed),lead:S.clock.lead,movies:S.movies,planes:G,pictures:pictureWaiter(K)}},P=S=>{k.delete(S.slide.id);for(const[Z,q]of S.layers.entries())consoleAt({phase:"mount",part:S.slide.id,layer:q.layer.component,index:Z},()=>{q.layer.unmount?.(q.el,q.props,q.ctx)});S.el.remove(),T===S&&(T=void 0),I===S&&(I=void 0)},R=async S=>{const Z=S.slide.id,q=k.get(Z);if(q?.slot===S)return k.delete(Z),k.set(Z,q),q;q&&P(q);let K=j.get(Z);K||(K=M(S).finally(()=>j.delete(Z)),j.set(Z,K));const G=await K,J=W(Z);return J&&J!==S?(G.el.remove(),R(J)):(k.set(Z,G),G)},N=()=>{for(const S of[...k.values()]){if(k.size<=SLIDES_KEPT)return;S!==T&&S!==I&&P(S)}},W=S=>$.find(Z=>Z.slide.id===S),U=S=>{let Z=0,q=$.length-1;for(;Z<q;){const K=Z+q>>1,G=$[K];G&&S<G.part.end-1e-6?q=K:Z=K+1}return $[Z]},Y=S=>$.slice(0,$.indexOf(S)).reverse().find(Z=>!Z.slide.hidden),ae=new WeakMap,re=[],ie=(S,Z)=>{const q={...Z};for(const K of Object.keys(Z))q[K]=S.style[K];re.push(()=>{Object.assign(S.style,q)}),Object.assign(S.style,Z)},se=(S,Z)=>S.el.querySelector(`[${SHAPE_ATTR}="${CSS.escape(`${S.slide.id}/${Z}`)}"]`);let we;const xe=(S,Z)=>se(S,Z)?.querySelector("video")??void 0,oe=new Set,he=(S,Z)=>{const q=we;if(q&&q.m!==S){for(const G of q.m.movies)xe(q.m,G.shape)?.pause();oe.clear()}const K=q?.m===S&&Z>q.t&&Z-q.t<PLAYING_GAP;we={m:S,t:Z};for(const G of S.movies){const J=xe(S,G.shape);if(!J)continue;const te=G.poster+Math.max(0,Z-G.from);if(K&&Z>=G.from&&te<G.length){Math.abs(J.currentTime-te)>VIDEO_DRIFT&&(J.currentTime=te),J.paused&&playOut(J);continue}J.pause(),K&&te>=G.length&&oe.add(G.shape);const de=oe.has(G.shape)?G.length:Math.max(0,G.poster-(G.rest-Z));Math.abs(J.currentTime-de)>1/DECK_FPS&&(J.currentTime=de)}},ye=(S,Z)=>{const q=S.slide.transition;if(!q||Z>=S.lead)return;const K=I;if(!K)return;X(K,K.part.still-K.part.start),K.el.style.visibility="visible";const G=Math.min(1,Z/S.lead);if(q.type!=="morph"){const fe=transitionAt2(q,G),me=($e,De)=>`translate(${String($e*100)}%, ${String(De*100)}%)`,ue=fe.incoming.clip;ie(S.el,{opacity:String(fe.incoming.opacity),transform:me(fe.incoming.x,fe.incoming.y),...ue?{clipPath:`inset(${String(ue.top*100)}% ${String(ue.right*100)}% ${String(ue.bottom*100)}% ${String(ue.left*100)}%)`}:{}}),ie(K.el,{transform:me(fe.outgoing.x,fe.outgoing.y)});return}const J=new Map(K.slide.shapes.map(fe=>[fe.name,fe]));ie(S.el,{background:`color-mix(in srgb, ${getComputedStyle(S.el).backgroundColor} ${String(G*100)}%, transparent)`});const te=(fe,me,ue)=>{ie(fe,{left:`${String(ue.left*A)}px`,top:`${String(ue.top*A)}px`,width:`${String(ue.width*A)}px`,height:`${String(ue.height*A)}px`});const $e=me.width>0?ue.width/me.width:1,De=me.height>0?ue.height/me.height:1;for(const ke of fe.querySelectorAll(":scope > svg:not([viewBox])"))ie(ke,{transformOrigin:"0 0",transform:`scale(${String($e)}, ${String(De)})`})},de=fe=>JSON.stringify({...fe,frame:void 0,sources:void 0}),be=new Map;for(const fe of S.slide.shapes){const me=se(S,fe.name);if(!me)continue;const ue=J.get(fe.name);if(!ue){ie(me,{opacity:String(G)});continue}const $e=morphFrame(ue.frame,fe.frame,G),De=de(ue)===de(fe);be.set(fe.name,{frame:$e,same:De}),te(me,fe.frame,$e),De||ie(me,{opacity:String(G)})}for(const fe of K.slide.shapes){const me=se(K,fe.name);if(!me)continue;const ue=be.get(fe.name);ue?ue.same?ie(me,{visibility:"hidden"}):(te(me,fe.frame,ue.frame),ie(me,{opacity:String(1-G)})):ie(me,{opacity:String(1-G)})}},X=(S,Z)=>{for(const q of S.targets){const K=S.slide.shapes.find(me=>me.name===q.shape),G=S.el.querySelector(`[${SHAPE_ATTR}="${CSS.escape(`${S.slide.id}/${q.shape}`)}"]`);if(!K||!G)continue;const J=q.paragraph===void 0?G:G.querySelector(`[data-ak-paragraph="${String(q.paragraph)}"]`);if(!J)continue;const te=ae.get(J)??{transform:J.style.transform,clipPath:J.style.clipPath};ae.set(J,te);const de=drawnAt2(q.animations,Z,K.frame,{width:x.width,height:x.height});J.style.visibility=de.hidden?"hidden":"",J.style.opacity=de.opacity===1?"":String(de.opacity);const be=de.x!==0||de.y!==0?`translate(${String(de.x*A)}px, ${String(de.y*A)}px)`:"",fe=de.scale===1?"":`scale(${String(de.scale)})`;J.style.transform=[be,fe,te.transform].filter(me=>me!=="").join(" "),J.style.clipPath=de.clip?`inset(${String(de.clip.top*100)}% ${String(de.clip.right*100)}% ${String(de.clip.bottom*100)}% ${String(de.clip.left*100)}%)`:te.clipPath}},H=(S,Z)=>{if(Z>0){const q=S.el.style.background;S.el.style.background="none",re.push(()=>{S.el.style.background=q})}for(const[q,K]of S.planes.entries())for(const G of q===Z?[]:K){const J=G.style.visibility;G.style.visibility="hidden",re.push(()=>{G.style.visibility=J})}};let Q;const ee=async(S,Z)=>{Q={t:S,plane:Z};const q=Math.min(Math.max(0,S),L-1/DECK_FPS),K=U(q);if(!K)return;const G=q-K.part.start,J=await R(K),te=K.slide.transition&&G<K.clock.lead?Y(K):void 0,de=te?await R(te):void 0;if(Q.t===S){for(const be of k.values())be.el.style.visibility=be===J?"visible":"hidden";for(T=J,I=de,a.setMoment(q,`${i.seedBase}:${J.slide.id}`);re.length>0;)re.pop()?.();X(J,G),ye(J,G),he(J,G);for(const[be,fe]of J.layers.entries())consoleAt({phase:"render",part:J.slide.id,layer:fe.layer.component,index:be,t:G},()=>{fe.layer.render(fe.el,Math.max(0,G-fe.from),fe.props,fe.ctx)});if(Z!==void 0&&H(J,Z),await Promise.all([J.pictures(SEEK_LIMIT*1e3),...de?[de.pictures(SEEK_LIMIT*1e3)]:[]]),N(),y){const be=$[$.indexOf(K)+1];be&&!k.has(be.slide.id)&&R(be).then(N,()=>{})}}},ce=()=>T,Ae=async S=>{await ee(S);const Z=ce(),q=r.getBoundingClientRect(),K=q.width>0?s/q.width:1;return{m:Z,blocks:Z?textBlocks(Z.el,r,s):[],scale:K}},pe=()=>{const S=new Map,Z=new Map,q=(te,de)=>{S.has(fontFace(te))||S.set(fontFace(te),de),Z.set(fontFace(te),(Z.get(fontFace(te))??new Set).add(te))},K=x.theme.fonts;for(const te of[K.major,K.minor,K.major_east_asian,K.minor_east_asian])q(te,"theme");for(const te of x.slides)for(const de of te.shapes){const be=[...de.text?.style.levels.map(fe=>fe.font.name)??[],...de.text?.paragraphs.flatMap(fe=>[fe.font?.name,...fe.runs.map(me=>me.font?.name)])??[]];for(const fe of be)fe!==void 0&&!fe.startsWith("+")&&q(fe,"text")}const G=new Set(pageFaces().map(te=>te.family)),J=te=>{const de=families(te)[0]??te;return G.has(de)||localFamily(de)};return[...S].map(([te,de])=>({name:te,where:de,drawn:[...Z.get(te)??[]].some(J)}))},ge=S=>{const Z=S.text?.paragraphs[0],q=Z?.alignment??S.text?.style.levels[Z?.level??0]?.alignment;return q===void 0?{}:{align:q}},ve=(S,Z)=>{const q=r.getBoundingClientRect(),K=q.width>0?s/q.width:1,G=[],J=[],te=[],de=[],be=[],fe=[],me=A*EMU_PER_PT;return S.slide.shapes.forEach((ue,$e)=>{const De=S.el.querySelector(`[${SHAPE_ATTR}="${CSS.escape(`${S.slide.id}/${ue.name}`)}"]`);if(!De)return;const ke=De.getBoundingClientRect(),Se=[Math.round((ke.left-q.left)*K),Math.round((ke.top-q.top)*K),Math.round(ke.width*K),Math.round(ke.height*K)],je=getComputedStyle(De).visibility==="hidden",Ee=textBlocks(De,r,s).filter(Fe=>Fe.ink!==null&&Fe.runs.some(Le=>getComputedStyle(Le.el).visibility!=="hidden")),V=Ee.map(Fe=>inkLines([...new Set(Fe.runs.map(Le=>Le.el))],r,s));Ee.forEach((Fe,Le)=>{const Ie=V[Le]??[],Me=union2(Ie);Me&&(G.push({layer:ue.name,z:"front",text:Fe.text,box:Me,...Fe.opacity<1?{opacity:Fe.opacity}:{}}),J.push($e),te.push(Fe.containers),de.push(Me),be.push(Ie))});const le={name:ue.name,kind:isConnectorGeometry(ue.geometry)?"line":ue.kind,level:ue.level,...ue.placeholder?{placeholder:ue.placeholder.type}:{},frame:[Math.round(ue.frame.left*A),Math.round(ue.frame.top*A),Math.round(ue.frame.width*A),Math.round(ue.frame.height*A)],box:Se,...je?{hidden:je}:{},opaque:ue.kind==="picture"||ue.kind==="movie"||!isConnectorGeometry(ue.geometry)&&ue.fill!==void 0&&ue.fill!==null};if(ue.chart){const Fe=ue.chart.series.flatMap(Le=>Le.values.filter(Ie=>Ie!==null));le.chart={type:ue.chart.type,categories:ue.chart.categories.length,series:ue.chart.series.length,...Fe.length>0?{low:Math.min(...Fe),high:Math.max(...Fe)}:{},...ue.chart.source===void 0?{}:{source:ue.chart.source}}}if(ue.table){const Fe=[...De.querySelectorAll("tr")];le.rows=ue.table.rows.map((Le,Ie)=>({set:Math.round(Le.height*A),drawn:Math.round((Fe[Ie]?.getBoundingClientRect().height??0)*K)}))}const Be=V.flat();if(Be.length>0){const Fe=new Map;for(const Me of Ee)for(const Re of Me.runs){const Oe=getComputedStyle(Re.el),Te=Math.round(parseFloat(Oe.fontSize)/me*10)/10,Ne=parseInt(Oe.fontWeight,10)||400,ze=`${String(Te)}/${String(Ne)}`;Fe.has(ze)||Fe.set(ze,{size:Te,weight:Ne,...Me.xHeight===void 0?{}:{xHeight:Math.round(Me.xHeight/me*10)/10}})}const Le=Ee.map(Me=>Me.text).join(`
|
|
77
|
+
`),Ie=De.querySelector("[data-ak-font-scale]")?.dataset.akFontScale;le.text={text:Le,words:countWords(Le).words,lines:Be,glyphs:union2(Be),type:[...Fe.values()],...Ie===void 0?{}:{scale:Number(Ie)},...ge(ue)}}const _e=De.querySelector("img");if(_e&&_e.naturalWidth>0){const Fe=ue.media?.crop??{left:0,top:0,right:0,bottom:0};le.picture={source:[_e.naturalWidth,_e.naturalHeight],shown:[Math.round(_e.naturalWidth*(1-Fe.left-Fe.right)),Math.round(_e.naturalHeight*(1-Fe.top-Fe.bottom))]}}fe.push(le)}),{moment:measureMoment({t:Z,part:S.slide.id,texts:G,safe:NO_SAFE2,width:s,height:d,owner:J,containers:te,seen:de,glyphs:be}),slide:{slide:S.slide.id,steps:S.part.steps?.length??1,t:Z,layout:S.slide.layout,hidden:S.slide.hidden,...S.slide.notes===void 0?{}:{notes:S.slide.notes},shapes:fe}}},Ce=S=>JSON.stringify(S.map(Z=>[Z.part.key,Z.part.start,Z.part.end,Z.part.still,Z.part.steps,Z.part.hidden,Z.part.layers,Z.footage])),ne={kind:"slides",get timeline(){return O},async ready(){await ee($[0]?.part.still??0)},seek:(S,Z)=>ee(S,Z?.plane),async update(S,Z){const q=S;for(const[te,de]of Object.entries(Z??{}))E.set(te,de);const K=x;x=q;const G=F(q);if(q.width!==K.width||q.height!==K.height||Ce(G)!==Ce($))return x=K,{redrawn:[],reload:!0};const J=[];$=G.map((te,de)=>{const be=$[de];return be?.sign===te.sign?be:(J.push(te.slide.id),te)}),O.parts=$.map(te=>te.part),m();for(const te of[...k.values()])W(te.slide.id)!==te.slot&&P(te);return Q&&J.length>0&&await ee(Q.t,Q.plane),{redrawn:J}},sheet:()=>T?.el,words:()=>[],lines:()=>[],captionOptions:()=>null,setPlaying:()=>{},text:()=>$.map(({slide:S})=>({key:S.id,...S.notes===void 0?{}:{notes:S.notes},onScreen:S.shapes.flatMap(Z=>Z.text&&!Z.text.empty?[Z.text.paragraphs.map(q=>q.runs.map(K=>K.text).join("")).join(`
|
|
78
|
+
`)]:[])})),reads:()=>u.reads(f,$.map(S=>S.slide.id)),problems:()=>[...u.problems,...o.problems,...u.translationProblems()],stuck:()=>{},seekLimit:SEEK_LIMIT,facts:()=>[],says:()=>[],signs:()=>Object.fromEntries($.map(S=>[S.slide.id,JSON.stringify({slide:JSON.parse(S.sign),width:s})])),mixPlan:()=>({duration:L,speech:[],footage:[],sfx:[]}),covers:()=>[],drawCover:()=>Promise.resolve(),async measure(S){const Z=[],q=[];for(const K of S??$.flatMap(G=>G.part.steps??[G.part.still])){await ee(K);const G=ce();if(!G)continue;const J=ve(G,K);Z.push(J.moment),q.push(J.slide)}return{width:s,height:d,deck:{pxPerPt:A*EMU_PER_PT,slides:q,fonts:pe()},safe:NO_SAFE2,moments:Z,footage:[]}},tracks:()=>Promise.resolve([]),async deck(){const S={};for(const Z of $){const q=await R(Z);for(const K of q.el.querySelectorAll("[data-ak-font-scale]")){const G=K.closest(`[${SHAPE_ATTR}]`)?.getAttribute(SHAPE_ATTR),J=Number(K.dataset.akFontScale);G&&J<1&&(S[G]=J)}N()}return{width:x.width,height:x.height,theme:x.theme,masters:l.masters,slides:x.slides,fitted:S,...w===void 0?{}:{lang:w}}},async inks(S){const{blocks:Z,scale:q}=await Ae(S);return Z.flatMap(K=>K.ink===null?[]:[{text:{layer:"slide",z:"front",text:K.text,box:K.box},...inkOfBlock(K,q)}])},async objects(S){const{m:Z,blocks:q}=await Ae(S),K=r.getBoundingClientRect(),G=K.width>0?s/K.width:1;return{t:S,elements:Z?[...Z.el.querySelectorAll(`[${SHAPE_ATTR}]`)].map(J=>{const te=J.getBoundingClientRect();return{id:J.getAttribute(SHAPE_ATTR)??"",box:[(te.left-K.left)*G,(te.top-K.top)*G,te.width*G,te.height*G]}}):[],texts:q.map(J=>({text:J.text,box:[J.box[0],J.box[1],J.box[2],J.box[3]],size:J.size,keys:u.keysShowing(J.text)}))}},signature:()=>{const S=ce();if(!(!S||S.el.querySelector("canvas, video, iframe")))return domHash(JSON.stringify(x.theme)+S.el.outerHTML)},async signatureAt(S){return await ee(S),ne.signature()},async partSignature(S,Z){const q=W(S);if(!q)return{unknown:`no slide ${S}`};const K=[];for(const G of Z){await ee(G);const J=k.get(S);if(!J)return{unknown:`slide ${S} is not at ${String(G)}`};if(J.el.querySelector("canvas, video, iframe"))return{unknown:"a canvas, a video or a frame on the slide"};K.push(J.el.outerHTML)}return{sign:domHash(K.join(`
|
|
79
|
+
`)),owners:[...new Set(q.made.map(G=>G.layer.component))]}},ask:()=>Promise.resolve([]),dispose(){for(const S of[...k.values()])P(S);r.replaceChildren()}};return ne}var titled=e=>{const t=titleOf(e);return t===void 0?{}:{title:t}};function titleOf(e){const r=e.shapes.find(i=>i.placeholder?.type==="title"||i.placeholder?.type==="ctrTitle")?.text?.paragraphs.map(i=>i.runs.map(u=>u.text).join("")).join(" ").trim();return r===void 0||r===""?void 0:r}function stageContext(e){const t=r=>()=>{throw new Error(`${r} is a video's: a slide has no speech.`)};return{look:e.look,format:e.format,dims:{width:e.width,height:e.height,orient:e.width>e.height?"landscape":e.width<e.height?"portrait":"square",safe:{top:0,bottom:0,left:0,right:0}},combo:e.combo,dur:e.end-e.start,asset:e.asset,words:()=>[],at:t("ctx.at()"),layer:{start:0,end:e.end-e.start},wait:e.wait,report:e.report,captions:()=>[],face:()=>{},faces:()=>[],texts:()=>[],covered:[],content:[0,0,e.width,e.height],realTimers}}async function componentTable(e){if(e.kind==="slides"){const r=await importDeck(e);return{components:r.components,...r.theme===void 0?{}:{theme:r.theme}}}await loadStyles2(e);const t=await import(e.module);return{components:moduleComponents(t)}}async function componentStage(e,t,r){const i=createEnv(e,t),u=await componentTable(e),o=e.looks?.clean??CLEAN_LOOK,a={...lookCss(o),...themeCss(themeOver(lookTheme(e),u.theme))};document.documentElement.style.background="transparent",document.body.style.background="transparent";let s=[];const d=()=>{for(const c of s)consoleAt({phase:"mount",layer:c.layer.component},()=>{c.layer.unmount?.(c.el,c.layer.props,c.ctx)});s=[],r.replaceChildren()};return{async draw(c){d();const l=u.components[c.name];if(!l)throw new Error(`There is no component ${c.name} in ${e.file} (it has ${Object.keys(u.components).join(", ")||"none"}).`);Object.assign(r.style,{position:"relative",width:`${String(c.width)}px`,height:`${String(c.height)}px`,overflow:"hidden",background:"transparent"});for(const[g,v]of Object.entries(a))r.style.setProperty(g,v);let f=c.props;if(e.kind==="doc"){const g=readPropsText(l,c.props);if(g.problems.length>0)throw new Error(g.problems.join("; "));f=g.props}const h=[],p=consoleAt({phase:"build"},()=>l.layers(f,{width:c.width,height:c.height,slide:""}));for(const[g,v]of p.entries()){if(!isGraphicLayer(v))throw new Error(`${c.name}'s layers: item ${String(g+1)} is not a graphic layer (custom() or a component).`);const x=v,A=document.createElement("div");Object.assign(A.style,{position:"absolute",inset:"0px"}),r.append(A);const m=stageContext({look:o,width:c.width,height:c.height,start:0,end:Math.max(c.t,0)+1,combo:i.combo,format:`${String(Math.round(c.width))}x${String(Math.round(c.height))}`,asset:y=>i.log.asset(y),wait:y=>h.push(y),report:()=>{}});s.push({layer:x,el:A,ctx:m}),consoleAt({phase:"mount",layer:x.component,index:g},()=>{x.mount(A,x.props,m)}),consoleAt({phase:"render",layer:x.component,index:g},()=>{x.render(A,Math.max(0,c.t),x.props,m)})}return await loadTextFonts(r),await Promise.all(h),await pictureWaiter(r)(SEEK_LIMIT*1e3),{...l.label===void 0?{}:{label:l.label},props:l.props}},dispose:d}}installConsole();var TREE=new URL("../",import.meta.url),resolved=e=>resolveSource(e,TREE),output2,components,stageEl=()=>{const e=document.getElementById("ak-stage");if(!e)throw new Error("The stage page has no #ak-stage element.");return e},bridge={get output(){return output2},async load(e,t){const r=resolved(e);output2?.dispose(),output2=void 0;const i=stageEl(),u=r.kind==="slides"?await loadDeck(r,t,i):await load(r,t,i);return await u.ready(),output2=u,{kind:u.kind,timeline:u.timeline,problems:u.problems(),facts:u.facts(),reads:u.reads(),text:u.text(),says:u.says(),signs:u.signs(),covers:u.covers(),seekLimit:u.seekLimit}},console:()=>consoleLog(),deckCode:(e,t)=>deckCodeOf(resolved(e),t),async component(e,t,r){const i=resolved(e);return components?.module!==i.module&&(components?.stage.dispose(),components={module:i.module,stage:await componentStage(i,t,stageEl())}),components.stage.draw(r)},locate:e=>locateLayers(document,mapShape(e,({x:t,y:r})=>({x:t*innerWidth,y:r*innerHeight}))),async play(e){const t=document.getElementById("ak-stage");if(!output2||!t)throw new Error("Nothing is loaded to play.");const r=await startPlayer({output:output2,stage:t,...e.media?{media:resolveMedia(e.media,TREE)}:{},...e.seed===void 0?{}:{seed:e.seed},...e.start===void 0?{}:{start:e.start},...e.post?{post:e.post}:{},...e.chrome===void 0?{}:{chrome:e.chrome}});return{command(i){r.command(i)}}}};window.allyhub=bridge;
|